*{
    margin: 0 0;
    padding: 0 0;
}

#main{
    width: 100%;
    height: 100vh;
    background: rgb(2,0,36);
    background: linear-gradient(135deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 0%, rgba(0,212,255,1) 100%);
}

h2{
    font-family: 'Exo', sans-serif;
    color: #fff;
    margin-left: 5%;
    padding-top: 18px;
    font-size: 35px;
}

#text{
    background-color: #8EC5FC;
    background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    width:90%;
    height: 85vh;
    margin-top: 2.5vh;
    margin-left: 5%;
    
}

#text h1{
    font-family: 'Mochiy Pop P One', sans-serif;
    font-size: 42px;
    text-align: center;
    padding-top: 13%;
}

p{
    margin-top: 5%;
    width: 40%;
    margin-left: 30%;
    font-size: 20px;
}

#text a{
    display: block;
    text-decoration: none;
    text-align: center;
    width: 150px;
    background-color: #8EC5FC;
    height: 35px;
    padding-top: 15px;
    color: #fff;
}
    
.btn-grad {background-image: linear-gradient(to right, #56CCF2 0%, #2F80ED  51%, #56CCF2  100%)}
    
.btn-grad {
    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;            
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
    margin-left: 43%;
    margin-top: 30px;
    font-size: 18px;
}

.btn-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}
    

@media (min-width:700px) and (max-width:950px) {
    #text h1{
        font-size: 35px;
    }

    p{
        width: 60%;
        margin-left: 20%;
    }
}

@media (min-width:520px) and (max-width:700px) {
    #text h1{
        font-size: 30px;
    }

    p{
        width: 70%;
        margin-left: 15%;
    }

    #text a{
        margin-left: 37%;
    }
}

@media (min-width:710px) and (max-width:870px) {
    #text a{
        margin-left: 36%;
    }
}

@media (min-width:300px) and (max-width:520px) {
    h2{
        font-size: 22px;
    }
    #text h1{
        font-size: 25px;
    }

    p{
        width: 80%;
        margin-left: 10%;
    }

    #text a{
        margin-left: 33%;
        font-size: 16px;
        height: 20px;
        width: 130px;
        padding: 5px 5px;
    }
}

@media (min-width:230px) and (max-width:400px) {

    h2{
        font-size: 20px;
    }

    #text h1{
        font-size: 22px;
    }

    p{
        width: 80%;
        margin-left: 10%;
        font-size: 17px;
    }

    #text a{
        margin-left: 25%;
        font-size: 16px;
        height: 20px;
        width: 130px;
        padding: 5px 5px;
    }
}