* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

body {
  font-family: 'Quicksand';
  font-size: 18px;
  line-height: 1.6;
  color: #4d3d36;
  margin: 0;
  padding: 0;
  background-image: 
    linear-gradient(135deg, #f9f5f1, #e0c9b6, #c9a788),
    url('https://www.transparenttextures.com/patterns/beige-paper.png');
  background-blend-mode: overlay;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  background: url('https://images.unsplash.com/photo-1520950865344-37b97c4e0047?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

header h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  margin: 0;
  color: #a26769;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

nav {
  background-color: #5d4037;
  width: 100%;
  padding: 10px 0;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 24px;
}


nav li {
  margin: 0 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 5px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #a26769;
  border-bottom: 2px solid #a26769;
}

main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  padding: 30px;
  gap: 20px;
}

article {
  flex: 1;
}

aside {
  background-color: #f5ebe0;
  padding: 20px;
}

h2 {
  font-family: 'Great Vibes', cursive;
  color: #4a635f;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
  margin-left: 20px;
  font-size: 2.2rem;
}

p {
  margin-bottom: 16px;
  font-family: 'Quicksand';
  font-size: 1.5em; 
  line-height: 1.6;
}


figure img {
  max-width: 50%; 
  height: auto;
  border-radius: 6px;
}

.second-img {
  width: 40%; 
  height: auto;
  max-width: 500px;
}

figcaption {
  text-align: center;
  font-style: italic;
  font-size: 1.50rem;
  color: brown;
  margin-top: 6px;
}

.contact-info {
  background-color: #f3e8df;
  padding: 20px;
}

.contact-info h2 {
  color: #4a635f;
}

.contact-info a {
  font-weight: bold;
  color: blue;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #8a4e58;
}

footer {
  background-color: #5d4037;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  main {
    padding: 30px;
  }

}

