@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

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

div {
    display: block;
}

body {
    width: 100%;
    color: #26374c;
    background: #f5f7fa;
    font-family: 'Roboto', sans-serif;
}

header {
    background: none;
    padding-top: 50px;
    margin-bottom: 5px;
}

.img-placed img{
    width: 600px;
    /* width: 100%; */
}

.container {
    width: 600px;
    /* width: auto; */
    /* height: auto; */
    margin: auto;
    padding: auto;
    height: 600px;
    display: block;
    border-radius: 8px;
    background: #fff;
    /* background-color: #141e37; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

input[type=text] {
    width: 87%;
    margin: auto;
    display: block;
    font-size: 1rem;
    background: none;
    line-height: 1.5;
    padding: 12px;
    border-radius: 6px;
    color: #141e37;
    border: 1px solid rgb(221, 221, 221);
}

input[type=text]:focus {
    border-color: rgb(0, 113, 235);
}

#select-field {
    display: flex;
    justify-content: space-between;
}

#fromCurrencyName {
    margin-top: 0;
    font-size: 16px;
    color: #667c99;
    font-weight: 600;
    display: inline-block;
    margin: 15px 40px 7.5px;
}

#fromCurrency {
    width: 40%;
}

::placeholder {
    font-size: 1rem;
    color: rgb(20, 30, 55);
}

select {
    margin: auto;
    display: block;
    font-size: 1rem;
    padding: 12px;
    background: none;
    border-radius: 6px;
    color: rgb(20, 30, 55);
    border: 1px solid rgb(221, 221, 221);
}

select:focus {
    border-color: rgb(0, 113, 235);
}

.primary-btn {
    display: block;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    min-width: 0px;
    width: 87%;
    cursor: pointer;
    margin: auto;
    outline-offset: 4px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition-property: background-color, border-color;
    transition-duration: 0.3s;
    padding: 10px 20px;
    font-size: 20px;
    border-radius: 8px;
    color: rgb(255, 255, 255);
    background-color: #212eee;
    border: 2px solid #212eee;
}

.primary-btn:hover {
    background-color: rgb(0, 113, 235);
    border: 2px solid rgb(0, 113, 235);
}

#result {
    color: #141e37;
    margin-top: 15px;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}

@media only screen and (max-width:780px) {
    .container {
        width: 340px;
        height: 430px;
    }

    .img-placed img {
        width: 340px;
    }

    #fromCurrency {
        width: 38%;
    }

    select {
        width: 38%;
    }

    #fromCurrencyName {
        margin: 15px 22px 7.5px;
    }
}