*{
    margin: 0;
    padding: 0;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}
body{
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    background-color: #fdfdfd;
}
.cont{
    position: absolute;
    left: -10000px;
    overflow: hidden;
}
.cont:focus{
    position: static;
    padding: 1.5em;
    border: 2px solid pink;
    z-index: 1000;
}
div{
    text-align: left;
}
h1{
    font-size: 20px;
}
li{
    display: inline-block;
    padding: 10px;
}
li:hover{
    color: palevioletred;
    cursor: pointer;
}
header{
    top: 0; 
    left: 0; 
    right: 0;
    background-color: white;
    padding: 1.5em  6.25em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    box-shadow:  0 2px 10px rgba(0, 0, 0, 0.1);
}
header h1{
    font-size: 1.5rem;
}
header img{
    width: 50px;
}
section{
    padding: 32px 120px;
}
.primerasec{
    display: flex;
    align-items: center;
    min-height: 90vh;
    background: url(gastronomia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
article{
    overflow: auto;
    width: 90%;
    margin: auto;
}
h2{
    font-size: 2.5rem;
    padding-left: 15px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}
p{
    margin-bottom: 25px;
    text-align: left;
    color: #555;
}
article img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
a{
    color: black;
    text-decoration: none;
}
a:hover{
    color: palevioletred;
    cursor: pointer;
}
@media (max-width: 1024px) {
    h2 {
        font-size: 2.2rem;
    }
    article img {
        height: 350px;
    }
}
@media (max-width: 480px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
    }

    header h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    nav ol {
        gap: 12px;
        flex-wrap: wrap; 
        justify-content: center;
    }

    nav a {
        font-size: 0.85rem;
    }

    .primerasec {
        height: 40vh;
    }

    h2 {
        font-size: 1.6rem;
        letter-spacing: 1px;
    }

    p {
        font-size: 0.95rem;
        text-align: left; 
    }
    article img{
        width: 100%;
        height: 250px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
}