@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital@0;1&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Animation for buttons */
@keyframes rainbow {
    0% {
        background-color: #FF1744;
    }
    14% {
        background-color: #D500F9;
    }
    28% {
        background-color: #3D5AFE;
    }
    42% {
        background-color: #2979FF;
    }
    56% {
        background-color: #00E676;
    }
    70% {
        background-color: #FFEA00;
    }
    85% {
        background-color: #FF9100;
    }
    100% {
        background-color: #FF1744;
    }
}

body {
    background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);
    /* background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%); */ /*Grey Background*/
    /* background-image: linear-gradient(240deg , #C43B8E , #0086CE ); */ /*Dark Purple Background*/
    min-height: 100vh;
    color: black;
    touch-action: manipulation;
    font-family: 'Roboto Condensed', sans-serif;
}

.heading {
    text-align: center;
    font-size: 2.8rem;
}

.container , h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 15vh;
}

label , input {
    margin: 0.8rem 0rem;
}
input {
    outline: none;
    width: 15rem;
    height: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    padding: 0rem 0.8rem;
}
input:hover {
    border: 3px solid blue;
}
input:focus {
    border: 3px solid black;
}

button {
    width: 7rem;
    height: 2.5rem;
    border-radius: 2rem;
    text-decoration: none;
    border: none;
    margin: 1rem 0.8rem;
}

.btn-submit {
    animation-name: rainbow;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.btn-submit:hover {
    border: solid 0.175rem white;
    transition-duration: 0.3s;
    box-shadow: 0.15rem 0.15rem white;
}

.btn-reset {
    animation-name: rainbow;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.btn-reset:hover {
    border: solid 0.175rem white;
    transition-duration: 0.3s;
    box-shadow: 0.15rem 0.15rem white;
}

.warn1 , .warn2 , .warn3 , .warn4 , .warn5 {
    color: red;
    padding-bottom: 0.5rem;
}

i {
    margin-right: 0.4rem;
}


/* For Desktop screens */
@media only screen and (min-width: 1500px) {
    .heading {
        font-size: 4.8rem;
    }
    label , input {
        margin: 1.0rem 0rem;
    }
    input {
        width: 20rem;
        height: 1.9rem;
        border-radius: 1.25rem;
    }
    button {
        width: 10rem;
        height: 2.8rem;
        border-radius: 2.3rem;
    }
    .warn1 , .warn2 , .warn3 , .warn4 , .warn5 {
        margin-bottom: 1rem;
    }
    
    i {
        margin-right: 0.7rem;
    }
    
}