@font-face {
    font-family: pirati;
    src: url("PirataOne-Regular.ttf");
}

* {
    font-family: 'pirati', serif !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1rem !important;
}

body {
    min-height: 100svh;
    background-image: url('bg.jpeg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-control {
    border-color: #171a1d;
}

.form-control:focus {
    border-color: #171a1d;
    box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, .5);
}

.speech {
    position: relative;
    width: fit-content;
    margin: auto;
    background-color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0.125rem 0.5rem rgba(23, 26, 29, .3), 0 0.0625rem 0.125rem rgba(23, 26, 29, .2);
}

.speech::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    bottom: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    border: .75rem solid transparent;
    border-top: none;
    border-bottom-color: #fff;
    filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(23, 26, 29, .1));
}

.shake {
    animation: shaking 1s infinite;
}

@keyframes shaking {
    0% {
        transform: translateX(0)
    }
    30% {
        transform: translateY(-5px)
    }
    40% {
        transform: translateY(-5px) rotate(5deg)
    }
    50% {
        transform: translateY(-5px) rotate(-5deg)
    }
    60% {
        transform: translateY(-5px) rotate(5deg)
    }
    70% {
        transform: translateY(-5px) rotate(-5deg)
    }
    80% {
        transform: translateY(-5px) rotate(5deg)
    }
    100% {
        transform: translateY(0) rotate(0)
    }
}

.blurred {
    filter: blur(20px);
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.highlighted {
    text-shadow: -1px -1px 0 #fff,
    0 -1px 0 #fff,
    1px -1px 0 #fff,
    1px 0 0 #fff,
    1px 1px 0 #fff,
    0 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px 0 0 #fff;
}

.pointer {
    cursor: pointer;
}

.modal-content {
    background-image: url('bg.jpeg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    border-color: #171a1d;
}

.modal-header,
.modal-footer {
    border-color: #171a1d;
}
