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

:root {
    --accent: #00BD13;
}

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

html, body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

body {
    position: relative;
    /* background: linear-gradient(180deg, #9AC2AE 0%, #5FAA85 100%); */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.container {
    margin: auto;
    height: 90%;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 0.5rem;
}

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

.logo {
    width: 85px;
}

.device {
    width: 250px;
}

.logo, device {
    height: auto;
}

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

.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-box > p {
    opacity: 0.5;
    font-size: 1.5rem;
}

.phone-input {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    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 black solid;
    border-radius: 0.3rem;
    line-height: 50px;
    text-align: center;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 200;
    color: black;
    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;
}

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

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

.read-more-btn {
    margin-top: 0.3rem;
    background: transparent;
    border: none;
    font-size: 0.65rem;
    cursor: pointer;
    color: #555;
    text-decoration: underline;
    padding: 0;
}


@media (max-height: 650px) {
    .container-box{
        gap: 0.5rem;
    }

    .device {
        width: 150px;
    }

    .logo {
        width: 70px;
    }

    .directive{
        font-size: 0.9rem;
    }

    .phone-box, .phone-input, .phone-submit {
        font-size: 0.9rem;
    }

    .phone-box {
        padding: 0.7rem 1rem;
    }

    .phone-box p {
        font-size: 1rem;
    }

    .phone-submit {
        padding: 0.7rem;
    }

    .instructions {
        font-size: 0.6rem;
    }

    .apli-logo {
        width: 100px;
    }

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






