/* Basic reset */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&family=Martian+Mono:wght@100..800&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Stick+No+Bills:wght@200..800&display=swap');


/*testing*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-y: visible;
}

.hotfix{
  overflow-y: hidden !important;
}

/* Body styling */
body {
  font-family: "Martian Mono", sans-serif;
  line-height: 1.6;
}

/* Navbar styling */
.navbar {
  /* display: flex; */
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff00;
  padding-top: 10px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  font-size: large;
  transition: top 0.3s;
  background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.0));
}

li {
 list-style-type: none;
}

.navbar .logo {
  /* display: flex; */
  align-items: center;
  display: none !important;
}

.navbar .logo-image {
  height: 50px;
}

.navbar .nav-links {
  /* display: flex; */
  align-items: center;
}

.navbar .nav-links li {
  margin: 0 15px;
}

.navbar .nav-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .nav-links a:hover {
  color: #B47437;
}

.navbar .social-media a {
  margin-left: 10px;
  color: #000000;
}

.navbar .social-media a:hover {
  color: #B47437;
}

.navbar .admin-link {
  display: none;
}

/* Hamburger menu styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 25px;
}

.hamburger-icon span {
  width: 30px;
  height: 4px;
  background-color: #333333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Header styling */
header {
  padding: 0px; /* Added top padding to account for fixed navbar */
  /* text-align: center; */
}

/* Main content styling */
main {
  padding: 0px;
}


/* Footer styling */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  margin-top: 20px;
}

/* Events section styling */
.events-section {
  margin-top: 40px;
}

.events-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 3vw;
  color: #66643A;
}

.events-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.event-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  transition: transform 0.2s;
  cursor: pointer; /* Make it clear that cards are clickable */
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.event-card .event-content {
  padding: 15px;
}

.event-card .event-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.event-card .event-date {
  color: #777;
  margin-bottom: 10px;
}

.event-card .event-location {
  color: #0056b3;
  margin-bottom: 10px;
}

.event-card .event-description {
  color: #555;
  margin-bottom: 15px;
}

/* Tabbed interface styles */
.admin-tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  margin-bottom: 20px;
}

