/* All */

@font-face {
  font-family: 'Mont';
  src: url('../fonts/Mont/MontHeavy.otf');
  font-weight: 400;
}

@font-face {
  font-family: 'Brittany';
  src: url('../fonts/Brittany/Brittany.otf');
  font-weight: 400;
}

@font-face {
  font-family: 'DMSans';
  src: url('../fonts/DMSans/DMSans.ttf');
  font-weight: 400;
}

:root {
  --fontfamilyheadings: "Mont", sans-serif;
  --fontfamilyextra: "Brittany", sans-serif;
  --fontfamilybody: "DMSans", sans-serif;
  --contentwidth: 1300px;
  --screenwidth: 100vw;
  --color1: #045e10; /* Main */
  --color2: #308141; /* Accent */
  --color3: #ffffff; /* Text */
  --color4: #000000; /* Footer */
  --color5: #830e0e; /* Negative */
}

body {
  background-image: 
    repeating-linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.1) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(110deg, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.1) 1px, transparent 1px, transparent 80px);
  font-family: var(--fontfamilybody);
  background-color: var(--color1);
  color: var(--color3);
  overflow-y: scroll;
  margin: 0;
}

h1 {
  font-family: var(--fontfamilyheadings);
  font-weight: 400;
}

h2 {
  font-family: var(--fontfamilyextra);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: var(--color3);
}

@media (max-width: 600px) {
  h1 {
    font-size: 20px;
  }
  p {
    font-size: 13px;
  }
}

/* Header */

