@import url('https://fonts.googleapis.com/css2?family=Almendra:wght@400;700&family=Merriweather:wght@300;400;700&display=swap');

body {
  font-family: 'Merriweather', serif; 
  background-color: #F9F8F3; 
  text-align: center; 
  line-height: 1.6;
  margin: 0;
}

h1, h2, h3, h5 {
    font-family: 'Almendra', serif;
    color: darkgreen; 
    font-weight: 700;
}

main {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    padding-bottom: 20px;
}

.menu-bar {
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
    max-width: 1200px;
    height: 60px;
    background-color: red; 
    border-bottom: 3px solid darkgreen; 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto; 
}

.nav-link {
    font-family: 'Almendra', serif;
    color: #F9F8F3;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration-line: none;
    transition: color 0.3s ease;
    padding: 0 15px;
}

.nav-link:hover {
    color: #C4A052; 
    text-decoration: underline;
    text-decoration-thickness: 3px;
}

.header-img {
    width: 100%;
    max-width: 1200px;
}

a {
    color: darkgreen; 
    text-decoration-line: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #C4A052; 
    text-decoration-thickness: 3px;
}

.studio-pic {
    max-width: 600px;
}

li {
    font-weight: bold;
}

.info-text {
    width: min(90%, 900px);
    text-align: justify;
    margin: 0 auto;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;           
    gap: 20px;                 
    justify-content: center;   
    padding: 20px;
    max-width: 90%;            
    margin: 0 auto;
}

.gallery-item {
    flex: 0 0 100%;             
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 6px solid black;
    transition: transform 0.2s;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

@media (min-width: 1000px) {
    .gallery-item {
        flex: 0 0 calc(33.333% - 14px); 
    }
}

@media (min-width: 1600px) {
    .gallery-item {
        flex: 0 0 calc(25% - 15px); 
    }
}

@media (max-width: 768px) {
    .header-img-top {
        width: 80%;
        top: 65%;
    }
}

.footer {
    height: auto; 
    padding: 15px 10px; 
    max-width: 1200px;
    background-color: red;
    margin: 0 auto;
}

.footer-text {
    color: white;
    font-size: 14px; 
    margin: 0;
}

@media (max-width: 768px) {
    .footer-text {
        font-size: 11px; 
        line-height: 1.5; 
    }
}