@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');
*{

margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto Condensed', sans-serif;
}

body{
    transition: 0.5s;
    background: #ffffff;
}

a{
    text-decoration: 0;
}

h1{
    font-size: 60px;
    font-weight: bold;
    letter-spacing: 1px;
    margin: 35px 0;
    text-transform: capitalize;
}

.header-menu{
    background-color: #ffff;
    position: relative;
    
}

/*menu*/
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #ffffff;
    box-shadow: 0 2rem 3rem rgba(132, 139, 200, 0.18);
}
.logo_link img{
    height: 30px;
    width: 30px;
}

.logo {
    text-transform: capitalize;
    color: #000;
    font-size: 30px;
    font-weight: bold;
    font-style: italic ;
}

header .logo_link {
    display: flex;
    align-items: center;
}
.menu_link {
    margin-left: 60px;
}
.menu_link a {
    margin: 0 10px;
    font-size: 15px;
    color: #999;
}
.menu_link a:first-child {
    color: #0b0031;
}
.link_buttons a {
    color: #ffff;
}
.link_buttons a{
    margin-left: 15px;
}
.blue_link{
    color: #fff;
    padding: 8px 30px;
    background-color: #0b0031;
    border-radius: 4px;
    text-transform: capitalize;
}

/*home*/
.home {
    margin-top: 50px;
    margin-left: 10%;
    margin-right: 10%;
    display: flex;
    justify-content: space-between;
    height: 500px;
    position: relative;
    gap: 20px;
}
.home .left {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.home .left p{
    margin: 25px 0;
    color: #999;
    letter-spacing: 0.5px;
    line-height: 25px;
}
.home .left .blue_link {
    width: fit-content;
    padding: 12px 50px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.home .right {
    width: 45%;
}
.home .right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.statistiques{
    position: absolute;
    bottom: -50px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2rem 3rem rgba(132, 139, 200, 0.18);
    padding: 20px 10%;
}
.statistiques span{
    text-align: center;
}
.statistiques span h2 {
    color: #0b0031;
    font-size: 25px;
    margin-bottom: 10px;
}

.statistiques span p {
    color: #999;
    text-transform: capitalize;
} 

/*ABOUT*/
.about{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 120px;
    padding: 20px 5%;
}

.about .image{
    width: 55%;
    height: 400px;
}
 .about .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
 }

 .about .content {
    width: 40%;
 }
.about .content h1{
    margin: 16px 0;
}
.about .content h2{
    margin: 15px 0;
    color: #333;
}


.about .content p {
    color: #999;
    text-align: justify;
    letter-spacing: 0.5px;
    line-height: 25px;
}
.why_us {
    padding: 20px 10%;
    display: flex;
    flex-direction: column;
    background: #0b0031;
}
.why_us img{
    width: 60px;
}
.why_us h1 {
    color: #FAF8F4;
}
.list-box{
    width: 100%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fill, 260px);
    grid-gap: 10px;
}
.list-box .box{
    text-align: center;
    background-color: #FAF8F4;
    border-radius: 4px;
    padding: 50px 25px;
    margin: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
.list-box .box h2{
    margin: 10px 0;
    color: #0b0031;
    letter-spacing: 1px;
    text-transform: capitalize;
}
/*decoration*/
.decoration {
    padding: 20px 10%;
    width: 100%;
}
.deco-list{
width: 100%;
display: grid;
justify-content: center;
grid-template-columns: repeat(auto-fill,31.11%);
gap: 30px;
}
.deco-list .deco img{
    width: 100%;
    object-fit: cover;
}
.deco-list .deco{
    text-align: center;
    cursor: pointer;
    padding: 10px;
    transition: 0.5s;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.deco-list .deco:hover{
    transform: scale(1.1);
}
.deco-list .deco p{
    margin: 5px 0;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.deco-list .deco span{
    font-size: 15px;
    color: #333;
}
.deco-list .deco .blue_link{
    margin-bottom: 5px;
    border: 1px solid #03a2ff;
    letter-spacing: 1px;
    width: 100%;
    transition: 0.5s;
    cursor: pointer;
}
.deco-list .deco .blue_link:hover{
    background-color: transparent;
    color: #03a2ff;
}

/*footer*/
footer{
display: grid;
justify-content: center;
align-items: end;
min-height: 40vh;
background: #ffffff;
position: relative;
width: 100%;
height: auto;
padding: 50px 100px;
border: 1px solid rgba(0, 0, 0, 0.15);
}

footer .container{
    width: 100%;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
footer .container .sec h2{
    position: relative;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}
footer .container .sec p{
    color: #555;
}
footer .container .sci{
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4,50px);
}
footer .container .sci li{
    list-style: none;
}
footer .container .sci li a{
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #333;
    display: grid;
    align-content: center;
    justify-content: center;
    text-decoration: none;
}
footer .container .sci li a i {
    color: #fff;
    font-size: 20px;
}
footer .container .quicklinks{
    position: relative;
}
footer .container .quicklinks ul li{
    list-style: none;
}
footer .container .quicklinks ul li a{
    color: #555;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}
footer .container .contact .info{
    position: relative;
}
footer .container .contact .info li{
    display: grid;
    grid-template-columns: 30px 1fr;
    margin-bottom: 16px;
}
footer .container .contact .info li span{
    color: #555;
    font-size: 20px;
}
footer .container .contact .info li a{
    color: #555;
    text-decoration: none;
}
.copyright{
    width: 100%;
    background: #fff;
    padding: 20px 100px 30px;
    text-align: center;
    color: #555;
    border: 1px solid rgba(0, 0, 0, 0.15);
}
.sidebar ,#main{
    display: none;
}

@media (max-width: 991px){
    footer{
        padding: 40px;
    }
    footer .container{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-gap: 20px;
    }
    .copyright{
        padding: 20px 40px 30px;
    }
}
@media (max-width: 768px){
    footer .container{
        width: 100%;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 20px;
    }
}
@media (max-width: 935px) {
    header{
        padding: 20px;
        margin: 0;
        height: auto;
    }
    .link_buttons{
        display: none;
    }
    .menu_link{
        display: none;
    }
    .sidebar,#main {
            display: block;
        }
    .sidebar{
        height: 100%;
        width:0;
        position: fixed;
        z-index: 1000;
        top: 0;
        left: 0;
        background-color: #111;
        overflow-x: hidden;
        padding-top: 60px;
        transition: 0.5s;
        display: flex;
        flex-direction: column;
    }
    .sidebar i,#main i{
        width: 20px;
        color: #fff;
    }
    .sidebar a{
        padding: 15px;
        font-size: 15px;
        color: #fff;
        transform: 0.3s;
    }
    .sidebar a:hover{
        background-color: #0b0031;
    }
    .sidebar .closebtn{
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
    }
    .sidebar .openbtn i{
        width: 20px;
        margin-right: 10px;
    }
    .sidebar .openbtn{
        background-color: linear-gradient(to right, #335cc4, #2fc9e8);;
        border: 0;
        display: flex;
        align-items: center;
        color: #fff;
        font-size: 15px;
        padding: 10px 15px;
        border-radius: 5px;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: 0.5s;
    }
    .sidebar .openbtn:hover {
        background-color: #bdabab;
    }
}

@media (max-width: 588px) {
    h1{
        font-size: 30px;
    }
    .home {
        margin: 25px;
        flex-direction: column-reverse;
        height: auto;
        padding-bottom: 25px;
    }
    .home p, .home h1 {
        margin: 0;
    }
    .home .left, .home .right{
        width: 100%;
    }
    .statistiques{
        bottom: -100px;
    }
    .statistiques h2{
        font-size: 15px;
    }
    .statistiques p{
        font-size: 10px;
    }
    .about{
        flex-direction: column;
    }
    .about .image, .about .content {
        width: 100%;
    }

    .list-box, .deco-list{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .box , .deco {
        width: 100%;
    }
}

/*formulaire */
/* le style css pour le page de connexion et celle d'inscription*/
.container1 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    overflow: hidden;
}

.container1:before {
    content: '';
    position: absolute;
    width: 2000px;
    height: 2000px;
    border-radius: 50%;
    background: linear-gradient(-45deg, #4481eb, #04befe);
    top: -10%;
    right: 48%;
    transform: translateY(-50%);
    z-index: 6;
    transition: 1.8s ease-in-out;
}

input {
    font-family: 'Poppins', sans-serif;
}

.form-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.singin-signup {
    position: absolute;
    top: 50%;
    left: 75%;
    transform: translate(-50%, -50%);
    width: 50%;
    display: grid;
    grid-template-columns: 1fr;
    z-index: 5;
}

form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 5rem;
    overflow: hidden;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

form .sing-in-form {
    z-index: 2;
}

form.sign-up-form {
    z-index: 1;
    opacity: 0;
}

.titre {
    font-size: 2.2rem;
    color: #444;
    margin-bottom: 10px;
}

.input-field {
    max-width: 380px;
    width: 100%;
    height: 55px;
    background-color: #f0f0f0;
    margin: 10px 0;
    border-radius: 55px;
    display: grid;
    grid-template-columns: 15% 85%;
    padding: 0 .4rem;
}

.input-field i {
    text-align: center;
    line-height: 55px;
    color: #acacac;
    font-size: 1.1rem;
}

.input-field input {
    background: none;
    outline: none;
    border: none;
    line-height: 1;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.input-field input::placeholder {
    color: #aaa;
    font-weight: 500;
}

.btn {
    width: 150px;
    height: 49px;
    border: none;
    outline: none;
    border-radius: 49px;
    cursor: pointer;
    background-color: #5995fd;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    margin: 10px 0;
    transition: .5s;
}

.btn:hover {
    background-color: #4d84e2;
}

.social-text {
    padding: .7rem 0;
    font-size: 1rem;
}

.social-media {
    display: flex;
    justify-content: center;
}

.social-icon {
    height: 46px;
    width: 46px;
    border: 1px solid #333;
    margin: 0 0.45rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icon:hover {
    color: #4481eb;
    border-color: #4481eb;
}

.panels-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.panel {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-around;
    text-align: center;
    z-index: 7;
}

.left-panel {
    pointer-events: all;
    padding: 3rem 17% 2rem 12%;
}

.right-panel {
    pointer-events: none;
    padding: 3rem 17% 2rem 12%;
}

.panel .content {
    color: #fff;
}

.panel h3 {
    font-weight: 600;
    line-height: 1;
    font-size: 1.5rem;
}

.panel p {
    font-size: 0.95rem;
    padding: 0.7rem 0;
}

.btn.transparent {
    margin: 0;
    background: none;
    border: 2px solid #fff;
    width: 130px;
    height: 41px;
    font-weight: 600;
    font-size: 0.8rem;
}

.image {
    width: 100%;
}

.right-panel .content,
.right-panel .image {
    transform: translateX(800px);
}

/*ANIMATION FORMULAIRE*/
.container1 .sing-up-mode:before {
    transform: translate(100%, -50%);
    right: 52%;
}

@media (max-width: 870px) {
    .container1 {
        min-height: 800px;
        height: 100vh;
    }

    .container1:before {
        width: 1500px;
        height: 1500px;
        left: 30%;
        bottom: 68%;
        transform: translateX(-50%);
        right: initial;
        top: initial;
    }

    .singin-signup {
        width: 100%;
        left: 50%;
        top: 95%;
        transform: translate(-50%, -100%);
    }

    .panels-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr 1fr;
    }

    .panel {
        flex-direction: row;
        justify-content: space-around;
        align-items: center;
        padding: 2.5rem 8%;
    }

    .image {
        width: 200px;
    }

    .left-panel {
        grid-row: 1 /2;
    }

    .right-panel {
        grid-row: 3 /4;
    }

    .right-panel .content,
    .right-panel .image {
        transform: translateX(0px);
    }
}

@media(max-width: 570px) {
    form {
        padding: 0 1.5rem;
    }

    .image {
        display: none;
    }

    .panel .content {
        padding: 0.5rem 1rem;
    }

}

/* pour la partie produit  */
.gal {
    margin: 0;
    font-family: sans-serif;
    background: #0b0031;
}

.gal a {
    text-decoration: none;
}

/* Header Styles */
.gal h1 {
    text-align: center;
    font-size: 30px;
    margin: 0;
    padding-top: 10px;
    color: #fff;
}

/* Gallery Styles */
.gal .gallery {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

/* Content Box Styles */
.gal .gallery .content {
    width: 20%;
    margin: 15px;
    box-sizing: border-box;
    float: left;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    padding-top: 10px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.33),
        0 10px 10px rgba(0, 0, 0, 0.22);
}

.gal .gallery .content:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16),
        0 3px 6px rgba(0, 0, 0, 0.23);
    transform: translate(0px, -8px);
}

/* Image Styles */
.gal .gallery .content img {
    width: 200px;
    /* Fixed size for larger screens */
    height: auto;
    /* Maintain aspect ratio */
    margin: 0 auto;
    display: block;
}

/* Text Styles */
.gal .gallery .content p {
    text-align: center;
    color: #b2bec3;
}

.gal .gallery .content h6 {
    font-size: 26px;
    text-align: center;
    color: #222f3e;
    margin: 0;
}

/* List Styles */
.gal .gallery .content ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.gal .gallery .content li {
    padding: 5px;
}

/* Font Awesome Styles */
.gal .gallery .content .fa {
    font-size: 26px;
    transition: .4s;
}

.gal .gallery .content .checked {
    color: #ff9f43;
}

.gal .gallery .content .fa:hover {
    transform: scale(1.3);
    transition: .6s;
}

/* Button Styles */
.gal .gallery .content button {
    text-align: center;
    font-size: 24px;
    color: #fff;
    width: 100%;
    padding: 15px;
    border: none;
    outline: none;
    cursor: pointer;
    margin-top: 5px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.gal .gallery .content .buy-1 {
    background-color: #2183a2;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .gal .gallery .content {
        width: calc(25% - 30px);
        /* Adjust width for medium screens */
    }
}

@media (max-width: 992px) {
    .gal .gallery .content {
        width: calc(33.33% - 30px);
        /* Adjust width for smaller screens */
    }
}

@media (max-width: 768px) {
    .gal .gallery .content {
        width: calc(50% - 30px);
        /* Adjust width for mobile screens */
    }
}

@media (max-width: 576px) {
    .gal .gallery .content {
        width: calc(100% - 30px);
        /* Full width on very small screens */
    }
}
