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

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

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

.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lang-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 3;
    border:none;
    /* border: 1px solid black; */
    /* border-radius: 3px; */
    text-align: center;
    width: 35px;
    display: flex;
    justify-content: center;
    height: 20px;
    background: none;
    color: black;
    font-size: 1rem;
    /* margin: 0 1.5rem; */
}

.container {
    background-image: url('/assets/background.svg');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;

    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.container-box {
    width: 100%;
    height: 80%;
    gap: 0.5rem
}

.container-box h1 {
    color: white;
    font-size: 1.2rem;
    font-size: 500;
    width: 100%
}

.container-box .download {
    background: transparent;
    border: none;
    animation: expand 3s infinite
}

.submit-btn {
    background: #FFCC00;
    border: #FFCC00;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    height: fit-content;
    padding: 1rem ;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0px 15px 20px 0px #00000066;
    margin: 1rem 0;
}

.container-box p, .container-links p {
    font-size: 0.9rem;
    color: black;
}

.container-links {
    gap: 0.6rem;
}

.container-links a{
    padding-top: 0.5rem;
    font-size: 0.9rem;
    color: black;
    font-weight: 600;
}

.instructions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.instructions p {
    font-size: 0.6rem;
    color: black;
}

.landing-page {
    padding: 2rem 2rem 0 2rem;
}

.phone-page{
    width: 100%;
    padding: 1rem 2rem
}

.landing-page-box {
    justify-content: center;
}

.phone-section {
    gap: 0.5rem;
    color:white;
    padding: 1.5rem 0;


}

.phone-section span {
    font-size: 0.8rem;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    border: 2px #ffffff50 solid;
    padding: 1rem;
    gap: 0.5rem;
    direction: ltr;
    text-align: left;
}

.phone-prefix {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
}

.phone-input {
    color: white;
    background: transparent;
    width: 100%;
    height: fit-content;
    padding: 0;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    margin: 0;
    outline: none;
}

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

.digit-group input {
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: 2px #ffffff50 solid;
    border-radius: 0.5rem;
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-family: 'AlFont';
    font-weight: 600;
    color: white;
    margin: 0;
}

.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;
}

.confirm-page-box {
    justify-content: space-between;
    padding: 2rem;
    gap: 3rem;
}


@media screen and (max-width: 640px) {
    .container {
        background-position: right;
    }

    .container-box p, .container-links p, .container-links a {
        font-size: 0.75rem;
    }

    .container-links a{
        padding-top: 0.3rem;
    }

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

@keyframes expand {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.05;
    }

    100% {
        scale: 1;
    }
}
