@keyframes flip360 {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(720deg);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}
body,
html {
  margin: 0;
  padding: 0;
  font-family: "inter-variable", sans-serif;
  height: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "nort", sans-serif;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  padding-top: 10px;
  position: fixed;
  height: 3rem;
  color: black;
  font-family: "nort", sans-serif;
  font-size: 1.5rem;
  z-index: 999;
  width: 100%;
  background: white;
  border: #000000 1px solid;
  top: 0px;
}
.logo {
  position: absolute;
  display: inline-block;
  height: 60px;
  width: 60px;
}
.logo img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  padding-left: 8px;
}
.logo .logo-open {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.logo:hover .logo-open {
  opacity: 1;
}
.logo:hover .logo-closed {
  opacity: 0;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex: 1;
}
.nav-links li {
  padding: 0 15px;
}
.nav-links a {
  text-decoration: none;
  color: black;
}
.nav-links a:hover {
  color: #3d606b;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  color: black;
  cursor: pointer;
}
.hero-image {
  background: url("../images/background.jpg");
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
.hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: white;
  font-size: 3rem;
}
.hero-text {
  text-shadow: 5px 5px 5px #000000;
}
.hero-left {
  display: flex;
  align-items: center;
}
.hero-logo {
  width: 15rem;
  height: auto;
  margin-right: 10px;
  animation: flip360 1s ease-out forwards;
  backface-visibility: hidden;
}
.hero-sk-text {
  font-family: "nort", sans-serif;
  font-size: 3rem;
  color: black;
  font-size: 10rem;
}
.scroll-down {
  position: absolute;
  bottom: 10%;
  width: 100% !important;
  transform: translateX(-50%);
  text-align: center;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 6rem;
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
  text-shadow: 5px 5px 5px #000000;
}
.scroll-down:hover {
  color: #3d606b;
}
.scroll-down span {
  display: block;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #bbc5c9;
  color: white;
  text-transform: uppercase;
}
.footer p {
  line-height: 1.8;
  margin-left: 25%;
  text-align: left;
}
.footer a {
  color: white;
  text-decoration: none;
}
.footer a:hover {
  color: #3d606b;
}
.sk-button {
  background-color: #3d606b;
  border: none;
  border-radius: 50px;
  color: white;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1.5rem;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
  width: 24rem;
}
.sk-button:hover {
  background-color: white;
  color: #3d606b;
}
h4 {
  font-size: 3rem;
  font-weight: 900;
  margin: 0px;
}
.highlight {
  color: #3d606b;
  display: inline;
}
.footer-section {
  flex: 1;
  padding: 10px;
  text-align: center;
}
.divider-vertical {
  width: 2px;
  background-color: white;
  height: 50px;
}
.divider-horizontal {
  width: 40%;
  height: 2px;
  background-color: #ffffff;
  margin: 20px 0;
  display: none;
}
.back-to-top {
  text-align: center;
  padding: 10px;
  font-size: 3rem;
}
.back-to-top a {
  color: #3d606b;
  text-decoration: none;
}
.back-to-top a:hover {
  color: black;
}
.nav-links p {
  display: inline;
  margin-block-start: 0px;
  margin-block-end: 0px;
}
.events {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 4rem;
}
.event-link {
  text-decoration: none;
  width: 100%;
  flex: 0 1 calc(33.333% - 20px);
  min-width: 20rem;
}
.card {
  display: flex;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  flex: 0 1 calc(33.333% - 20px);
  min-width: 20rem;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.date {
  background: #bbc5c9;
  color: black;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 2px dashed #7e7e7e;
  min-width: 80px;
}
.day {
  font-size: 1.5rem;
  font-weight: bold;
}
.month {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3d606b;
}
.details {
  padding: 20px;
  flex: 1;
}
.details h2 {
  margin: 0;
  color: #3d606b;
}
.details p {
  margin: 5px 0;
  color: #666;
}
.discord-icon {
  vertical-align: middle;
  height: 20px;
  margin-right: 5px;
  margin-bottom: 2px;
}
.nav-links li a {
  position: relative;
  padding-bottom: 10px;
  text-decoration: none;
  transition: all 0.6s;
}
.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #3d606b;
  bottom: 0;
  left: 0;
  transition: width 0.6s ease;
}
.nav-links li a:hover {
  color: #3d606b;
}
.nav-links li a:hover::after {
  width: 100%;
}
.contact-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0 10%;
}
label {
  margin: 0;
  color: #3d606b;
  font-size: 1.5rem;
}
input {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #3d606b;
  border-radius: 5px;
}
textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: 1px solid #3d606b;
  border-radius: 5px;
  resize: none;
}
iframe {
  border: 0;
  width: 100%;
  height: 20rem;
}
.map {
  width: 100%;
  margin: 4rem;
}
.contact-form {
  width: 100%;
  margin: 4rem;
}
.titletext {
  text-align: center;
  width: 100%;
  margin-top: 7rem;
  font-size: 2rem;
  color: #3d606b;
}
.about-hero {
  position: relative;
  background: url("../images/team.jpg") no-repeat left 25% / cover;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  text-shadow: 5px 5px 5px #000000;
  font-size: 2rem;
}
.about-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 0;
}
.about-hero > h1 {
  position: relative;
  z-index: 1;
}
.about-section {
  padding: 1rem 10%;
  text-align: justify;
}
.about-section h2 {
  color: #3d606b;
}
.timeline {
  margin: 2rem 10%;
  position: relative;
}
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #ddd;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}
.timeline-event {
  position: relative;
  padding: 1rem 4rem;
  background-color: inherit;
  width: 45%;
}
.timeline-event:nth-child(odd) {
  left: 50%;
}
.timeline-event:nth-child(even) {
  left: 0;
}
.timeline-event-content {
  padding: 20px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}
