html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}

.hero{
    width: 100%;
    height: 100vh;
    display: flex;
    background: #ffeded;
    justify-content: center;
    align-items: center;
}

.main{
    display: flex;
    background: #1e130c;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #9a8478, #1e130c);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #9a8478, #1e130c); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    height: 30rem;
    width: 28rem;
    color: black;
    font-weight: 500;
    border-radius: 1rem;
    text-align: center;
    flex-direction: column;
}

.main h1{
    color: #ffff;
    font-weight: 600;
}

.main h1 span{
    color: rgb(229, 87, 87);
    font-weight: 600;
}


.main textarea{
    height: 200px;
    width: 400px;
    display: flex;
    align-self: center;
    border: none;
    outline: none;
    background-color: #d1d1d1;;
    font-size: 15px;
    font-weight: 500;
    color: black;
}

.converter{
    margin-top: 1rem;
}



.converter button{
    padding: 10px;
    background: green;
    border-radius: 5px;
    color: black;
    font-size: medium;
    font-weight: bolder;
    border: none;
}

select{
    flex: 1;
    color: black;
    background-color: rgb(167, 160, 160);
    height: 30px;
    width: 300px;
    padding: 0 20px;
    outline: 0;
    border: 0;
    font-size: 15px;
    border-radius: 35px;
    appearance: none;

}


@media screen and (max-width: 480px) {
    .main{
        display: flex;
        height: 500px;
        width: 300px;
        border-radius: 1rem;
        text-align: center;
        flex-direction: column;
    }

    .main textarea{
        height: 150px;
        width: 200px;
    }

    .converter button{
        margin: 5px;
        padding: 10px;
    }

    select{
        flex: 1;
        height: 30px;
        width: 250px;
        padding: 0 20px;
        outline: 0;
        border: 0;
        font-size: 15px;
        border-radius: 35px;
        appearance: none;
    
    }
}