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

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

}

body {
    background-color: rgb(93, 38, 161);
}

.logo {
    width: 300px;
    display: block;
    margin: 20px auto;
    border-radius: 50px 50px;
}

main {
    width: 375px;
    background: #f4f4f4;
    border-radius: 20px;
    margin: 0 auto 40px;
    padding: 44px 24px 23px;
    border-radius: 50px 50px;
}

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

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

button {
    background: #772fd3;
    border-radius: 15px;
    width: 100%;
    border: none;
    height: 48px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

button:active {
    opacity: 0.6;
}

section {
    border: 1px solid #772fd3;
    border-radius: 20px;
    margin-top: 36px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.seta {
    margin: 15px 0;
}

.currency-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px;
}

.moeda {
    color: #777777;
    font-size: 14px;
}

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

@media screen and (max-width:767px) {

    .logo {
        width: 250px;
        display: block;
        margin: 20px auto;
        border-radius: 50px 50px;
    }

    main {
        width: 360px;
        background: #f4f4f4;
        border-radius: 20px;
        margin: 0 auto 40px;
        padding: 44px 24px 23px;
        border-radius: 50px 50px;
    }

    section {
        border: 1px solid #772fd3;
        border-radius: 20px;
        margin-top: 36px;
        padding: 12px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    .seta {
        margin: 15px 0;
        /* padding: 25px; */
        transform: rotate(-90deg);
    }

    .currency-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin: auto;
    }

    select,
    input {
        background: #ffffff;
        border: 1px solid #bbbbbb;
        border-radius: 13px;
        height: 55px;
        width: 100%;
        margin-bottom: 20px;
        appearance: none;
        padding: 8px;
        font-weight: 700;
        font-size: 16px;
        color: #555555;
        cursor: pointer;
    }

    button {
        background: #772fd3;
        border-radius: 13px;
        width: 100%;
        border: none;
        height: 48px;
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
        cursor: pointer;
    }

    button:hover {
        opacity: 0.8;
    }

    button:active {
        opacity: 0.6;
    }

}