@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}
a{
    text-decoration: none;
}
html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 9px;
}
::-webkit-scrollbar{
    width: 8px;
}
::-webkit-scrollbar-thumb{
    background-color: #ccc;
}
body{
    background-color: #111;
}
section{
    margin-top: 50px;
}
header{
    background-color: #222;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content:space-between;
    height: 50px;
    padding: 0 5%;
}
header .logo img {
    width: 180px;
}
.menu{
    display: flex;
    align-items: center;

}
.menu li{
    margin:0 15px;
    list-style: none;
}
.menu li a{
    color: #fff;
    font-size: 14px;
}
.btn-commande{
    color: #4b04f3;
    font-size: 14px;
    border: 2px solid #4b04f3;
    padding: 5px 20px;
    transition: 0.5s;
    font-weight: bolder;
}
.btn-commande:hover{
    background-color: #4b04f3;
    color: #fff;
}

#home{
    background: linear-gradient(rgba(0,0,0,0.1),#333), url("images/lights-prisms-effect-close-up.jpg");
    background-position: center;
    background-size: cover;
    height: calc(100vh - 50px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
#home h2{
    font-size: 45px;
    margin-bottom: 10px;
    -webkit-text-stroke: #4b04f3 1.5px;
    color: transparent;
    text-transform: lowercase;
}
#home h4{
    font-size: 40px;
    color:#fff;
    margin-bottom: 10px;
    text-transform: capitalize;
}
#home p{
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
}
.home-btn{
    margin-bottom: 20px;
}
/*a propos*/
#a-propos{
    margin-top: 100px;
    margin-bottom: 50px;
    padding: 0 10%;
    width: 100%;
}
.title{
    text-transform: capitalize;
    margin: 70px 0;
    font-weight: bold;
    color: #4b04f3;
    position: relative;
    margin-left: 15px;
    font-size: 18px;
}
.title::after{
    position: absolute;
    left: -15px;
    content: "";
    height: 100%;
    background-color: #fff;
    width: 5px;
}
.img-desc{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.img-desc .left{
    position: relative;
    margin-left: 10px;
    height: 250px;
    width: 40%;
}
.img-desc .right{
    width: 57%;
}
.img-desc .left video{
    width: 100%;
    height: 100%;
    position: relative;
    box-shadow: 0 0 10px #4b04f3;
}
.img-desc .left::after{
    position: absolute;
    bottom: -10px;
    right: 10px;
    content: "";
    height: 100%;
    background-color: #4b04f3;
    width: 100%;
    z-index: -1;
}
.img-desc .right h3{
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
}
.img-desc .right p{
    color: #999;
    font: 14px;
    margin-bottom: 36px;
}
.img-desc .right a{
    border: 1px solid #4b04f3;
    color: #4b04f3;
    font-size: 14px;
    padding: 8px 25px;
    font-weight:bold ;
}

#popular-design{
    padding: 0 10%;
    margin-bottom: 50px;
}
#popular-design .content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
#popular-design .content .box{
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: 0.5s;
}
#popular-design .content .box img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.box .content{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    text-align: center;
    align-items: center;
    transform: translateX(100%);
    transition: 0.5s;
}
.box .content h4{
    color: #fff;
    font-size: 25px;
    margin-bottom: 10px;
}
.box .content p{
    color: #fff;
    padding: 15px;
    font-size: 12px;
}
.box .content p:nth-child(3){
    margin-bottom: 25px;
}
.box .content a {
    margin-top: 60px;
    padding: 10px 60px;
    border: 2px solid #4b04f3;
    color: #4b04f3;
    font-weight: bold;
}
.box:hover{
    box-shadow: 0 0 10px #4b04f3;
}
.box:hover .content{
    transform: translateX(0);
}

#contact{
    padding: 0 10%;
    margin-bottom: 50px;
    height: 90vh;
}
#contact form{
    background-color: #fff;
    margin: auto;
    display: flex;
    flex-direction: column;
    padding: 20px;
}
.left-right{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.left-right .left , .left-right .right{
    display: flex;
    flex-direction: column;
    width: 49%;
}
#contact form label{
    font-size: 14px;
    padding: 10px 0;
    font-weight: 600;
}
#contact form input{
    padding: 8px;
    outline: 0;
    border: 1px solid #999;
}
textarea{
    height: 150px;
    resize: none;
    outline: 0;
    width: 100%;
    padding: 10px;
}
#contact form input:focus , textarea:focus{
    border: 1px solid #4b04f3;
}
#contact button{
    width: fit-content;
    padding: 8px 40px;
    background-color: #111;
    border:1px solid #111;
    color: #fff;
    cursor: pointer;
    transition: 0.5s;
}
#contact button:hover{
    letter-spacing: 1px;
}
footer{
    width: 100%;
    background-color: #222;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
}
footer p{
    color: #fff;
}
footer p span{
    color: #4b04f3;
}
.responsive-menu{
    display: none;
}

@media (max-width:750px) {
    header .menu{
        display: none;
    }
    .btn-commande{
        display: none;
    }

    #home h2{
        font-size: 24px;
        
    }
    #home h4{
        font-size: 28px;
    }
    #home p {
        text-align: center;
        font-size: 10px;
    }
    .home-btn{
        display: block;
    }
    .img-desc{
        flex-direction: column;
        width: 100%;
    }
    .img-desc .left , .img-desc .right{
        width: 100%;
    }
    .img-desc .left video{
        width: 100%;
    }
    .img-desc .left::after{
        background-color: transparent;
    }
    .img-desc .left{
        margin-bottom: 20px;
    }
    .responsive-menu{
       width: 50px;
       height: 50px;
       display: flex;
       align-items: center;
       justify-content: center;
       position: relative;
       cursor: pointer; 
    }
    .responsive-menu::after{
        position: absolute;
        content: "";
        height: 3px;
        background-color: #4b04f3;
        width: 28px;
        box-shadow: 0 10px 0 #4b04f3;
        transform: translateY(-10px);
        transition: 0.5s;
    }
    .responsive-menu.active::after{
        box-shadow: 0 0 0 #4b04f3;
        transform: rotate(45deg);
    }
    .responsive-menu::before{
        position: absolute;
        content: "";
        height: 3px;
        background-color: #4b04f3;
        width: 28px;
        transform: translateY(10px);
        transition: 0.5s;
    }
    .responsive-menu.active::before{
        transform: rotate(-45deg);
    }
    header .menu.responsive {
        display: flex;
        position: absolute;
        top: 50px;
        right: 0;
        flex-direction: column;
        background-color: #222;
        align-items: unset;
        animation: animate-menu 1s forwards;
    }
    header .menu.responsive li{
        margin: 20px;
        width: 100px;
        padding-left: 20px;
    }

    @keyframes animate-menu {
        0%{
            transform: translateY(0);
        }
        100%{
            transform: translateY(100%);
        }
    }

}