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

body {
    margin: auto;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: auto;
    background: linear-gradient(315deg, rgb(68, 0, 63) 3%, rgb(204, 0, 190) 38%, rgb(38, 87, 136) 68%, rgba(48, 238, 226, 1) 98%);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
    background-attachment: fixed;
}

@keyframes gradient {
    0% {
        background-position: 0% 0%;
    }

    50% {
        background-position: 100% 100%;
    }

    100% {
        background-position: 0% 0%;
    }
}

.wave {
    background: rgb(255 255 255 / 25%);
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 12em;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
}

.wave:nth-of-type(2) {
    bottom: -1.25em;
    animation: wave 18s linear reverse infinite;
    opacity: 0.8;
}

.wave:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave 20s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}

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

main {
    border-radius: 20px;
    width: 375px;
    background-color: rgba(197, 148, 245, 0.2);
    margin: 0 auto 40px;
    padding: 44px 24px 23px;
    box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, 0.15);
}

.main-title {
    margin: 5px 5px 15px;
    text-align: center;
}

label {
    color: #393939;
    font-size: 16px;
    font-weight: 400;
}

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

input {
    cursor: text;
}

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

button:hover {
    opacity: 0.8;
}

button:active {
    opacity: 0.6;
}

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

.arrow-img {
    margin: 15px 0;
    animation: bounce 1s linear infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

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

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