:root {
   --background-color: #333;
   --nav-front-color: #ddd;
   --dark-color: #009664ff;
   --max-width: 1400px;
}




*{font-family: 'Montserrat', sans-serif;}

html{
    height: 100%;
}
body{ min-height:100%; padding:0; margin:0; position:relative; }

body::after {
    content: '';
    display: block;
    height: 100px; /* Set same as footer's height */
  }
/* NAVIGATION */


.topnav {
    overflow: hidden;
    background-color: var(--background-color);
}
  
.topnav a {
    float: left;
    display: block;
    color: var(--nav-front-color);
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.topnav a:hover {
    background-color: var(--nav-front-color);
    color: var(--background-color);
}

.topnav a.active {
    background-color: var(--dark-color);
    color: var(--nav-front-color);
}

.topnav .icon {
    display: none;
}

@media screen and (max-width: 600px) {
    .topnav a:not(.active) {display: none;}
    .topnav a.active{
        display: inline-block;
        background-color: var(--background-color);
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
}


/* MAIN */




.content a {
    font-weight:600;
    color: var(--dark-color);
}

.header{
    background-color: #EFEFEF;
    padding: 0px;
}

.header .header-top{
    padding: 16px;
    margin-left: 32px;
}

.header .header-top .header-catch-text{
    float: right;
    margin: 48px 32px;
}

.header .img-banner{
    width: 100%;
    object-fit: cover;
    max-height: 300px;
}

.content{
    max-width: var(--max-width);
    margin: auto;
    margin-top: 48px;
    min-height: 400px;
    padding: 0px 32px;
    padding-bottom: 48px;

    text-align: justify;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background-color: #EFEFEF;
    display: table;
}

.footer .footer-element{
    padding: 0px 32px;
    height: 100px;
    display: table-cell;
    vertical-align: middle;
    width: 33.33%;
}

.fe-left{
    text-align: left;
}
.fe-center{
    text-align: center;
}
.fe-right{
    text-align: right;
}

.language-item {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.footer-element .fa{
    margin: 0px 8px;
}



.content.h1,h2,a {
    color: var(--background-color);
    text-decoration: none;
}



.rounded-image{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px 32px;
}


@media screen and (max-width: 600px) {
    .header .header-top{
        padding: 8px;
        margin-left: 16px;
    }

    .header .header-top .header-logo-image{
        width: 150px;
        object-fit: cover;
    }

    .header .img-banner{
        display: none;
    }

    .footer .fe-left{
        padding-right:8px;
    }
    .footer .fe-center{
        padding: 0px 8px;
    }
    .footer .fe-right{
        padding-left:8px;
    }

    .rounded-image{
        width: 100px;
        height: 100px;
        margin: 10px 12px;
    }
}


@media screen and (max-width: 450px) {
    .language-item .language-label{
        display: none;
    }
}

@media screen and (max-width: 800px) {
    .header .header-top .header-catch-text{
        display: none;
    }
}


@media (max-width: 600px) {
    .fa-icons-large {
      display:none;
    }
    .fa-icons-small {
      display:block;
    }
  }
  
  @media (min-width: 601px) {
    .fa-icons-large {
      display:block;
    }
    .fa-icons-small {
      display:none;
    }
  }




/* Standard content */
.content img {
    display: block;
    margin: auto;

    width: 80%;
    height: auto;
}


/*ARTICLES*/
.article-container {
    margin-top: 20px;
    margin-bottom: 40px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

@media screen and (max-width: 1200px) {
  .article-container {
    flex-direction: column;
    flex-wrap: nowrap;
  }
}

.article{
    display: flex;
    flex-direction: column;

    align-items: center;

    flex: 0 0 calc(33.333% - 30px);

    line-height: 1.5;

    border: 1px solid #AAA;
    border-radius: 10px;

    padding: 10px;
}

.article:hover {
  background-color: #EEE;
}

  
.article img {
  margin-top: 20px;

  width: 80%;
  height: auto;
}

.article p {
  padding: 10px 10px;
  margin: 0px !important;
  width: 90%;
}
  
.article a {
  color: #0062cc;
  text-decoration: none;
}

.article a:hover {
  text-decoration: underline;
}


article-date{
  text-align: left;
}
.article-link{
  text-align: left;
}

.content-article img {
  width: 75%;
  display: block;
  margin: 20px auto;
}
