@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face{
    font-family: myFont;
    src: url(Ailerons-Typeface.otf);
}

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
}

body{
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
    position: relative;
}

header{
    background-color: rgb(230, 230, 230);
    position: relative;
}

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem 0 4rem;
}

.logo img{
    width: 200px;
}

.menu{
    display: flex;
    gap: 3rem;
}

.menu a{
    color: black;
    position: relative;
    font-weight: 500;
}

.menu a::after{
    content: "";
    position: absolute;
    background-color: black;
    height: 2px;
    width: 0;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.menu a:hover::after,
.menu a.activep::after{
    width: 100%;
}

.about{
    width: 100%;
    z-index: 2;
    margin-top: 1rem;
}

.about-content{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    float: right;
    margin-right: 4rem;
    width: 40%;
}

.about-content p{
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 24px;
}

.about-content button{
    width: 250px;
    font-size: 18px;
    letter-spacing: 3px;
    font-weight: 600;
    padding: 1rem 2rem;
    background-color: transparent;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
}

.bg-img{
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.bg-text{
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.bg-text h1{
    font-family: "myFont", sans-serif;
    font-size: 350px;
    color: rgba(0, 0, 0, 0.1);
}

.bg-img img{
    width: 1200px;
}

.about-car{
    margin-top: 25rem;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 33.9%;
    color: white;
}

.box h1{
    padding-top: 7rem;
    font-size: 128px;
    font-weight: 200;
    display: flex;
}

.box h1 span{
    font-size: 80px;
    font-family: 100;
}

.box1{
    background-color: rgb(71, 71, 71);
    height: 500px;
}

.box2{
    background-color: rgb(49, 49, 49);
    height: 500px;
}

.box3{
    background-color: rgb(71, 71, 71);
    height: 500px;
}

main{
    width: 100%;
}

.box-main{
    display: flex;
}

.box-main-text h2{
    font-size: 32px;
}

.box-main p{
    letter-spacing: 1px;
    line-height: 35px;
    padding-top: 1rem;
    font-size: 18px;
}

.box-main-text{
    background-color: rgb(230, 230,230);
    padding: 8rem 5rem 0 5rem;
}

.box-main img{
    width: 50%;
}

footer{
    width: 100%;
    text-align: center;
}

.footer-content{
    padding: 6rem 0;
}

.footer-content button{
    border: none;
    outline: none;
    background-color: rgb(230, 230, 230);
    padding: 1.5rem 6rem;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.footer-content p{
    padding-top: 1.5rem;
    font-size: 10px;
}

.footer-logo{
    background-color: rgb(230, 230, 230);
}

.footer-logo img{
    width: 150px;
    padding: 1rem 0;
}

.menu-mobile{
    display: none;
}

.menu-mobile i{
    font-size: 48px;
}

.menu-mobile-content{
    background-color: rgb(230, 230, 230);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 99;
    display: none;
    overflow-y: hidden;
    align-items: center;
    justify-content: center;
}

.menu-mobile-content-menu{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    align-items: center;
}

.menu-mobile-content-menu a{
    color: black;
    font-weight: 500;
    font-size: 26px;
}

.menu-mobile-content i{
    position: absolute;
    top: 10%;
    right: 10%;
}

@media screen and (max-width: 768px) {
    .logo img{
        width: 100px;
    }
    .menu{
        display: none;
    }
    .menu-mobile{
        display: block;
    }
    .bg-img{
        top: 55%;
    }
    .bg-img img{
        max-width: 350px;
    }
    .bg-text{
        top: 50%;
    }
    .bg-text h1{
        font-size: 48px;
    }
    .about{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        margin-top: 4rem;
    }
    .about-content{
        text-align: center;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 0 0 4rem 0;
    }
    .about-content h1{
        font-weight: 600;
    }
    .about-content p{
        font-size: 12px;
        display: none;
    }
    .about-car{
        margin-top: 5rem;
    }
    .box{
        height: 300px;
    }
    .box h1{
        font-size: 32px;
        padding-top: 3rem;
    }
    .box h1 span{
        font-size: 18px;
    }
    .box p{
        font-size: 10px;
        font-weight: 200;
    }
    .box-main img{
        width: 50%;
        height: auto;
    }
    .box-main-text{
        padding: 2rem;
        max-width: 50%;
        height: 200px;
    }
    .box-main-text h2{
        font-size: 14px;
        font-weight: 800;
    }   
    .box-main-text p{
        font-size: 8px;
        line-height: 18px;
        letter-spacing: 0;
    }
    .footer-content{
        padding: 2rem 0;
    }
    .footer-content button{
        padding: 1rem 2rem;
        font-size: 14px;
    }
    .footer-content p{
        font-size: 8px;
    }
}