/* Font-face declaration */
@font-face {
  font-family: "Garet-Book";
  src: url("../fonts/garet-book/Garet-Book.woff2") format("woff2"),
    url("../fonts/garet-book/Garet-Heavy.ttf") format("truetype"),
    url("../fonts/garet-book/Garet-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

:root {
  --mint-green: #c7eedb;
  --forest-green: #2e5248;
  --lavender: #ccbff7;
  --lavender-transparent: rgba(202, 208, 237, 0.5);
  --purple: #6f54a1;
}

body {
  margin: 0;
  font-family: "Garet-Book", Helvetica, sans-serif;
}

/* Top navigation menu */
.topnav {
  display: flex;
  justify-content: space-evenly;
  white-space: nowrap;
  background-color: var(--mint-green);
  filter: drop-shadow(0 0 0.75rem);
}

#topnav-logo {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0%);
}

#logo {
  max-height: 84px;
  padding: 40;
}

.topnav-right {
  justify-content: space-evenly;
  text-align: center;
  width: 50%;
}

.topnav-left {
  justify-content: space-evenly;
  text-align: center;
  width: 50%;
  /* max-width: 50%; */
}

.topnav a {
  color: var(--forest-green);
  font-size: 22px;
  text-decoration: none;
  padding: 26px 20px;
  margin: 0 5px;
  display: inline-block;
  /* transition: all 0.5s; */
  transition: all 0.12s;
  position: relative;
}

.topnav a:hover {
  transform: rotate(-10deg);
}

/* Footer */
footer {
  background-color: var(--forest-green);
  color: #fff;
  text-align: center;
  padding: 20px 0;
  font-family: Arial, sans-serif;
}

.footer-content {
  display: flex;
  font-size: 18px;
  margin-bottom: 20px;
  flex-direction: row;
}

.footer-section {
  width: 50%;
}

/* Social Icons Container */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between icons */
}

/* Social Icon Styling */
.social-icon {
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover Effects for Icons */
.social-icon:hover {
  color: #1da1f2; /* Change color on hover (can be adjusted per icon) */
  transform: scale(1.1);
}

.social-icon.instagram:hover {
  color: #c72c84; /* Instagram magenta */
}

.social-icon.discord:hover {
  color: #752fe6; /* discord purple */
}

.social-icon.linktree:hover {
  color: #3ea960; /* linktree lime */
}
/* Responsive navigation menu (for tablet devices) */
@media screen and (min-width: 601px) and (max-width: 940px) {
  .topnav a {
    color: var(--forest-green);
    font-size: 14px;
    text-decoration: none;
    padding: 10px 10px;
    margin: 0 5px;
    display: inline-block;
    transition: all 0.5s;
  }

  #logo {
    max-height: 40px;
    padding: 20;
  }
}

.mobile-nav-expand {
  display: none;
}

#navigation {
  display: flex;
}

/* Responsive navigation menu (for cellular devices) */
@media screen and (max-width: 600px) {
  .topnav {
    display: flex;
    /* position: relative; */
    flex-direction: column;
    /* justify-content: center; */
    align-items: center;
  }
  /* .topnav a,
  .topnav-right {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    padding: 20px;
  }
   */
  .topnav a {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    width: 100%;
  }
  /* .topnav-left {
    display: flex;
    flex-direction: column;
    background-color: aqua;
    padding: 20px;  
  } */

  #logo {
    display: none;
  }
  #mobile-logo {
    position: absolute;
    top: 0;
    padding: 20;
  }
  /* .topnav-centered a {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
  } */

  /* .mobile-nav-expand {
    display: block;
    margin: 20px;
  }
  
  #navigation {
    display: none;
  } */

  #btn-expand {
    width: 20px;
  }

  .footer-content {
    display: flex;
    font-size: 18px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .footer-section {
    width: 100%;
  }
}

.subpage-preview {
  height: 200px;
  overflow: hidden;
}
