@font-face {
  font-family: myFont;
  src: url(forevsdemo-bold.otf);
}

body {
  margin: 0;
  background-color: #f2f2f2ff;
  color: #8c6849;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.Hero {
  background: url("Elephant.jpg") no-repeat;
  background-size: cover;
  height: 35vh;
  display: flex;
  align-items: center;
  padding-left: 10vw;
}

.Hero-content {
  color: #667358;
  font-weight: 700;
  font-size: 2rem;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 2rem;
  backdrop-filter: blur(10px);
  border: 5px solid #8c6849;
}
.hasSubMenu {
  position: relative;
}
.hasSubMenu span {
  rotate: -45deg;
  display: inline-block;
  margin-left: 0.25em;
  transform: translateY(-3px);
}
.subMenu {
  transition: all 200ms;
  position: absolute;
  background-color: #f2f2f2ff;
  margin: 0;
  padding: 20px;
  list-style: none;
  left: -5px;
  visibility: hidden;
  opacity: 0;
  z-index: 1;
  border-radius: 2rem;
  border: 2px solid #8c6849;
}
.subMenu .menuItem {
  margin-top: 0.5em;
  white-space: nowrap;
}
.hasSubMenu:hover .subMenu {
  opacity: 1;
  visibility: visible;
}
.mobileMenu {
  display: none;
}

p {
  font-size: 1.2rem;
}

h2 {
  color: #667358;
  font-size: 3rem;
}

img {
  width: 100%;
  border-radius: 2rem;
  border: 5px solid #8c6849;
  overflow: hidden;
}

main {
  max-width: 100rem;
  margin: auto;
  padding: 20px;
}

.section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

iframe {
  width: 100%;
  height: 500px;
  border-radius: 2rem;
  margin: auto;
  border: 5px solid #8c6849;
}

@media (max-width: 600px) {
  .section {
    grid-template-columns: 1fr;
  }
  .Hero-content {
    font-weight: 700;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    border-radius: 2rem;
    backdrop-filter: blur(10px);
    border: 2px solid #8c6849;
  }
  .Hero-content.p {
    font-size: 0.2rem;
  }

  nav {
    position: absolute;
    z-index: 100;
    transition: all 200ms;
  }
  .menu {
    display: block;
    padding: 20px;
  }
  .hasSubMenu {
    margin-left: 1px;
  }
  .menuItem {
    margin-right: 0;
    margin-bottom: 1.5em;
  }
  .subMenu {
    transition: all 200ms;
    position: absolute;
    visibility: visible;
    opacity: 1;
    height: 0;
    overflow: hidden;
    padding: 0;
    border: none;
  }
  .hasSubMenu:hover .subMenu {
    height: auto;
    padding: 20px;
    border: 2px solid #8c6849;
  }
  .menuItemLink::after {
    display: none;
  }
  .mobileMenu {
    display: block;
  }
  main :first-of-type {
    margin-top: 0;
  }
  .Hero {
    height: 45vh;
  }
}

.text {
  margin: auto;
}
.footer-link {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

a {
  margin-top: auto;
  margin-bottom: auto;
  color: #f2f2f2ff;
}

footer {
  background-color: #667358;
  color: #f2f2f2ff;
  padding: 2rem;
}

.footer-email {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.footer-email > * {
  margin: auto;
}

.navbar {
  display: flex;
  align-items: center;
  background-color: #f2f2f2;
  color: white;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem 6rem;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding: 0;
}

.nav-links li a {
  color: #667358;
  border-radius: 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  transition: background 0.3s;
}

.nav-links li a:hover {
  background-color: #8c6849;
  color: white;
  border-radius: 1rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 300ms;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}
#sideNav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  ul {
    list-style: none;
  }
  li {
    margin-bottom: 20px;
  }
  a {
    height: 15px;
    width: 15px;
    background-color: #8c6849;
    display: block;
    border-radius: 20px;
    opacity: 0.4;
  }
  a.active {
    opacity: 1;
  }
}
.swiper {
  width: 100%;
  margin: auto;
}

.swiper-slide > img {
    width: 80%;
    height: 80%;
  transform: translate(11.5%);
    object-fit: cover;
    object-position: center;
}
