:root{
    /* #16c49d
    #2e69c9
    #22acf8 */
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
    background-color: #515ffc;
}
h1{
    text-align: center;
    margin: 70px;
    font-size: 40px;
    color: #f5f5f5;
}
main{
    width: 500px;
    height: auto;
    background-color: #f5f5f5;
    border-radius: 20px;
    padding: 44px 24px 23px;
    margin: 0 auto;
}
label{
    color: #777;
    font-weight: 400;
    font-size: 14px;
}
select, input{
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 4px;
    height: 48px;
    width: 100%;
    margin-bottom: 24px;
    appearance: none;
    padding-left: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
}
button{
    background-color: #2f48d3;
    color: #fff;
    border: none;
    border-radius: 5px;
    height: 48px;
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}
button:hover{
    opacity: 0.9;
}
button:active{
    opacity: 0.7;
}

section{
    border: 1px solid #2f2fd3;
    border-radius: 20px;
    margin-top: 36px;
    padding: 12px;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.arrow{
    margin: 15px 0;
}
.currency-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.currency{
    color: #777;
    font-size: 14px;

}
.currency-value, .currency-value-to-convert{
    color: #555;
    font-weight: 700;
    font-size: 20px;
}
footer{
    background-color: #2f2fd3;
    width: 100%;
    height: 100px;
    text-align: center;
    margin-top: 50px;
}
footer h3{
    padding-top: 40px;
    color: #f5f5f5;
}

@media screen and (max-width: 520px){
    body{
        background-color: #f5f5f5;
    }
    main{
        width: 100%;
        border-radius: 0px;
    }
    h1{
        text-align: center;
        color: #515ffc;
        margin: 80px 0 20px;
    }
}