/* Global Styles */
html {
  scroll-behavior: smooth;
}
body {
  background-color: white;
  font-family: roboto;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  box-sizing: border-box;
}
/* Navbar */
.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  position: relative;
}

.topnav-right {
  display: flex; /* Desktop layout */
}

.topnav-right a {
  float: left;
  color: black;
  text-align: center;
  padding: 30px 42px;
  text-decoration: none;
}

.topnav a:hover {
  color: grey;
}

.topnav a.active {
  color: blue;
}

/* Logo */
.logo-text {
  height: 70px;
  width: auto;
  padding-top: 10px;
  padding-left: 40px;
}

/* Main Content */
.main {
  font-size: 40px;
  margin-top: 7vh;
  text-align: center;
}

/* Logo */
.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: -3vh;
  height: 85px;
  width: auto;
}

/* Definition Section */
.definition {
  margin-left: 23vw;
  margin-right: 15vw;
}

#voxel-def {
  font-size: 20px;
  font-weight: normal;
}

/* Mission Section */
.mission {
  display: flex;
  font-size: 20px;
  align-items: center;
  margin-top: 15vh;
}

#mission-title {
  margin-left: 10vw;
  white-space: nowrap;
}

#mission-text {
  font-weight: normal;
  font-size: 20px;
  margin-left: 10vw;
  margin-right: 11vw;
}

/* Fields Section */
#fields {
  position: absolute;
  bottom: 0;
  margin-top: 10vh;
  margin-left: 10vw;
}

/* Flip Card Section */
.flip-card-container {
  display: flex;
  flex-wrap: wrap;  /* Allows wrapping on smaller screens */
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 150px;
}

/* Default flip card size */
.flip-card {
  background-color: transparent;
  width: 500px;
  height: 500px;
  perspective: 1000px;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-sizing: border-box;
}

.flip-card-front {
  color: white;
}

.flip-card-back {
  background-color: black;
  color: white;
  transform: rotateY(180deg);
  overflow: auto; /* Prevents text from overflowing */
}

.flip-card img {
  width: 500px;
  height: auto;
  margin-top: 10px;
}

/* Flip card responsiveness */
@media only screen and (max-width: 768px) {
  .flip-card-container {
      flex-direction: column; /* Stacks cards vertically */
      align-items: center;
  }

  .flip-card {
      width: 250px;
      height: 250px;
      margin-bottom: 200px;
  }
}

@media only screen and (max-width: 480px) {
  .flip-card {
      width: 250px;
      height: 250px;
      margin-bottom: 200px;
  }
  
  .flip-card img {
    width: 250px;
    height: auto;
  }

  .flip-card-back h1 {
      font-size: 20px;  /* Adjust font size for better readability */
  }

  .flip-card-back p {
      font-size: 14px;
  }
}

/* Content Section */
.content-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 50px;
}

.content-image {
  width: 350px;
  height: auto;
  border-radius: 10px;
}

.content-text {
  max-width: 400px;
}

.content-text h2 {
  margin-bottom: 10px;
}

.left-column {
  display: flex;
  flex-direction: column;
  align-items: center; /* centers items horizontally */
  margin-right: 20px; /* spacing between left and right sections */
}

.content-image {
  max-width: 100%; /* adjust as necessary */
  height: auto;
}

.icon {
  margin-top: 10px; /* spacing between the image and the icon */
}

/* Opportunities Form */
#opportunities-form {
  margin-left: 50vh;
}


/* Responsive Navbar */
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

@media only screen and (max-width: 768px) {
  .topnav-right {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 50px;
      left: 0;
      width: 100%;
      background-color: white;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      z-index: 1000;
  }

  .topnav-right a {
      display: block;
      padding: 15px;
      text-align: center;
      border-bottom: 1px solid #ddd;
  }

  .topnav-right.active {
      display: flex;
  }

  .menu-icon {
      display: block;
  }

  .logo-text {
      padding-left: 20px;
      height: 60px;
  }

  .main {
      font-size: 32px;
      margin-top: 5vh;
  }

  .logo {
      margin-top: -2vh;
      height: 70px;
  }

  .definition {
      margin-left: 5vw;
      margin-right: 5vw;
  }

  .mission {
      flex-direction: column;
      margin-top: 10vh;
  }

  #mission-title, #mission-text {
      margin-left: 0;
      margin-right: 0;
      text-align: center;
  }

  #fields {
      position: relative;
      margin: 20px auto;
      bottom: auto;
      left: auto;
  }

  .content-container {
      flex-direction: column;
      max-width: 90%;
  }

  .content-image, .content-text {
      width: 100%;
      max-width: none;
  }

  #opportunities-form {
      margin-left: auto;
      margin-right: auto;
  }
}

