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

html, body {
    height: 100%;
}

body {
    background-color: #61ADC7;
    display: flex;
    justify-content: center;
    align-items: center;
}

main {
    width: 440px;
    max-height: 90vh;
    border-radius: 20px;
    background-color: #FFF;
    padding: 10px 20px;
    opacity: 0.9;
}

h1 {
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    text-align: center;
    margin: 10px auto;
    padding: 10px;
    background-color:#62A9C2;
    width: 75%;
}

label {
    color: #333333;
    font-weight: 400;
    font-size: 15px;
}

select,
input {
    border-radius: 4px;
    border: 1px solid #62A9C2;
    background: #FFF;
    height: auto;
    width: 100%;
    margin-bottom: 10px;
    padding: 5px 0;
    padding-left: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #555;
    cursor: pointer;
}

button {
    border: 1px solid #62A9C2;
    border-radius: 5px;
    background: #62A9C2;
    display: flex;
    margin: 0 auto;
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 700;
    padding: 5px;
    cursor: pointer;
}

button:hover {
    opacity: 0.8;
}

button:active {
    opacity: 0.6;
}

section {
    border-radius: 20px;
    border: 1px solid #62A9C2;
    width: auto;
    margin-top: 20px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.currency-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

@media screen and (max-width: 500px) {
    main {
        width: 100%;
        margin: 0 30px;
        padding: 10px;
        border-radius: 20px;
    }

    h1 {
        font-size: 12px;
        padding: 5px;
        width: 60%;
    }

    label {
        font-size: 10px;
    }

    select,
    input {
        font-size: 10px;
        padding: 5px;
    }

    button {
        font-size: 12px;
        display: flex;
        justify-content: center;
        padding: 5px;
    }

    section {
        padding: 10px;
        margin-top: 10px;
    }

    .currency-value,
    .currency-value-to-convert {
        font-size: 15px;
    }

    .convertCurrencySelectDe {
        font-size: 10px;
    }
}
