@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
*{
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root{
    --width: 300px;
    --padding: 10px;
    --bgcolor:#17202A;
    --hovercolor:rgb(23,23,23);
    --width-collapsed:72px;
}
body{
    background: #fff;
    background-size: cover;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    margin-left: var(--width-collapsed);
   
}

.body-expanded{
    margin-left: var(--width);
}

#main-container{
    color: red;

}
#sidemenu{
    background-color: var(--bgcolor);
    color: white;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
}
#sidemenu a{
    color: white;
    text-decoration: none;
}

/*HEADER*/

#sidemenu #header{
    box-sizing: border-box;
    border-bottom: solid 1px var(--hovercolor);
}
#sidemenu #header #title{
    box-sizing: border-box;
    overflow: hidden;
}
#sidemenu #header #title, #sidemenu #header #menu-btn{
    vertical-align: middle;
}
 #sidemenu #header #menu-btn{
    display: inline-block;
 }
#sidemenu #header #menu-btn{
    cursor: pointer;
    padding: 10px;
    width: var(--width-collapsed);
    box-sizing: border-box;
 }
#sidemenu #header #menu-btn:hover{
    background-color: var(--hovercolor);
 }
#sidemenu #header #menu-btn .btn-hamburger{
    background-color: #fff;
    width: 100%;
    height: 2px;
    margin:5px 0;
 }
#sidemenu #profile{
    border-bottom: solid 1px var(--hovercolor);
    padding: var(--padding) 0;
    text-align: center;
}

#sidemenu #profile #photo{
    box-sizing: border-box;
    padding: var(--padding);
    margin: 0 auto;
}

#sidemenu #profile #photo img{
    border-radius: 50%;
    width: 100%;
}
#sidemeu #profile #photo #sidemenu #profile #name{
    font-size: 24px;
    padding: var(--padding);
    overflow: hidden;
}

/*ITEMS*/
#sidemenu #menu-items{
    overflow: hidden;
}
#sidemenu #menu-items .item{
    width: var(--width);
}

#sidemenu #menu-items .item .icon{
    display: inline-block;
}
#sidemenu #menu-items .item .icon, 
#sidemenu #menu-items .item .title{
    font-size: 14px;
    vertical-align: middle;
    overflow: hidden;
    display: inline-block;
}
#sidemenu #menu-items .item a{
    display: block;
}

#sidemenu #menu-items .item a:hover{
    background-color: var(--hovercolor);
}

#sidemenu #menu-items .item .icon{
    box-sizing: border-box;
    padding: var(--padding);
    width: var(--width-collapsed);
}
#sidemenu #menu-items .item .icon img{
    width: 100%;
}
#sidemenu #menu-items .item .title{
    padding: var(--padding) 0;
}
#sidemenu #menu-items .item .separator{
    height: 1px;
    border-bottom: solid 1px var(--hovercolor);
    margin: 15px 0;
}


.menu-expanded{
    width: var(--width);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.menu-expanded #header #title{
    display: inline-block;
    width: calc(100% - 50px);
    margin-right: -5px;
    padding: var(--padding);

}

.menu-expanded #header #title span{
    width: calc(var(--width) - var(--width-collapsed) -5px);
    overflow: hidden;
    
}

.menu-expanded #profile #photo{
    width: 200px;
}

.menu-expanded #profile #name{
    width: 100%;
    
}
.menu-collapsed{
    width: var(--width-collapsed);
}

.menu-collapsed #header #title{
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
}
.menu-collapsed #profile #name{
    display: none;
}
.menu-collapsed .item{
    width: 100px;
}






*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
#btn-mas{
    display: none;
}
.container{
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.redes a, .btn-mas label{
    display: block;
    text-decoration: none;
    background: #AAB7B8;
    color: #fff;
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}
.redes a:hover{
    background: #fff;
    color: green;
}
.redes a{
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
}
#btn-mas:checked~ .redes a{
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}
.btn-mas label{
    cursor: pointer;
    background: red;
    font-size: 23px;
}
#btn-mas:checked ~ .btn-mas label{
    transform: rotate(135deg);
    font-size: 25px;
}



.menu-collapsed #menu-items .item .tooltip{
    position: absolute;
    left: 132px;
    top: 41.1%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;

}
.menu-collapsed #menu-items .item:hover .tooltip{
    position: absolute;
    left: 132px;
    top: 44.1%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: rgb(23,23,23);
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;

}
@media screen and (max-width: 950px){
   .menu-collapsed #menu-items .item:hover .tooltip{
    left: 132px;
    top: 45.1%;
   }

}
@media screen and (max-width: 1350px){
   .menu-collapsed #menu-items .item:hover .tooltip{
    left: 132px;
    top: 45.1%;
   }

}
/* para el 1*/
.menu-collapsed #menu-items .item .tooltip1{
    position: absolute;
    left: 132px;
    top: 33.40%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;

}
.menu-collapsed #menu-items .item:hover .tooltip1{
    position: absolute;
    left: 132px;
    top: 35.5%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: rgb(23,23,23);
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;

}
@media screen and (max-width: 950px){
   .menu-collapsed #menu-items .item:hover .tooltip1{
    left: 132px;
    top: 39.5%;
   }

}