.tab-button {
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.tab-button.active,
.tab-button:hover {
  border-bottom: 2px solid #0056b3;
  color: #0056b3;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Event detail page styles */
.event-details {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.event-details h1 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #0056b3;
}

.event-details .event-meta {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
}

.event-details .event-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.event-details .event-description {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

.event-details .event-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event-details .event-image-thumbnail {
  width: 100%;
  max-width: 150px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

/* Donation Section */

.donationSection {
    padding: 40px;
}

/* Divided Section */

.dividedSection {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../images/canvas.png");
    background-repeat: no-repeat;
    background-color: #66643A;
    background-size: cover;
    padding: 40px;
}

.newsletterSection {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url("../images/Heli.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #66643A;
    background-size: cover;
    padding: 100px;
}

/*FORMS */


form {
    border-radius: 5px;
    background-color: #0b202700;
    padding: 20px;
    margin-top: 10px;
    display: block;
    max-width: 75%;
    justify-content: center;
    margin: auto;
}

input[type=text], select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #ffffffe5;
  }

  input[type=email], select {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #ffffffe5;
  }
  
  input[type=submit] {
    background-color: #66643A;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: "Stick No Bills", "Martian Mono", sans-serif;
    font-weight: 800;
    font-size: 1.5vw;
    display: block;
    margin: auto;
    margin-top: 10px;
    width: 20%;
  }

  ::placeholder {
    text-align: center;
    font-family: "Martian Mono", sans-serif;
    font-variation-settings:
        "wdth" 75;
  }

  input[type=text]:focus {
    background-color: #919191e5;

  }

  input[type=email]:focus {
    background-color: #919191e5;
  }

  /* INFO SOCIALS */

  .socials a {
    color: #000000;
  }
  .socials a:hover {
    color: #66643A;
  }

/* Responsive design */
@media (min-width:1080px) {
  .navbar {
    display: flex;
    justify-content: center;
  }
  .navbar .logo {
    display: flex;
  }
  .navbar .nav-links {
    display: flex;
  }
}

@media (max-width: 1080px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar .logo {
    margin-bottom: 10px;
  }

  .hamburger-menu {
    display: flex;
    margin-bottom: 10px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    /* text-align: center; */
  }

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

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li.social-media {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }

  .nav-links li.social-media a {
    margin: 0 5px;
  }

  /* Hamburger icon animation */
  .hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* HERO*/

.heroImage {
background-image: linear-gradient(rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0)), url("../images/Tank.jpeg");
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
height: 100%;
padding-top: 0px;
margin-top: 0px;
width: 100%;

}


.heroLogo {
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    height: 10%;
    margin-bottom: 10%;
    width: 80%;
    margin: auto;
    display: block;
}

/* Content */

.Episodes {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: linear-gradient(rgba(11, 32, 39, 0.90), rgba(11, 32, 39, 0.25)), url("../images/Helmets.jpeg");
    text-align: center;
    color: #DBDBDB;
    font-size: 2.5vw;
    align-content: center;
    align-self: stretch;
    justify-self: stretch;
    margin: auto;
    grid-auto-flow: column;
    min-width: 40vw;
    min-height: 40vw;
}

@media (max-width: 1080px) {
    .Episodes {
        justify-self: center;
        margin: auto;
    }
}

.Events {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: linear-gradient(rgba(11, 32, 39, 0.90), rgba(11, 32, 39, 0.25)), url("../images/Planes.jpeg");
    text-align: center;
    color: #DBDBDB;
    font-size: 2.5vw;
    align-content: center;
    align-self: stretch;
    justify-self: stretch;
    margin: auto;
    grid-auto-flow: column;
    min-width: 40vw;
    min-height: 40vw;
    
}

@media (max-width: 768px) {
    .Events {
        justify-self: center;
        margin: auto;

    }
}
.content {
    padding-top: 2vw;
    justify-content: space-between;
}



/* Custom Containers */

.gridContainer {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-areas: fill fill fill fill fill;
    padding: 10px;
    align-content: center;
    justify-content: space-evenly;
    justify-items: stretch;
  }
  .gridContainer .gridLarge {
    padding: 0px;
    text-align: center;
    align-content: center;
    align-self: stretch;
  } 
  .gridContainer .gridSmall{
    padding: 10px;
    text-align: center;
    align-content: center;
    align-self: stretch;
  } 
  .gridContainer .gridMed{
    padding: 10px;
    text-align: center;
    align-content: center;
  } 
  .gridContainer .gridMajLeft{
    grid-template-columns: 2fr 1fr;
  }
  .gridContainer .gridMajRight{
    grid-template-columns: 1fr 2fr;
  }
  .gridContainer .gridEqual{
    grid-template-columns: 1fr 1fr;
  }
  .gridContainer .grid2{
    columns: 2;
  }
  .gridContainer .grid3{
    columns: 3;
  }
  .gridContainer .grid4{
    columns: 4;
  }
  .gridContainer .grid5{
    columns: 5;
  }
  .gridContainer .fill{
    grid-area: fill;
  }

@media (max-width:768px){
.gridContainer {
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: fill;
  }
}


/* FONTS */

@font-face {
    font-family: Operation;
    src: url(./fonts/operation-font/Operation.ttf);
}
@font-face {
    font-family: DinSchablonierschrift;
    src: url(./fonts/din-schablonierschrift-font/DinSchablonierschrift-ARBA.ttf);
}

.stick-no-bills-stencil {
  font-family: "Stick No Bills", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.google-sans-code-readable-mono{
  font-family: "Google Sans Code", monospace;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}


.atkinson-hyperlegible-mono {
  font-family: "Atkinson Hyperlegible Mono", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.space-mono-regular {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: normal;
}

.space-mono-bold {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: normal;
}

.space-mono-regular-italic {
  font-family: "Space Mono", monospace;
  font-weight: 400;
  font-style: italic;
}

.space-mono-bold-italic {
  font-family: "Space Mono", monospace;
  font-weight: 700;
  font-style: italic;
}

.martian-mono {
  font-family: "Martian Mono", monospace;
  font-optical-sizing: auto;
  /*100 - 800 type weight 400 reg */
  font-weight: 400;
  font-style: normal;
  /*75 - 112.5 type weight 100 reg */
  font-variation-settings:
    "wdth" 100;
}

.compact{
    font-variation-settings:
    "wdth" 75;
    font-weight: 800;
}

/* Text Styling */

/*desktop*/
@media (min-width: 768px){
    .tagline {
        font-size: 5vw;
        color: #0b2027;
        line-height: 5vw;
    }
    .caption {
        font-size: 1vw;
        color: #384449;
        padding-top: 1vw;
    }
    .basic {
        font-size: 1.2vw;
        color: #0B2027;
        text-align: center;
        margin-bottom: 1vw;
        font-weight: 600;
    }
}

.title {
    color: #ffffff;
    font-size: 2vw;
    text-align: center;
}
.basic2 {
    font-size: 1vw;
    color: #ffffff;
    padding-top: 1vw;
    font-weight: 500;
}


/* mobile*/
@media (max-width:768px) {
    .tagline {
        font-size: 4vw;
        color: #0b2027;
    }
    .caption {
        font-size: small;
        color: #384449;
    }
    .basic {
        font-size: small;
    }
    .title {
        font-size: 4vw;
    }
    .basic2 {
        font-size: x-small;
        padding-top: 1vw;
    }
}


/*Buttons */

/*desktop*/
@media (min-width:768px)  {
    button {

        border: 2px;
        border-radius: 15px;
        border-color: #0b2027;
        font-family: "Stick No Bills", "Martian Mono", sans-serif;

    }

}

.primaryButton {
    background-color: #66643A;
    color: #DBDBDB;
    font-weight: 800;
    font-size: 5vw;
    width: 100%;
    padding: 10px;

}

.primaryButton:hover {
    background-color: #B47437;
}

.secondaryButton {
    background-color: #0b2027;
    color: #DBDBDB;
    margin-top: 20px;
    font-weight: 800;
    font-size: 3vw;
    width: 80%;
    padding: 10px;
}
.secondaryButton:hover {
    background-color: #B47437;
}

/* mobile*/
@media (max-width:768px) {
    button {
        border: 2px;
        border-radius: 10px;
        border-color: #0b2027;
        font-family: "Stick No Bills", "Martian Mono", sans-serif;
        font-weight: 800;
        font-size: large;
        max-width: 75%;
        padding: 10px;

    }
}

.basicButton {
    max-width: 25vw;
    text-align: center;
    margin: auto;
    background-color: #B47437 !important;
    border-radius: 15px;
}

.basicButton:hover {
    background-color: #0b2027 !important; 
}



.center {
    max-width: 25vw;
    text-align: center;
    margin: auto;
}

/* GALLERY ITEMS */

.gallery {
    display: grid;
    grid-template-columns: auto auto auto auto;
    justify-content: flex-start;
    object-fit: cover;
}

.galleryItem{
    max-width: 150px;
    max-height: 150px;
    margin: 5px;
    object-position: center;
    object-fit: cover;
}

.galleryItem img {
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
}

.galleryImage {
    width: 150px;
    height: 150px;
}

.gallery .column {
    flex: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: auto auto;
    }
}

.galleryItem:hover {
    border: 3px solid #00000000;
}

/*DROPDOWN MENU*/

.dropdown {
  display: inline-block;
  position: relative;
}

.dropdown-toggle{
  background-color:#ffffff00;
  font-size: large;
  font-weight: 500;
  font-family: "Martian Mono", sans-serif;
}

.dropdown-toggle:hover{
  /* background-color:#4444445b; */
  color: #B47437;
}

.dropdown-content {
  display: none;
  position: absolute;
  /* overflow: auto; */
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
  background-color: #ffffffa1;
  font-size: small;
  padding: 5px;
  width: 200%;
  border-radius: 5px;
  text-align: center;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media (max-width: 768px) {
  .dropdown-content {
    width: 150%;
    background-color: white;
  }
}