body {
    font-family: "Montserrat";
    font-weight: 400;
    font-style: normal;
    font-size: larger;
    padding:0;
    margin:0;
    background-color:#F4f4f4;
    overflow-x: hidden;
    color: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.navi-bar {
    background-color: #0D1833;
}

.nav-txt {
    color: white;
    font-size: medium;
}

.nav-txt:hover {
    color: #8693B3;
}

.nav-mobile-button {
    background-color: #ffffff;
}

html {
    scrollbar-width: none;
}

.pagi-txt {
    color: #0D1833;
}

/* FOOTER */
.footer {
    background-color: #0D1833;
    width: 100%;
    margin-top: auto;
}

.footer-txt {
    color: #FFFFFF;
    font-size: small;
}

.horizontal {
    border-top: 1.5px solid #FFFFFF;
    width: 100%;
}

/* buttons font */
.button-cust {
    font-family: "Inter", serif;
    font-weight: 700;
    font-style: normal;
}

/* home page */
.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    overflow: hidden;
}

.fullscreen img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.img-container {
    position: absolute;
    max-width: 807px;
    max-height: 272px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    z-index: 10000;
}

.hidden {
    pointer-events: none;
    animation: fadeOut 1.5s ease-out forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.banner {
    position: relative;
    width: 100vw;
    max-height: 300px; 
    overflow: hidden;
}

.b-pic {
    width: 100%;
    height: auto;
}

.water {
    background: url(media/water.webp) no-repeat;
    background-size: cover;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.environment {
    background: url(media/environment.webp) no-repeat;
    background-size: cover;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

.peace {
    background: url(media/peace.webp) no-repeat;
    background-size: cover;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}


.wep-landing-text {
    font-size: 4.5em;
    font-weight: bold;

}

.slides {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slides:first-child {
    opacity: 1;
    position: relative;
}

.slides img {
    display: block;
    width: 100%;
    height: auto;
}

/* About us */
.about-heading {
    color: #007481;
}

.cd-pic {
    border-radius: 50%;
    object-fit: cover;
    width: 250px; 
    height: 250px;
    display: block;
}

.about-us-img1 {
    max-width: 528px;
    max-height: 377px;
    overflow: hidden;
}

.about-us-img2 {
    max-width: 595px;
    max-height: 358px;
    overflow: hidden;
}

.button-background-about {
    background-color: #005A87;
    border: none;
    text-align: center;
    text-decoration: none;
    color: #FFFFFF;
    font-family: "Inter";
}

.button-background-about.what {
    font-size: 1.5em;
    font-weight: 500;
}

.button-background-about.who {
    font-size: 1em;
    font-weight: 500;
}

.button-background-about:hover {
    background-color: #123647;
    color: #ffffff;
}

.c-section {
    max-width: 100vw;
}

.c-section.cd {
    background-color: #8FAFBF;
    color: #000000;
}

.c-section.ec {
    background-color: #597887;
    color: #000000;
}

.c-section.fellow {
    background-color: #8FA0BF;
    color: #000000;
}

.c-section.medrc {
    background-color: #596986;
    color: #FFFFFF;
}

.contact-icons {
    max-width: 100px;
    max-height: 100px;
}

.contact-icons-heading {
    color: #003087;
    font-weight: bold;
}

.contact-icons-text {
    margin: 0;
}

/* WEP landing pages */
.wep-heading-water {
    color: #6386C6;
    font-family: "Inter";
    text-decoration: none;
}

.wep-heading-env {
    color: #008700;
    font-family: "Inter";
    text-decoration: none;
}

.wep-heading-peace {
    color: #DCAE49;
    font-family: "Inter";
    text-decoration: none;
}

.icons {
    max-width: 250px;
    max-height: 220px;
}

/* WEP Sub pages */
.fellows-pic {
    max-width: 471px;
    max-height: 293px;
    overflow: hidden;
}

/* WEP sub page cirlces */

.container-circle-a {
    position: relative;
    width: 400px;
    height: 300px;
    overflow: hidden;
    left: -220px;
}

.container-circle-b {
    position: relative;
    width: 400px;
    height: 300px;
    overflow: hidden;
    right: -230px;
}

.circle {
    border-radius: 50%;
    position: absolute;
}

.circle.large-a {
    width: 250px;
    height: 250px;
    left: 0;
    top: 0;
    
}

.circle.large-b {
    width: 250px;
    height: 250px;
    right: 0;
    bottom: 0;
    
}

.circle.small-a {
    width: 100px;
    height: 100px;
    right: 0;
    bottom: 0;
}

.circle.small-b {
    width: 100px;
    height: 100px;
    left: 0;
    top: 0;
}

.clg-tc {
    background-color: #75b9e7;
}

.csm-tc {
    background-color: #8396c2;
}

.clg-ar {
    background-color: #80D4FF;
}

.csm-ar {
    background-color: #56C4C6;
}

.clg-wef {
    background-color: #00872E;
}

.csm-wef {
    background-color: #00875C;
}

.clg-cc {
    background-color: #115411;
}

.csm-cc {
    background-color: #00872E;
}

.clg-his {
    background-color: #DB9A48;
}

.csm-his {
    background-color: #DBBF48;
}

/* Publications */
.card-cover {
    position: relative;
    width: 18rem;
    min-height: 400px;
    margin: 20px;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
    border-radius: 0.5rem;
    z-index: 10; 
    overflow: hidden;
}

.card-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.card-cover:hover .card-overlay {
    opacity: 0;
    pointer-events: none; 
}

.form-check-input:checked[type=radio] {
    background-color: #005A87;
    border-color: #005A87;
  }

  .pagination .page-item.active .page-link {
    background-color: #005A87;
    border-color: #005A87;
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: #123647; 
    color: white;
    border-color: #123647;
}

.mid {
    justify-content: center;
}

/* Media queries */

@media (max-width: 760px), (max-height: 480px) {
    .body {
        font-family: "Montserrat";
        font-weight: 400;
        font-style: normal;
        font-size: medium;
        padding:0;
        margin:0;
        background-color:#F4f4f4;
        overflow-x: hidden;
        color: #000000;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }
    
    .wep-landing-text {
        font-size: 3rem;
        font-weight: bold;   
    }

    .about-us-img1 {
        max-width: 100%;
        max-height: auto;
        overflow: hidden;
    }

    .about-us-img2 {
        max-width: 100%;
        max-height: auto;
        overflow: hidden;
    }

    .mid, .end {
        justify-content: start !important;
    }

    .circle-hide {
        display: none;
    }

    .fellows-pic {
        max-width: 100%;
        max-height: auto;
        overflow: hidden;
    }

    .card-overlay {
        display: none;
    }

    .footer-socials {
        justify-content: start;
    }

    .fullscreen {
        display: none;
    }

    .mobile-drop {
        margin-left: 20px;
    }

}
