body {
    background-color: #1a1919;
    /* background-image:linear-gradient(#ffffff1d, #ffffff00),url(api-img.jpg); */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    backdrop-filter: blur(2px);
}




/* joke generator start */

.app1-title {
    color: #00210d;
    text-decoration: underline;
    text-decoration-color: #e0ab0b;
    font-style: italic;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.main-joke {
    background-image: linear-gradient(160deg, olive, forestgreen);
    height: fit-content;
    max-width: 50%;
    text-align: center;
    padding-top: 5%;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0px 0px 15px 2px orange;
    padding-bottom: 5%;
    margin-top: 10%;
    margin-bottom: 15%;
}

#joke-icon {
    color: orange;
    font-size: 80px;
    padding-bottom: 3%;
}

#joke-quotes {
    color: orange;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    padding: 0 5%;
    font-size: 25px;
}

.main-joke #generate-btn {
    background-image: linear-gradient(9deg, orange, yellow);
    color: darkolivegreen;
    font-weight: bolder;
    margin-top: 5%;
    height: 1.5rem;
    cursor: pointer;
    border: none;
    border-radius: 20px;
    padding: 0 5%;
    transition: 1000ms;
}

#generate-btn:hover {
    box-shadow: 0px 0px 7px 0px orange;
    transition: 1000ms;
}

.iconX {
    opacity: 1;
    animation: rote 1000ms ease-in;
}

@keyframes rote {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* joke generator ends */

/* weather app > start */

.main-weather {
    background-image: linear-gradient(-40deg, forestgreen, #001405);
    max-width: 50%;
    padding-bottom: 5%;
    margin: auto;
    box-shadow: -5px -5px 2px 0px #009516;
    border-radius: 1em;
    margin-bottom: 10%;
}

.app2-title {
    text-align: center;
    padding-top: 8%;
    font-size: 1.5em;
    text-align: center;
    color: #eef2eb;
    text-decoration: underline lime dashed;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.input-block {
    display: flex;
    justify-content: center;
    padding-top: 10%;


}

#input {
    max-width: 60%;
    height: 1.5rem;
    border-radius: 2rem 0 0rem 2rem;
    padding-left: 3%;
    outline: none;
    background-color: transparent;
}

#input:focus {
    box-shadow: 1px 1px 5px 0px #34703c;
    background-color: transparent;
    color: #497546;
}

::placeholder {
    color: #497546;
}

#search-btn {
    border-radius: 0 2rem 2rem 0;
    background-image: linear-gradient(lime, green);
    color: white;
    padding-left: 10px;
    padding-right: 15px;
    cursor: pointer;
}

.locate-block {
    text-align: center;
    padding-top: 5%;
}

.locate {
    font-size: 1.5em;
    text-align: center;
    color: #eef2eb;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#country {
    color: #e4e6dfb8;
    font-size: 30px;
}

#wea-img {
    width: 5rem;
    text-align: center;
    margin-top: 5%;
    padding-bottom: 5%;
}

.temp-block {
    padding-bottom: 5%;
    text-align: center;
}

#icons {
    font-size: 70px;
    text-align: center;
    margin: auto;
}

.temp-box {
    display: flex;
    justify-content: center;
}

#temp {
    color: #d1d7d0;
}

.temp-icon {
    color: #b1c5c6;
}

#decribe {
    color: #b5c594;
    text-align: center;
}

/* weather app > end */

/* currency exchange start */

.exch-block {
    text-align: center;
    margin: auto;
    /* margin-top: 10%; */
    background-image: linear-gradient(200deg, #093613, #16a506);
    box-shadow: 5px -7px 3px 0px #a3d7a3;
    max-width: 50%;
    /* height: 35vh; */
    padding-top: 2%;
    padding-bottom: 3%;
    color: white;
    margin-bottom: 10%;
    border-radius: 20px;
}

.app3-title {
    text-align: center;
    margin-bottom: 10%;
    font-size: 1.5em;
    text-align: center;
    color: #eef2eb;
    text-decoration: underline #a5e1ae double;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

#amount1 {
    height: 5vh;
    width: 55%;
    margin-bottom: 3%;
    outline: none;
    border: none;
    background-color: #74b17880;
    box-shadow: 0px 0px 5px 0px #ffffffd0;
    color: white;
}

.select-rate {
    margin-bottom: 3%;
}

.select-rate select {
    width: 25%;
    background-color: #003700bb;
    color: #dde5da;
    outline: none;

}

.fa-exchange {
    margin-left: 3%;
    margin-right: 3%;
    font-size: 18px;
    cursor: pointer;
}

#excBtn {
    width: 30%;
    height: 5vh;
    background-color: #024b08;
    border: 2px outset #b7e903;
    color: white;
    cursor: pointer;
}

#excBtn:hover {
    column-count: none;
    counter-increment: none;
    counter-reset: none;
}

#excBtn:focus {
    background-color: #86cc0e4f;
    border: 2px outset #61802b;
}

.notice {
    margin-bottom: 2%;
    height: 1rem;
    color: #fe3232;
    font-size: 25px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#rate-result {
    background-color: #b3c9b55e;
    width: 60%;
    width: max-content;
    padding: 0 5%;
    margin: auto;
    /* margin-top: 3%; */
    height: 1.4rem;
    font-size: 28px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: lighter;

}

/* currency exchange rate > end */

@media(max-width:840px) {

    .main-weather,
    .main-joke,
    .exch-block {
        max-width: 60%;
    }

    .app1-title,
    .app2-title {
        font-size: 28px;
    }

    .main-joke #btn {
        font-size: 18px;
    }

    #amount1 {
        height: 4vh;
    }

    #rate-result {
        padding: 0 5%;
        height: 1.1rem;
        font-size: 25px;
    }

}

@media(max-width:600px) {


    .main-weather,
    .main-joke,
    .exch-block {
        max-width: 79%;
    }

    .app1-title,
    .app2-title,
    .app3-title {
        font-size: 20px;
    }

    #joke-quotes {
        padding: 0 3%;
        font-size: 15px;
    }


    #input {
        height: 1.5rem;
    }

    .exch-block {
        box-shadow: 2px -3px 2px 0px #a3d7a3;
    }

    #excBtn {
        width: 50%;
        height: 5vh;
        background-color: #024b08;
        border: 2px outset #b7e903;
        color: white;
        cursor: pointer;
    }

    #amount1 {
        height: 3vh;
    }

    #rate-result {
        padding: 0 5%;
        height: 3vh;
        font-size: 20px;
    }

}