* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: black;
}

.main {
    background-image: url("assets/banner.jpg");
    background-size: max(1200px 100vw);
    background-repeat: no-repeat;
    background-position: top;

    height: 80vh;
    padding: 0 24px 48px;
}


.main .box {
    background-color: black;

    height: 80vh;
    width: 100%;

    opacity: 0.70;

    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto 140px;

    position: relative;
    z-index: 2;
}

nav img {
    width: 114px;
    margin-top: 18px;
}

nav div {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

nav button {

    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;

    padding: 8px 20px;
    margin: 18px 0;

    color: white;
    background-color: red;
    border-color: red;
    border-radius: 2px;

    transition: background-color 03s easea, transform 0.3s ease;
}

nav button:hover{

    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;

    color: white;
    background-color: transparent;
    border-color: black;

    transform: scale(1.1);
    transition: 300ms;
}

nav div span {

    padding: 8px 20px;
    margin: 18px 0;

    border: 2px solid rgb(76, 76, 76);
    border-radius: 2px;

    background: transparent;
    color: white;

    font-size: 16px;
    font-weight: 400;
    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;

    transition: transform 0.3s ease, padding 0.3s ease;;
}

.hover:hover{
    padding: 10px 20px;
    transform:scale(1.1);
    transition: 300ms;

}

.text {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 190px auto;
}

.text h1 {
    display: flex;
    justify-content: center;
    text-align: center;

    color: white;

    font-family: Netflix Sans, Helvetica Neue, Segoe UI, Roboto, Ubuntu, sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 6vw, 4rem);
    line-height: 1.15;
}

.text span {
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 500;
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: normal;

    margin: 20px auto;
    max-width: 900px;
}

.login {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.text input{
    border: 2px solid rgb(72, 72, 72);
    border-radius: 5px;

    padding: 14px 16px;
    margin-top: 20px;
    width: min(100%, 420px);

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    text-align: center;

    background:transparent;
    color:white;
    
    transition: transform 0.3s ease, transition 0.3s ease;
}   

.text input:hover{

    transform: scale(1.1);
    margin-right:30px;

    transition: 300ms;
}

.text .login :nth-child(2){
    padding: 14px 24px;
    margin-top: 18px;
    width: min(100%, 420px);

    color: white;

    border: 2px solid red;
    border-radius: 5px;
    background-color: red;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;

    transition: transform 0.3s ease, transition 0.3s ease;
}


.text .login :nth-child(2):hover{

    margin-left:30px;
    
    background-color: rgb(218, 2, 2);
    border-color: rgb(218, 2, 2);
    
    transform: scale(1.1);
    transition: 300ms;
}


.last-text {
    display: flex;
    justify-content: center;

    margin-top: 20px;
    color: white;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;

}

.main-contaier{
    max-width: 1400px;
    margin: 50px auto;
}

.hero {
    display: flex;
    
    color:  white;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: normal;
}

.container{
    display: flex;
    gap: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;  
    
}

.container::-webkit-scrollbar {
    display: none;

}
.container .box {
    
    margin-top: 20px;
    position: relative;
    flex: 0 0 auto;


}

.container img {
    display: block;
    border-radius: 20px;
}

.rank {
    position: absolute;
    left: -5px;
    bottom: -2px; 

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 700;
    font-size: 130px;
    line-height: 140px;

    color: rgb(65,65,65);
    
    -webkit-text-stroke: 2px white;

    z-index: 10;
}

.card-header {

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: normal;
    
    color: white;
    margin-bottom: 20px;
}

.reasons-card {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 250px;
    height: 300px;

    padding: 25px;
    border-radius: 18px;

    background: linear-gradient(145deg, #1d2346, #2a1625);
    color: white;
}

.card h3 {
    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: normal;

    margin-bottom: 20px;
}

.card p {

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;

    font-size: 20px;
    color: rgb(255, 255, 255, 0.7);
}

.faq-header{

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: normal;

    margin-bottom: 20px;
    gap: 30px;
    color: white;
}

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

.faq{

    flex: 1;
    padding: 25px;

    background: rgb(52, 52, 52);
    color: white;
}

.faq h3 {
    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 550;
    font-size: 24px;
    line-height: normal;
}

.faq:hover{
    background-color: rgb(77, 77, 77);
}

.bottom-line{
    
    display: flex;
    justify-content: center;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    margin-bottom: 20px;
    gap: 30px;
    color: white;
}

.bottom-emai{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}



.bottom-block input{
    border: 2px solid rgb(72, 72, 72);
    border-radius: 5px;

    padding: 14px 16px;
    margin-top: 20px;
    width: min(100%, 420px);

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;

    text-align: center;

    background:transparent;
    color:white;
    
    transition: transform 0.3s ease, transition 0.3s ease;
}   

.bottom-block input:hover{

    transform: scale(1.1);
    margin-right:30px;

    transition: 300ms;
}

.bottom-block .bottom-emai :nth-child(2){
    padding: 14px 24px;
    margin-top: 18px;
    width: min(100%, 420px);

    color: white;

    border: 2px solid red;
    border-radius: 5px;
    background-color: red;

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 24px;

    transition: transform 0.3s ease, transition 0.3s ease;
}


.bottom-block .bottom-emai :nth-child(2):hover{

    margin-left:30px;
    
    background-color: rgb(218, 2, 2);
    border-color: rgb(218, 2, 2);
    
    transform: scale(1.1);
    transition: 300ms;
}

.bottom-text{
    display: flex;
    justify-content: center;

    margin-top: 20px;
    color: rgb(255, 255, 255, 0.7);

    font-family: "Netflix Sans", "Helvetica Neue", "Segoe UI", Roboto, Ubuntu, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
}