@import url('https://fonts.googleapis.com/css2?family=Rozha+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

*{
    box-sizing: border-box; /* makes sure that the content width doesn't go over the screen display size */
}

body {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    background-color: #fbfaf8;
    width: 100%;
}

h1 {
    font-family: 'Rozha One', serif;
    font-size: 50px;
    line-height: 1;
    color: rgb(14, 14, 14);
    margin: 20px 20px;
    padding: 0;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 200;
    color: rgb(14, 14, 14);
    margin: 0;
    padding: 0;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 10px;
    color: rgb(14, 14, 14);
    margin: 0;
    padding: 0;
}

p{
    font-size: 14px;
    line-height: 2;
}

menu-component {
    width: 100%;
    height: 100%;
}

hammenu-component {
    display: none;
}


/* OUR WEDDINGS */

.content {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 0px 200px;
    margin-bottom: 120px;
}

.blog{
    width: 100%;
    padding: 80px 200px 0px 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
}

.blog h2{
    text-transform: uppercase;
    margin-top: -20px;
    margin-bottom: 40px;
}

.blog p{
   padding: 0px 200px;
}

.divider{
    width: 55%;
    margin: 40px 0px;
}


.blog-posts-container {
    display: grid;
    grid-template-columns: 300px 300px 300px;
    grid-template-rows: 300px 300px 300px;
    grid-gap: 5px 5px;
    justify-items: center;
    grid-auto-flow: row;
    margin-bottom: 80px;
}
.blog-post{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    padding: 0px 80px;
    margin-top: 80px;
   
}
.blog-card{
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.blog-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(80%);
    transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: 2s ease;
    
}

.card-info{
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(211, 211, 211, 0.8);
    color: #fbfaf8;
    padding: 20px 50px;
    text-align: left;
    overflow: hidden;
    transform: translate(0px, 250px);
    transition: .5s ease-in-out;
}

 
.card-info h1{
    font-size: 20px;
    margin: 0;
    
}
.card-info h2{
    font-size: 15px;
    margin: 0;
    
}

.blog-card:hover>img{
    scale: 1.1;
    filter: grayscale(0%);
}
.blog-card:hover > .card-info{
    transform: translate(0px, 0px);
}


/* FOOTER */
footer-component {
    width: 100%;
    height: 100%;
   
}


/* Tablets*/

@media (max-width: 767.98px) {



}



/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 320px) and (max-width: 480px) {


    menu-component {
        display: none;
    }

    hammenu-component {
        width: 100%;
       display: block;
       position: fixed;
       z-index: 9999999;
    }

    footer-component {
        display: none;
    }

    h1 {
        font-family: 'Rozha One', serif;
        font-size: 40px;
        line-height: 1;
        color: rgb(14, 14, 14);
        margin: 10px 10px;
        padding: 0;
    }
    
    h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        font-weight: 200;
        color: rgb(14, 14, 14);
        margin: 0;
        padding: 0;
    }
    
    h3 {
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 200;
        letter-spacing: 10px;
        color: rgb(14, 14, 14);
        margin: 0;
        padding: 0;
    }
    
    p{
        font-size: 20px;
        line-height: 1.8;
       
    }


    .content {
        display: flex;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0px 0px;
        margin-bottom: 20px;
    }
    
    .blog{
        width: 100%;
        padding: 80px 20px 0px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .blog h2{
        text-transform: uppercase;
        margin-top: 20px;
        margin-bottom: 40px;
    }
    
    .blog p{
       padding: 0px 20px;
    }
    
    .divider{
        width: 55%;
        margin: 40px 0px;
    }
    
    
    .blog-posts-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0px;
        justify-items: center;
        align-items: center;
        margin-bottom: 0px;
    }
    .blog-post{
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 0px;
        width: auto;
        padding: 0px 0px;
        margin-top: 50px;
       
    }
    .blog-card{
        position: relative;
        width: 400px;
        height: 400px;
        overflow: hidden;
        transition: .5s ease-in-out;
        cursor: pointer;
    }
    
    .blog-img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        filter: grayscale(80%);
        transition: transform 2s cubic-bezier(0.165, 0.84, 0.44, 1);
        transition: 2s ease;
        
    }
    
    .card-info{
        position: absolute;
        bottom: 20px;
        left: 0px;
        background-color: rgba(211, 211, 211, 0.8);
        color: #fbfaf8;
        padding: 20px 20px;
        text-align: left;
        overflow: hidden;
        transform: translate(0px, 0px);
        
    }
    
     
    .card-info h1{
        font-size: 20px;
        margin: 0;
        
    }
    .card-info h2{
        font-size: 15px;
        margin: 0;
        
    }
    
    .blog-card:hover>img{
        scale: 1.1;
        filter: grayscale(0%);
    


}