@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');

*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    color: #000000;
    font-family: 'Poppins',Arial, Helvetica, sans-serif;
}

header{
    background-color: #ffffff;
    /*position: fixed;
    width: 100%;*/
}

nav{
    margin: auto;
    max-width: 1024px;
}

/*En el modo dispositivos móviles, hay que eliminar o
corregir los valores para el padding, excede la ocupación en la resolución de dispositivos de 320px
 */

#logoweb{
    height: 75px;
    margin: auto;
    display: block;
    padding: 1rem 0 1rem 0;
}

nav ul{
    height: 45px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*background-color: aquamarine;*/
}

nav ul li{
    font-size: 1.1rem;
    font-weight: 500;
}

.maingeneral{
    max-width: 1024px;
   /* height: 450px;*/
    margin: auto;
    /*background-color: green;*/
}

/*Aquí inicia los estilos para el contenido de la página de inicio*/

.seccion-1{
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    flex-wrap: wrap;
    gap:2.7rem;
}

.box{
    width: 310px;
    height: 275px;
    background-color: rgb(255, 255, 255);
    display: grid;
    place-items: center;
    border: 1px solid #000000;
}

.margenbox{
    width: 250px;
    height: 80%;
    /*background-color: aqua;*/
}

.cover{
    background-color: #ffffff;
    display: flex;
    height: 85px;
    margin-bottom: 16px;
}

.imagencover{
    max-width: 155px;
    height: 85px;
}

.margenbox h2{
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.margenbox a{
    width: 150px;
    height: 40px;
    display: grid;
    place-content: center;
    background-color: #ffd900;
    color: rgb(0, 0, 0);
}

/*Estilos para el footer, se aplicará para todas las páginas*/

footer{
    max-width: 100%;
    min-height: 65px;
    margin: auto;
    background-color: #ffffff;
    display: grid;
    place-content: center;
}

.linkslegales{
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 24px;
}

footer p{
    font-size: 18 px;
    margin-bottom: 24px;
    text-align: center;
}

footer p span a{
    font-weight: bold;
}

@media (max-width:400px) {
    .linkslegales{
        flex-direction: column;
    }
}