body {
    text-align: center;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f5f5f5;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: white;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.card-info {
    background-color: #5fa2a2;
    color: #e7e1ca;
    padding: 10px;
    text-align: left;
}

.card-info h2 {
    margin: 0;
    font-size: 24px;
}

.card-info p {
    margin: 0;
    font-size: 14px;
}


.sticky-header {
    /*position: sticky;
    top: 0;*/
    background-color: #092c64;
    z-index: 1000;
    text-align: center;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.header-img {
    max-height: 160px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.sticky-header.shrink .header-img {
    max-height: 50px;
    opacity: 0.9;
}

.main-content {
    padding-top: 100px;
}

.contenedor{
    max-width:10000px;
    margin: auto;
}

.contenedor-menu{
    position: sticky;
    top: 0;
}

.contenedor nav {
    background: #e7e1ca;
}

.contenedor nav .menu{
    list-style: none;
    text-align: center;
}
.contenedor nav .menu li{
    display: inline-block;
}

.contenedor nav .menu li a {
    color: #092c64;
    font-size: 18px;
    text-decoration: none;
    padding: 15px 20px;
    display: inline-block;
    font-family: Rockwell, Courier Bold, Courier, Georgia, Times, Times New Roman, serif;
}

.contenedor nav .menu li a:hover     {
    background: #e7e1ca;
    color: #5fa2a2;
}

.contenedor article {
    margin: 20px 0;
    background: rgb(18, 18, 170);
    padding: 20px;
}