.timeline h2 {
  color: #3d606b;
}
.about-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 10%;
}
.mission-content {
  flex: 1;
  padding: 20px;
}
.mission-content p {
  max-width: 34rem;
}
.mission-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 20px;
}
.mission-image img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  object-position: center;
  box-shadow: 5px 10px 12px;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
.copyright {
  width: auto;
  text-align: center;
  color: white;
  background-color: #bbc5c9;
  margin-top: -1rem;
  padding: 1rem;
}
@media (max-width: 1200px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-left {
    margin-bottom: 20px;
  }
  .hero-text h2 {
    font-size: 2.5rem;
  }
  .hero-logo {
    width: 135px;
    height: auto;
  }
  .hero-sk-text {
    font-size: 7.5rem;
  }
  .hamburger {
    display: block;
    position: absolute;
    right: 4px !important;
    top: 10px;
    font-size: 2rem;
    right: 2.5rem;
    z-index: 2;
  }
  .logo {
    position: absolute;
    left: 10px;
  }
  .nav-links {
    flex-direction: column;
    width: 40%;
    display: none;
    position: absolute;
    top: -3px;
    right: 0px;
    background-color: #fff;
    z-index: 1;
    border: black 1px solid;
    height: 100vh;
    padding-top: 11px;
  }
  .nav-links li {
    text-align: left;
    padding: 10px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-left {
    margin-bottom: 20px;
  }
  .hero-text h2 {
    font-size: 2.5rem;
  }
  .card {
    flex: 1 1 calc(50% - 40px);
  }
  .footer {
    flex-direction: column;
    align-items: center;
  }
  .footer-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  .footer p {
    margin-left: 30%;
    width: 75%;
  }
  .divider-horizontal {
    display: block;
  }
  .divider-vertical {
    display: none;
  }
  .nav-links p {
    display: none;
  }
  .contact-content {
    flex-direction: column;
    align-items: center;
    margin: 0 5%;
  }
  .contact-form,
  .map {
    margin: 2rem 0;
    width: 100%;
  }
  .map iframe {
    height: 300px;
  }
  .about-section {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .card {
    flex: 1 1 100%;
  }
  .footer p {
    margin-left: 14%;
    width: 75%;
  }
  .timeline-event {
    width: 100%;
    padding: 0px;
    width: 12rem;
  }
  .timeline-event:nth-child(even) {
    margin-left: -1rem;
  }
}
