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

body {
    background-color: #8a51fc;
}

main {
    max-width: 100%;
    width: 375px;
    border-radius: 20px;
    background: #F4F4F4;
    margin: 0 auto 40px;
    padding: 44px 24px 23px;
}

.img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    width: 300px;
}

label {
    color: #777;
    font-size: 14px;
    font-weight: 400;
    max-width: 100%;
    margin: 20px 0;
    
    
}

select, input-currency, input {
    width: 100%;
    height: 48px;
    font-weight: bold;
    color: #555;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #BBB;
    background: #FFF;
    padding: 0 18px;
    margin-bottom: 24px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

button {
    border-radius: 5px;
    background: #772FD3;
    width: 100%;
    height: 48px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

button:hover {
    background: #6a27b9;
}

button:active {
    background: #5c1f9e;
}

section {
    display: block;
    margin: 36px 0 10px 0;
    width: 100%;
    max-width: 100%;
    border-radius: 20px;
    border: 1px solid #772FD3;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.seta {
    margin: 15px 0;
}

.currency-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 4px;
}

.currency {
    color: #777;
    font-size: 14px;
    font-weight: 400;
}

.currency-value, .currency-value-to-convert {
    color: #555;
    font-size: 20px;
    font-weight: 700;
}

@media screen and (max-width: 375px) {
    main {
        width: 100%;
        padding: 20px;
    }
    
    .img {
        width: 310px;
        width: 100%;
        max-width: 300px;
    }
    
    select, input-currency, input {
        width: calc(100% - 36px);
        margin: 0 auto 24px auto;
    }
    
    button {
        width: calc(100% - 36px);
    }
    
    section {
        width: calc(100% - 36px);
    }
    
}