* {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background: #C590CF;
    display: flex;
    justify-content: center;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 100px;
}

.logo {
    width: 250px;
    height: 250px;
}

.container-right {
    background-color: #f3f3f3;
    border-radius: 20px;
    padding: 10px 24px;
    width: 290px;
    height: 520px;
    margin-top: 25px;
}

main {
    border: 1px solid #772FD3;
    border-radius: 20px;
    width: 240px;
    height: 178px;
    padding: 10px 10px;
    margin: 15px auto;
    background-color: #FFFFFF;
}

label {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
}

select,
input {
    border: 1px solid #BBBBBB;
    height: 40px;
    width: 100%;
    left: 24px;
    top: 164px;
    border-radius: 4px;
    background: #FFFFFF;
    cursor: pointer;
    margin-bottom: 24px;
    appearance: none;
    padding-left: 17px;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    color: #555555;
}

.convert-button {
    width: 100%;
    height: 42px;
    border-radius: 5px;
    background: #772FD3;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.convert-buttom:hover {
    opacity: 0.8;
}

convert-button:active {
    opacity: 0.6;
}

.box-select {
    display: flex;
    flex-direction: initial;
    align-items: center;
    gap: 4px;
}

.currency {
    font-size: 14px;
    font-weight: 400;
    color: #777777;
}

.currency-to-convert,
.currency-convert {
    font-size: 17px;
    color: #555555;
}

.arrow {
    width: 35px;
}

.cipher {
    width: 60px;
    margin-left: 80px;
}

@media screen and (max-width:900px) {
    body {

        flex-direction: column;
        justify-content: center;
        align-items: center;
    }


    .logo {
        width: 80px;
        height: 50px;
    }


    .box {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80px;
        right: 50px;
        margin: 0;
    }

    .container-right {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 460px;
    }

    main {
        margin-top: 15px;
        width: 250px;
        height: 190px;
        padding: 6px 20px;
    }

    .cipher {
        width: 50px;
    }

    .arrow {
        width: 30px;
    }

    select,
    input {
        height: 40px;
        width: 100%;
        left: 14px;
    }

    .currency-to-convert,
    .currency-convert {
        font-size: 15px;
    }

    .convert-button {
        width: 100%;
        height: 40px;
        font-size: 15px;
    }
}