@import url('https://fonts.googleapis.com/css2?family=DM+Sans&display=swap');

*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    background: #FFF;
    font-family: "DM Sans" !important;
    background: #1b1b1b;
    color: #FFF;
    height: 100vh !important;
    overflow-y: hidden !important;
    position: relative;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
}
/* HEADER */
.header{
    /* margin-top: 1.5rem; */
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
}
a{
    color: #FFF;
    text-decoration: none;
}
.logo{
    max-width: 45px;
    height: auto;
}

.header__right{
    background: transparent;
    display: flex;
    align-items: center;
    padding: .5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #ccc;
    font-size: .93rem;
    opacity: .9;
}
/* END OF HEADER */

/* HEROSECTION */
.herosection{
    max-width: 7500px;
    margin: 0 auto;
    display: grid;
    text-align: center;
    margin-top: 7rem;
}

@media screen and (max-width: 1000px){
    body{
        /* padding: 0 1.5rem; */
        overflow-x: hidden !important;
        height: 100vh !important;
        overflow-y: hidden !important;
    }
    .header__right{
        padding: .5rem 1.2rem;
        font-size: .9rem !important;
    }
    .ball3{
        display: none;
    }
    .square3{
        display: none;
    }
    .square4{
        display: none;
    }
    .square{
        height: 12px !important;
        width: 12px !important;
    }
    .square5{
        display: none;
    }
    .header{
        padding: 1.5rem 1.5rem;
    }
    .herosection{
        display: flex;
        flex-direction: column;
        padding: 0 1.5rem;
    }
    .herosection__text h1{
        font-size: 2.3rem !important;
    }
    .herosection__text p{
        opacity: .8;
        font-size: .92rem;
        max-width: 85% !important;
        border-bottom: none !important;
    }

    form{
        max-width: 100% !important;
        padding-top: 1.5rem !important;
    }
    .footer{
        padding-top: 9rem !important;
        padding-bottom: 1rem !important;
    }
}

.herosection__text h1{
    font-weight: 900;
    font-family: "DM Sans";
    font-size: 3.3rem;
    padding-bottom: .7rem;
}
.herosection__text p{
    padding-bottom: .5rem;
    line-height: 1.8;
    opacity: .9;
    max-width: 50%;
    margin: 0 auto;
    border-bottom: 1px solid #ccc;
}
form{
    display: flex;
    flex-direction: column;
    max-width: 50%;
    font-family: "DM Sans" !important;
    margin: 0 auto;
    padding-top: 3rem;
}
input{
    height: 3.5rem;
    margin-bottom: 1.2rem;
    padding: .5rem 1rem;
    background: rgba(255, 255, 255, 0.4);
    border: none !important;
    box-shadow: none !important;
    color: #FFF;
    font-family: "DM Sans" !important;
    outline: none !important;
    
}
.input:focus{
    border: none !important;
    outline: none !important;
    background: red !important;
}
input::placeholder{
    color: #FFF;
    font-family: "DM Sans" !important;
}
.button{
    height: 3.5rem;
    cursor: pointer !important;
    /* background: rgba(254, 0, 0, 0.8); */
    /* background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223)); */
    background-color: #1769FD;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-family: "DM Sans" !important;
}

/* HEROSECTION ENDS HERE */

/* FOOTER */
.footer{
    padding-top: 7rem;
    padding-bottom: 3rem;
}
.footer__content{
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
}

.footer__content h4{
    line-height: 1.8;
}

.footer__content .socials{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 1rem 0;
}

.footer__content .socials a{
    color: #FFF;
}

.footer__content p{
    font-size: .9rem;
    opacity: .85;
}

/* Animation */
  @keyframes move-ball {
    0%    { opacity: 0; }
    20%   { opacity: 1; }
    80%   { opacity: 0; }
    100%  { opacity: 1; }
   from{
       transform: translateY(6rem);
   } 
   to{
    transform: translateY(-10rem);
   }
  }

  @keyframes move-ball-2 {
    from{
        transform: translateY(-5rem);
    } 
    to{
     transform: translateY(5rem);
    }
   }
  

  /* Animated Balls */
  .animated__balls{
      position: absolute;
      height: 100vh;
      width: 100%;
      z-index: -10;
  }

  .ball{
    width: 50px;
    height: 50px;
    position: absolute;
    border-radius: 50px;
  }

  .square{
    width: 15px;
    height: 15px;
    position: absolute;
    border-radius: 50px;
    background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223));
  }


  .ball1{
    /* background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223)); */
    background-color: #1e1e1e;
    right: 0;
    border-radius: 0;
    height: 100px;
    width: 100px;
    border-bottom-left-radius: 100px;
    top: 0;
    animation: name-of-animation 5s infinite;
    animation-direction: alternate-reverse;
  }

  .ball2{
    /* background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223)); */
    background-color: #1e1e1e;
    left: 0;
    border-radius: 0;
    height: 100px;
    width: 100px;
    border-top-right-radius: 100px;
    bottom: 0;
    display: none;
    /* animation: name-of-animation 5s infinite;
    animation-delay: 2s;
    animation-direction: alternate-reverse; */
}

.ball3{
    /* background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223)); */
    background-color: #1e1e1e;
    left: 0;
    border-radius: 0;
    height: 100px;
    width: 100px;
    border-bottom-right-radius: 100px;
    top: 0;
    animation: name-of-animation 5s infinite;
    animation-delay: 2s;
    animation-direction: alternate-reverse;
}

.ball4{
    /* background: linear-gradient( to right, rgba(217,66,107), rgba(163,31,223)); */
    background-color: #1e1e1e;
    right: 0;
    border-radius: 0;
    height: 100px;
    width: 100px;
    border-top-left-radius: 100px;
    bottom: 0;
    /* animation: name-of-animation 5s infinite;
    animation-delay: 6s;
    animation-direction: alternate-reverse; */
  }

  .square1{
    animation: move-ball-2 2s infinite;
    left: 2rem;
  }

  .square2{
    right: 2rem;
    animation: move-ball-2 2s infinite;
  }

  .square3{
    right: 20rem;
    top: 30rem;
    animation: move-ball 2s infinite;
    animation-direction: alternate-reverse;
}

.square4{
    left: 20rem;
    top: 30rem;
    animation: move-ball 2s infinite;
    animation-direction: alternate-reverse;
    animation-delay: 3s;
}

.square5{
    left: 43rem;
    top: 35rem;
    animation: move-ball 2s infinite;
    animation-direction: alternate-reverse;
    animation-delay: 6s;
}

.square6{
    left: 2rem;
    bottom: 0;
    animation: move-ball 2s infinite;
    /* animation-delay: 6s; */
}

.square7{
    right: 2rem;
    bottom: 0;
    animation: move-ball 2s infinite;
    animation-delay: 3s;
}
