@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&display=swap');


.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}


.gallery-item {
    overflow: hidden;
    position: relative;
    height: 350px; 
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}

.close:hover {
    color: red;
}

/* Body, etc */

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #F9F5F2;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 100%; 
    line-height: 1.6;
    font-family: inherit; 
    background: none;
    color: inherit;
    background-color: #F9F5F2;
    overflow-x: hidden;
}


#header{
    background-color: #F9F5F2;
    height: 1rem;
}


#header-top-container {
    background-color: #3A546D;
    display: grid;
    grid-template-columns: repeat(25, 1fr);
    grid-template-rows: 30px;
}

#header-top-container-text{
    display: flex;
    grid-column: 18;
    justify-content: space-around;
}

#facebook-icon{
    color: white;
}

#facebook-icon:hover{
    color: rgb(201, 201, 201);
}

#instagram-icon{
    color: white;
}

#instagram-icon:hover{
    color: rgb(201, 201, 201);
}

#facebook-icon ion-icon, #instagram-icon ion-icon{
    padding-top: 5px;
    font-size: 20px;
}

#uk-flag-icon{

}

.flag{
    grid-column: 20;
}


#header-middle-container{
    display: flex;
    justify-items: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#header-logo{
    padding-top: 10px;
    width: 250px;
    height: 250px;
}

#header-logo-title{
    font-family: "Domine", serif;
    letter-spacing: 5px;
    color: #3A546D;
    font-weight: bold;
    padding-bottom: 30px;
    font-size: 1.7em;
    text-align: center;
}

#header-navigation-container {
  display: flex;               
  justify-content: center;     
  background-color: #3A546D;    
  padding: 5px;        
  border-bottom: 3px solid #A08369;
}

#header-list {
  display: flex;                
  justify-content: space-evenly; 
  width: 100%;                 
  margin: 0;                  
  padding: 0;                 
  list-style: none;       
}

#header-list li {
    letter-spacing: 2px;
    font-size: 20px;
    color: #F9F5F2;
    font-family: "Domine", serif !important;
  }

#contacts{
    text-decoration: underline;
}

a{
    color: #F9F5F2;
    text-decoration: none;
}

#header-list li a:hover{
    color: #dddad8;
}



#content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 50px auto;
    width: 60%;
    margin-top: 550px;
}

#contact-us {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center; 
    padding: 50px 20px;  
    max-width: 800px;     
    margin: 0 auto;       
    width: 70vw;
}

#contact-us h3 {
    font-size: 2.17em; 
    color: #000000;   
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

#contact-us p {
    font-size: 1.2em;
    color: #000000;     
    line-height: 1.8;
    max-width: 700px; 
}

#contact-us img{
    width: 20vw;
    border: 3px solid #A08369;
    border-radius: 25px;
}

#contact-us a, span{
    color: #3A546D;
    font-weight: bold;
}



footer {
    border-top: 3px solid #A08369;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 20px; 
    background-color: #3A546D;
    color: #84A4C3;
    padding: 20px;
    text-align: center;
    font-size: 17px;
}

/
.footer-section {
    padding: 10px;
}

.footer-section p a{
    color: #84A4C3;
}

.footer-section p a:hover{
    color: #a0c4e9;
}


.footer-section h4 {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #84A4C3;
    text-decoration: none;
    position: relative; 
}

.footer-section ul li .links::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 50%; 
    width: 0;
    height: 2px; 
    background-color: #84A4C3;
    transition: all 0.5s ease-in-out; 
}

.footer-section ul li .links:hover::after {
    left: 0; 
    width: 100%; 
}


.footer-bottom {
    background-color: #233342; 
    color: #84A4C3;
    padding: 1px;
    text-align: center;
    font-size: 16px;
}

#facebook-icon-bottom{
    color: #84A4C3;
    font-size: 45px;
}

#instagram-icon-bottom{
    color: #84A4C3;
    font-size: 45px;
}

#facebook-icon-bottom:hover, #instagram-icon-bottom:hover{
    color: #a0c4e9;
}

#gallery{
    text-decoration: underline;
}


#content-container h1{
    display: none;
}


#hamburger-menu {
    display: none;
    justify-content: center;
    align-items: center;
    position: relative;
}

#hamburger-button {
    background-color: #3A546D;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-bottom: 5px;
}

#hamburger-content {
    display: none; 
    position: absolute;
    background-color: #F9F5F2;
    border: 2px solid #A08369;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000; 
    right: 0; 
    top: 40px;
    width: 150px;
    text-align: center;
}

#hamburger-content #facebook-icon2{
    font-size: 30px;
}

#hamburger-content #instagram-icon2{
    font-size: 30px;
}

#hamburger-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#hamburger-content li {
    padding: 8px;
    text-align: center;
}

#hamburger-content a {
    color: #3A546D;
    text-decoration: none;
    font-size: 18px;
}


#hamburger-content a:hover {
    color: #A08369; 
}

#content-container h1{
    display: none;
}


@media (max-width: 768px) {
    #header-navigation-container{
        display: none !important;
    }

    #facebook-icon, #instagram-icon, .flag{
        display: none;
    }

    #hamburger-menu{
        display: flex;
    }

    #hamburger-button{
        display: show;
    }

    #hamburger-menu{
        grid-column: 24 / span 1;
    }

    #hamburger-content #gallery2{
        text-decoration: underline !important;
    }

    #content-container h1{
        display: flex;
        font-size: 30px;
        margin-top: 50px;
    }

    #content-container{
        margin-top: 410px !important;
    }

    #header-logo-title{
        font-family: "Domine", serif;
        letter-spacing: 5px;
        color: #3A546D;
        font-weight: bold;
        padding-bottom: 1px !important;
        margin-bottom: 1px;
        font-size: 1.7em;
        text-align: center;
    }

    .content-box{
        width: 70vw !important;
    }

    .content-box img{
        border: 3px solid #A08369;
        border-radius: 25px;
        width: 65vw !important;
        height: auto;
    }

    #content-container p{
        width: 70vw;
    }


}
    

  @media (max-width: 1200px) {


.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px;
}


