* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}

body {
  background: url(images/IMG_5877.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  -webkit-user-select: none !important; /* For Safari and Chrome */
  -moz-user-select: none !important; /* For Firefox */
  -ms-user-select: none !important; /* For Internet Explorer and Edge */
  user-select: none !important; /* Standard syntax */
}

/* header */
header {
  display: flex;

  background-color: rgba(255, 255, 255, 0.5);
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px;
  height: auto;
  flex-wrap: wrap;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  z-index: 999;
}
header p {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  height: auto;
}
header p a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
  font-family: "Pixelify Sans";   
}



header .logo {
  width: 80px;
  height: auto !important;
}
.social-media {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}
.social-media a {
  width: 100%;
  cursor: pointer;
}
.social-media img {
  width: 30px;
  height: 100%;
}
.social-media img:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}



/* main */
main {
  position: relative;
  height: fit-content;
}
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  justify-items: center;

  width: 100%;
  touch-action: pan-y;
}
.box {
  background-image: url(images/IMG_5873.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.box p {
  z-index: 1;
  color: green;
  font-size: 100px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Pixelify Sans";
}

.image img {
  width: 800px;
  height: auto;
  animation: fly-up 2.5s infinite ease-in-out;
}
.dollar-drop {
  position: absolute;
  width: 100px;
  height: 50px;
  animation: drop 1s linear forwards;
}

@keyframes drop {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(500px) rotate(360deg);
    opacity: 0;
  }
}

@keyframes fly-up {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(-40px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Small devices (mobile phones, max-width 767px) */
@media (max-width: 767px) {
  header {
    flex-direction: column;
    padding: 15px;
    margin-bottom: 5%;
    line-height: 200%;
  }

  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  header p {
    text-align: center;
    font-size: 12px;
    margin-bottom: 5%;
  }

  header p a {
    font-size: 12px;
  }

  .social-media {
    justify-content: center;
  }

  .social-media img {
    width: 20px;
    height: auto;
  }

  .box {
    width: 100%;
    height: 300px;
    align-items: center;
  }

  .box p {
    font-size: 50px;
    
    text-align: center;
    
    letter-spacing: 2px;
    width: 100%;
    padding: 10px 0;
  }

  .image {
    order: -1;
    margin-bottom: 20px;
  }

  #fly-up {
    width: 100%;
    max-width: 450px;
    height: auto;
  }

  body {
    overflow-y: auto;
    height: auto;
  }

  /* Remove the absolute positioned elements */
  .cader {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */

@media (min-width: 768px) and (max-width: 1024px) {
    header {
        flex-direction: column;
        padding: 15px;
        margin-bottom: 5%;
        line-height: 200%;
      }
    
      .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px;
      }
    
      header p {
        text-align: center;
        font-size: 12px;
        margin-bottom: 5%;
      }
    
      header p a {
        font-size: 12px;
      }
    
      .social-media {
        justify-content: center;
      }
    
      .social-media img {
        width: 20px;
        height: auto;
      }
    
      .box {
        width: 100%;
        height: 900px;
        align-items: center;
      }
    
      .box p {
        font-size: 100px;
        
        text-align: center;
        
        letter-spacing: 2px;
        width: 100%;
        padding: 10px 0;
      }
    
      .image {
        order: -1;
        margin-bottom: 20px;
      }
    
      #fly-up {
        width: 100%;
        max-width: 850px;
        height: auto;
      }
    
      body {
        overflow-y: auto;
        height: auto;
      }
    
      
}
@media (min-width: 1024px){
    #fly-up {
        width: 100%;
        max-width: 650px;
        height: auto;
      }
      .social-media {
        justify-content: center;
      }
    
      .social-media img {
        width: 20px;
        height: 20px;
      }
}