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

:root{
    --width: 300px;
    --padding: 10px;
    --bgcolor: #17202A;
    --hovercolor:rgb(23,23,23);
    --width-collapsed:72px;
}
body{
    background: url("../imagenes/volvo.jpg");
    background-size: cover;
    height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    align-items: center;
 

}

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


#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: 41.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;

}
/* 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: 33.40%;
    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 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.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;
}
/* 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: 17.9%;
    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: 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.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;
}

/* PARA  CUADRO DE CONTACTO */
.contact-wrap {
    width: 82%;
    height: auto;
    margin-left: 135px;
    flex-wrap: wrap;
    display: flex;
}

.contact-in {
    padding: 40px 30px;
    position: relative;
}

.contact-in:nth-child(1) {
    flex: 30%;
    background:#111;
    color: #fff;
}

.contact-in:nth-child(2) {
    flex: 30%;
    background: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5));
}

.contact-in:nth-child(3) {
    flex: 25%;
    padding: 0;
}

.contact-in h1 {
    font-size: 24px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-in h2 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}

.contact-in h2 i {
    font-size: 16px;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: #f5f5f5;
    color: red;
    border-radius: 50px;
    line-height: 40px;
    text-align: center;
}
.contact-in h2 i:hover {
    
    background: #FFE333;
    color: #111;
 
}

.contact-in p {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 20px;
}

.contact-in ul {
    padding: 0;
    margin: 0;
}

.contact-in ul li {
    list-style: none;
    display: inline-block;
    margin-right: 5px;
    margin-top: 5px;
}

.contact-in ul li a {
    display: block;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #fff;
    border-radius: 50px;
}

.contact-in ul li a i {
    font-size: 14px;
    line-height: 30px;
    color: green;
}

.contact-in form {
    width: 100%;
    height: auto;
}

.contact-in-input {
    width: 100%;
    height: 40px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    outline: none;
    padding-left: 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

.contact-in-input::placeholder {
    color: #fff;
}

.contact-in-textarea {
    width: 100%;
    height: 140px;
    margin-bottom: 20px;
    border: 1px solid #fff;
    outline: none;
    padding-top: 5px;
    padding-left: 5px;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

.contact-in-textarea::placeholder {
    color: #fff;
}

.contact-in-btn {
    width: 100%;
    height: 40px;
    border: 1px solid #fff;
    outline: none;
    background: transparent;
    color: #fff;
    font-size: 12px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}
.contact-in-btn:hover {
    background: #ccc;
    color: #111;
   
}

.contact-in iframe {
    width: 100%;
    height: 100%;
}

@media only screen and (max-width:650px) {
    .contact-in:nth-child(1) {
        flex: 50%;
    }

    .contact-in:nth-child(2) {
        flex: 50%;
    }

    .contact-in:nth-child(3) {
        flex: 100%;
    }
    .contact-wrap {
    display: block;
}

}

@media only screen and (max-width:260px) {
    .contact-in:nth-child(1) {
        flex: 50%;
    }

    .contact-in:nth-child(2) {
        flex: 100%;
    }

    .contact-in:nth-child(3) {
        flex: 100%;
    }

}

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