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;
  overflow: hidden;
}

/* PART NAVIGATION BAR */

@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: 678px) {
  .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;
}

/* END OF PART NAVIGATION BAR */

.header {
  color: white;
  margin-left: 23%;
  margin-top: 50px;
  margin-bottom: 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);
  }
}

/* BUTTONS */

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

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

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

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

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

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

/* MAIN CONTENT */

.content-container {
  display: flex;
  align-items: flex-start;
  margin-top: 10px;
  gap: 250px;
}

.card {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  height: max-content;
  margin-left: 7%;
  padding: 0;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}

.content-container .card img {
  display: block;
  width: auto;
  height: 700px;
  padding: 0;
}

.content-container .text img {
  width: 60%;
  height: auto;
  margin-top: 15px;
  margin-bottom: 15px;
}

.text {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  background-color: black;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 30px;

  width: 500px;
  flex: 0 0 500px;

  margin-left: 20px;
  margin-right: 50px;
  min-height: calc(100vh - 50px);
}

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

.text p {
  font-size: 20px;
  color: rgb(236, 199, 229);
}


.text p a {
  text-decoration: underline;
  color: rgb(137, 235, 255);
}

/* SMALLER SCREENSIZES */

@media screen and (max-width: 1500px) {

  /*
    Allow the page to scroll vertically on phones.
    This is important because the mobile content is taller
    than the viewport.
  */
  body {
    overflow-x: hidden;
    overflow-y: auto;
    background-attachment: scroll;
  }

  /*
    Center the page heading.
  */
  .header {
    width: 100%;
    margin-top: 45px;
    margin-right: 0;
    margin-bottom: 25px;
    margin-left: 0;
    text-align: center;
  }

  .header h1 {
    margin: 0;
    padding: 0 15px;

    font-size: clamp(36px, 10vw, 54px);
    line-height: 1.15;
    letter-spacing: 2px;
  }

  /*
    Stack the logo and text vertically.
  */
  .content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    width: 100%;
    margin-top: 0;
  }

  /*
    Center and reduce the logo.
  */
  .card {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: auto;

    margin: 0 0 25px;
  }

  .content-container .card img {
    display: block;

    width: auto;
    max-width: 55%;
    height: auto;
    max-height: 220px;

    margin: 0 auto;
  }

  /*
    Remove the black text box and desktop fixed sizing.
  */
  .text {
    display: flex;
    flex: none;
    flex-direction: column;

    width: calc(100% - 32px);
    max-width: 650px;
    min-height: 0;

    padding: 0 16px 30px;
    margin: 0 16px;
    margin-top: 10px;

    background-color: transparent;
    border-radius: 0;
  }

  .text h1 {
    margin: 0 0 15px;

    font-size: 24px;
    line-height: 1.25;
    text-align: center;
  }

  .text p {
    width: 100%;
    margin: 0;

    font-size: clamp(16px, 4.5vw, 18px);
    line-height: 1.55;

    overflow-wrap: anywhere;
  }

  /*
    Keep the contact-information image within the viewport.
  */
  .content-container .text img {
    display: block;

    width: min(100%, 240px);
    height: auto;

  }

  .text p a {
    overflow-wrap: anywhere;
  }

  button {
    display: block;
    width: min(100%, 250px);
    margin: 30px auto 0;
    border: none;

  }

  .text > a {
  text-decoration: none;
}

.text > a button {
  text-decoration: none;
}

  .text-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 30px;
  }

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


.content-container .card img {
    max-width: 48%;
    max-height: 180px;
  }

  .text {
    width: calc(100% - 24px);
    padding-right: 12px;
    padding-left: 12px;
    margin-right: 12px;
    margin-left: 12px;
  }

  .text p {
    font-size: 17px;
    line-height: 1.5;
  }

  .content-container .text img {
    width: min(100%, 280px);
  }
}

/* FONTS */

@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;
}