@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body{
    background-color: #1162F1;
}



main{
    width: 375px;
    background: #f4f4f4;
    border-radius: 20px;
    margin: 100px auto;
    display: block;
    padding: 44px 24px 23px;
}

label{
    color: #777777;
    font-weight: 400;
    font-size: 14px;
}

select, input{
    background: #ffffff;
    border: 1px solid #bbbbbb;
    border-radius: 4px;
    height: 48px;
    width: 100%;
    margin-bottom: 24px;
    appearance: none;
    padding-left: 16px;
    font-weight: 700;
    font-size: 16px;
    color: #555555;
}

button{
    width: 100%;
    height: 47px;
    border-radius: 4px;
    background: #1162F1;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0px 4px 8px rgba(17, 98, 241, 0.4);
}

button:hover{
    opacity: 0.9;
}
button:active{
    opacity: 0.6;
}


section{
    border: 1px solid #1162F1;
    border-radius: 20px;
    margin-top: 36px;
    padding: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrow-img{
    margin: 15px 0;
    width: 35px;
    height: 49px;
    
}

.currency-box{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.currency{
    font-size: 14px;
    color: #777777;
}
.currency-value-to-convert, .currency-value-converted{
    font-weight: 700;
    font-size: 20px;
    color: #555555;
}

.currency-country{
    width: 80px;
    height: 60px;
    object-fit: contain;
}