@font-face {
  font-family: "Maison Neue Mono TRIAL";
  src: url("../fonts/maison-neue-mono-trial-bold.woff2") format("woff2"),
    url("../fonts/maison-neue-mono-trial-bold.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FK Raster Grotesk Compact Blended Trial";
  src: url("../fonts/fk-raster-grotesk-trial-blended.woff2") format("woff2"),
    url("../fonts/fk-raster-grotesk-trial-blended.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
:root {
  --font-family-maison-neue-mono-trial-bold: "Maison Neue Mono TRIAL",
    sans-serif;
  --font-family-fk-raster-grotesk-trial-blended: "FK Raster Grotesk Compact Blended Trial",
    sans-serif;
}
* {
  box-sizing: border-box;
}

body {
  background-color: #fff4ea;
  margin: 0%;
  padding: 0%;
}
main {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.container {
  position: absolute;
  right: 20px;
  display: inline-block;
  top: 20px;
}

.Intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0;
  z-index: 99;
}

h1 {
  margin: 0;
  font-size: 5.4em;
  line-height: 80%;
  letter-spacing: 0em;
  font-family: var(--font-family-fk-raster-grotesk-trial-blended);
  font-weight: normal;
  padding: 0;
  color: rgba(0, 0, 0, 1);
}

p {
  font-size: 1.2em;
  font-family: var(--font-family-maison-neue-mono-trial-bold);
  font-weight: normal;
  color: rgba(0, 0, 0, 1);
}

.start-button {
  position: center;
  width: 10em;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: var(--font-family-maison-neue-mono-trial-bold);
  color: white;
  background-color: #b4dcf5;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  padding: 10px;
  z-index: 99;
}
.start-button:hover {
  background-color: #6156a6;
  transform: scale(1.05);
}

.start-button:active {
  transform: scale(0.98);
}

.bottom-left-img {
  position: absolute;
  bottom: 20px;
  left: -145px;
  width: 40%;
  height: auto;
  pointer-events: none;
}

.obstacle1 {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 13%;
  height: auto;
  pointer-events: none;
  z-index: 5;
}
.platform_coin {
  position: absolute;
  top: 438px;
  right: 150px;
  width: 13%;
  height: auto;
  pointer-events: none;
}
.obstacle3 {
  position: absolute;
  top: -70px;
  left: 50px;
  width: 13%;
  height: auto;
  pointer-events: none;
}
.obstacle5 {
  position: absolute;
  left: 0;
  top: 20px;
  width: 13%;
  height: auto;
  pointer-events: none;
  z-index: 5;
}

.flower_red1 {
  position: absolute;
  top: 80px;
  left: 160px;
  width: 4%;
  height: auto;
  pointer-events: none;
}

.flower_green1 {
  position: absolute;
  bottom: 134px;
  right: 260px;
  width: auto;
  height: auto;
  pointer-events: none;
}

.flower_green2 {
  position: absolute;
  top: 240px;
  left: 270px;
  width: auto;
  height: auto;
  pointer-events: none;
}

footer {
  width: 100%;
  position: absolute;
  display: flex;
  bottom: 0;
  justify-content: space-between;
  text-align: center;
  font-weight: normal;
  font-family: var(--font-family-maison-neue-mono-trial-bold);
  padding-left: 1em;
  padding-right: 1em;
  overflow: hidden;
}
.copyrights {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyrights span {
  padding-right: 10px; /* Adds space to the right of the link */
  font-size: 1.2em;
}

.socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
}
.socials a {
  padding-right: 20px; /* Adds space to the right of the link */
}
.icon {
  width: 1.1em; /* Adjust size as needed */
  height: 1.1em;
  margin-right: 10px; /* Space between icon and next element */
  vertical-align: middle; /* Align with text */
}

/* Reset default anchor tag styles */
a.start-button {
  text-decoration: none; /* Removes underline */
  color: inherit; /* Inherits text color */
  display: inline-block; /* Allows padding and other button-like styling */
  color: white;
}

/* sound*/
#soundToggle {
  position: fixed;
  top: 27px;
  right: 80px;
  cursor: pointer;
}

.sound-icon img {
  width: 30px;
  height: 30px;
}

#myNav {
  align-content: center;
}

/* ===== OVERLAY MENU INFO ===== */
#open {
  font-size: 60px;
  cursor: pointer;
  position: fixed;
  top: 30px;
  right: 10px;
  z-index: 9;
  color: #f2a649;
  font-weight: normal;
  line-height: 0px;
  transition: all 0.3s;
  padding: 8px;
}
#open:hover {
  transform: scale(1.05);
  transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.overlay {
  /* height: 100vh;
    width: 0; */
  height: 0vh;
  width: 100%;
  position: fixed;
  z-index: 11;
  top: 0;
  left: 0;
  background-color: #6156a6;
  overflow: hidden;
  transition: 0.5s;
  z-index: 1000;
}

.overlay-content {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  /*    text-align: center;*/
  /*margin-top: 30px;*/
  /*border:1px solid red;*/
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay a {
  font-size: 100px;
  padding: 30px;
  font-family: var(--font-family-maison-neue-mono-trial-bold);
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  overflow: hidden;
  position: relative;
  color: transparent;
}

.overlay a span {
  background: linear-gradient(to right, #000000 50%, #f2a649 50%);
  background-size: 200%;
  background-position: left bottom;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 0.5s ease;
  z-index: 1;
  position: relative;
}

/* Hover effect to slide the color across the text */
.overlay a:hover span {
  background-position: right bottom;
}
.closebtn {
  position: absolute;
  z-index: 99;
  top: 30px;
  right: 10px;
  font-size: 60px !important;
  line-height: 0px;
  cursor: pointer;
  padding: 8px;
  text-decoration: none;
  color: #f2a649;
  transition: all 0.3s;
  text-transform: uppercase;
  font-weight: normal;
}
