:root {
   --green: #034025;
   --white: #cec6af;
   --wine: #63001d;
}


body 
{
    background-color: #034025;
    background-image: url("../Images/Background.png");
    background-size: cover; /* Ensure the image covers the entire div */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: center; /* Center the background image */
    background-attachment: scroll;
    font-family: Tahoma, "Trebuchet MS", sans-serif;
    color: #cec6af;
    text-align: center;
    margin:0;
    padding:0;
}

h1 
{
    letter-spacing: .2rem;
}


.logo 
{
    text-align: ceter;
    position: relative;
    width: 100px;
    height: 100px;
    top:-37px;

    margin-left: 30px;
    margin-right: 30px;
    
}

.menu {

    display: flex;
    gap: 30px;
    color: #cec6af;
    margin-top: 60px;
    justify-content: center;
    
}

.flag img 
{
    width: 40px;
    height: auto;
}


.cover-picture 
{
    width:65%;
}

.menu-element
{
    padding: 2px;
    display: block;
    width: fit-content;
    white-space: nowrap;
    color: #cec6af;
    font-family: Verdana, "Trebuchet MS", sans-serif;
}

.menu-element a {
    color: #cec6af;

}

.cool-link {
    display: block;
    color:  #cec6af;
    text-decoration: none;
    width: fit-content;
    cursor: pointer;
}

.cool-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #cec6af;
    transition: width .3s;
}

.cool-link:hover::after {
    width: 100%;
    //transition: width .3s;
}



.history 
{

    display: flex;
    flex-gap: 10px;
    justify-content: center;
    margin-top:30px;
}
.history img {
    height: 200px;
    width: 300px;
    margin-top:45px;
}
.history p {
    width: 40%;
    margin-left: 30px;
    text-align: justify;
    color: #cec6af;
    font-size: 1em;
    font-family: Tahoma, "Trebuchet MS", sans-serif;
}

.objectives 
{
    display: flex;
    justify-content: center;

    flex-wrap: wrap; /* Allows items to wrap to the next line */




}
.objectives p
{
    width: 60%;
    
    text-align: justify;
    color: #cec6af;
    font-size: 1em;
    font-family: Tahoma, "Trebuchet MS", sans-serif;
}

.objectives-list 
{
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 80%;
}

.objectives-list div {
    flex: 1 1 calc(33.33% - 10px); /* Each div takes up 1/3 of the container width minus margin */
    margin: 5px; /* Adds margin between divs */
    padding: 20px; /* Optional: padding inside the divs */
    box-sizing: border-box; /* Ensures padding and border are included in the element's total width and height */
}

.objectives-list i {
    font-size:45px;
}
.button
{
    background-color: #63001d;
    width: fit-content;
    padding: 15px 30px 15px 30px;
    margin: 0 auto;
    cursor: pointer;
    font-weight: bold;

    color: white;
}


.separator2
{
    margin:0;
    padding:0;
}

.separator2 img {
    width:100%;
    margin:0;
    padding:0;
}
.separator1
{
    background-image: url("../Images/publications2.png");
    background-size: cover; /* Ensure the image covers the entire div */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: center; /* Center the background image */

    width:100%;
    height:850px;
    display:block;
    border: none; 

    margin-top:50px;
}

.separator1 div {
    padding-top: 140px;
    color:#034025;
}
.separator1 p {
    width: 60%;
    text-align: justify;
    margin: 130px auto;
}




.menu-button {
    font-size: 24px;
    padding: 10px 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;

    display:none;
  }
  
  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #63001d;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 1000;
  }
  
  .mobile-menu ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
  }
  
  .mobile-menu ul li {
    margin: 20px 0;
  }
  
  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
  }
  
  .mobile-menu.open {
    right: 0;
  }

  .contact
  {
    padding-bottom: 50px;
  }

  .contact p 
  {
    width: 80%;
    text-align: center;
    line-height: 1.6em;
    margin: 0 auto;
  }


  /* Publications Page CSS */

  .publications
  {
    background-image: url("../Images/separator2.png");
    background-size: cover; /* Ensure the image covers the entire div */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: center; /* Center the background image */
    height: 100px;
    width: 100%; 

  }

  .publications-content 
  {
    background-color: #f2e8e0;
    margin:-5px auto;
    padding: 0 0 120px 0;
    text-align: center;
}
.publications-content p {
    color: #034025;
    margin: 0 auto;
    padding: 0;
    font-size: 1.2em;
    text-align: justify;
}
.publications-content h1 {
    font-size: 1.7em;
    color: #034025;
    text-align: center;
    margin-block-start: 0;
    margin: 0;
    padding: 0;
}

.publications-content h3 {
    font-size: 1.5em;
    color: #034025;
    text-align: left;
}

.publications-content h4 {
    font-size: 1.3em;
    color: #034025;
    text-align: left;
}

.publications-content div {
    width: 70%;
    margin: 0 auto;
}



  table 
{
    width: 70%;
    border-collapse: collapse;
    margin: 0 auto;

}

