* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    font-family: 'Roboto', sans-serif;
}

.main {
    background-image: url("assets/bg.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
}

.main .box {
    height: 80vh;
    width: 100%;
    opacity: 0.7;
    background-color: black;
    position: absolute;
    top: 0;
}

nav {
    display: flex;
    margin: auto;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
    height: 92px;
}

nav img {
    position: relative;
    z-index: 1;
    max-width: 148px;
    height: auto;
}

nav button {
    position: relative;
    z-index: 1;
}

.box {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.content {
    position: relative;
    display: flex;
    flex-direction: column;
    height: calc(100% - 62px);
    justify-content: center;
    align-items: center;
    color: white;
    gap: 20px;
    padding: 0 30px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    text-align: center;
}

.content> :nth-child(1) {
    font-size: clamp(24px, 8vw, 50px);
    text-align: center;
}

.content> :nth-child(2),
.content> :nth-child(3) {
    font-size: clamp(16px, 4vw, 24px);
    text-align: center;
}

.content div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.separation {
    width: 100%;
    height: 7px;
    background-color: #393636;
}

.btn-eng {
    background-color: transparent;
    color: white;
    border-radius: 4px;
    border: 0.5px solid white;
    padding: 5px 15px;
    cursor: pointer;
    font-weight: 500;
}

.btn-red,
.btn-red2 {
    background-color: rgb(194, 10, 10);
    color: white;
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 3px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-red-sm {
    background-color: rgb(194, 10, 10);
    color: white;
    border-radius: 3px;
    border: none;
    padding: 7px 9px;
    cursor: pointer;
    font-size: 14px;
}

.main input,
.emailbox input {
    padding: 12px 22px;
    font-size: 16px;
    border-radius: 3px;
    background-color: black;
    opacity: 0.44;
    border: 1px solid white;
    color: white;
    width: 300px;
    max-width: 100%;
}

.first {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 70vw;
    margin: auto;
    color: white;
    padding: 70px 0;
    gap: 40px;
}

.secmedia {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    flex: 1;
    margin: 0 auto;
}

.secmedia img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
}

.first .secmedia video {
    position: absolute;
    width: 71%;
    height: auto;
    top: 21%;
    left: 14%;
    object-fit: cover;
    z-index: -1;
}
.third .secmedia video {
    width: 60%;
    height: auto;
    top: 8%;
    left: 19%;
    z-index: -1;
}

section.first>div {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

section.first>div:first-child {
    padding-right: 20px;
}

.second section.first>div:first-child {
    padding-right: 0;
    padding-left: 20px;
}

section.first>div :first-child {
    font-size: clamp(24px, 6vw, 48px);
    font-weight: bolder;
    line-height: 1.1;
}

section.first>div :nth-child(2) {
    font-size: clamp(16px, 3vw, 24px);
    line-height: 1.3;
}

.faq {
    color: white;
    padding: 54px 20px;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
}

.faq h2 {
    text-align: center;
    font-size: clamp(24px, 6vw, 48px);
    font-weight: 900;
    padding: 0px 0px 22px;
}

.faqbox {
    transition: all 200ms ease-in-out;
    display: flex;
    background-color: #2d2d2d;
    padding: 24px;
    width: 100%;
    max-width: 75%;
    margin: 10px auto;
    font-weight: 500;
    font-size: clamp(16px, 4vw, 25px);
    color: white;
    cursor: pointer;
}

.faqbox:hover {
    background-color: #414141;
}

.lastbox {
    color: white;
    display: flex;
    justify-content: center;
    font-size: clamp(16px, 4vw, 22px);
    padding: 10px 20px 25px;
    text-align: center;
}

.emailbox {
    display: flex;
    justify-content: center;
    padding: 0px 20px 65px;
    flex-wrap: wrap;
    gap: 15px;
}

footer {
    color: white;
}

.footer {
    max-width: 60vw;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    font-size: 14px;
    font-weight: lighter;
    gap: 20px;
    padding: 20px;
}

.footer-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

footer span {
    margin: 2px 19vw;
    text-align: left;
}

a {
    color: white;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Tablets */

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        height: auto;
        padding: 20px 3vw;
    }

    nav img {
        max-width: 120px;
    }

    .first {
        flex-direction: column;
        max-width: 90vw;
        gap: 40px;
        padding: 50px 0;
        text-align: center;
    }

    .second {
        flex-direction: column-reverse;
    }

    section.first>div {
        padding: 0 !important;
        text-align: center;
    }

    .secmedia {
        max-width: 400px;
    }

    .content div {
        flex-direction: column;
        gap: 20px;
    }

    .main input {
        width: 100%;
        max-width: 300px;
    }

    .btn-red {
        width: 100%;
        max-width: 300px;
    }

    .emailbox {
        flex-direction: column;
        align-items: center;
    }

    .emailbox input {
        width: 100%;
        max-width: 300px;
    }

    .btn-red2 {
        width: 100%;
        max-width: 300px;
    }

    .faqbox {
        max-width: 95%;
        padding: 20px;
    }

    footer span {
        margin: 0 5vw;
    }

    .footer {
        max-width: 90vw;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Mobile devices */

@media screen and (max-width: 480px) {
    .main {
        height: 70vh;
    }

    .main .box {
        height: 70vh;
    }

    nav {
        padding: 15px 5vw;
        gap: 10px;
    }

    nav img {
        max-width: 100px;
    }

    .btn-eng,
    .btn-red-sm {
        font-size: 12px;
        padding: 5px 8px;
    }

    .content {
        padding: 0 15px;
        gap: 15px;
    }

    .first {
        max-width: 95vw;
        padding: 40px 0;
        gap: 30px;
    }

    .secmedia {
        max-width: 300px;
    }


    .main input,
    .emailbox input {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
        padding: 10px 15px;
    }

    .btn-red,
    .btn-red2 {
        width: 100%;
        max-width: 250px;
        font-size: 14px;
        padding: 10px 15px;
    }

    .faq {
        padding: 40px 15px;
    }

    .faqbox {
        max-width: 100%;
        padding: 15px;
        margin: 8px auto;
    }

    footer span {
        position: absolute;
        left: 16%;
    }

    .footer {
        max-width: 95vw;
        grid-template-columns: 1fr;
        text-align: center;
        font-size: 12px;
    }
}