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

:root {
  --primary: #8e5f40;
  --text: #fefae0;
  --shadow: #0a0a0a;
  --opacity: #282828ab;
  font-family: "Supreme", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--primary);
  color: var(--text);
  font-size: 1.2rem;
}

header {
  display: flex;
  position: fixed;
  width: 100%;
  padding: 1rem 6rem;
  background: fixed no-repeat center
    url("./images/pexels-cottonbro-3992862.webp");
  background-size: cover;
  box-shadow: 0rem 0rem 0.8rem var(--shadow);
}

ul {
  gap: 1.5rem;
  display: flex;
  list-style: none;
  text-align: center;
}

ul > li {
  font-size: 1.2rem;
}

ul > li > a {
  padding: 0.8rem;
  color: var(--light);
  text-decoration: none;
  transition: all 0.4s;
  border: 0.1rem solid transparent;
}

.navbar {
  width: 100%;
  padding: 1rem;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand > h1 {
  font-size: 2rem;
  text-shadow: 0.2rem 0.2rem 0.3rem var(--shadow);
}

.navbar-ĺinks {
  margin-right: 50rem;
}

.navbar-links ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  list-style: none;
  text-shadow: 0.2rem 0.2rem 0.3rem var(--shadow);
}

.navbar-links li a {
  display: block;
}

.navbar-links li a:hover {
  background: var(--primary);
  border: 0.1rem solid var(--shadow);
}

.navbar-links #contact-link {
  background: var(--primary);
  border: 0.1rem solid var(--shadow);
}

.navbar-links #contact-link:hover {
  background: transparent;
  box-shadow: 0rem 0.2rem 0.3rem var(--shadow);
}

.toggle-button {
  position: absolute;
  top: 2.5rem;
  right: 0.75rem;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 32px;
  border-radius: 0.2rem;
  padding: 0.3rem;
  background: var(--primary);
  box-shadow: 0rem 0.1rem 0.3rem var(--shadow);
}

.toggle-button .bar {
  height: 3.1px;
  width: 100%;
  background: var(--shadow);
  border-radius: 10px;
}

section {
  display: grid;
  padding: 1rem 6rem;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

figure > .image {
  max-width: 60%;
}

#about {
  margin-top: 7rem;
}

.about-text {
  gap: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section#services {
  display: flex;
  background: fixed no-repeat center
    url("./images/pexels-cottonbro-3992862.webp");
  background-size: cover;
}

section > .services-list {
  padding: 10rem 0;
  justify-content: center;
}

.card {
  width: 15rem;
  display: flex;
  height: 10rem;
  padding: 0 1.5rem;
  text-align: center;
  color: var(--shadow);
  flex-direction: column;
  background: var(--text);
  justify-content: space-around;
}

#social-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

#social-media > li {
  font-size: 1.5rem;
}

#contact {
  gap: 2rem;
  padding: 4rem;
  text-align: center;
  align-items: center;
  justify-content: space-evenly;
  background: var(--opacity);
}

#contact > .map {
  padding: 1rem;
}

footer {
  padding: 1rem 0;
  font-size: 0.8rem;
  text-align: center;
  background: fixed no-repeat center
    url("./images/pexels-cottonbro-3992862.webp");
  background-size: cover;
}

footer > div > p > a {
  color: var(--text);
  text-decoration: none;
  background: var(--opacity);
}

@media (max-width: 1055px) {
  header {
    padding: 1rem 3rem;
    flex-direction: column;
  }

  header > h1 {
    font-size: 1.7rem;
  }

  .toggle-button {
    top: 1.3rem;
    display: flex;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-links {
    width: 100%;
    display: none;
    margin-top: 0.5rem;
    justify-content: center;
  }

  .navbar-links ul {
    width: 50%;
    flex-direction: column;
  }

  .navbar-links ul li {
    text-align: center;
  }

  .navbar-links li a {
    padding: 0.5rem 1rem;
  }

  .navbar-links.active {
    display: flex;
  }

  section#about {
    text-align: center;
  }

  .services-list {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
  }

  #social-media {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
  }
}

@media (max-width: 465px) {
  .navbar-brand {
    display: flex;
    align-items: center;
  }

  .navbar-brand > h1 {
    margin-right: 2rem;
  }

  .toggle-button {
    top: 2.5rem;
  }

  figure {
    padding: 3rem 0;
  }

  article.about-text {
    margin: 0 0.8rem;
  }

  .schedule,
  .location {
    margin: 0 5rem;
  }

  iframe {
    width: 90%;
  }
}