table th 
{
    color:#034025;
    font-size: 1.5em;
}

table caption {
    color:#034025;
    font-size: 3em;
    margin-bottom: 2em;
    margin-top: 1em;
}

table td {
    color:#034025;
}
table .cool-link 
{
    color: #034025;

}
table .cool-link::after {
    background: #034025;
}


thead
{
    border-bottom:2px solid #034025;;
}
.underline 
{
    border-bottom:2px solid #034025;
}
th, td {
    padding: 8px; /* Optional: adds padding for better appearance */
    text-align: left;
}

td {
    position: relative;
    padding: 8px;
}

td a.pubTitle {
    font-size: 1.3em; 
}


.leftBorder::before
{
    content: "";
    position: absolute;
    left: 0;
    top: 18%; /* Adjust as needed */
    height: 70%; /* Adjust as needed */
    width: 1px; /* Border width */
    background-color: #034025; /* Border color */
}

.leftBorder { 
    font-size: 0.9em;
}
  
td {
    border-bottom: 1px solid #034025;
    
}



a { 
    font-size: 1.1em;
    color: #034025;
    text-decoration: none;
}






td a.button
{
   color:#63001d;
}

select {

    min-width: 80px;
    width:30%;
    height: 35px;
    padding: 0px 5px 0px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #36454F;
   margin-left: 0.1em;

}

select:focus {
    border-color: #007bff;
    outline: none;
}

.filterForm
{
    background-color: #034025;
    display: flex;
    flex-direction: row;
    gap: 20px; /* Space between select fields */
    padding: 20px;
    border-radius: 5px;
    margin: 0 auto;
}
.filterForm span 
{
    color: white;
    font-size: 2em;
}
.filterForm button 
{
    background-color: #63001d ;
    color:#f9f9f9;
    border-radius: 5px;
    float: right;
    width:150px;
    height: 35px;
}


.header
{

    padding: 3%;
}

.notFound 
{
    text-align: center;
    font-size: 1.1em;
    display: none;
    width: fit-content;
    margin: 0 auto;

    
}




@media (max-width: 1300px) {
    table{
        width: 90%;
    }
    .filterForm {
        flex-direction: column; /* Stack fields vertically */
        align-items: center;
    }
}




@media screen and (max-width: 900px) {

    caption {
    font-size: 1.7em;
    }
    
    tbody{
        border: 0px;
    }
    thead {
        height: 1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
        border:0px;
    }
    
    .underline
    {
        height: 1px;
        border:0;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }
    .leftBorder::before
    {
        display: none;
    }
    .leftBorder
    {
        font-size: 0.7em;
    }
    tr {
        font-size: 1.2em;
        border:0px;
        display: block;
        margin-bottom: .225em;
    }
    
    td {
    margin-bottom: 0.00em;
    border: 0px;
    display: block;
    font-size: .8em;
    text-align: left;
    }

    td:last-child {
        border-bottom: 1px solid #dadee8;
    }

    .filterForm
    {
        width: 90%;
    }
    .filterForm select 
    {
        width: 60%;
    }

}


/* Responsove Gallery */


:root {
    font-family: sans-serif;
    font-size: 16px;
}

* {
    box-sizing: border-box;
}

.content {
    width: 100%;
    margin: auto;
}
@media (min-width: 40em) {

    .content { 
        width: 40em;
    }
    .galleryItem{
        width: 10em;
        height: 10em;
    }
    .lightBoxOverlay .container {
        padding: 3em;
    }

}

@media (min-width: 80em) {
    .content {
        width: 80em;
    }
    .galleryItem{
        width: 17em;
        height: 17em;
    }

    .lightBoxOverlay .container {
        padding: 5em;
    }
}

.gallery {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin: auto;
}

.gallery a {
    display: block;
    width: 100%;
    height: 100%;
}
.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .2s;
}


.gallery figcaption {
    background-color: rgba(#000 ,.4);
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1em;
}

.galleryItem {
    flex: 1 1 auto;
    margin: 0.3em;
    border: 1px solid black;
    position: relative;
    width: 12em;
    height: 13em;
    overflow: hidden;

}
.galleryItem:hover img {
    transform: scale(1.2);
}


.lightBoxOverlay {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(#000, .7);





}

.lightBoxOverlay .container {
    margin: 0;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1em;
}

.lightBoxOverlay figcaption {
    margin-top: 1em;
    padding: 0.5em 1em;
    color: #fff;
    background: rgba(0,0,0, .7);
    border-radius: 5em;
}

.lightBoxOverlay img {
    max-width: 100%;
    max-height: 100%;
}

.lightBoxOverlay .closeButton {
    position: absolute;
    top: 0.5em;
    
    margin: 0 auto;

    color: #000;
    background-color: #fff;
    font-size: 1.5em;
    border-radius: 1em;
    padding: 0.44em 0.66em;
    height: 2em;
    width: 2em;
    
    cursor: pointer;
    transition: .2s;
    

}
.lightBoxOverlay .closeButton:hover {
    color: #fff;
    background-color: #000;
}