/* inter under Open Font License on https://github.com/rsms/inter/blob/master/LICENSE.txt */
/* emoji under Unicode Standard on https://www.unicode.org/copyright.html */
/* GSAP under license on https://gsap.com/community/standard-license/ */
/* Some lines of code based on an original work by fernardocomet on https://codepen.io/fernandocomet/pen/vEEyeyz under MIT license https://opensource.org/license/mit */
/* Some lines of code based on an original work by 14islands on https://shadergpt.14islands.com/ */

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Inter-Black.woff2") format(""); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  margin: 0;
  overflow-x: hidden;
  position: relative;
  font-family: "Inter", sans-serif;
  color: #fff;
}

.spacer {
  height: 100vh;
}

h1 {
font-size: clamp(2rem, 5vw, 8rem);
}

h2 {
font-size: clamp(1rem, 2.5vw, 4rem);
}


p {
font-size: clamp(0.5rem, 1.25vw, 2rem);
}

/* Container for text on top of the animation */
.content-above {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
color: rgb(0, 0, 0)
}

.content-above h1 {
  font-size: clamp(2rem, 5vw, 8rem);
  position: relative;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Styles for the individual characters (spans) */
.content-above h1 span {
  display: inline-block;
  white-space: pre; /* Preserves spaces between words */
}

/* Card-like styling for content sections */
.content-below, .content-third, .content-fourth, .content-fifth {
  padding: 50px;
  color: #000;
  width: 80%;
  max-width: 800px;
  margin: 50px auto;
  border-radius: 45% 55% 45% 55% / 55% 45% 55% 45%;
  transform: rotate(-1deg);
  transition: transform 0.3s ease-in-out;
}

.content-below:hover, .content-third:hover, .content-fourth:hover, .content-fifth:hover {
  transform: rotate(0deg) scale(1.02);
}

  /* A new wrapper to hide horizontal overflow caused by animations */
  .main-content-wrapper {
    width: 100%;
    overflow-x: hidden;
}


.fixed-footer {
  /* Position the footer in the center of the viewport */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  /* Initial state: invisible and non-interactive */
  opacity: 0;
  pointer-events: none;

  width: auto;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  color: rgb(0, 0, 0);
  text-align: center;
}


/* Main cookie banner container */
.cookie-banner-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 90%;
  min-width: 280px;
  box-sizing: border-box;
  transition: transform 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  background-color: white;
  padding: 16px 24px;
}

  /* This class hides the entire banner, including the icon */
  .cookie-banner-container.hidden {
    display: none;
  }

.cookie-banner-container.collapsed {
  background-color: white;
  box-shadow: none;
  padding: 0;
}

.cookie-banner-container.collapsed .cookie-full-content {
  display: none;
}

/* The icon button to toggle the full banner */
.cookie-icon-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 0;
  line-height: 1;
}

.cookie-icon-btn:hover {
  transform: scale(1.1);
}

/* Container for the full text and buttons, initially hidden */
.cookie-full-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

.cookie-banner-container:not(.collapsed) .cookie-full-content {
  display: flex;
}

.cookie-banner-text {
  color: #333;
  font-size: 16px;
  margin: 0;
}

/* Container for the accept/decline buttons */
.cookie-buttons-container {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.cookie-option-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.accept-btn {
  background-color: #007bff;
  color: #fff;
}

.accept-btn:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.decline-btn {
  background-color: #e9e9e9;
  color: #333;
}

.decline-btn:hover {
  background-color: #dcdcdc;
  transform: translateY(-2px);
}


    /* This class hides the entire banner, including the icon */
    .cookie-banner-container.hidden {
        display: none;
    }

    /* This class collapses the banner, hiding the text but keeping the icon */
    .cookie-banner-container.collapsed {
        background-color: white;
        box-shadow: none;
        padding: 0;
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .cookie-banner-container.collapsed .cookie-icon-btn {
        width: 100%;
        height: 100%;
        padding: 0;
        background-color: transparent;
    }

    .cookie-banner-container.collapsed .cookie-full-content {
        display: none;
    }


    /* New CSS for the Resume Panel */
    .resume-panel-container {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      display: flex;
      flex-direction: column;
      align-items: flex-end; /* Align icon to the right */
      gap: 12px;
      max-width: 90%;
      min-width: 50px;
      box-sizing: border-box;
      transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease;
      overflow: hidden;
  }

  .resume-panel-container.collapsed {
      width: 50px;
      height: 50px;
      padding: 10px;
  }

  .resume-panel-container:not(.collapsed) {
    width: 350px;
    max-height: 80vh; /* Set a maximum height for the panel */
    padding: 16px 24px;
}

  .resume-icon-btn {
      background: none;
      border: none;
      font-size: 28px;
      cursor: pointer;
      transition: transform 0.2s ease;
      padding: 0;
      line-height: 1;
      color: #333;
  }

  .resume-icon-btn:hover {
      transform: scale(1.1);
  }

  .resume-full-content {
    display: none;
    flex-direction: column;
    gap: 12px;
    color: #333;
    text-align: left;
    width: 100%;
    overflow-y: auto; /* Enable scrolling for long text */
}

  .resume-panel-container:not(.collapsed) .resume-full-content {
      display: flex;
  }

  #privacy {
    background-color: #000; /* Solid black background for the privacy page */
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    padding: 20px;
  }

  #fourzero {
    background-color: #000; /* Solid black background for the privacy page */
    color: #fff;
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    padding: 20px;
  }

  .returnto-link:hover {
    text-decoration: underline;
  }

  .goto-link:hover {
    text-decoration: underline;
  }

  .returnto-link {
    text-decoration: none;
    color: #ffffff;
  }

  .goto-link {
    text-decoration: none;
    color: #000000;
  }

