#conversions {
    background: url('./bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.conversion-box {
    position: relative;
    padding: 25px;
    border-radius: 7px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 40%;
    min-height: fit-content;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#select-box1 {
    width: 100%;
    outline: none;
    border: none;
    font-size: xxx-large;
    font-family: 'Nuosu SIL', serif;
    letter-spacing: 2px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
}

#select-box1 option {
    font-size: large;
}



form :where(input, select, button) {
    width: 100%;
    outline: none;
    border: none;
    border-radius: 5px;
}

form {
    margin-bottom: 0;
}

form input {
    height: 40px;
    border: 2px solid black;
    padding: 0 15px;
    font-size: 20px;
    margin-bottom: 18px;
    text-align: center;
}

form input:focus {
    border: 3px solid blue;
    background-color: black;
    color: white;
}

.from select,
.to select {
    border: 2px solid black;
    width: 100%;
    font-size: medium;
    background-color: rgb(40, 40, 40);
    color: white;
    font-weight: bold;
    text-align: center;
    margin-top: 3px;
    padding: 10px 20px;
}

.from p,
.to p {
    font-size: x-large;
    padding: 4px;
    font-weight: 600;
}

.answer {
    font-size: xx-large;
    font-weight: 800;
    margin-top: 25px;
}

.button {
    background-color: cornflowerblue;
    font-size: x-large;
    padding: 5px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    margin-top: 25px;
    position: relative;
}



.amount p {
    font-size: 25px;
    padding: 5px;
}

.drop-down {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.fa-exchange {
    width: 25px;
    font-size: 25px;
    margin: 5px 0px;
}

@media only screen and (max-width : 1200px) {
    #select-box1 {
        font-size: xx-large;
    }

    .button {
        background-color: rgb(18, 239, 44);
        font-size: large;
        padding: 15px 5px;
        color: white;
    }

    .answer {
        font-size: x-large;
    }

    .from p,
    .to p {
        font-size: large;
        padding: 3px;
    }


    .from select,
    .to select {
        border: 2px solid black;
        width: 100%;
        font-size: medium;
        background-color: rgb(40, 40, 40);
        color: white;
        font-weight: bold;
        text-align: center;
        margin-top: 3px;
        padding: 4px 1px;
    }
}

@media only screen and ( max-width : 900px)
{
    #conversions{
        width: 120vw;
    }
    .button {
        font-size: large ;
        color: white;
    }

    .answer {
        font-size: x-large;
    }
}

@media only screen and ( max-width : 700px)
{
    .from select,
    .to select {
        font-size: large;
        padding: 5px 1px;
    }
    
    .from p,
    .to p {
        font-size: x-large;
        padding: 3px;
    }
    .button {
        font-size: x-large ;
        color: white;
    }

    .answer {
        font-size: xx-large;
    }

    .conversion-box{
        width: 70%;
    }
    #select-box1 {
        font-size: xx-large;
    }
    .drop-down {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .fa-exchange{
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        margin: 15px 0 ;
    }

}