.header {
  background: linear-gradient(to bottom,#05200769,#05200734);
  border-bottom: 1px solid #4988256b;
  box-shadow: 0 4px 12px #1c5a1c6b;
  backdrop-filter: blur(5px);
  width: var(--screenwidth);
  position: fixed;
  z-index: 999;
}

.header-content {
  justify-content: space-between;
  align-items: center;
  display: flex;
  padding: 20px;
}

.header-content img {
  width: 40px;
}

@media (max-width: 600px) {
  .header-content svg {
    width: 30px;
  }
}

.header-button {
  justify-content: center;
  align-items: center;
  transition: 0.4s;
  cursor: pointer;
  display: flex;
  z-index: 999;
  height: 30px;
  width: 30px;
}

.header-dots {
  grid-template-columns: repeat(2, 1fr);
  transition: 0.4s;
  display: grid;
  gap: 7px;
}

.change .header-dots {
  transform: rotate(45deg);
}

.header-dot {
  background-color: var(--color3);
  border-radius: 50%;
  height: 6px;
  width: 6px;
}

.overlay {
  background-color: #013808fb;
  overflow-y: scroll;
  overflow-x: hidden;
  visibility: hidden;
  transition: 0.4s;
  position: fixed;
  height: 100dvh;
  width: 100%;
  opacity: 0;
  left: 0;
  top: 0;
}

.overlay.visible {
  visibility: visible;
  opacity: 1;
}

.overlay-content {
  grid-template-columns: 1fr 1fr;
  width: var(--screenwidth);
  box-sizing: border-box;
  position: absolute;
  display: grid;
  padding: 50px;
  left: 0;
  top: 0;
}

@media (max-width: 1300px) {
  .overlay-content {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 20px;
    width: 100%;
  }
}

.overlay-links a {
  font-family: var(--fontfamilyheadings);
  font-size: clamp(3rem, 15vw, 7.5rem); 
  transition: 0.2s;
  box-sizing: border-box;
  display: block;
  margin: 0;
}

.overlay-links:hover a {
  color: #7e7e7e;
}

.overlay-links a:hover {
  color: var(--color3);
}

.overlay-featured {
  justify-self: end;
  display: grid;
  row-gap: 20px;
}

@media (max-width: 1300px) {
  .overlay-featured {
    justify-self: start;
  }
}

.overlay-highlight {
  background-color: var(--color2);
  transition: 0.2s;
  box-sizing: border-box;
  border-radius: 15px;
  padding: 20px;
  width: 500px;
  display: grid;
  grid-template-columns: 1fr 0.5fr;
  grid-template-rows: 1fr 0.5fr;
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

@media (max-width: 1300px) {
  .overlay-highlight {
    width: 40%;
  }
}

@media (max-width: 1000px) {
  .overlay-highlight {
    width: 70%;
  }
}

@media (max-width: 600px) {
  .overlay-highlight {
    width: 100%;
  }
}

.overlay-highlight:hover {
  background-color: #3ba352;
  cursor: pointer;
}

.overlay-highlight img {
  border-radius: 15px;
  object-fit: cover;
  width: 100%;
}

.overlay-highlight h2 {
  justify-self: end;
  margin: 0;
}

.overlay-highlight-text h1 {
  font-size: clamp(1rem, 7vw, 2rem); 
}

.overlay-highlight-text p {
  margin: 0;
}

/* Footer */

.footer {
  background-color: var(--color4);
  width: 100%;
}

.footer-gradient {
  background: linear-gradient(to bottom, var(--color1), var(--color4));
  height: 50px;
  width: 100%;
}

.footer-text {
  text-align: center;
  padding: 20px;
}

.footer-text svg {
  stroke-dashoffset: 700;
  stroke-dasharray: 700;
  stroke: var(--color3);
  fill: transparent;
  stroke-width: 1;
  width: 50%;
}

.footer-text svg.animate {
  animation: fillFooterSVG 3s ease-in-out 1 forwards;
}

@keyframes fillFooterSVG {
  0% {
    stroke-dashoffset: 700;
    stroke: #0f0f0f;
    fill: transparent;
  }
  60% {
    stroke-dashoffset: 0;
    stroke: #7cff7c;
    fill: transparent;
  }
  100% {
    stroke: transparent;
    fill: var(--color3);
  }
}

@media (max-width: 1100px) {
  .footer-text svg {
    width: 100%;
  }
}

.footer-text p {
  font-size: clamp(0.9rem, 2vw, 2rem);
}

.footer-hr {
  border: 1px solid #1d1d1d;
}

.footer-socials {
  justify-content: space-between;
  align-items: center;
  max-width: 250px;
  display: flex;
  padding: 20px;
  margin: auto;
}

.footer-socials img {
  width: 50px;
}

/* Landing Hero */

.landing-hero {
  position: relative;
  height: 100dvh;
  width: 100%;
}

.landing-hero-media {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.landing-hero-shadow {
  background: #000000b2;
  align-items: center;
  position: absolute;
  display: flex;
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
}

.landing-hero-text {
  padding: 100px 0 0 0;
  text-align: center;
  width: 100%;
}

.landing-hero-title {
  margin-bottom: 40px;
  fill: white;
  width: 95%;
}

@media (max-width: 1100px) {
  .landing-hero-title {
    display: none;
  }
}

.landing-hero-title-mobile {
  margin-bottom: 40px;
  fill: white;
  display: none;
  width: 95%;
}

@media (max-width: 1100px) {
  .landing-hero-title-mobile {
    display: unset;
  }
}

.landing-hero-subtitle {
  animation: fillSVG 3s ease-in-out 1 forwards;
  width: clamp(14rem, 18vw, 23rem);
  stroke-dashoffset: 700;
  stroke-dasharray: 700;
  fill: transparent;
  stroke: #7c7c7c;
  stroke-width: 1;
}

@keyframes fillSVG {
  0% {
    stroke-dashoffset: 700;
    stroke: #7c7c7c;
  }
  50% {
    stroke-dashoffset: 350;
    stroke: #7cff7c;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: #7c7c7c;
    fill: #7c7c7c;
  }
}

.landing-hero-scrollcue {
  padding-bottom: 20px;
  position: absolute;
  margin: 0 auto;
  width: 35px;
  bottom: 0;
  right: 0;
  left: 0;
}

/* Navigation Column */

.nav-column {
  max-width: var(--screenwidth);
  border-radius: 15px;
}

.nav-column-content {
  box-sizing: border-box;
  flex-direction: column;
  display: flex;
  padding: 20px;
  gap: 20px;
}

.nav-column-link {
  position: relative;
  transition: 0.3s;
  width: 100%;
}

.nav-column-link:hover {
  transform: translateX(10px);
}

.nav-link-image {
  border-radius: 15px;
  object-fit: cover;
  display: block;
  height: 70vh;
  width: 100%;
}

@media (max-width: 600px) {
  .nav-link-image {
    height: 40vh;
  }
}

.nav-link-shadow {
  background: linear-gradient(to right, #000000ef, #00000000, #000000ef);
  justify-content: space-between;
  align-items: flex-end;
  border-radius: 15px;
  position: absolute;
  display: flex;
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
}

.nav-link-text {
  box-sizing: border-box;
  padding: 40px;
}

@media (max-width: 600px) {
  .nav-link-text {
    padding: 20px;
  }
}

.nav-link-text h1 {
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin: 0;
}

.nav-link-svg {
  box-sizing: border-box;
  fill: var(--color3);
  padding: 40px;
  height: 100%;
}

@media (max-width: 600px) {
  .nav-link-svg {
    padding: 20px;
  }
}

/* Subpage Hero */

.subpage-hero {
  position: relative;
  height: 90vh;
  width: 100%;
}

@media (max-width: 600px) {
  .subpage-hero {
    height: 50vh;
  }
}

.subpage-hero-media {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 600px) {
  .subpage-hero-media {
    border-radius: 0 0 25px 25px;
  }
}

.subpage-hero-shadow {
  background: #0000007e;
  align-items: center;
  position: absolute;
  display: flex;
  height: 100%;
  width: 100%;
  bottom: 0;
  left: 0;
}

@media (max-width: 600px) {
  .subpage-hero-shadow {
    border-radius: 0 0 25px 25px;
  }
}

.subpage-hero-text {
  padding: 100px 0 0 0;
  text-align: center;
  width: 100%;
}

.subpage-hero-title {
  margin-bottom: 40px;
  fill: white;
  width: 95%;
}

.subpage-hero-subtitle {
  animation: fillSVG 3s ease-in-out 1 forwards;
  width: clamp(14rem, 18vw, 23rem);
  stroke-dashoffset: 700;
  stroke-dasharray: 700;
  fill: transparent;
  stroke: #7c7c7c;
  stroke-width: 1;
}

@keyframes fillSVG {
  0% {
    stroke-dashoffset: 700;
    stroke: #7c7c7c;
  }
  50% {
    stroke-dashoffset: 350;
    stroke: #7cff7c;
  }
  100% {
    stroke-dashoffset: 0;
    stroke: #7c7c7c;
    fill: #7c7c7c;
  }
}

/* About Grid */

.about-grid {
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 2000px;
  padding: 20px;
  display: grid;
  margin: auto;
  gap: 20px;
}

@media (max-width: 1400px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-image {
  border-radius: 15px;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

@media (max-width: 1400px) {
  .about-image {
    display: none;
  }
}

.about-text {
  background-color: var(--color2);
  border-radius: 15px;
  padding: 20px;
}

.timeline {
  background-color: var(--color2);
  border-radius: 15px;
  padding: 20px;
  flex-direction: column;
  display: flex;
}

.timeline-item {
  transition: all 0.6s ease-out;
  transform: translateX(-50px);
  align-items: center;
  display: flex;
  opacity: 0;
}

.timeline-item h1 {
  border: 1px solid var(--color3);
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 50%;
  margin-right: 10px;
  display: flex;
  padding: 10px;
  height: 20px;
  width: 20px;
}

.timeline-item.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Calender Container */

.calender-container {
  padding: 20px;
}

.calender-event-title {
  text-transform: uppercase;
  font-size: 60px;
}

@media (max-width: 600px) {
  .calender-event-title {
    font-size: 35px;
  }
}

.calender-carousel {
  overflow-x: scroll;
  overflow-y: hidden;
  display: flex;
  cursor: grab;
  width: 100%;
}

.calender-carousel::-webkit-scrollbar {
  display: none;
}

.calender-carousel-content {
  display: flex;
  gap: 20px;
}

.calender-item {
  border-radius: 15px;
  position: relative;
  user-select: none;
  height: 400px;
  width: 400px;
}

@media (max-width: 600px) {
  .calender-item {
    height: 300px;
    width: 300px;
  }
}

.calender-item-background-image {
  border-radius: 15px;
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.calender-item-shadow {
  background: #0e0e0ec5;
  border-radius: 15px;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.calender-item-content {
  flex-direction: column;
  display: flex;
  height: 100%;
  width: 100%;
}

.calender-item-track-image {
  pointer-events: none;
  user-select: none;
  margin: auto;
  height: 60%;
  width: 60%;
}

.calender-item-text {
  padding: 15px;
}

.calender-item-text h1,
.calender-item p {
  margin: 0;
}

.calender-item-text h1 {
  font-size: 20px;
}

@media (max-width: 600px) {
  .calender-item-text h1 {
    font-size: 16px;
  }
}

.calender-event-link {
  align-items: center;
  display: flex;
}

.calender-event-link img {
  width: 50px;
}

/* Gallery Swiper */

.swiper-container {
  position: relative;
  padding-top: 20px;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.swiper-slide {
  transform: scale(0.97) !important;
  transition: transform 0.3s ease;
  justify-content: center;
  align-items: center;
  display: flex;
  opacity: 0.8;
}

.swiper-slide:hover {
  cursor: grab;
}

.swiper-slide-active {
  transform: scale(1.03) !important;
  z-index: 2;
  opacity: 1;
}

.swiper-slide img {
  border-radius: 15px;
  object-fit: cover;
  height: auto;
  width: 100%;
}

@media (max-width: 1200px) {
  .swiper-slide img {
    border-radius: 0;
  }
}

.swiper-pagination {
  margin-bottom: 20px;
}

.swiper-pagination-bullet-active {
  background-color: var(--color3) !important;
}

/* Hotlaps List */

.hotlaps-list {
  max-width: var(--contentwidth);
  padding: 20px;
  margin: auto;
}

@media (max-width: 900px) {
  .hotlaps-list { 
    overflow-x: scroll;
  }
}

.hotlaps-list-container {
  background-color: var(--color2);
  border-radius: 15px;
}

@media (max-width: 900px) {
  .hotlaps-list-container {
    overflow-x: scroll;
  }
}

.hotlaps-list-content {
  box-sizing: border-box;
  padding: 20px;
}

@media (max-width: 900px) {
  .hotlaps-list-content {
    width: 800px;
  }
}

.hotlaps-list-grid {
  grid-template-columns: 2fr repeat(3, 1fr) 0.3fr;
  border-bottom: 1px solid var(--color3);
  grid-template-rows: 1fr;
  grid-column-gap: 5px;
  align-items: center;
  grid-row-gap: 10px;
  display: grid;
}

@media (max-width: 600px) {
  .hotlaps-list-grid a {
    font-size: 13px;
  }
}

/* Gear Container */
 
.gear-container {
  max-width: var(--contentwidth);
  box-sizing: border-box;
  position: relative;
  padding: 20px;
  margin: auto;
}

.gear-dots {
  position: relative;
  height: 100%;
  width: 100%;
}

.gear-dots img {
  border-radius: 15px;
  object-fit: cover;
  display: block;
  height: 100%;
  width: 100%;
}

.dot {
  transform: translate(-50%, -50%);
  border: 1px solid var(--color3);
  background-color: var(--color2);
  position: absolute;
  border-radius: 50%;
  transition: 0.3s;
  cursor: pointer;
  height: 20px;
  width: 20px;
}

.dot:hover {
  background-color: var(--color3);
}

.dot-overlay-shadow {
  background: #000000b2;
  justify-content: center;
  border-radius: 15px;
  align-items: center;
  visibility: hidden;
  position: absolute;
  transition: 0.3s;
  display: flex;
  height: 100%;
  width: 100%;
  opacity: 0;
  left: 0;
  top: 0;
}

.dot-overlay-shadow.visible {
  visibility: visible;
  opacity: 1;
}

.dot-overlay-content {
  transform: scale(0.5) rotate(10deg);
  box-shadow: 0 0 10px #00ff0066;
  background-color: var(--color2);
  flex-direction: column;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
  display: flex;
  padding: 10px;
  opacity: 0;
  gap: 10px;
}

.dot-overlay-shadow.visible .dot-overlay-content {
  box-shadow: 0 0 20px #00ff0099;
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.dot-overlay-content img {
  border-radius: 15px;
  width: 350px;
}

@media (max-width: 600px) {
  .dot-overlay-content img {
    width: 250px;
  }
}

.dot-overlay-content button {
  font-family: var(--fontfamilyheadings); 
  background-color: var(--color1);
  color: var(--color3);
  border-radius: 15px;
  transition: 0.3s;
  font-size: 20px;
  cursor: pointer;
  border: none;
}

.dot-overlay-content button:hover {
  background-color: var(--color5);
  color: var(--color3);
}

/* ADDED RECENTLY */

/* Form */

.form {
  margin-right: auto;
  margin-left: auto;
  max-width: 450px;
  min-width: 350px;
  position: sticky;
  padding: 20px;
  top: 100px;
}

@media (max-width: 900px) {
  .form {
    position: relative;
    margin: auto;
    top: 0;
  }
}

.form-content {
  background-color: var(--color2);
  border-radius: 15px;
  padding: 20px;
}

.form-content h1 {
  text-align: center;
  font-size: 40px;
}

.form-error {
  color: var(--color5);
  font-weight: 600;
}

.form button {
  font-family: var(--fontfamilyheadings);
  background-color: var(--color1);
  color: var(--color3);
  border-radius: 10px;
  margin: 15px 0 0 0;
  transition: 0.2s;
  font-weight: 400;
  cursor: pointer;
  padding: 10px;
  border: none;
  width: 100%;
}

.form button:hover {
  background-color: #167c16;
}

.form select {
  font-family: var(--fontfamilybody);
  border-radius: 10px;
  font-weight: 400;
  cursor: pointer;
  padding: 10px;
  border: none;
  width: 100%;
  outline: 0;
}

.form input {
  font-family: var(--fontfamilybody);
  box-sizing: border-box;
  border-radius: 10px;
  font-weight: 400;
  padding: 10px;
  border: none;
  width: 100%;
  outline: 0;
}

.form input::-webkit-outer-spin-button,
.form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Dashboard Link */

.dashboard-links {
  padding: 100px 20px 0px 20px;
  max-width: 700px;
  margin: auto;
}

.dashboard-links-content {
  background-color: var(--color2);
  justify-content: space-around;
  border-radius: 15px;
  flex-wrap: wrap;
  display: flex;
  padding: 20px;
  gap: 5px;
}

.logout {
  color: var(--color5);
  font-weight: 600;
}

/* Dashboard Items */

.dashboard-item {
  max-width: 2000px;
  margin: auto;
}

.dashboard-item-content {
  align-items: flex-start;
  display: flex;
}

@media (max-width: 900px) {
  .dashboard-item-content {
    flex-direction: column;
  }
}

/* Dashboard List */

.dashboardlist {
  padding: 20px 20px 20px 0px;
  box-sizing: border-box;
  width: 100%;
}

@media (max-width: 900px) {
  .dashboardlist {
    padding: 0px 20px 20px 20px;
  }
}

.dashboardlist-content {
  background-color: var(--color2);
  border-radius: 15px;
  padding: 20px;
}

.dashboardlist-grid {
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  border-bottom: 1px solid var(--color3);
  grid-template-rows: 1fr;
  word-break: break-all;
  grid-column-gap: 10px;
  align-items: center;
  grid-row-gap: 10px;
  display: grid;
}

.dashboardlist-grid img {
  height: 50px;
  width: 50px;
}

.dashboardlist-grid button {
  font-family: var(--fontfamilyheadings);
  background-color: var(--color1);
  color: var(--color3);
  border-radius: 10px;
  transition: 0.2s;
  font-weight: 400;
  cursor: pointer;
  padding: 10px;
  border: none;
  width: 100%;
}

.dashboardlist-grid button:hover {
  background-color: #167c16;
}

/* Message */

.message {
  transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;
  transform: translateX(-50%) translateY(-30px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #d4f8d4;
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  position: fixed;
  display: flex;
  padding: 10px;
  z-index: 999;
  opacity: 0;
  left: 50%;
  top: 50px;
}

.messageimage {
  margin-right: 10px;
  height: 13px;
  width: 17px;
}

.messagetext {
  color: #2e7d32;
  margin: 0;
}

.message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.message.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(-30px);
}