body {  
    font-family: 'Roboto', sans-serif; 
    font-weight: 300;
    padding: 0; 
    margin: 0; 
    transition: all 2s; 
}

header {
    display: grid;
    grid-template-columns: auto auto;
    padding: 2rem;
}

header nav {
    justify-self: end;
}

header nav ul li { 
    display: inline-block;
}

header nav ul li a { 
    text-decoration: none; 
    color: #000;
}

.logo {
    height: 24px;
    margin: 0;
    padding: 0;
    
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 0.8rem;
}

.hero {
    display: flex;
    width: 100%;
    height: auto;
}

.left-panel {
    background-color: #00450e;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    height: auto;
    margin-left: 35px;
}

.caption {
    font-size: 0.8rem; 
}

.right-panel {
    width: 50%;
    margin-right: 35px;
    height: auto;
    display: grid;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    display: flex;
    justify-content: flex-start; 
    padding: 5% 2%;
}

aside {
    margin-right: 10%; 
}

aside h2, article h1 {
    font-size: 1.4rem;
    color: #00450e;
    margin-top: 30px;
}

aside ul, article ol {
    list-style-position: inside;
    margin-top: 20px;
}

aside ul li, article ol li {
    font-size: 0.8rem;
    line-height: 1;
    color: #333;
    margin-left: -10px;
    margin-bottom: 5px;
}

article {
    width: 70%;
    margin-top: 0;
    margin-left: 0; 
    padding: 20px 10px;
}

article h1 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 20px;
}

article ol li {
    font-size: 0.8rem;
    line-height: 1;
    margin-left: -10px;
}

footer { 
    width: 100%; 
    min-height: 20rem;
    background-image: url(img/fresas.webp);
    background-size: cover;
}

footer p {
    color: #fff; 
    font-size: 1rem; 
    font-weight: 700; 
    text-align: center; 
    padding: 10rem;
}

@media (max-width: 500px) {
    section {
        grid-template-columns: 1fr;
    }
    figure {
        grid-template-columns: 1fr;
    }
}