@media only screen and (max-width: 480px) {
  .topnav-right a {
      padding: 10px 15px;
      font-size: 14px;
  }

  .main {
      font-size: 28px;
      margin-top: 4vh;
  }

  .logo {
      height: 60px;
  }

  #voxel-def, #mission-text {
      font-size: 18px;
  }

  .flip-card {
      width: 250px;
      height: 250px;
  }
}
.main-content {
  flex: 1;
}
footer {
  background-color: black;
  display: flex;
  justify-content: space-between;
  text-align: justify;
  color: white;
  align-items: center;
  width: 100%;
  margin-top: 25px;
}
#footer-logo {
  height: 70px;
  width: auto;
}
.icons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-right: 75px;
}
.icons svg:hover {
  color: grey;
}
a {
  color: inherit; /* Inherit the color of the parent element */
  text-decoration: none; /* Remove underline if it's added */
}
a:visited {
  color: inherit; /* Prevent visited links from turning purple */
}


.application-intro {
  text-align: center;
  margin-bottom: 40px;
}

.intro-list {
  display: inline-block;
  text-align: left;
  list-style-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><g transform="scale(0.5) translate(0, 15)" transform-origin="center"><path d="m12 3 2.23 6.88h7.23l-5.85 4.24L17.85 21 12 16.75 6.15 21l2.24-6.88-5.85-4.24h7.23L12 3z" fill="%23000000"></path></g></svg>')
}
.intro-list li::marker{
  font-size: 5em;
  line-height: .1;
}

#nextBtn {
  margin-top: 40px;
  background-color: black;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
}

#down-arrow { 
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 25px;
  height: auto;
  margin-bottom: 40px;
}

#basic-info {
  margin-top: 25px;
  text-align: center;
}

form input[type="text"], input[type="email"] {
  margin-top: 15px;
  margin-bottom: 15px;
  max-width: fit-content;
  border-right: none;
  border-top: none;
  border-left: none;
  border-bottom: 3px solid black;
  background-color: transparent;
  color: black;
  caret-color: black;
}

input[type=text]::placeholder {
  text-align: center;
  color: black;
  font-family: 'Roboto', sans-serif;
}

input[type=email]::placeholder {
  text-align: center;
  color: black;
  font-family: 'Roboto', sans-serif;
}

#graduation {
  margin-top: 15px;
  margin-bottom: 15px;
}

.short1-container label {
  margin-right: 100px;
}
.short1 {
  width: 70% !important;
  height: 275px !important;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 3px solid black;
  border-radius: 4px;
  background-color: white;
  font-size: 16px;
  resize: none;
  margin-top: 5px;
  margin-bottom: 15px;
}

.short2 {
  width: 70% !important;
  height: 150px !important;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 3px solid black;
  border-radius: 4px;
  background-color: white;
  font-size: 16px;
  resize: none;
  margin-top: 5px;
  margin-bottom: 15px;
}


.slider-container {
  width: 300px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, #333, #555);  /* Dark gray background */
  border-radius: 10px;
  outline: none;
  transition: background 0.3s;
}

/* Thumb (slider handle) */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  background: #fff;  /* White thumb */
  border: 2px solid #ccc;  /* Light gray border */
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);  /* Dark shadow for depth */
  cursor: pointer;
  transition: 0.2s;
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: 0.2s;
}

/* Hover & Active Effects */
input[type="range"]:hover::-webkit-slider-thumb {
  transform: scale(1.1);
  border-color: #888;  /* Slightly darker border on hover */
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.2);
  border-color: #aaa;  /* Darker border when active */
}

/* Value display */
.value {
  margin-top: 10px;
  font-size: 18px;
  color: black;  /* White text for contrast */
}

.radio-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.radio-container label {
  display: block;
  text-align: center;
  margin-bottom: -15px;
}

.radio-container input[type="radio"] {
  margin: 0 10px 0 0;
  vertical-align: middle;
  accent-color: black;
}


.radio-container-yn label{
  margin-right: 10px;
}

.radio-container-yn input[type="radio"] {
  margin-right: 5px;
  accent-color: black;
}

input[type=submit] {
  background-color: black;
  border: none;
  color: white;
  padding: 16px 32px;
  cursor: pointer;
}

#leadership {
  margin-top: 25px;
}
