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

/* Essentials */
* {
    padding: 0;
    margin:0;
    color: white;
    font-family: 'Al-Font', sans-serif;
}

html{
    width: 100%;
    height: 100%;
}

html, body {
    font-family: 'Al-Font', sans-serif;
    background: #0f1934;
}

body {
    width: auto;
    height: auto;
    position: relative;
    overflow-x: hidden;
}


/* Navbar */
.navbar {
    position: absolute;
    z-index: 9;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    overflow: hidden;
}

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

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

/* Content */
.content {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

/* Welcome */
.welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: start;
    gap: 2rem;
    padding-bottom: 1rem;
}

.welcome > p {
    font-size: 1.5rem;
}

.welcome > h1 {
    font-weight: 400;
    font-size: 4rem;
}

.welcome > div > span {
    font-size: 2.5rem;
}

.bold-text {
    font-weight: 700;
    color: rgba(228, 119, 1, 1);
}

/* Image */
.image {
    width: 700px;
    height: auto;
}

/* Form info */
.form {
    height: fit-content;
    width: 100%;
    max-width:35vw;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1rem;
    text-align: start;
    padding: 1.3rem;
    border-radius: 1rem;
}

.content-component {
    direction: ltr;
    gap: 1rem;
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0.8rem 0;
    border-radius: 10px;
    outline: none;
    font-size: 1.2rem;
    border: 1px gray solid;
}

.content-component > p {
    padding-left: 1.5rem;
    color: rgb(172, 172, 172);
}

.box{
    width: 100%;
    /* display: flex;
    flex-direction: column;
    gap: 2rem; */
}

.content-component > input {
    background: transparent;
    outline: none;
    border: none;
    font-size: 1.2rem;
    /* font-weight: 700; */
    color: rgb(102, 102, 102);
}

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

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

.input-nb[type="number"]::-webkit-inner-spin-button,
.input-nb[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.submit-button {
    width: 100% !important;
    color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    background: linear-gradient(180deg, #FF9D00 0%, #C95000 100%);

    animation: shine 1.5s infinite;

    font-weight: 700;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    border: transparent;
    transition: 0.2s;
}

.animate-shine {
    animation: shine 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    /* Base gradient background */
    background: linear-gradient(180deg, #FF9D00 0%, #C95000 100%);

    /* Shine effect */
    position: relative;
    overflow: hidden;
}

.animate-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shine 2s infinite;
}

@keyframes shine {
    100% {
        left: 150%;
    }
}

.instructions {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 400;
    padding: 1rem 0;
    gap: 0.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid;
    border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    opacity: 0.7;
    border-radius: 0 0 10px 10px;
}

/* Bottom image styles */
.bottom-image {
    width: 150px;
    height: auto;
    display: block;
    margin: 2rem auto;
    padding-bottom: -1rem !important;
}

footer{
    width: 100%;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    padding: 1.3rem 0;
    background: #0C092A;
    border: 2px solid;
    border-image-source: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb:hover {
    background: #f1f1f1 ;
}

.content-mobile{
    display: none;
}

@media (max-width: 1024px) {
    .content-desk {
        display: none;
    }

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

    .lang-btn{
        top: 0.2rem;
        right: 0.2rem;
        font-size: 1rem;
    }

    .content-mobile{
        display: block;
    }

    .content {
        padding-top: 4rem;
        flex-direction: column-reverse;
    }

    .instructions{
        font-size: 1rem;
        gap: 0.5rem;
        max-width: 100%;
    }

    .image {
        width: 100%;
        height: auto;
        margin-top: -3rem;
    }

    .welcome {
        align-items: center;
        text-align: center;
        width: 100%;
        gap: 1rem;
        padding-bottom: 0;
    }

    .welcome > h1 {
        font-size: 1.5rem;
    }

    .welcome > p {
        font-size: 1rem;
    }

    .form {
        max-width: 100%;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    .submit-button {
        font-size: 1.1rem
    }
    .box {
        width: 90%;
        margin-top: -3rem;
        /* gap: 1rem; */
    }

    .instructions {
        font-size: 0.8rem;
    }

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

    .content-component, .select-wrapper, .custom-select {
        max-width: 100%;
    }

    .bottom-image {
        width: 120px;
        margin: 1.5rem auto;
        padding-top: 1rem;
    }
}