/* para el 3*/
.menu-collapsed #menu-items .item .tooltip3{
    position: absolute;
    left: 132px;
    top: 25.3%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;

}
.menu-collapsed #menu-items .item:hover .tooltip3{
    position: absolute;
    left: 132px;
    top: 27.3%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: rgb(23,23,23);
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
}
@media screen and (max-width: 950px){
   .menu-collapsed #menu-items .item:hover .tooltip3{
    left: 132px;
    top: 20.3%;
   }

}

/* para el 4*/
.menu-collapsed #menu-items .item .tooltip4{
    position: absolute;
    left: 132px;
    top: 17.9%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: #fff;
    line-height: 21px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;

}
.menu-collapsed #menu-items .item:hover .tooltip4{
    position: absolute;
    left: 132px;
    top: 19%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: rgb(23,23,23);
    line-height: 21px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;
}
@media screen and (max-width: 950px){
   .menu-collapsed #menu-items .item:hover .tooltip4{
    left: 132px;
    top: 19.5%;
   }

}

/* para el 5*/
.menu-collapsed #menu-items .item .tooltip5{
    position: absolute;
    left: 132px;
    top: 10.1%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: #fff;
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;

}
.menu-collapsed #menu-items .item:hover .tooltip5{
    position: absolute;
    left: 132px;
    top: 10.8%;
    transform: translate(-50%);
    border-radius: 6px;
    height: 40px;
    width: 122px;
    background: rgb(23,23,23);
    line-height: 35px;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    opacity: 1;

}
/*PARA EL HEADER Y RESTO*/

header{
    background: #000046;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #1CB5E0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #1CB5E0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    height: auto;
    padding: 108px;
    width: 100%;
}
.containers {
    width: 95%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: auto;
}
.containers img{
    display: block;
    height: 450px;
    object-fit: cover;
    width: auto;
    animation: arriba 1.5s ease-in;
}
.textos{
    width: 50%;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}
