body {
  background-image: url(backJ.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-family: 'simplexsansregular', sans-serif;
  margin: 0;
  background-color: #010101;
  color: #eee;
  padding: 0;
}

@font-face {
    font-family: 'runtoe';
    src: url('fonts/Runtoe/Runtoe.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.navbar {
    background-color: rgba(0, 0, 0);
    position: relative;
    z-index: 100;
    display: flex;
}

.navbar .title {
    position: absolute;
    left: 175px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    text-decoration: none;
    font-family: 'inksan', sans-serif;
    font-size: 24px;
    z-index: 101;
}

@media screen and (max-width: 900px) {
    .navbar .title {
        display: none;
    }
}

header {
    width: 1200px;
    max-width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    grid-template-rows: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

header .logo img {
    max-height: 90%;
    max-width: 90%;
    height: auto;
    width: auto;
}

header .menu {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
}

.menu a {
    color: #8dc2ff;
    text-decoration: none;
    cursor: pointer;
}

.menu li:first-child {
    cursor: pointer;
}

.menu-item {
    font-family: 'runtoe', sans-serif;
    color: transparent;
    position: relative;
    display: inline-block;
}

.menu-item::before {
    content: attr(data-text);
    position: absolute;
    height: 100%;
    width: 0%;
    color: white;
    border-right: solid 0px white;
    overflow: hidden;
    transition: width 1.5s, text-shadow 1.3s;
}

.menu-item:hover::before {
    border-right: solid 2px;
    width: 100%;
    text-shadow: 0 0 20px white;
}

.dropdown {
    display: none;
    margin-top: 10px;
    position: absolute;
    background-color: rgba(0, 0, 0);
    min-width: 150px;
    z-index: 100;
    border-radius: 5px;
    list-style: none;
    padding: 0;
}

.dropdown li {
    padding: 10px;
}

.dropdown li a {
    display: block;
    color: rgb(236, 199, 229);
    text-decoration: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.dropdown li:hover {
    background-color: rgb(236, 199, 229);
}

.dropdown li:hover a {
    color: black;
}

.img-container img {
    height: auto;
    margin-top: 65px;
    max-width: 100%;
}

.header {
  color: white;
  margin: 50px;
}

.header h1 {
  font-size: 50px;
  color: rgb(0, 0, 0);
  text-shadow: -1px 1px 10px rgb(0, 255, 191);
  margin-left: 20px;
  font-family: 'kandlestick', sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  margin-bottom: 50px;
  -webkit-animation: glow 2s ease-in-out infinite alternate;
  -moz-animation: glow 2s ease-in-out infinite alternate;
  animation: glow 2s ease-in-out infinite alternate;
}

@-webkit-keyframes glow {
  from {
    text-shadow: 0 0 10px rgb(0, 255, 191);
  }
  to {
    text-shadow: 0 0 15px rgb(0, 255, 191);
  }
}

.list {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.list img {
  margin: 10px 0;
  max-width: 40%;
  height: auto;
}

.textbox {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 5px 30px 5px 30px;
  z-index: 200;
}

.textbox button {
    margin-left: 50px;
    width: 90px;
    font-size: 10px;
    margin-top: 6px;
}

button {
  position: relative;
  overflow: hidden;
  color: rgb(236, 199, 229);
  background-color: rgb(0, 0, 0);
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.4s;
  z-index: 1;
  border-radius: 3px;
  border: none;
  width: 150px;
  font-family: 'inksan', sans-serif;
  text-transform: uppercase;
}

button::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #dac4ff;
  transition: top 0.4s;
  z-index: -1;
}

.text-buttons-container {
  margin-top: 20px;
}

.text-buttons-container button {
  margin-right: 5px;
}

button:hover::before {
  top: 0;
}

button:hover {
  color: rgb(0, 0, 0);
}

.textbox2 {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  z-index: 200;
  color: white;
  margin: 0px 50px 50px;
  margin-top: 20px;
}

.content-container {
  display: flex;
  margin-top: 10px;
}

.card {
  margin-top: 10px;
  margin-left: 170px;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  position: relative;
}

.content-container .card img {
  height: 90%;
  width: auto;
  border-radius: 10px;
  box-shadow: -20px 15px 25px rgb(0, 0, 0, 0.7);
  transition: .5s;
}

.text {
  color: white;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin-right: 50px;
}

.text h1 {
  font-size: 25px;
  margin-top: 40px;
  color: rgb(180, 149, 236);
  font-family: 'zeromojo', sans-serif;
  text-shadow: 5px 5px 10px black;
}

.text p {
  margin-top: 50px;
  color: white;
}

.textbox2 img {
  width: 20%;
  height: auto;
}

.textbox2 img {
  width: 20%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.img:hover {
  cursor: pointer;
}

.gallery-container {
  margin-left: 70px;
  margin-right: 70px;
}

.gallery {
    display: flex;
    flex-direction: row;
    margin-left: 53px;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.gallery img {
    width: auto;
    height: 250px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 10px;
    background-color: rgb(0,0,0,0.7);
    box-shadow: 0px 0px 30px black;
}

.gallery img:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {
  .gallery-container {
    margin: 0;
  }

  .gallery {
      width: calc(100% - 20px);
      overflow-x: auto;
      overflow-y: hidden;
      margin-left: 20px;
      padding: 0;
      display: flex;
  }

  .gallery img {
      height: auto; 
      max-height: 250px; 
      margin-right: 10px; 
  }
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;
    border-radius: 10px;
}

.lightbox .caption {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
}

.lightbox .prev,
.lightbox .next {
    height: 50px;
    width: 50px;
    position: absolute;
    font-size: 2.5rem;
    padding: 0px;
    border-radius: 10%;
    z-index: 1001;
}

.lightbox .prev {
    left: 20px;
}

.lightbox .next {
    right: 20px;
}

.lightbox .close {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    border: none;
    z-index: 1001;
}

@media (max-width: 900px) {
  .lightbox .prev, .lightbox .next {
    font-size: 1rem;
    width: 30px;
    height: 30px;
  }
}

.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.button-container button {
  position: relative;
  overflow: hidden;
  color: rgb(236, 199, 229);
  background-color: rgb(0, 0, 0);
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.4s;
  z-index: 1;
  border-radius: 3px;
  border: none;
  width: 150px;
  margin-right: 10px;
  margin-top: 10px;
}

.button-container button::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #dac4ff;
  transition: top 0.4s;
  z-index: -1;
}

.button-container button:hover::before {
  top: 0;
}

.button-container button:hover {
  color: rgb(0, 0, 0);
}

.button-container button {
  z-index: 1;
}

.button-container button:hover {
  color: black;
}

.text p a {
  text-decoration: underline;
  color: rgb(236, 199, 229);
}

@media (max-width: 900px) {
  .content-container {
    flex-direction: column;
    align-items: center;
  }
  .header {
    margin-top: 70px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 0;
  }

  .button-container {
    padding-bottom: 10px;
  }
  .text-buttons-container {
    display: flex;
    align-items: left;
    margin-bottom: 30px;
    margin-left: 20px;
  }

  .header h1 {
    font-size: 35px;
    letter-spacing: normal;
  }

  .card {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 90px;
    margin-right: 90px;
    width: 100%;
  }

  img {
    max-width: 95%;
    max-height: 95%;
    height: auto;
    width: auto;
  }

  .text p {
    margin-left: 20px;
  }

  .text h1 {
    margin-left: 20px;
  }

  .textbox,
  .textbox2 {
    padding: 10px;
    font-size: 14px;
    overflow-wrap: break-word;
  }

  .textbox2 {
    margin: 0 10px;
  }

  .textbox p,
  .textbox2 p {
    margin: 0;
  }

  .content-container .card img {
    margin-bottom: 30px;
  }

  .list img {
    max-width: calc(100% - 10px);
    height: auto;
    margin: 5px;
  }
}

@font-face {
    font-family: 'zeromojo';
    src: url('fonts/ZEROMOJO/ZeroMojo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'inksan';
    src: url('fonts/inksan/Inksan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'simplexsansregular';
    src: url('fonts/simplex_sans/SimplexSans-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'kandlestick';
    src: url('fonts/kandlestick/Kandlestick.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
