 @import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Open Sans', sans-serif;
 }

 .encabezado {
     background-color: #3897b7;
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 5px 30px;
     position: fixed;
     width: 100%;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     flex-wrap: wrap;
     box-shadow: 10px 0 10px rgba(0, 0, 0, 0.5);
 }




 .encabezado a {
     color: white;
     text-decoration: none;
     align-items: center;

 }

 .logo {
     letter-spacing: 15px;
     font-size: 1.4em;
 }


 .conte-logo {
     width: 63px;

     height: 63px;
 }

 .conte-user {
     width: 50px;
     height: 50px;
     transition: 0.8s ease;
 }
  .conte-user:hover{
transform: scale(1.1);
transition: 0.8s ease;
}



 .img-logo,
 .img-user {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 50%;
     border: #000000 3px solid;
     background-color: white;
 }



 .menu ul {
     display: flex;
     gap: 20px;
     list-style: none;
     align-items: center;
 }

 .menu ul li {
     position: relative;
 }

 .menu>ul>li:not(:last-child)::after {
     content: "|";
     color: white;
     margin-left: 10px;
 }

 .menu ul li a {
     color: white;
     text-decoration: none;
     font-weight: 600;
     transition: all 0.2s;
 }

 .menu ul li a:hover {
     font-weight: bold;
 }
 
/* 😺Sub menu usuario */
.conte-user ul {
    list-style: none;
    position: relative;
}

.conte-user li {
    position: relative;
    /* Necesario para posicionar el submenu debajo */
    display: flex;
    align-items: center;
}

.conte-user .acordeon>button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.conte-user .submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #3897b7;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.2);
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); */
    position: absolute;
    right: 0;
    top: 55px;
    width: 180px;
    z-index: 9999;

}

/* opciones del submenu usuario*/
.conte-user .submenu li a {
    display: block;
    padding: 10px 25px;
    width: 100%;
    color: white;
    text-decoration: none;
}

.conte-user .submenu li a:hover {
     font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
     background-color: #2a6e88;
    border-radius:6px;
}

.conte-user .acordeon.abierto>.submenu {
    display: block;
  
}


 /* Menu desplegable lateral del celualar */
 .menu-lateral {
     display: none;
     flex-direction: column;
     position: fixed;
     top: 0;
     right: 0;
     width: 80%;
     max-width: 300px;
     height: 100%;
     background-color: #111;
     color: white;
     padding: 20px;
     z-index: 2000;
     box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
 }

 /* Boton de el menu desplegable */
 .btn-menu {
     display: none;
     font-size: 30px;
     background: none;
     color: black;
     border: none;
     cursor: pointer;
 }
 .btn-menu span{
         color: #000000;
         font-size: 30px;
}



 .menu-lateral.abierto {
     display: flex;
 }

 .menu-lateral .btn-cerrar {
     transition: .5s ease; 
     align-items: flex-end;
     font-size: 24px;
     margin-left: 80%;
     background: none;
     color: white;
     border: none;
     cursor: pointer;

 }
 .btn-cerrar span {
     color: white;
     font-size: 30px;
 }


 .menu-lateral ul {
     list-style: none;
     padding: 0;
     margin: 30px 0;
     flex-grow: 1;

 }

 .menu-lateral ul li {
     margin-bottom: 20px;
     margin-left: 15px;
 }

 .menu-lateral ul li a {
     color: white;
     text-decoration: none;
     font-size: 18px;
     transition: font-weight 0.2s;
 }

 .menu-lateral ul li a:hover {
     font-weight: bold;
 }

 .link-sesion {
     margin-top: auto;
     margin-bottom: 5%;
     text-align: center;


 }

 .link-sesion a {
     background-color: #3897b7;
     color: white;
     border: solid #63b8d1 3px;
     padding: 10px 40px;
     border-radius: 10px;
     cursor: pointer;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.5s;
 }

 .link-sesion a:hover {
     background-color: #63b8d1;
     border-color: #3897b7;


 }

 @media screen and (max-width: 1100px) {
     .conte-user {
         display: none;
     }
     .conte-user .submenu{
        display: none;
     }

     .menu {
         display: none;
     }


     .btn-menu {
         display: block;
     }

    
 }
