
@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&display=swap');

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;
}

#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: 480px;
}

#contact-us {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;  
    padding: 50px 20px;  
    max-width: 800px;     
}

#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;
    padding: 1px;
}

#contact-us a, span{
    color: #3A546D;
    font-weight: bold;
}

#contact-us a:hover{
    color: #4a6f92;
}



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;
}




#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: 1200px) {
    #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;
    }

    #contacts{
        text-decoration: underline !important;
    }

    #home{
        text-decoration: none;
    }
    
    #header-list li a{
        color: #F9F5F2;
        text-decoration: none;
    }
    
    #header-list li a:hover{
        color: #dddad8;
    }

}


@media (max-width: 900px) {

    .articles-row {
        flex-direction: column; 
        align-items: center; 
    }

    .article-link {
        width: 80%; 
    }
    .article, .article-link{
        width: 50vw;
    }

    #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-title{
    display: none;
}


@media (max-width: 768px) {

    #contact-us img{
        width: 30vw;
        border: 3px solid #A08369;
        padding: 1px;
    }

    #header-middle-container{
        box-shadow: none;
    }

    .content-title {
        display: inline-block !important;
        text-align: center;
        font-family: "Domine", serif;
        color: #3A546D; 
        font-size: 30px;
        margin-bottom: 10px;
        padding-bottom: 30px;
    }

    #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 #contacts2{
        text-decoration: underline !important;
    }

    #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;
    }


    .footer-bottom {
        background-color: #233342; 
        color: #84A4C3;
        padding: 1px;
        text-align: center;
        font-size: 14px;
        padding: 10px !important;
        font-family: Georgia, sans-serif;
    }

  }

   @media (max-width: 768px) {
    
    .footer-bottom {
        background-color: #233342;
        color: #84A4C3;
        padding: 1px;
        text-align: center;
        font-size: 14px;
        padding: 10px !important;
        font-family: Georgia, sans-serif;
    }

  }
  

@media (max-width: 576px) {
    #content-container h1{
        margin-top: 150px;
    }

    #contact-us img{
        width: 35vw;
        border: 3px solid #A08369;
        padding: 1px;
    }

}


@media (max-width: 415px) {
    #content-container h1{
        margin-top: 250px;
    }

    footer {
        grid-template-columns: 1fr; 
    }

    #contact-us img{
        width: 50vw;
        border: 3px solid #A08369;
        padding: 1px;
    }

}

