@font-face {
    font-family: 'AlFont';
    src: url('/assets/fonts/alfont_com_AlFont_com_din-next-lt-w23-bold.ttf') format('truetype');
}

:root {
    --accent: #FFD900;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'AlFont';
    text-align: center;
    color: white;
}

html, body {
    width: 100vw;
    height: 100%;
    /*overflow-y: auto;*/
}

body {
    position: relative;
    background: #0B1723;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.container {
    margin: 0.5rem;
    height: 85%;
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    width: 100px;
    height: auto;
}

.lang-btn {
    position: absolute;
    top: 0.8rem;
    z-index: 10;
    right: 1rem;
    background: transparent;
    border: none;
    padding: 5px 0px;
    cursor: pointer;
    font-size: 1rem;
}

.video {
    width:  100%;
    height: auto;
    transition: 0.3s all ease-in-out;
}

.video:hover{
    scale: 1.02;
    opacity: 0.9;
}

.container-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.directive {
    font-size: 1.1rem;
    justify-content: center;
    align-items: center;
}

/* .phone-box {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid black;
    border-radius: 6px;
    direction: ltr;
}

.phone-container {
    padding: 0px 25px;
    color: black;
    border: 3px black solid;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    direction: ltr;
    font-weight: 600;
}

.phone-input {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    text-align: start;
    direction: ltr;
    outline: none;
    background: transparent;
    border: none;
}

.phone-input::placeholder {
    color: black;
    opacity: 0.9;
}

.phone-input > input {
    background: transparent;
    border: none;
    color: black;
    width: 100%;
    font-size: 16px;
    outline: none;
} */

.phone-box {
    width: 100%;
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid white;
    border-radius: 6px;
    direction: ltr;
}

.phone-box > p {
    opacity: 0.5;
    font-size: 1.2rem;
}

.phone-input {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    text-align: start;
}

.phone-input:focus {
    outline: none;
}

.phone-submit {
    font-size: 1.3rem;
    padding: 1.2rem 0;
    width: 100%;
    border-radius: 2rem;
    border: none;
    background: var(--accent);
}

.digit-group {
    direction: ltr;
    display: flex;
    justify-content: center;
}

.digit-group input {
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 2px white solid;
    border-radius: 0.3rem;
    line-height: 50px;
    text-align: center;
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: white;
    margin: 0.5rem 0.3rem;
}

.digit-group input::-webkit-outer-spin-button,
.digit-group input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.digit-group input[type=number] {
    -appearance: textfield;
}

.submit-btn {
    font-size: 1.3rem;
    padding: 0.6rem 0;
    width: 100%;
    border-radius: 0.3rem;
    border: none;
    background: var(--accent);
    color: black;
    transition: 0.3s all ease-in-out;
    -webkit-text-fill-color: black;
}

.submit-btn:hover {
    scale: 1.02;
    opacity: 0.9;
}

.message {
    font-size: 1.5rem;
    font-weight: 700;
}

.instructions {
    font-size: 0.8rem;
    max-width: 350px;
    line-height: 0.8rem;
}

.apli-logo {
    width: 150px;
    height: auto;
}

.loading-message {
    animation: glow 1s linear infinite;
    /* *** Added for initial state *** */
    display: block;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1
    }
}

@media (max-height: 675px) {
    .submit-btn {
        font-size: 0.9rem;
    }

    .message {
        font-size: 1.3rem;
    }

    .instructions {
        font-size: 0.6rem;
    }

    .apli-logo {
        width: 100px;
    }

    .digit-group input {
        width: 3rem;
        height: 3rem;
        font-size: 1rem;
    }

    .container-box p {
        font-size: 0.9rem;
    }
}






