@import url('https://fonts.googleapis.com/css?family=Open+Sans|Roboto');


:root{
    --width: 300px;
    --padding: 10px;
    --bgcolor:#17202A;
    --hovercolor:rgb(23,23,23);
    --width-collapsed:72px;
}
body{
    background: url("../imagenes/9.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    align-items: center;
}
.swiper-container {
    width: 80%;
    top: 35%;
    left: 55%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

header{
    background: #3e9af5;
    width: 100%;
    height: 60px;
    position: relative;
}

header i{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
}

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

#main-container{
    color: white;

}
#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: 105%;

}
#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;
}



/*PARA EL PORFAFOLIO DE CLIENTES*/

.main .contendora h1{
    text-align: center;
    font-size: 40px;
    color: #fff;
    margin-top: 100px;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
}

/* PARA LETRAS*/


.menu-collapsed #menu-items .item .tooltip{
    position: absolute;
    left: 132px;
    top: 48.5%;
    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: 48.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;

}
/* para el 1*/
.menu-collapsed #menu-items .item .tooltip1{
    position: absolute;
    left: 132px;
    top: 40.79%;
    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: 40.79%;
    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 2*/
.menu-collapsed #menu-items .item .tooltip2{
    position: absolute;
    left: 132px;
    top: 33%;
    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 .tooltip2{
    position: absolute;
    left: 132px;
    top: 33%;
    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;

}
/* 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: 25.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;
}
/* para el 4*/
.menu-collapsed #menu-items .item .tooltip4{
    position: absolute;
    left: 132px;
    top: 17.5%;
    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: 17.5%;
    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;
}
/* para el 5*/
.menu-collapsed #menu-items .item .tooltip5{
    position: absolute;
    left: 132px;
    top: 17.5%;
    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: 9.7%;
    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;

}

 /*Titulo*/
 h1{
    font-size: 2.1rem;
    line-height: 1.4;
    letter-spacing: 0.5rem;
    text-align: center;
    color: white;
    margin-top: -500px;
    position: relative;
 }
 .maindiv{
    width: 500px;
    height: 370px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background:  url("../img/mobilia.jpg");
    background-size: 100% 100%;
    box-shadow: 1px 2px 10px 5px #111;
    animation: slider 80s infinite linear;

 }
 @keyframes slider{
    0%{ background-image: url("../img/nestle.jpg");

    }
    10%{ background-image: url("../img/andina.jpg");

    }
    15%{ background-image: url("../img/conecta.jpg");

    }
    20%{ background-image: url("../img/essalud.jpg");

    }
    25%{ background-image: url("../img/ibero.jpg");

    }
    30%{
        background-image: url("../img/iberoplast.jpg");
    }
    35%{
        background-image: url("../img/ism.jpg");
    }
    40%{
        background-image: url("../img/kimberly.jpg");
    }
    45%{
        background-image: url("../img/mi.jpg");
    }
    50%{
        background-image: url("../img/mobilia.jpg");
    }
    55%{
        background-image: url("../img/placas.jpg");
    }
    60%{
        background-image: url("../img/totus.jpg");
    }
    65%{
        background-image: url("../img/vendomatica.jpg");
    }
 }

 @media screen and (max-width: 650px){
   .maindiv{
    width: 280px;
    height: 190px;
    position: absolute;
    left: 55.5%;
    top: 50%;
    
   

 }
  h1{
    font-size: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.5rem;
    text-align: center;
    color: white;
    margin-top: -300px;
    position: absolute;
    left: 50px;
 }
 :root{
    --width-collapsed:39px;
}
}