.textos h1{
    font-size: 65px;
    animation: moverDerecha 1.5s ease-in;
    font-family: 'Poppins', sans-serif;
}
.textos h2{
    font-size: 30px;
    animation: moverIzquierda 1.5s ease-in;
    font-family: 'Poppins', sans-serif;
}
.textos a{
    display: inline-block;
    color: #fff;
    font-weight: 300;
    text-decoration: none;
    margin-top: 30px;
    border: 1px solid;
    width: 150px;
    border-radius: 3px;
    text-align: center;
    padding: 10px 0;
    animation: arriba 1.5s ease-in;
    font-family: 'Poppins', sans-serif;
}
.wave{
    height: 100px;
    width: 100%;
    background: #000046;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #1CB5E0, #000046);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #1CB5E0, #000046); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
@keyframes arriba{
    0%{
        opacity: 0;
        transform: translateY(100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@keyframes moverDerecha{
    0%{
        opacity: 0;
        transform: translateX(100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@keyframes moverIzquierda{
    0%{
        opacity: 0;
        transform: translateX(-100px);
    }
    100%{
        opacity: 1;
        transform: translate(0);
    }
}
@media screen and (max-width: 1200px){
    .containers img{
        height: 400px;
     }
}
@media screen and (max-width: 1200px){
    .containers img{
        height: 370px;
     }
     .textos h1{
        font-size: 30px;
     }
     .textos h2{
        font-size: 16px;
     }
}

@media screen and (max-width: 850px){
    .containers{
        width: 100%;
        flex-wrap:wrap ;
        justify-content: center;
    }
    .containers img{
        height: 250px;
        top: 150px;
        position: absolute;
     }
     .textos h1{
        font-size: 25px;

     }
     .textos h2{
        font-size: 14px;
     }
     .textos{
        top: 12px;
        left: 120px;
        position: absolute;
     }
}
/*PARA BOTONES FINALES 1*/

.btn-open-popup{
    position: absolute;
    top: 790px;
    left: 55%;
    transform: translate(-50%, -50%);
    color: #fff;
    display: block;
    position: absolute;
    background: #1e130c;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #9a8478, #1e130c);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #9a8478, #1e130c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    padding: 15px 30px;
    border-radius: 20px;
    text-decoration: none;
}
.containe-all{
    width: 100%;
    height: 100;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    background: #111;
}
.containe-all:target{
    background: rgba(0, 0, 0, 0.8);
    visibility: visible;
    opacity: 1;
}
.containe-all:target .popup{
    top: 50%;
    left: 45%;
    transform: rotate(0deg) translate(-48%, -80%);
    visibility: visible;
}
.popup{
    width: 100%;
    max-width: 800px;
    height: 380px;
    position: relative;
    display: flex;
    background: #F5F5F5;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg)translate(-150%, 230%);
    transition: all 600ms;
}
.img{
    width: 40%;
    background-image: url(../imagenes/11.jpg);
    background: cover;
    background-position: center;
}  
.containe-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}
.containe-text h1{
    font-size: 30px;

}
.containe-text p{
    margin-top: 20px;
    font-size: 12px;
}
.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
    text-decoration: none;
}
@media screen and (max-width: 1300px){
   .popup{
        flex-direction: column;
        height: 80%;
        width: 400px;
        max-height: 500px;
        position: fixed;;
        
    }
    .img{
        width: 100%;
        height: 100%;
    }
    .containe-text{
        width: 100%;
        height: 60%;
        padding: 40px;
    }
    .containe-text h1{
        font-size: 20px;
    }
    .containe-text p{
        font-size: 12px;
    }
    .containe-all:target .popup{
    top: 70%;
    left: 57%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
    }
    .btn-open-popup{
    
    top: 1570px;
    left: 51%;
    transform: translate(-10%, -20%);
    display: block;
    position: absolute;
    }
}



/*PARA BOTONES FINALES 2*/

.btns-open-popup{
    position: absolute;
    top: 790px;
    left: 75%;
    transform: translate(-10%, -20%);
    color: #fff;
    display: block;
    position: absolute;
    background: #000000;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #0f9b0f, #000000);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #0f9b0f, #000000); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    padding: 10px 30px;
    border-radius: 20px;
    text-decoration: none;
}
.containe-alls{
    width: 100%;
    height: 100;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    background: #111;
}
.containe-alls:target{
    background: rgba(0, 0, 0, 0.8);
    visibility: visible;
    opacity: 1;
}
.containe-alls:target .popups{
    top: 50%;
    left: 45%;
    transform: rotate(0deg) translate(-48%, -80%);
    visibility: visible;
}
.popups{
    width: 100%;
    max-width: 800px;
    height: 380px;
    position: relative;
    display: flex;
    background: #F5F5F5;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg)translate(-120%, 130%);
    transition: all 600ms;
}
.imgs{
    width: 60%;
    background-image: url(../imagenes/medico.jpg);
    background: cover;
    background-position: center;
}  
.containes-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}
.containes-text h1{
    font-size: 30px;

}
.containes-text p{
    margin-top: 20px;
    font-size: 12px;
}
.btns-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
    text-decoration: none;
}
@media screen and (max-width: 1300px){
    .popups{
        flex-direction: column;
        height: 80%;
        width: 400px;
        max-height: 500px;
        position: fixed;;
        
    }
    .imgs{
        width: 100%;
        height: 100%;
    }
    .containes-text{
        width: 100%;
        height: 60%;
        padding: 40px;
    }
    .containes-text h1{
        font-size: 20px;
    }
    .containes-text p{
        font-size: 12px;
    }
    .containe-alls:target .popups{
    top: 70%;
    left: 57%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
    }
    .btns-open-popup{
    
    top: 1570px;
    left: 75%;
    transform: translate(-10%, -20%);
    display: block;
    position: absolute;
    
    
}
}
/*PARA BOTONES FINALES 3*/

.bt-open-popu{
    position: absolute;
    top: 790px;
    left: 25%;
    transform: translate(-10%, -20%);
    color: #fff;
    display: block;
    position: absolute;
    background: #ffb347;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ffcc33, #ffb347);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ffcc33, #ffb347); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 10px 50px;
    border-radius: 20px;
    text-decoration: none;
}
.cont-all{
    width: 100%;
    height: 100;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
    background: #111;
}
.cont-all:target{
    background: rgba(0, 0, 0, 0.8);
    visibility: visible;
    opacity: 1;
}
.cont-all:target .popu{
    top: 50%;
    left: 45%;
    transform: rotate(0deg) translate(-48%, -80%);
    visibility: visible;
}
.popu{
    width: 100%;
    max-width: 800px;
    height: 380px;
    position: relative;
    display: flex;
    background: #F5F5F5;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg)translate(-120%, 130%);
    transition: all 600ms;
}
.imge{
    width: 90%;
    background-image: url(../imagenes/4.jpg);
    background: cover;
    background-position: center;
}  
.cont-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}
.cont-text h1{
    font-size: 30px;

}
.cont-text p{
    margin-top: 20px;
    font-size: 12px;
}
.bt-close-popu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
    text-decoration: none;
}
@media screen and (max-width: 1300px){
    .popu{
        flex-direction: column;
        height: 70%;
        width: 400px;
        max-height: 520px;
        position: fixed;;
        
    }
    .imge{
        width: 100%;
        height: 100%;
    }
    .cont-text{
        width: 100%;
        height: 60%;
        padding: 40px;
    }
    .cont-text h1{
        font-size: 20px;
    }
    .cont-text p{
        font-size: 12px;
    }
    .cont-all:target .popu{
    top: 60%;
    left: 57%;
    transform: rotate(0deg) translate(-50%, -20%);
    visibility: visible;

    }
    .bt-open-popu{
    
    top: 1570px;
    left: 29%;
    transform: translate(-10%, -20%);
    display: block;
    position: absolute;
    
}
}


@media screen and (max-width: 1000px){
    :root{
    --width-collapsed:100px;
}
}