body{
    font-family: 'Poppins', sans-serif;
    width: 1440px;
    margin: 0;
    background-color: hsl(0, 0%, 94%);
}

main{
    width: 40%;
    background-color: hsl(0, 0%, 100%);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 5% 2%;
    border-radius: 30px 30px 150px 30px;
    padding: 3%;
    margin-left: 30%;
    margin-top: 5%;
}

form{
    display: flex;
    flex-direction: row;
    position: relative;
}

form:before{
    position: absolute;
    content: "";
    width: 110%;
    height: 1px;
    background-color: hsl(0, 1%, 44%);
    z-index: 1;
    bottom: -40%;
}

form div{
    margin-right: 5%;
}

form label{
    color: hsl(0, 1%, 44%);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
}

form input{
    font-size: 30px;
    width: 125px;
    color: hsl(0, 0%, 8%);
    border: solid 2px hsl(0, 0%, 86%);
    border-radius: 5px;
    padding: 1% 5%;
    font-weight: bold;
}

form input:focus{
    outline-color: hsl(259, 100%, 65%);
}

main button{
    width: 75px;
    height: 75px;
    border: none;
    background-color: hsl(259, 100%, 65%);
    border-radius: 50px;
    z-index: 2;
    grid-row: span 2;
    margin-top: 70%;
}

main button:hover{
    background-color: hsl(0, 0%, 8%);
    cursor: pointer;
}

form button img{
    width: 70%;
    margin: 15%;
}

section h2{
    color: hsl(0, 0%, 8%);
    font-size: 70px;
    font-weight: 900;
    font-style: italic;
    margin: 0;
    padding: 0;
}

section span{
    color: hsl(259, 100%, 65%);
}

@media (max-width: 375px){
    body{
        width: 375px;
    }

    main{
        display: flex;
        flex-direction: column;
        width: 95%;
        padding: 10% 5%;
    }

    form label{
        font-size: 15px;
        letter-spacing: 3px;
    }

    form input{
        font-size: 20px;
        border-width: 1px;
        width: 100%;
    }

    form:before{
        bottom: -140%;
        width: 100%;
    }

    main button{
        align-self: center;
        margin: 10%;
    }

    section h2{
        font-size: 50px;
    }
}