/*Draggy Color #b34239 */

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

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

/* General Styles */
html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'Maladroit', sans-serif;
}

/* Splash screen */
#splash-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #fafa00;
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease;
}

#splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease, visibility 2s 1s;
  -webkit-transition: opacity 2s ease, visibility 2s 1s;
  -moz-transition: opacity 2s ease, visibility 2s 1s;
  -ms-transition: opacity 2s ease, visibility 2s 1s;
  -o-transition: opacity 2s ease, visibility 2s 1s;
}

.splash-image {
  max-width: 400px;
}

button {
  font-size: 22px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-family: "FingerPaint";
}

button.enter {
  color: #111111;
  padding: 1.25em 2em;
  background: #fafa00;
  border: 5px solid #222222;
  border-radius: 0.75em;
  transform-style: preserve-3d;
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
  -webkit-transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
  -o-transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1);
}

button.enter::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #333333;
  border-radius: inherit;
  transform: translate3d(0, 0.75em, -1em);
  transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

button.enter:hover {
  background: #c0c000;
  transform: translate(0, 0.25em);
}

button.enter:hover::before {
  transform: translate3d(0, 0.5em, -1em);
}

button.enter:active {
  background: #9b9b00; 
  transform: translate(0em, 0.75em);
}

button.enter:active::before {
  transform: translate3d(0, 0, -1em);
}


#main-content {
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
}

#main-content.active {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 3s forwards;
  -webkit-animation: fadeIn 3s forwards;
}

header {
  font-family: 'FingerPaint', sans-serif;
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 10; /* Ensure it's above the main content */
}

.header-logo {
  display: flex;
  justify-content: flex-start;
}

.header-logo h1 {
  font-size: 50px;
  color: #fafa00;
  margin: 0px;
  margin-left: 10px;
  padding: 10px;
}

.header-logo img {
  width: 90px;
}

.social-icons {
  display: flex;
  justify-content: space-around;
  gap: 1.5vw;
  margin-top: 20px;
}

.social-icon {

  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  padding: 15px;
}

.social-icon img {
  width: 3vw;
  height: 3vw;
  transition: transform 0.3s ease;
  -webkit-transition: transform 0.3s ease;
  -moz-transition: transform 0.3s ease;
  -ms-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
}

.social-icon:hover img {
  transform: scale(1.2);
}


/* Responsive design */
@media (max-width: 940px) {
  .social-icons {
      gap: 3vw;
      margin:10px;
}

  .social-icon img {
    width: 12vw;
    height: 12vw;
  }

  .social-icon {
    padding: 3px;
  }

  .header-logo {
    display: none;
  }
}

/* Animation for fading in the main content */
@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

/* Main Section */
#layered-section {
  margin: 0px;
  padding: 0px;
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

/* Scrolling Layer Container */
.scrolling-layer {
  display: flex;
  height: 100%; /* Full screen height */
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

/* SVG Layer Images */
.layer {
  height: 100%; /* Match screen height */
  width: auto; /* Maintain aspect ratio */
  flex: 0 0 auto; /* Prevent shrinking */
  margin-right: -1px;
}

/* Bikey SVG Positioned and Scaled */
.bikey-center {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 50vh;
  width: auto;
  z-index: 4;
}

/* Z-index for Layers */
.layer-1 { z-index: 1; }
.layer-2 { z-index: 2; }
.layer-3 { z-index: 3; }
.layer-4 { z-index: 5; }

/* Mobile Adjustments */
@media (max-width: 768px) {
  .bikey-center {
      height: 40vh; /* Smaller for mobile */
  }
}
