@charset "UTF-8";

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

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: rgb(89, 42, 133);
    height: 100vh;
}

main{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: white;
    width: calc(150px + 25vw);
    height: 500px;
    border-radius: 20px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.400);
    overflow: hidden;
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s;
    transition-timing-function: ease-in;
}

main h1{
    text-align: center;
}

#div-img{
    height: 200px;
    background: black url(../imagens/paisagem.jpg) no-repeat left center;
    background-size: cover;
}

#div-main{
    padding: 10px;
}

#div-main p{
    margin-top: 10px;
    font-size: .8em;
    font-weight: bold;
}

.inputs{
    display: block;
    height: 40px;
    background-color: rgb(82, 19, 141);
    padding: 2px;
    margin-top: 5px;
    border-radius: 10px;
    text-align: right;
}

.inputs i{
    display: inline-block;
    color: white;
    font-size: 2em;
    transform: translate(0, 3px);
}

.inputs input{
    display: inline-block;
    padding: 10px;
    width: calc(100% - 40px);
    background-color: rgb(185, 255, 185);
    border-radius: 10px;
    border: 0;
    transform: translate(0, -9.4px);
}

.inputs input:focus-within {
    background-color: white;
}

.btn{
    height: 40px;
    width: 100%;
    margin-top: 5px;
    border-radius: 5px;
    border: 0;
    color: rgb(60, 33, 85);
    font-size: 1em;
    font-weight: bold;
}

#i01{
    background-color: rgb(185, 255, 185);
    border: 2px solid rgb(60, 33, 85);
}

#i01:hover{
    background-color: rgb(84, 114, 84);
    color: white;
}

#i02{
    background-color: white;
    border: 2px solid rgb(185, 255, 185);
}

#i02:hover{
    background-color: rgb(182, 240, 182);
}