
/* header */


body{
    height: 145vh;
    width: 100%;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    background: #EFEFBB;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #D4D3DD, #EFEFBB);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #D4D3DD, #EFEFBB); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */


}

.menu-icono{ /* define el tamaño del icono*/
    height: 60px;
    margin-right: 15px;
}

.logo{ /* define el tamaño del logo york*/
    height: 80px;
    margin-right: 10px;
    vertical-align: middle; /* Alinea verticalmente la imagen */
}

header{
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;

    min-height: 80px;
    /*background-color:coral;*/
    align-items: center;
    padding: 0 5%;
    box-sizing: border-box;
    transition: 0.5s;
    background-color: #040f41;
    z-index: 2;  /* Menor valor para que esté detrás del encabezado y viceversa*/
}
.container {
    display: flex;
    align-items: center;
  }
  .text-container {
    margin-left: 10px; /* Espacio entre la imagen y el texto */
  }
  
.textoheader{
    font-size: 20px;
    color: #fff;
    margin: 5px 0; /* Ajusta el margen superior e inferior de los párrafos */
   
}
.menu{
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.item{
    margin: 0 1rem;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #f2f2f2;
    transition: 0.5s;
}
.item a {
    text-decoration: none; /* Eliminar subrayado del enlace */
    color: white; /* Cambiar el color del texto a blanco */
  }

.item a:hover{
    color: #ff2258;
}
#menu{
    display: none;

}
.menu-icono{
    width: 100%;

}
label{
    cursor: pointer;
    display: none;

}

.btn{
    padding: 10px 24px;
    border-radius: 30px;
    background-color: #ff2258;
    color: #f2f2f2;
    font-weight: 600;
    cursor: pointer;
}
.btn:hover{
    background-color:#ee0a43;
}
nav a:hover{
    text-decoration: underline;     
}

@media (max-width:991px){ /* cuando baje de esa resolucion*/
    .menu{
        padding:30px;
        margin: 0;
    }
    label{
        display: initial;
    }
    .menu{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #323337;
        display: none;
    }
    .item{
        margin: 0 0 20px 0;
        width: 100%;

    }
    .btn{
        width: 100px;
    }
    #menu:checked ~.menu{
        display: initial;
    }
}

