body {
    margin: 0;
    padding: 0;
    font-family: 'Mozilla Headline', sans-serif;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

header {
    background-color: brown;
    border-radius: 10px;
    text-align: center;
    min-width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    background-color: aquamarine;
}

.convert {
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 3rem;
}

#amount {
    border-radius: 10px;
}

#convert-button {
    transition: background-color 0.5s ease 0s;
}

#convert-button:hover {
    background-color: red;
    cursor: pointer;
}

.converted-value {
    text-align: center;
}

.loading {
    display: none;
    text-align: center;
}

.notification {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    min-width: 10%;
    min-height: 25px;
    background-color: red;
    border-radius: 20px;
    animation-duration: 1s;
    animation-name: slide-in;
}

.notification-out {
    animation-duration: 1s;
    animation-name: slide-out;
}

@keyframes slide-in {
    from {
        margin-right: 100%;
    }

    to {
        margin-left: 100%;
    }
}

@keyframes slide-out {
    from {
        margin-left: 100%;
    }

    to {
        margin-right: 100%;
    }
}