*{
    margin: 0;
    padding: 0;
    font-family:Arial, Helvetica, sans-serif;
}
body{
    background-image:url("Nature.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* For mobile screens (below 768px width for example) */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 3.5rem;   
        padding-left: 12rem;   
        text-align: center; 
    }

    #outer, #output {
        width: 95%; 
    }
}

h1{
    padding-top: 0rem;
    text-align: center;
    text-transform: capitalize;
    font-weight: 900;
    font-style: italic;
    font-size: 3.5rem;
    color: rgb(27, 17, 17);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    letter-spacing: 2px;

    /* padding-left: 15rem; */
}

#divbody{
    height: 86vh;
    width: 99.9vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#outer{
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    height: 40%;
    width: 38.4rem;
    display:flex;
    flex-direction: row;
}
.inner{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.options{
    width: 11rem;
    height: 2rem;
    text-align:start;
    padding-left: 0.2rem;
}
.options:focus{
    background-color: rgb(245, 238, 238);
    outline : 3px solid blue;
}
button{
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 1s ease-in-out;
}
.inner .fa-exchange {
  font-size: 2.8rem; 
  /* flex-grow: 0; */
} 
.buttonclass{
    transform: rotateZ(360deg);
}
#output{
    height: auto;
    min-height: 3rem;
    width: 38.4rem;
    text-align: center;
    color: #1a1a1a;
    font-size: 1.6rem;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    /* background-color: rgb(230, 230, 134); */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
    /* transform is used when we want to animate only translation or rotation */
    /* all is used when we want all properties like color,background color to animate */
}
#output:hover {
    color: #e63946; /* softer red */
    box-shadow: 0 6px 20px rgba(0,0,0,0.3); /* deeper shadow */
}
.amount{
    width: 12rem;
    height: 2rem;
    border-radius: 10%;
    border: 0.1px solid black;
}
.amount:focus{
    border:none;
    outline : 3px solid blue
}
footer{
    text-align: end;
    color: white;
    font-style: italic;
    font-weight: lighter;

}
