@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;
}

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

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

.our-weddings p{
   padding: 0px 200px;
}

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


.galleries{
    margin-bottom: 80px;
}
.weddings-portfolio{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    padding: 0px 80px;
    margin-top: 80px;
   
}
.wedding-card{
    position: relative;
    min-width: 250px;
    max-width: 300px;
    height: 400px;
    overflow: hidden;
    transition: .5s ease-in-out;
    cursor: pointer;
}

.wedding-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, 150px);
    transition: .5s ease-in-out;
}

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

.wedding-card:hover>img{
    scale: 1.1;
    filter: grayscale(0%);
}
.wedding-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;
    }

    footer-component {
        display: none;
       
    }

    hammenu-component {
        width: 100%;
        display: block;
     
        z-index: 9999999;
     }
 
     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;
        
     }


     /* OUR WEDDINGS */

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

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

.our-weddings h2{
    text-transform: uppercase;
    margin-top: 10px;
    margin-bottom: 40px;
}

.our-weddings p{
   padding: 0px 20px;
}

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


.galleries{
    margin-bottom: 80px;
    width: 100%;
    padding: 0px 0px;
}
.weddings-portfolio{
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin-top: 80px;
    padding: 0px 0px;
   
}

.weddings-portfolio a {
    text-decoration: none;
}
.wedding-card{
    position: relative;
    min-width: 250px;
    max-width: 372px;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.wedding-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(80%);
      
}

.card-info{
    position: absolute;
    bottom: 150px;
    background-color: rgba(211, 211, 211, 0.8);
    color: #fbfaf8;
    padding: 20px 20px;
    text-align: left;
    overflow: hidden;
    
}

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


}