.gallery-item {
    overflow: hidden;
    position: relative;
    height: 250px; 
}

    #header-top-container {
        background-color: #3A546D;
        display: grid;
        grid-template-columns: repeat(25, 1fr);
        grid-template-rows: 30px;
    }
    
    #header-top-container-text{
        display: flex;
        grid-column: 18;
        justify-content: space-around;
    }
    
    #facebook-icon{
        color: white;
    }
    
    #facebook-icon:hover{
        color: rgb(201, 201, 201);
    }
    
    #instagram-icon{
        color: white;
    }
    
    #instagram-icon:hover{
        color: rgb(201, 201, 201);
    }
    
    #facebook-icon ion-icon, #instagram-icon ion-icon{
        padding-top: 5px;
        font-size: 20px;
        margin-left: 5px;
        margin-right: 5px;
    }
    
 .flag{
        grid-column: 20;
    }
    
    
    #header-middle-container{
        display: flex;
        justify-items: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    #header-logo{
        padding-top: 10px;
        width: 250px;
        height: 250px;
    }
    
    #header-logo-title{
        font-family: "Domine", serif;
        letter-spacing: 5px;
        color: #3A546D;
        font-weight: bold;
        padding-bottom: 30px;
        font-size: 1.7em;
        text-align: center;
    }
    
    #header-navigation-container {
      display: flex;               
      justify-content: center;     
      background-color: #3A546D;    
      padding: 5px;        
      border-bottom: 3px solid #A08369;
    }
    
    #header-list {
      display: flex;                
      justify-content: space-evenly; 
      width: 100%;                  
      margin: 0;                  
      padding: 0;                 
      list-style: none;       
    }
    
    #header-list li {
      letter-spacing: 2px;
      font-size: 20px;
      color: #F9F5F2;
      font-family: "Domine", serif;
    }
    
    #home{
        text-decoration: none;
    }
    
    #header-list li a{
        color: #F9F5F2;
        text-decoration: none;
    }
    
    #header-list li a:hover{
        color: #dddad8;
    }

    #new-post-image-container{
        width: 80vw;
    }
  }
  

  @media (max-width: 992px) {

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}


.gallery-item {
    overflow: hidden;
    position: relative;
    height: 250px; 
}


    #header-middle-container{
        display: flex;
        justify-items: center;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #header-logo{
        padding-top: 10px;
        width: 240px;
        height: 240px;
    }

    #header-logo-title{
        font-family: "Domine", serif;
        letter-spacing: 5px;
        color: #3A546D;
        font-weight: bold;
        padding-bottom: 30px;
        font-size: 1.7em;
        text-align: center;
    }

    #header-navigation-container {
        display: flex;               
        justify-content: center;     
        background-color: #3A546D;    
        padding: 4px;        
        border-bottom: 3px solid #A08369;
      }
      
      #header-list {
        display: flex;                
        justify-content: space-evenly; 
        width: 100%;                 
        margin: 0;                  
        padding: 0;                 
        list-style: none;       
      }
      
      #header-list li {
        letter-spacing: 2px;
        font-size: 17px;
        color: #F9F5F2;
        font-family: "Domine", serif;
      }


      #content-container {
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 30px;
          margin: 50px auto;
          width: 60%;
          margin-top: 530px;
      }
      
      #content-container p{
          font-size: 1.1rem;
          text-align: center;
          color: #333;
          font-family: Georgia, sans-serif;
      }
      
      .content-box {
          width: 65vw;
          padding: 20px;
          text-align: center;
          font-family: "Domine", serif;
          font-size: 20px;
          color: #3A546D;
          background-color: #F9F5F2;
          border: 3px solid #A08369;
          border-radius: 15px;
          box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
      }
      
      
      .content-title {
          font-family: "Domine", serif;
          color: #3A546D; 
          font-size: 21px;
          margin-bottom: 10px;           
      }
      
      .content-text {
          font-size: 1rem;
          font-family: Georgia, sans-serif;
          color: #333;
          text-align: justify;
          line-height: 1.6;
      }
      
      .content-box img{
          border: 3px solid #A08369;
          border-radius: 25px;
          width: 45vw;
          height: auto;
      }
      
  }
  

  @media (max-width: 768px) {

    
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 10px;
}


.gallery-item {
    overflow: hidden;
    position: relative;
    height: 150px; 
}

    
    .footer-bottom {
        background-color: #233342; 
        color: #84A4C3;
        padding: 1px;
        text-align: center;
        font-size: 14px;
        padding: 10px !important;
        font-family: Georgia, sans-serif;
    }

    #content-container h1{
        display: flex;
        font-size: 30px;
    }

  }
  

@media (max-width: 576px) {
    #content-container h1{
        margin-top: 150px;
    }

        /* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


.gallery-item {
    overflow: hidden;
    position: relative;
    height: 150px; 
}
}


@media (max-width: 415px) {
    #content-container h1{
        margin-top: 250px;
    }

    footer {
        grid-template-columns: 1fr; 
    }
}


