body, html{
    margin: 0;
    padding: 0;
    height: 100%;
    color: #fff;
    background: url(background.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Montserrat', sans-serif;
}

body::after, html::after{
    content: "";
    position: fixed;
    top: 0; bottom: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.02);
    pointer-events: none;
}

#home-button{
    float:right;
    background: transparent;
    width: 5.5em;
    height: 2.75em;
    font-size: calc(0.75em + 0.25vw);
    border: #fff solid 1px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
    margin-right: 1em;
    margin-top: 1.5em;
    
}

#display{
    text-align: center;
    padding: 16em 0 1em;
}

#display-heading{
    font-family: 'Montserrat', sans-serif;
    font-size: calc(1.5vw + 2em);
    font-weight: 400;
    padding: 0.5em 1em 0;
}

#parish{
    background: transparent;
    width: 15em;
    height: 2.25em;
    font-size: calc(1em + 0.25vw);
    padding-left: 0.5em;
    margin-bottom: 4em;
    border: #fff solid 1px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    border-radius: 50px;
}

#parish:focus{
    outline: none;
    box-shadow: none;
}

#parish *{
    font-family: 'Montserrat', sans-serif;
    color: #282828;
    font-size: 0.9em;
}

#enter-button{
    background: transparent;
    color: #fff;
    width: calc(6.5em + 0.25vw);
    height: calc(2.5em + 0.25vw);
    border-radius: 50px;
    border: #fff solid 1px;
    text-align: center;
}

#parish:hover, #home-button:hover, #enter-button:hover{
    background: rgba(255, 255, 255, 0.75);
    color: #282828;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid #f3f3f3; 
    border-top: 6px solid #444444; 
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    animation: spin 2s linear infinite;
  }
  
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.animate__animated.animate__fadeIn{
    --animate-duration: 5s;
  }
/* Weather Page */
#display-info{
    text-align: center;
    padding: 10em 0 1em;
}

#temp{
    font-family: 'Montserrat', sans-serif;
    font-size: calc(1.5vw + 2em);
    font-weight: 400;
}

#current-weather{
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
}

#current-weather h1{
    font-size: calc(6.25em + 0.25vw);
    font-weight: lighter;
    margin-top: 0em;
}

#current-weather p{
    font-size: 2.5em;
    margin-top: 0.5em;
}

#current-weather img{
    width: 8em;
    height: 8em;
    margin-top: calc(0.5em + 0.1vw);
}

#weather-description{
    font-size: calc(1.5em + 0.25vw);
    margin-top: -3.5em;
    padding-bottom: 1em;
}

#daily-weather-info{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin-left: -1.5em;
}

.weather{
    list-style: none;
    display: grid;
    grid-template-rows: 4.5em 0.5em 2em;
    gap: 1em;
    justify-content: center;
    width: 10em;
    height: 10em;
    background: rgba(255, 255, 255, 0.75);
    color: #282828;   
}

.weather img{
    margin-top: -0.5em;
    width: 8em;
    height: 8em;
}

  
