* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    box-sizing: border-box;
}

body {
    background-color: black;
}

.main {
    height: 95vh;
    width: 100vw;
    background-image: url(./assets/main_image.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.box {
    height: 95vh;
    width: 100vw;
    opacity: 0.7;
    top: 0;
    background-color: black;
    position: absolute;

}

nav {
    width: 90%;
    height: 62px;
    margin: 0px 30px 0px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* flex-wrap: wrap; */
    padding: 20px;

}

nav div {
    display: flex;
    gap: 20px;
}

nav img {
    color: rgb(229, 9, 20);
    width: 150px;
    position: relative;
    z-index: 1;
}

nav button,
select {
    position: relative;
    z-index: 1;
    padding: 7px;
    border: none;
    font-size: 15px;
    border-radius: 5px;
    font-weight: bold;
}

.sign_in_btn {
    width: 100px;
    background-color: rgb(229, 9, 20);
    color: white;
}

.language {
    width: 130px;
    background-color: transparent;
    border: 1px solid rgb(255, 255, 255, 0.6);
    color: white;
}

option {
    color: black;
}

.text {
    height: calc(100% - 62px);
    width: 100%;
    box-sizing: border-box;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    z-index: 1;
    gap: 20px;
    padding: 30px;
}

.text> :first-child {
    font-size: 50px;
    font-weight: 900;
    text-align: center;
}

.text> :nth-child(2) {
    font-weight: 400;
    font-size: 24px;
    text-align: center;
}

.text> :nth-child(3) {
    font-weight: 400;
    font-size: 20px;
    text-align: center;
}

.email {
    background-color: rgb(23, 23, 23, 0.2);
    color: white;
    font-weight: 400;
    padding: 15px 140px 15px 15px;
    font-size: 16px;
    border: 1px solid rgb(255, 255, 255, 0.6);
    border-radius: 5px;
}

.get_started_btn {
    background-color: rgb(229, 9, 20);
    color: white;
    font-size: 24px;
    border-radius: 5px;
    padding: 12px 24px;
}

.get_started_btn span {
    font-weight: bold;
}

.text_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

@media (max-width: 550px) {

    .text> :nth-child(2),
    :nth-child(3) {
        font-size: 18px;
    }

    .text> :first-child {
        font-size: 28px;
        font-weight: bold;
        text-align: center;
    }

    .email {
        width: max(80%, 200px);
        padding: 15px 0px 15px 15px;
    }

    nav img {
        width: 100px;
    }

    .language {
        width: 100px;
    }

}
@media (max-width: 400px){
    nav{
        /* margin: auto; */
        margin: 0px;
        padding: 10px;
        gap:25%;
    }
    nav img {
        width: 70px;
    }
    .language{
        width: 80px;
    }
    .sign_in_btn{
        padding: 5px;
        width: 60px;
    }

    
}
.line {
    height: 7px;
    background-color: rgb(51, 51, 51);
}

.first,
.second,
.third,
.fourth {
    display: flex;
    color: white;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 50px;
    max-width: 70vw;
    min-height: 500px;
}



.sec_img {
    position: relative;
}

.sec_img img {
    width: 35vw;
    position: relative;
    z-index: 1;
}

.sec_img video {
    transform: translate(-100%, -10%);
    position: absolute;
    top: 15%;
    height: 80%;
    width: 87%;
}

.second .sec_img video {
    height: 100%;
    left: 50%;
    height: 47%;
    width: 63%;
    position: absolute;
    top: 34%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.sec_text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sec_text :first-child {
    font-size: 50px;
    font-weight: bold;
}

.sec_text :nth-child(2) {
    font-size: 26px;
    font-weight: 400;
}

@media (max-width: 930px) {

    .first,
    .second,
    .third,
    .fourth {
        gap: 0px;
        flex-wrap: wrap;
        text-align: center;
    }

    .sec_text {
        margin-top: 50px;
        margin-bottom: 20px;
    }

    .sec_text :first-child {
        font-size: 26px;
        font-weight: bold;
    }

    .sec_text :nth-child(2) {
        font-size: 18px;
        font-weight: 400;
    }

    .sec_img img {
        width: 100vw;
        position: relative;
        z-index: 1;
    }

}

.boxes {
    height: 35px;
    width: 70%;
    font-size: 26px;
    transition: hover 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background-color: rgb(48, 48, 48);
    border: 2px solid black;
    position: relative;
    z-index: 100;
    align-self: center;
}

.questions {
    height: 100%;
    margin-bottom: 50px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.boxes:hover {
    background-color: rgb(82, 82, 82);
}

.questions> :first-child {
    font-size: 50px;
    font-weight: bold;
    padding: 50px;
}

.questions :nth-child(9) {
    padding: 50px;
}

@media (max-width: 930px) {
    .questions> :first-child {
        font-size: 40px;
    }

    .boxes {
        font-size: 20px;
    }
}

@media (max-width: 550px) {
    .questions> :first-child {
        font-size: 26px;
    }

    .boxes {
        font-size: 18px;
    }
}

footer {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: rgb(115, 115, 115);
}

footer span {
    padding: 30px;
    padding-left: 20%;
    align-self: flex-start;
}

.footer {
    display: grid;
    margin-left: 20%;
    margin-right: 20%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}

@media (max-width: 550px) {
    .footer {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

a {
    color: rgb(115, 115, 115);
    text-decoration: none;
    font-size: 13px;
}

.final_lang {
    padding: 30px;
    padding-left: 20%;
    align-self: flex-start;
}

.final_lang .language {
    color: rgb(115, 115, 115);
    border-color: rgb(115, 115, 115);
    ;
}