@import url('https://fonts.cdnfonts.com/css/poppins');
    
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    font-family: "Poppins", sans-serif;
}
html {
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
body {
    background: #263238;
    font-family: "Poppins", sans-serif;
}
.container {
    margin: auto auto;
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}





.cool-button {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    border: none;
    outline: none;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  }
  
  .cool-button::before, .cool-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    transition: 0.5s;
    mix-blend-mode: overlay;
  }
  
  .cool-button:hover::before, .cool-button:hover::after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .cool-button::after {
    opacity: 0;
    transition: opacity 0.5s;
  }
  
  .cool-button:hover::after {
    opacity: 1;
    animation: shimmer 2s infinite;
  }




  @keyframes shimmer {
    0% {
      background-position: -200% -200%;
    }
    100% {
      background-position: 200% 200%;
    }
  }
  
  /* Glowing effect */
  .cool-button:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 255, 255, 0.3);
    animation: glow 1.5s infinite alternate;
  }
  
  @keyframes glow {
    0% {
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(255, 255, 255, 0.5), 0 0 35px rgba(255, 255, 255, 0.3);
    }
    100% {
      box-shadow: 0 0 30px rgba(255, 255, 255, 1), 0 0 50px rgba(255, 255, 255, 0.7), 0 0 70px rgba(255, 255, 255, 0.5);
    }
  }
  
  /* Button 1 */
  .btn-1 {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    animation: gradient 3s infinite alternate;
  }
  
  .btn-1::before {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    clip-path: polygon(0 0, 100% 0, 50% 50%);
  }
  
  .btn-1::after {
    background: linear-gradient(135deg, #feb47b 0%, #ff7e5f 100%);
    clip-path: polygon(50% 50%, 100% 100%, 0 100%);
  }
  
  /* Button 2 */
  .btn-2 {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    animation: gradient 3s infinite alternate;
  }
  
  .btn-2::before {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    clip-path: polygon(0 0, 100% 0, 50% 50%);
  }
  
  .btn-2::after {
    background: linear-gradient(135deg, #2575fc 0%, #6a11cb 100%);
    clip-path: polygon(50% 50%, 100% 100%, 0 100%);
  }
  
  /* Button 3 */
  .btn-3 {
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    animation: gradient 3s infinite alternate;
  }
  
  .btn-3::before {
    background: linear-gradient(135deg, #ff512f 0%, #dd2476 100%);
    clip-path: polygon(0 0, 100% 0, 50% 50%);
  }
  
  .btn-3::after {
    background: linear-gradient(135deg, #dd2476 0%, #ff512f 100%);
    clip-path: polygon(50% 50%, 100% 100%, 0 100%);
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    100% {
      background-position: 100% 50%;
    }
  }
  







.tittle, .subtitle {
    margin-bottom: 20px;
    color: #44b9ff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.square-container {
    list-style-type: none;
    display: flex;
    position: relative;
}
.square {
    margin: 4px;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    animation: rotating 2.5s ease infinite;
}
.square1 {
    background: #736efe;
    animation-delay: 0.1s;
}
.square2 {
    background: #5999ff;
    animation-delay: 0.2s;
}
.square3 {
    background: #44b9ff;
    animation-delay: 0.4s;
}
.square4 {
    background: #31d8ff;
    animation-delay: 0.6s;
}
.square5 {
    background: #18ffff;
    animation-delay: 0.8s;
}
@keyframes rotating {
    0% {
        transform: rotate(0) scale(1);
   }
    50% {
        transform: rotate(90deg) scale(0.6);
   }
    100% {
        transform: rotate(90deg) scale(1);
   }
}
footer {
    margin: auto auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    color: #31d8ff;
}
footer a {
    color: #736efe;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    .tittle {
        font-size: 16px;
        text-align: center;
    }
    .subtitle {
        font-size: 13px;
        text-align: center;
    }
    .square {
        width: 20px;
        height: 20px;
        border-radius: 5px;
    }
}