
@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;
}


#header {
    background-color: #F9F5F2;
    width: 100%;
}


#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, #instagram-icon {
    color: white;
}

#facebook-icon:hover, #instagram-icon:hover {
    color: rgb(201, 201, 201);
}

#facebook-icon ion-icon, #instagram-icon ion-icon {
    padding-top: 5px;
    font-size: 20px;
}

.flag {
    grid-column: 20;
}


#header-middle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#header-logo {
    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 0 !important;
    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;
}

#posts{
    text-decoration: underline;
}

a {
    color: #F9F5F2;
    text-decoration: none;
}

#header-list li a:hover {
    color: #dddad8;
}


.articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.articles-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.article-link {
    width: 30%;
    text-decoration: none;
    color: inherit;
}

.article {
    width: 100%;
    box-sizing: border-box;
    background-color: #F9F5F2;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.articles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.articles-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap; 
}

.article-link {
    width: 30%;
    text-decoration: none;
    color: inherit;
}

.article {
    width: 100%;
    box-sizing: border-box;
    background-color: #F9F5F2;
    padding: 10px;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.article:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}


.article-image {
    width: 100%;
    height: 200px; 
    border-radius: 5px;
    object-fit: cover; /
    display: block;
    border: 2px solid #A08369; 
}

#posts{
    text-decoration: underline;
}

.article-title {
    font-size: 20px;
    color: #333;
    font-weight: bold;
    margin-top: 10px;
}

.article-date {
    font-size: 14px;
    color: #999;
}

.article-text {
    font-size: 19px;
    color: #555;
    margin-top: 10px;
}

.article-row-divider {
    width: 100%;
    border: 0;
    border-top: 2px solid #A08369;
    margin: 20px 0;
}

.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    text-decoration: none;
    color: white;
    background-color: #172029;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #3A546D;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #456583;
}


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;
    }

    #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) {

    #header-middle-container{
        box-shadow: none;
    }

    .content-title {
        display: inline-block;
        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 #posts2{
        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;
    }
}


@media (max-width: 415px) {
    #content-container h1{
        margin-top: 250px;
    }

    footer {
        grid-template-columns: 1fr; 
    }
}

