
*{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

h1 span{
    color: darkblue;
}



/* Main */

.brownbg{
    background-color: darkblue;
    text-align: center;
    font-size: xx-large;
    color: #eee;
}


figure{
    position: relative;
}

figure img{
    width: 100%;
    height: 100%;
}

figure figcaption button{
    font-size: larger;
    position: absolute;
    top: 50%;
    right: 35%;
    animation: slide-in-top 3s forwards;
    
    
}
#text {
    font-size: larger;
    position: absolute;
    width: 100%;
    top: -10%;
    left: -12%;
    text-align: center;
    color: #eee;
    animation: slide-in-top 3s forwards;
    
    
}
#text span{
    text-decoration: double overline white;
    font-weight: bolder;
    font-style: italic;
    font-family: algerian;
}
figure figcaption button:hover {
    background-color: brown;
    color: white;
    box-shadow: 2px 2px grey;
}

.events{
    height: 100%;
    width: 100%;
    background-color: rgb(0, 0, 255, 0.3);
}

.blue{
    background-color: darkblue;
    justify-content: center;
    text-align: center;
    font-size: x-large;
    color: #eee;
}

.weather-icon {
    max-width: 10%;
    
}

#weather-card{
    padding-bottom: 10px;
    display: grid;
    background-color: rgb(0, 0, 255, 0.5);
}



#weatherForecast{
    text-align: center;
    background-color: rgb(0, 0, 255, 0.3);
}

.center{
    text-align: center;
    text-decoration: double underline;
    font-family: cursive;
}

.cardSection {
    max-width: 300px;
    box-shadow: 0 0 10px rgb(0, 0, 255, 0.4);
    min-height: 150px;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}




/* footer */
footer {
    border: 0.5rem solid darkblue;
    border-color: darkblue;
    text-align: center;
    padding-top: 40px;
    
}



footer p{
    text-align: left;
}
.footerIma{
    display: flex; 
    
}

.footerIma img{
    padding-left: 15px;
    width: 80px;
    height: 80px;

}

footer p, h5{
    padding-left: 15px
}

#modified{
    font-weight: bolder;
    padding-bottom: 20px;
    text-decoration: double underline;
}




/* Responsive Sites */ 

@media only screen and (min-width: 30rem) {

    /* main */
    main{
        margin-left: 4rem;
        margin-right: 4rem;
    }


    figure figcaption button{
        font-size: xx-large;
        position: absolute;
        top: 50%;
        left: 30%;
        animation: slide-in-top 3s forwards;
        
    }
    #text {
        font-size: xx-large;
        position: absolute;
        top: 35%;
        left: -7%;

        animation: slide-in-top 3s forwards;
        
    }

    
    #flex{
        display: flex;
        gap: 20px;
        width: 100%;
        justify-content: space-between;
        max-height: 100vh;
    }

    .home{
        width: 100%;
    }
    #weather-card{
        width: 100%;
    }
    
    #weatherForecast{
        width: 100%;
    }
    
    #cards{
        display: flex;
        width: 100%;
        min-width: 300px;
    }

    
    footer{
        display: flex;
        font-size: large; 
        justify-content: space-evenly;
        border: none;
        border-top: 0.5rem solid darkblue;
        text-align: center;
    }
    
    footer p{
        text-align: center;
        font-size: larger;
    }

}