* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --sky: #dceafa;
  --blue: #a9d0fb;
  --ink: #303032;
  --muted: #4f5d6b;
}
body {
  background: var(--sky);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
.hero {
  min-height: 270px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #b9cce2 url("../images/hero.jpg") center/cover;
}
.brand {
  position: absolute;
  top: 25px;
  left: clamp(22px, 8vw, 130px);
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
}
.brand img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: contain;
}
.brand-name {
  font-size: 20px;
  line-height: 0.95;
}
.brand-name b {
  display: block;
}
.hero > div {
  color: var(--ink);
  font-family: "Bungee Shade", fantasy;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.15;
  letter-spacing: 3px;
  text-align: center;
}
nav {
  display: flex;
  justify-content: center;
  gap: clamp(25px, 8vw, 115px);
  padding: 25px 20px;
  background: var(--blue);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: 700;
}
.nav-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  display: none;
  min-width: 220px;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 4px 12px rgba(48, 48, 50, 0.2);
}
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-family: inherit;
  font-size: inherit;
  white-space: nowrap;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}
nav a:hover,
nav a.active {
  color: #59636d;
}
main {
  max-width: 900px;
  min-height: 380px;
  margin: 0 auto;
  padding: 55px 24px 75px;
}
h1 {
  margin-bottom: 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 56px);
}
p {
  color: var(--muted);
  font-family: "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 22px;
}
p:last-of-type {
  margin-bottom: 0;
}
footer {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.8fr;
  gap: 30px;
  padding: 45px 8vw 30px;
  background: #9fc8f6;
}
footer h4 {
  margin-bottom: 12px;
}
footer p {
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  margin-bottom: 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  justify-self: end;
  gap: 10px;
  font-weight: 700;
}
.social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.social a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: var(--ink);
}
.social img {
  width: 22px;
  height: 22px;
}
.copyright {
  grid-column: 1/-1;
  padding-top: 18px;
  border-top: 1px solid rgba(48, 48, 50, 0.18);
  font-size: 13px;
}
@media (max-width: 700px) {
  .hero {
    min-height: 330px;
    display: block;
    padding: 25px 22px;
  }
  .brand {
    top: 22px;
    left: 22px;
  }
  .hero > div {
    margin-top: 120px;
    font-size: 37px;
  }
  nav {
    justify-content: space-between;
    gap: 14px;
    padding: 22px 14px;
    font-size: 11px;
  }
  main {
    padding: 35px 22px 55px;
  }
  footer {
    display: block;
    padding: 45px 25px 25px;
  }
  footer > * {
    margin-bottom: 28px;
  }
  .footer-links {
    align-items: flex-start;
  }
}
.event-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.event-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
