@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
}

a{
    text-decoration: none;
}

ul{
    list-style: none;
}

.open, .close{
    display: none;
}

#home{
    background: linear-gradient(rgba(0, 0, 0, 0.5),rgba(0, 0, 0, 0.5)) ,url('./img/roboticassisted-thymectomy-equipment-setup-created-with-generative-ai_419341-81481.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
    margin-bottom: 230px;
    width: 100%;
    min-height: 90vh;
}


header{
    height: 70px;
    background-color: #ffffffc9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
}

.logo a{
    color: #222;
    font-size: 1.5rem;
    font-weight: 600;
    
}

header .links{
    display: flex;
}

header .links li{
    margin: 0 10px;
}

header .links a{
    color: #222;
    position: relative;

}
header .links a::after{
    position: absolute;
    content: "";
    background-color: #222;
    width: 0;
    height: 5px;
    bottom: -5px;
    left: 0;
    border-radius: 10px;
    transition: 0.5s;
}

header .links a:hover::after{
    width: 100%;
}

.text{
    position: absolute;
    left: 30%;
    bottom: -20%;
    background-color: #00000594;
    color: #fff;
    padding: 20px 5%;
    width: 40%;
    border-radius: 15px;
}

.homePageContent{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffffc4;
}

.homePageContent h2{
    font-size: 50px;
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

h1{
    font-size: 50px;
    color: #222;
    margin: 50px 10%;
    position: relative;
    
}
h1::after{
    content: "";
    position: absolute;
    left: -15px;
    bottom: 25%;
    height: 50%;
    width: 5px;
    background-color: rgb(252, 172, 24);
}

.photo{
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0 10%;
}

.photo .view{
    width: 400px;
    height: 350px;
    border-radius: 50%;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 50px;
}

.view img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}


/* contact */

#contact{
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #222;
    color: #fff;
    padding: 20px 10%;
    margin-top: 250px;
}

#contact h2{
    font-size: 35px;
    color: rgb(252, 172, 24);
    margin-top: 50px;
}

#contact iframe {
    max-width: 100%;
    box-sizing: border-box;
}

.one{
    margin-top: 100px;
    display: flex;
}

.one div{
    display: flex;
    flex-direction: column;
    margin-right: 50px;
}

.one .sous{
    margin-bottom: 30px;
}

.one .sous h3{
    color: rgb(252, 172, 24);
    margin-bottom: 15px;
}

.one .sous a, .one .sous span, .one .sous p{
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
    transition: 0.5s;
}

.one .sous a:hover, .one .sous span:hover, .one .sous p:hover{
    color: rgb(252, 172, 24);
}


@media (max-width: 1000px){
    .open, .close{
        padding: 10px 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: uppercase;
        border-radius: 6px;
        background-color: #fff;
        border: 0;
        color: #000;
        outline: none;
        font-weight: bold;
        letter-spacing: 2px;
    }
    .close{
        display: unset;
        position: absolute;
        top: 20px;
        right: 25px;
    }
    .links{
        width: 0%;
        height: 100vh;
        background-color: #222;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 1;
        position: absolute;
        top: 0;
        right: 0;
        text-align: center;
        overflow: hidden;
        color: #fff;
        transition: 0.5s;
    }

    .links li a{
        color: #fff;
        font-size: 20px;
        padding: 20px 0;
        width: 100%;
        display: block;
    }
    .homePageContent{
        width: 100%;
        text-align: center;
    }
    .homePageContent h2{
        font-size: 45px;
    }
    .text{
        left: 10%;
        bottom: -20%;
        width: 80%;
    }

    .produit{
        display: none;
    }
        
    #a-propos{
        margin-top: 325px;
        width: 100%;
        margin-bottom: 200px;
    }
    .img-desc{
        flex-direction: column;
        align-items: unset;
    }
    .img-desc .left{
        margin-left: 3px;
        height: 175px;
    }
    .img-desc .left video{
        width: 300px;
    }
    .img-desc .left::after{
        bottom: -1px;
        right: 3px;
    }
    .img-desc .right{
        width: 100%;
    }
    .img-desc .right h3{
        margin-top: 30px;
    }

/* contact */
    #contact {
        padding: 0 10px 20px 10px;
        margin-top: 150px;
    }
    #contact h2 {
        font-size: 28px;
    }
    .one {
        flex-direction: column;
        align-items: center;
    }
    .one div {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .one .sous h3 {
        font-size: 20px;
    }
    .one .sous a, .one .sous span, .one .sous p {
        font-size: 14px;
    }
    #contact > div > div iframe {
        width: 100%;
        height: 300px;

    }
}

@media (max-width: 768px) {
    .photo {
        flex-direction: column;
        align-items: center;
        padding: 0 5%;
        margin-bottom: 80px;
    }
    .photo .view {
        width: 300px;
        height: 300px;
        margin-right: 0;
        margin-bottom: 20px;
    }
    h1 {
        font-size: 20px;
        margin: 30px 5%;
    }
}