:root {
  --bg: 5, 33, 48;
  --bgl: 7, 45, 65;
  --fg: 255, 255, 255;
  --accent: #FF689A;
}

/* Font Imports */
@font-face {
  font-family: "Google Sans Flex";
  src: url("/src/fonts/googlesansflex.ttf");
}
@font-face {
  font-family: "Iceberg";
  src: url("/src/fonts/iceberg.ttf");
}

/* Static Style */
body {
  overflow-x: hidden;
  margin: 0;
}
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}
.footer {
  width: 100vw;
  height: 65px;
  background-color: rgb(var(--bg));
  text-align: center;
  align-content: center;
  & > span {
    color: rgb(var(--fg));
    font-size: 20px;
    font-family: "Google Sans Flex", sans-serif;
    font-optical-sizing: auto;
    & > a {
      color: var(--accent);
    }
  }
}
/* Static Until Mobile */
.navigation-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  width: auto;
  margin: 0 0 0 0;
  padding: 0 20px 0 20px;
  height: 65px;
  background-color: rgb(var(--bg));
  display: grid;
  justify-content: center;
  align-items: center;
  text-align: center;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  gap: 20px;
  & > .navbar-container {
    justify-content: center;
    align-content: center;
    width: auto;
    height: 63px;
    border-bottom: 2px solid rgb(var(--fg));
    cursor: pointer;
  }
  & > .navbar-container:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  & > .navbar-container .navbar-links {
    color: rgb(var(--fg));
    font-family: "Google Sans Flex", sans-serif;
    font-size: 25px;
    text-decoration: none;
    font-optical-sizing: auto;
    border: none;
  }
  & > .navbar-name {
    color: color-mix(in srgb, rgb(var(--fg)) 95%, var(--accent) 5%);
    font-size: 40px;
    font-family: "Iceberg", monospace;
    font-weight: 700;
    cursor: default;
  }
  & > .navbar-small, .navbar-hidden {
    display: none;
 
  }
}
.dropdown {
  display: none;
}
.main-content {
  height: 100%;
  & > .mc-info {
    cursor: default;
    z-index: 10;
    backdrop-filter: blur(4px);
    margin: 0 auto;
    width: 100%;
    height: calc(100vh - 65px);
    background: rgba(var(--bg), 0.5);
    position: relative;
    align-items: center;
    display: flex;
    justify-content: center;
    & > .mc-info-cont {
      position: absolute;
      display: grid;
      grid-template-columns: 1fr 2fr;
      width: fit-content;
      gap: 10%;
      margin: 0 auto;
      place-items: center;
    }
  }
  & > .mc-details {
    width: 100%;
    height: auto;
    background-color: rgb(var(--bgl));
    padding: 30px 0px;
    & > p { 
      margin: 0 auto;
      max-width: 900px;
font-family: "Google Sans Flex", sans-serif;
      font-size: 35px;
      color: rgb(var(--fg));
    }
  }
}
hr {
  max-width: 1000px;
}

@media (min-width: 1480px) {
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 500px;
      }
      & > .mc-info-text {
        color: rgb(var(--fg));
        font-family: "Google Sans Flex", sans-serif;
        font-size: 45px;
        font-weight: 600;
      }
    }
  }
}

@media (max-width: 1480px) { /* min-width: 1140px */
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 400px;
      }
      & > .mc-info-text {
        color: rgb(var(--fg));
        font-family: "Google Sans Flex", sans-serif;
        font-size: 35px;
        font-weight: 600;
      }
    }
  }
}

@media (max-width: 1140px) { /* min-width: 850px */
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 300px;
      }
      & > .mc-info-text {
        color: rgb(var(--fg));
        font-family: "Google Sans Flex", sans-serif;
        font-size: 35px;
        font-weight: 600;
      }
    }
  }
}

@media (max-width: 850px) { /* min-width: 650px */
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 280px;
      }
      & > .mc-info-text {
        color: rgb(var(--fg));
        font-family: "Google Sans Flex", sans-serif;
        font-size: 30px;
        font-weight: 600;
      }
    }
  }
}

@media (max-width: 650px) {
  .navigation-bar {
    grid-template-columns: 65px 1fr 65px;
    padding: 0;
    & > .navbar-container {
      display: none;
    }
    & > .navbar-hidden {
      display: block; 
      width: 65px;
      height: 65px;
    }
    & > .navbar-small {
      display: block;
      width: 65px;
      height: 65px;
      background: url("/src/icons/list.svg");
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 45px;
      & > button.navbar-button {
        width: 65px;
        height: 65px;
        opacity: 0;
        cursor: pointer;
      }
    }
    & > .navbar-small:hover {
      background-color: rgba(var(--fg), 0.1);
    }
  }
  .dropdown {
    position: fixed;
    max-width: fit-content;
    z-index: 100;
    top: 25px;
    background: linear-gradient(to bottom, rgb(var(--bg)), rgb(var(--bgl)));
    padding: 20px 30px 30px 30px;
    font-family: "Google Sans Flex", sans-serif;
    font-size: 40px;
    & > li {
      list-style: none;
      padding-left: 0;
      margin: 15px 0;
      color: rgb(var(--fg));
      text-decoration: underline;
    }
    & > li:hover {
      color: color-mix(in srgb, var(--accent) 25%, rgb(var(--fg)) 75%);
    }
  }
}

@media (max-width: 575px) {
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 250px;
      }
      & > .mc-info-text {
        font-size: 25px;
      }
    }
    & > .mc-details {
      & > p {
        font-size: 25px !important;
      }
    }
  }
  .footer span {
    font-size: 15px;
  }
}

@media (max-height: 450px) {
  .main-content {
    & > .mc-info .mc-info-cont {
      & > picture .mc-info-image {
        max-height: 250px;
      }
      & > .mc-info-text {
        color: rgb(var(--fg));
        font-family: "Google Sans Flex", sans-serif;
        font-size: 30px;
        font-weight: 600;
      }
    }
  }
}
