.header-container {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgb(235, 235, 235);
    padding: 0;
    font-size: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.topnav {
    background: linear-gradient(#544cbb, #4cacbb);
    overflow: hidden;
}
  
.topnav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-family: "Sen", sans-serif;

}
  
.topnav a:hover {
    background-color: #ddd;
    color: black;
}
  
.topnav a.active {
    background: linear-gradient(#2c8d16, #40cf20);
    color: white;
}

.topnav a:last-of-type{
    float: right;
    background: linear-gradient(#d4cc37, #d4af37bd);
    color: rgb(255,255,255);
}

.topnav a:last-of-type:hover{
    background: linear-gradient(#e6dd3b, #e6be3bbd);
    color:rgba(0,0,0, 0.7);
}

body{
    margin: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    padding-top: 200px;

}

.gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    margin-bottom: 5vh;
}

.gallery img {
    width: 100%;
    max-width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.gallery::after {
    content: "";
    width: 350px;
    margin-bottom: 5vh;
}

.gallery img:hover{
    transform: scale(1.3);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
    
}




header img:first-child {
    order: 1;
    width: 7%;
    padding: 20px;
}

header h1 {
    order: 2;
}

header img:last-child {
    order: 3;
    width: 10%;
    padding: 20px;
}

.footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: rgb(235, 235, 235);
    color: rgb(0, 0, 0);
    text-align: center;
    font-family: "Sen", sans-serif;
}

#image-lizzie{
    max-width: 100%;
    max-height: 65vh;
    margin: 0 1.5rem;
    padding: 0;
    padding-bottom: 5%;
}
.content-container {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-top: 1vh; 
    margin-bottom: auto;
}


#main-image {
    max-width: 100%;
    margin: 20px 20px;
    padding-top: 0;
    margin-top: 1%;
}

.text-content {
    max-width: 80%; 
    font-size: 20px; 
    text-align: left; 
    margin-bottom: 20px;
    padding: 25px;
    font-family: "Sen", 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}



.text-content h1{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 9;
    font-family: "Sen", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}



.blog-post {
    width: 400px;
    height: 400px;
    border: 1px solid #ffffff80; 
    overflow: hidden;
    margin-bottom: 30px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
}
#main-title{
    font-size: 3vw;
}



.blog-post:last-of-type{
    margin-bottom: 5vh;
}

.blog-post:hover {
    border-color: rgba(44, 44, 44, 1); 
    box-shadow: 0px 0px 10px rgba(0, 10, 0, 0.5)
}

.blog-post:hover .blog-image {
    opacity: 1; 
}

.blog-post a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit; 
    text-decoration: none; 
    position: relative;
    overflow: hidden; 
}

.blog-post a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; 
    background: linear-gradient(to top, white, transparent);
}

.blog-image {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
}


.about-hr{
    width: 50%;
    align-items: center;
    text-align: center;
    margin: auto;
    margin-top: 0;
}

.text-content-about {
    margin: auto;
    max-width: 80%; 
    font-size: 20px; 
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    padding: 25px;
    font-family: "Sen", 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.text-content-about :last-child{
    margin-bottom: 5%;
}

.about-container{
    align-items: center;
}

.about-image{
    width: 80%;
    margin: auto;
    display:block;
    margin-top: 0;
    padding: 0;
}

.blog-image:hover {
    opacity: 1;
}

.blog-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.blog-content {
    padding: 10px; 
}

.blog-title {
    font-size: 20px;
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 750;
    font-family: Arial, Helvetica, sans-serif;
}

.blog-text {
    margin-top: 5px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}





main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 20px;
}


