/*Layout Styles UwU*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
:root{
    --white: #fff;
    --grey: #9e9e9e;
    --black: #252525;

    --borderRadius: 3.125rem;
    --borderRadius: 0.678em;
    --borderRadius: 100rem;
}
  
html{
    scroll-behavior: smooth;
    font-size: 62.5%
}
  
@media(max-width: 981px){
html,
body{
    overflow-x: hidden;
}
}
  
body {
    position: relative;
  
    font-family: 'Compooter font', sans-serif;
    background-color: var(--black);
    color: var(--white);
}

.container{
    width: 95%;
    margin: 0 auto;
}

/*                Fonts                */

@font-face {
    font-family: 'Compooter font';
    src: url(/fonts/Jersey15-Regular.ttf) format('truetype');
    font-weight: 400;
  }

  h1{
    font-size: 46px;
    font-family: 'Compooter font';
    text-shadow: 1px 1px #639A14;
    white-space: nowrap;

    margin-top: 25px;

    @media(min-width: 980px){
      font-size: 40px;
    }
  }
  
  h1 > p {
    font-size: 58px;
    display: inline-block;

    @media(min-width: 980px){
      font-size: 90px;
    }
  }
  
  h2 {
    font-size: 42px;

    @media(max-width: 980px){
      font-size: 32px;
    }
  }
  
  a {
    color: var(--white);
    text-decoration: none;
  }



.parallax-background{
    background-image: url(images/pretty-desktop-flower-field-11lxn3janoe1788u.jpg);
    background-size: cover;
    background-position: 10% bottom;
    height: 600px;
    width: 100vw;
    position: fixed;
    top: 0;
  
z-index: -1;

@media(min-height: 500px){
    height: 600px;
  }
  
    @media(min-height: 600px){
      height: 700px;
    }

    @media(min-height: 700px){
        height: 800px;
      }

      @media(min-height: 800px){
        height: 900px;
      }
  
    @media(min-height: 899px){
      height: 100vh;
    }
}

/*Main stuff*/

/*Change Song*/

.record-container{
  position: fixed;
  z-index: 50;
  bottom: 15px;
  right: 15px;
  width: 125px;

  @media(max-width: 980px){
  width: 20vw;
  }

}

.record-container p{
  text-align: center;
  font-size: 20px;
  /* margin-bottom: 2px; */
}

@keyframes recordRotate{
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.record-container:hover{
  cursor: pointer;
}

.record-container img{
  height: 100%;
  width: 100%;
}

.animate-bounce {
  animation: bounce 1.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
      transform: translateY(-20%);
      animation-timing-function: cubic-bezier(.8,0,1,1);
  }

  50% {
      transform: none;
      animation-timing-function: cubic-bezier(0,0,.2,1);
  }
}

/*Header*/

header{
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* flex-direction: column; */
}


.follow-insta-btn{
    padding: 10px 20px;

    text-align: center;
    display: block;

    margin: 0px auto;
}


/**/

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;

    margin-bottom: 35px;
  }
  
  .gradient-border-button {
    position: relative;
    padding: 1.2rem 2.4rem;
    font-size: 17px;
    font-family: 'Compooter font', 'sans-serif';
    color: #31D2F7;
    background: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .gradient-border-button::before {
    content: '';
    position: absolute;
    inset: -3px;
    /* background: linear-gradient(45deg, #FFF100, #31D2F7, #F394BE); */
    background: repeating-linear-gradient(
    45deg,
    #FFF100,
    #FFF100 33.33%,
    #31D2F7 33.33%,
    #31D2F7 66.66%,
    #F394BE 66.66%,
    #F394BE 100%
  );
    border-radius: 10px;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: borderRotate 4s linear infinite;
  }
  
  @keyframes borderRotate {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
  }
  
  .gradient-border-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 148, 190, 0.4); 
    /* Adjusted box shadow to use a color from the new gradient */
  }

  .swipe-heading-container{
    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 25px;
    margin-bottom: -10px;

    @media(max-width: 980px){
      margin-top: 5px;
      margin-bottom: -15px;
    }
  }

  /*Image Slider*/

  .slider-container {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    cursor: grab;
    position: relative;
    scrollbar-width: none;
    user-select: none;
    scroll-behavior: smooth;
  
    margin-top: 25px;
    margin-bottom: 0px;
  }
  
  .slider-container::-webkit-scrollbar {
    display: none;
  }
  
  .slider-container.active {
    cursor: grabbing;
  }
  
  .slider-container::before,
  .slider-container::after {
    content: "";
    display: block;
    flex: 0 0 50vw;
  }
  
  .slide {
    flex: 0 0 auto;
    scroll-snap-align: center;
    aspect-ratio: 4/5;
    width: 80%;
    max-width: 400px;
    margin: 0 15px;
    border-radius: 15px;
    overflow: hidden;
    background-color: #eee;
    user-select: none;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /
  }

