@import url('https://fonts.googleapis.com/css2?family=Gudea:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --primary-color: #0F3C6C;
    --nav-background: #0F3C6C;
}

body {
    box-sizing: border-box;

    font-family: "Inter", sans-serif;


    margin: 0px;
    background-color: #add8e6; background-image: linear-gradient(315deg, #add8e6 0%, #fffafa 74%);
}

body > section {
    max-width: 1200px;
    margin: auto;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    flex-direction: column;

    height: 800px;
    max-height: 800px;
    
    width: 100vw;

    top: 0;
    position: absolute;
    z-index: -1;

    background: linear-gradient(#134381B8, #134381B8), url('hero.png') no-repeat center center/cover;

    font-family: 'Gudea', sans-serif;
}


.overlay {
    padding: 20px;
    border-radius: 10px;

    width: 100vw;

    flex-grow: 1;

    display: flex;
    justify-content: flex-end;
    flex-direction: row;
}

.overlay-left-mod {
    justify-content: flex-start;
}

.overlay-left-mod > section {
    padding-left: 5%;
}

.overlay-left-mod > section > h1 {
    text-align: left !important;
}

.overlay-left-mod > section > p {
    text-align: left !important;
}

.overlay > section {
    max-width: 50%;
    width: 50%;
    
    padding-right: 5%;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overlay > section > h1 {
    color: white;
    font-size: 4rem;

    text-align: right;
}

.overlay > section > p {
    color: white;
    font-size: 1.5rem;

    text-align: right;
}

section {
    padding: 40px;
    text-align: center;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;

    background: rgba(14, 110, 200, 0.2);
}

footer a { 
    text-decoration: none !important;
    color:black;
}

.end-footer {
    display: flex;
    justify-content: space-between;

    flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
    .hero {
        height: 1000px;
    }

    .overlay > section {
        max-width: 100%;
    }

    .overlay > section > h1 {
        font-size: 2rem;
    }

    .overlay > section > p {
        font-size: 1rem;
    }

    .end-footer {
        display: none;
    }

    .start-footer {
        flex-direction: column;
    }

    .split-card {
        flex-wrap: wrap;
    }

    .vertical-cards {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .split-card > img {
        display: none;
    }

    .nav-links {
        display: none !important;
    }
    .mobile-nav {
        display: block !important;
    }

    .news > .articles > article {
        max-width: 170px !important;
    }
    
    .news > .articles > article > h3 {
        max-width: 170px !important;
    } 
}

.end-footer > img {
    height: auto;
    width: 200px;
    object-fit: contain;
}

.end-footer > p {
    align-self: flex-end
}

.start-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    text-align: left;
}

footer > section {
    padding: 0px !important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    flex-grow: 0;

    padding-right: 2%;
}

nav > ul > li {
    list-style: none;

    padding-right: 20px;
}

nav > ul > li > a {
    color: white;
    text-decoration: none;

    font-weight: bold;
}

.nav-bg {
    background-color: var(--nav-background);
    transition: background-color 0.5s;
}

.nav-bg-disabled {
    background-color: transparent;
    transition: background-color 0.5s;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;

    height: 71px;
    margin: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;

    margin: 20px;
}

.mobile-nav {
    display: none;
}

.sticky > div > a {
    text-decoration: none;
    color: white;
    margin:20px;
}

.sticky {
    position: sticky;
    top: 0;
}

.split-card {
    text-align: right;

    font-family: "Inter", sans-serif;
    font-size: 24px;

    display: flex;

    justify-content: center;
    align-items: center;
}

.split-card > * {
    width: 100%;
    height: auto;
    padding: 24px;
}

.split-card > img {
    max-width: 600px;
}

.left {
    text-align: left;
}

.vertical-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.vertical-cards > div > img {
    width: 65px;
}

.vertical-cards > div > p {
    text-align: center;
}

.articles > article {
    display: flex;
    flex-direction: column;
    align-items: start; 
    
    background-color: #D9D9D9;

    padding: 15px;
}

.articles > article > h3, p {
    font-family: "Inter", sans-serif;
}

.articles > article > img {
    width: 100%;
    height: 320px;
    
    object-fit: cover;
    border-radius: 5%;
}

.articles {
    display: flex;
    gap: 20px;

    flex-wrap: wrap;
}

.news {
    display: flex;
    justify-content: center;
    flex-direction: column;

    flex-wrap:wrap;
}

.news > h1 {
    font-size: 36px;
    margin-bottom: 0px;
}

.news > .articles > article {
    max-width: 320px;

    cursor: pointer;
}

.news > .articles > article > h3 {
    text-overflow: ellipsis;
    overflow: hidden; 
    max-width: 320px;
} 

.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 100px;
}

.team-members > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-members > div > img {
    width: 200px;
    height: 200px;
    object-fit: fill;
    border-radius: 50%;
}

.contact-details > div > div {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.contact-details > div > div > img {
    width: 50px;
}

.contact-details > div > div > p {
    font-size: 24px;
}

.contact-details > div {
    display: flex;
    justify-content: flex-start;
    gap: 20px;

    flex-wrap: wrap;
}

.hamburger { 
    display: none;

    position: fixed;
    left: 0;
    top: 0;

    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;
    background-color: #0F3C6C;
    color: white;
    text-decoration: none;

    margin-top: 114px;
}

.hamburger > a {
    color: white;
    text-decoration: none;
    padding-bottom: 50px;
}

.enabled {
    display: flex !important;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

.disabled {
    display: flex !important;
    -webkit-animation: fadeOut 0.5s;
    animation: fadeOut 0.5s;
}

@-webkit-keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes fadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

.news-article {
    text-align: left;

    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
    gap: 5px;
}

.image-container > img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5%;
}

.image-container > p {
    font-size: 18px;
}