.gfm{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.gfm-embed{
    border: 2px solid black;
    box-sizing: border-box;
  
    float: right;


}

.fundraising-poster{
    width: 20vw;
    padding: 40px;
    float: right;
    
}

.fundraising-text{
    font-size: 20px;
    width: 50%;
    margin: auto;
    padding: 0px;
    align-items: center;
    text-align: center;
  
}

hr{
    color: rgba(0, 10, 0, 0.2);
    padding: 0;
    margin: 0;
}

.slide-container{
    flex: 1;
    padding: 2rem 2rem;
    margin: auto;
    overflow: hidden;
}

.slide-wrapper{
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
}

.slider{
    display: flex;
    aspect-ratio: 0.75/1;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    box-shadow: 0 1.5rem 3rem -0.75rem hsla(0, 0%, 0%, 0.25);
    border-radius: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.slider img{
    flex: 1 0 100%;
    scroll-snap-align: start;
    object-fit: cover;
    align-items: center;
    justify-content: center;
}

.slider-nav{
    display: flex;
    column-gap: 1rem;
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.slider-nav a{
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: #fff;
    opacity: 75%;
    transition: opacity ease 250ms;
}

.blog-page{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 1vh;
    margin-bottom: auto;
}

.blog-page-text{
    flex: 1;
    max-width: 80%; 
    font-size: 20px; 
    text-align: left; 
    margin-bottom: 15vh;
    margin-right: 10%;
    padding: 25px;
    font-family: "Sen", 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    text-align: justify;
}

.blog-page-text h1{
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 9;
    font-family: "Sen", 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}










@media screen and (min-width: 769px) {
    .content-container {
        flex-direction: row; 
        justify-content: center;
    }

    #main-image {
        max-width: 50%; 
        order: 1; 
        margin-bottom: 0; 
    }

    .text-content {
        max-width: 50%; 
        order: 2; 
        text-align: justify;
    }

    .slide-container{
        max-width: 25%;
    }
}

@media screen and (min-width: 431px) and (max-width: 768px){
    .content-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .text-content {
        margin-top: 0;
        padding-top: 0;
        max-width: 85%; 
        order: 2; 
        text-align: justify;
    }

    #image-lizzie{
        max-width: 100%;
        margin: 20px auto; 
        padding-top: 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .content-container{
        padding: 0;
        margin: 0;
    }

    .topnav{
        max-height: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .topnav a {
        padding: 10px 16px; 
        font-size: 10px;
    }

    body{
        padding-top: 100px;
    }
    .gallery img{
        overflow:hidden;
    }
   
    .slide-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 431px){
    .content-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .text-content {
        margin-top: 0;
        padding-top: 0;
        max-width: 85%; 
        order: 2; 
        text-align: justify;
    }

    #image-lizzie{
        max-width: 100%;
        margin: 20px auto; 
        padding-top: 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .content-container{
        padding: 0;
        margin: 0;
    }

    .topnav{
        max-height: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .topnav a {
        padding: 10px 16px; 
        font-size: 10px;
    }

    body{
        padding-top: 100px;
    }
    .gallery img{
        overflow:hidden;
    }

    .slide-container{
        max-width: 80%;
        margin: 20px auto; 
        padding-top: 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .blog-page-text{
        margin: 0;
        padding: 0;
        text-align: center;
        max-width: 100%;
        margin-left: 0%;
        margin-right: 0%;
    }

    .blog-page{
        margin: 0;
    }
}

@media screen and (min-width: 700px) and (max-width: 821px){
    .content-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .text-content {
        margin-top: 0;
        padding-top: 0;
        max-width: 85%; 
        order: 2; 
        text-align: justify;
    }

    #image-lizzie{
        max-width: 100%;
        margin: 20px auto; 
        padding-top: 0;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .content-container{
        padding: 0;
        margin: 0;
    }

    .topnav{
        max-height: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .topnav a {
        padding: 20px 26px; 
        font-size: 15px;
    }

    body{
        padding-top: 150px;
    }
    .gallery img{
        overflow:hidden;
    }


}



@media screen and (min-width: 2500px) and (max-width: 2561px){
    .content-container{
        margin-top: 2.5%
    }
    .gallery{
        margin-top: 2.5%;
    }

    #blogs{
        margin-top: 2.5%;
    }

    .blog-post{
        width: 600px;
        height: 600px;
    }

    .blog-title{
        font-size: 40px;
    }

    .blog-text{
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .blog-page {
        display: flex;
        flex-direction: column;
        align-items: center; 
        justify-content: center;
        margin-top: 1vh;
        margin-bottom: auto;
    }

    .blog-page-text {
        max-width: 100%; 
        margin: 0 auto; 
        padding: 20px;
        font-size: 18px; 
        text-align: center;
        margin-bottom: 5%;
    }

    .slide-container {
        max-width: 100%; 
        margin-bottom: 20px; 
    }

    .slider img {
        max-width: 100%;
        height: auto;
    }
}