/*modal*/

.modal {
  display: none; /* Prevent rendering during page load */
  position: fixed;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  opacity: 0;
  visibility: hidden;
  background-color: #252525;
  width: 400px;
  max-width: 90%;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  transition: transform 400ms ease-in-out, opacity 400ms ease-in-out, visibility 0ms linear 400ms;
}

.modal.ready {
  display: flex; /* Make it visible after initialization */
}

.modal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  transition: transform 400ms ease-in-out, opacity 400ms ease-in-out;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-overlay {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  pointer-events: none; 
  opacity: 0; 
  transition: opacity 400ms ease-in-out;
}

.modal-overlay.active {
  opacity: 1; /* Fully visible */
  pointer-events: all; /* Enable clicks */
}

.modal h2{
  text-transform: uppercase;
  font-size: 38px;
}

.modal-header{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 15px;
}

.close-modal{
  padding: 6px 13px;
  border-radius: 10px;
  color: #252525;
  background-color: #F0F3F4;

  font-size: 2.6rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
}

.close-modal:hover{
  box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.5); 
}

.song-container{
  width: 100%;
  height: 300px;
  overflow-y: scroll;

  box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.5); 
  padding: 10px;
  padding-top: 0px;
  border-radius: 15px;
}

@media(min-width: 980px){
.song-container::-webkit-scrollbar {
  width: 12px; 
}
}

.song-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.8); 
  border-radius: 0px 5px 5px 0px;
}

.song-container::-webkit-scrollbar-thumb {
  background: white; 
  border-radius: 0px 5px 5px 0px; 
}

.song-container::-webkit-scrollbar-thumb:hover {
  background: #f1f1f1; 
}

.song{
  display: flex;
  justify-content: flex-start;
  align-items: center;

  margin-top: 15px;
  background-color: #fff;
  color: #252525;
  border-radius: 50px;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;

  font-size: 2rem;

  transition: border 0.4s ease-in-out;
  border: 2px solid #F0F3F4;

  user-select: none;
  cursor: pointer;

  width: 100%;
}

.song-selected{
  border: 2px solid #31D2F7;
}

.song img{
  width: 80px;
  margin-right: 10px;
}

.audio-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
  align-items: stretch;
}

.song-controls{
  width: 100%;
  margin-top: 20px;
}

/*Oui Cat*/

.oui-cat-modal{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  opacity: 0;
  visibility: hidden;

  display: flex;
  flex-direction: column;

  width: 90%;
  max-width: 400px;
  background-color: var(--black);
  padding: 25px;
  border-radius: 15px;
}

.oui-cat-modal.active{
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  transition: transform 400ms ease-in-out, opacity 400ms ease-in-out;
}

.oui-cat-modal h2{
  color: red;
  font-size: 34px;
}

.oui-cat-modal p {
  font-size: 20px;
}

.oui-cat-modal div{
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.oui-cat-modal div p{
  padding: 8px 12px;
  background-color: red;
  font-size: 14px;
  cursor: pointer;

  media(max-width: 980px){
    width: 100%;
  }
}

.oui-cat img{
  border-radius: 50%;
  width: 100%;
}


.oui-cat{
  position: relative;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  margin-top: 15px;
  background-color: #fff;
  color: #252525;
  border-radius: 50px;
  padding: 5px;
  width: 100%;
  box-sizing: border-box;

  font-size: 2rem;

  transition: border 0.4s ease-in-out;
  border: 2px solid #F0F3F4;

  user-select: none;
  cursor: pointer;

  width: 100%;
}

.oui-cat img{
  width: 80px;
  margin-right: 10px;
}

/* Green Pulsating Glow Effect */
.oui-cat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  box-shadow: 0 0 10px #60FF1A, 0 0 20px #60FF1A, 0 0 30px #60FF1A;
  opacity: 0.5;
  animation: pulseGlow 2s ease-in-out infinite;
  pointer-events: none;
}

/* Keyframe for Pulsing Effect */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.5;
    box-shadow: 0 0 10px #60FF1A, 0 0 20px #60FF1A, 0 0 30px #60FF1A;
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 15px #60FF1A, 0 0 25px #60FF1A, 0 0 35px #60FF1A;
  }
}
