body, html {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;    
  background-color:#8e8a8ad2;
  background-image: linear-gradient(to right top, #d3d3d3, #e0e0e0, #ededed, #f5f5f5, #fafafa);
  font-family: sans-serif;
}

.squares li {
  position: absolute;
  display: block;
  list-style: none;
  background: rgb(21 121 245 / 24%);
  animation: animate 30s linear infinite;
  bottom: -165px;
  width: 25px;
  height: 25px;
}

.squares li:nth-child(1) {
  left: 26%;
  width: 90px;
  height: 90px;
  animation-delay: 0s;
}

.squares li:nth-child(2) {
  left: 8%;
  width: 5px;
  height: 5px;
  animation-delay: 5s;
  animation-duration: 5s;
}

.squares li:nth-child(3) {
  left: 10%;
  width: 15px;
  height: 15px;
  animation-delay: 10s;
}

.squares li:nth-child(4) {
  left: 20%;
  width: 20px;
  height: 20px;
  animation-delay: 6s;
  animation-duration: 40s;
}

.squares li:nth-child(5) {
  left: 35%;
  width: 80px;
  height: 80px;
  animation-delay: 2s;
}

.squares li:nth-child(6) {
  left: 40%;
  width: 40px;
  height: 40px;
  animation-delay: 10s;
}

.squares li:nth-child(7) {
  left: 55%;
  width: 200px;
  height: 200px;
}

.squares li:nth-child(8) {
  left: 65%;
  width: 15px;
  height: 15px;
  animation-duration: 35s;
}

.squares li:nth-child(9) {
  left: 70%;
  width: 25px;
  height: 25px;
  animation-delay: 20s;
  animation-duration: 20s;
}

.squares li:nth-child(10) {
  left: 85%;
  width: 100px;
  height: 100px;
  animation-delay: 1s;
  animation-duration: 15s;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 30%;
  }
  100% {
    transform: translateY(-1000px) rotate(600deg);
    opacity: 0;
    border-radius: 50%;
  }
}

#middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

#middle h1 {
  color: #000000;
  font-size: 3.80em;
  font-family: sans-serif;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.3);
  line-height: 1;
  text-align: left;
}

#countdown-container {
  display: inline-flex;
  box-sizing: border-box;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #fff;
  line-height: 1;
  margin-top: 1.10em;
  margin-bottom: 1.10em;
  width: 100%;
}

.countdown-box {
  padding-right: 0.50em;
  padding-left: 0.50em;
  color: #000000;
  border-radius: 2px;
  text-align: center;  
  margin: 0 auto;
}

.countdown-box p {
  font-size: 2em;
  text-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.3);
}

#middle h3 {
  color: #000000;
  font-size: 1.20em;
  display: inline-block;
  margin-right: 0.9em;
  margin-top: 60px;
}

#middle i {
  margin-left: 0.9em;
}

#middle a {
  color: #000000;
  text-decoration: none;
}

#middle a:hover {
  color: #000000;
  text-shadow: 0px 2.2px 2.2px rgba(0, 0, 0, 0.4);
}

#twitter:hover {
  color: #00acee;
}

#medium:hover {
  color: #000000;
}

#dribbble:hover {
  color: #ea4c89;
}

#codepen:hover {
  color: #000000;
}

#middle img {
  padding: 0.5em;
  margin-bottom: 100px;
}

/* Mobile Screen Adjustments (for devices with max-width 768px) */
@media (max-width: 768px) {

    /* Reduce the size of the main heading for better readability on mobile */
    #middle h1 {
        font-size: 2em;
    }

    /* Adjust the countdown box sizes for mobile to prevent overlap */
    .countdown-box p {
        font-size: 1.5em;
    }

    /* Ensure the images are responsive on mobile */
    #middle img {
        width: 100%; /* Ensures the images scale properly on small screens */
        max-width: 300px; /* Limits image size to prevent overflow */
        height: auto; /* Maintains aspect ratio */
    }

    /* Reduce the size of floating squares for mobile screens */
    .squares li {
        width: 10px;
        height: 10px;
    }

    /* For large squares, reduce their size on mobile */
    .squares li:nth-child(1), 
    .squares li:nth-child(5), 
    .squares li:nth-child(7) {
        width: 50px;
        height: 50px;
    }

    .squares li:nth-child(10) {
        width: 80px;
        height: 80px;
    }
}

