* {
    box-sizing: border-box;
}

img {
  user-select: none;
}

html, body {
    background: #ead8c9;
    color: #034d6c;
    font-family: Poppins;
    font-size: 20px;
    /* min-height: 100vh; */
    line-height: 1.7;
    margin: 0;
}

header {
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    display: flex;
    position: sticky;
    top: 0;
    margin-bottom: 0.5rem;
    z-index: 2;

    --header-height: 120px;
}
header > div, header nav {
    flex: 1;
}
header .pages {
    display: flex;
    flex-direction: column;
    flex: 1;
    font-size: 1.2rem;
}
header .pages a {
    margin: 1rem;
}
header .logo-section {
    align-items: center;
    display: flex;
    height: var(--header-height);
    justify-content: center;
    margin: 0 1rem;
    position: relative;
}
header .logo-section a {
    display: flex;
}
header .logo-section img {
    width: 170px;
    margin: auto;
}
header nav {
    background: #f3954a;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: calc(100vh - var(--header-height));
    opacity: 0;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: var(--header-height);
    transition: opacity 0.2s;
    width: 100%;
    overflow: hidden;
    padding: 0.8rem 0;
}
header nav > * {
    transform: translateY(100px);
    transition: transform 0.2s;
}
header.open nav {
    opacity: 1;
    pointer-events: auto;
}
header.open nav > * {
    transform: translateY(0);
}
header nav a {
    color: currentColor;
    text-decoration: none;
}
header nav a:hover {
    opacity: 0.7;
}

.header .lang-switcher {
    display: flex;
    justify-content: end;
    align-items: center;
}

.burger {
    display: flex;
    cursor: pointer;
    position: absolute;
    flex-direction: column;
    justify-content: space-around;
    width: 35px;
    height: 34px;
    left: 0;
}
.burger div {
    background: #034d6c;
    height: 4px;
    transition: 0.2s;
    width: 100%;
}
.open .burger div:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.open .burger div:nth-child(2) {
    opacity: 0;
}
.open .burger div:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


h1 {
    font-size: 1.4rem;
    margin: 0;
}



footer {
    background: #46825f;
    color: white;
    width: 100%;
    padding: 2rem 0;
}
footer .container {
    align-items: center;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 1rem;
}
footer .footer-logo {
    display: flex;
    flex: 0 0 auto;
    order: 0;
}
footer .footer-logo img {
    margin: auto;
    margin-bottom: 1rem;
    max-width: 90px;
}
footer .funding img {
    height: 40px;
    margin: 0.5rem;
}
footer .social-list {
    display: flex;
    margin-top: 0.5rem;
    justify-content: center;
}
footer .social-button {
    display: flex;
    margin-top: 0.5rem;
    justify-content: center;
    position: relative;

    border-radius: 50%;
    width: 40px;
    background: white;
    height: 40px;
    margin: 0 0.5rem;
}
footer .social-button img {
    width: 100%;
    position: absolute;
}


.container {
    margin: auto;
    max-width: 1500px;
    padding: 0 1.4rem;
}
.no-container-mobile {
    padding: 0;
}

.flex {
    display: flex;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.top-banner {
    background-position: center;
    background-size: cover;
    height: 300px;
    width: 100%;
}

.button {
    color: black;
    text-decoration: none;
    padding: 1rem 1.6rem;
    font-size: 0.7rem;
    transition: opacity 0.2s;
}
.button:hover {
    opacity: 0.8;
}

.img-frame {
    overflow: hidden;
}
.img-frame img {
    object-fit: fill;
}

.block {
    padding: 2rem 0;
}

.bg-pastel {
    background: #ead8c9;
}
.fg-pastel {
    color: #ead8c9;
}

.bg-blue {
    background: #008cbd;
}
.fg-blue {
    color: #008cbd;
}

.bg-darkblue {
    background: #034d6c;
}
.fg-darkblue {
    color: #034d6c;
}

.bg-orange {
    background: #f3954a;
}
.fg-orange {
    color: #f3954a;
}

.center {
    align-items: center;
    display: flex;
    justify-content: center;
}

.bg-black {
    background: black;
}
.fg-black {
    color: black;
}

.flex-equal {
    display: flex;
}
.flex-equal > * {
    flex: 1;
}

.padding-right {
    padding-right: 3rem;
}
.padding-left {
    padding-left: 3rem;
}

.align-center {
    text-align: center;
}

.section {
    padding: 2rem 0;
    position: relative;
}
.section img {
    max-width: 100%;
}

.swiper {
    max-height: 890px;
    --swiper-navigation-color: white;
    --swiper-pagination-color: white;
}
.swiper img {
    width: 100%;
    object-fit: contain;
}

.swiper-button-next:after, .swiper-button-prev:after {
    filter: drop-shadow(0 0 0.1rem black);
}

.split-section {
    padding: 0 1.4rem;
}

.split-half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.blogs {
    display: grid;
    justify-content: center;
    grid-template-columns: 1fr;
    row-gap: 10px;
    column-gap: 10px;
}
.blogs h2 {
    font-size: 1rem;
}
.blogs > a {
    color: white;
    display: flex;
    flex-direction: column;
    flex: 0;
    justify-content: space-between;
    justify-self: center;
    max-width: 450px;
    padding: 2rem;
}
.blogs img {
    max-width: 100%;
}

.blogs > a:nth-child(odd) {
    background: #0786bd;
}
.blogs > a:nth-child(even) {
    /* flex-direction: column-reverse; */
    background: #034d6c;
    /* background: #034d6c; */
}

.team-section {
    text-align: center;
}
.team-section h1 {
    margin-bottom: 2rem;
}
.team-section .members {
    display: grid;
    font-size: 0.8rem;
    grid-gap: 100px 100px;
    grid-template-columns: 1fr;
    justify-content: center;
}
.team-section .members > div {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    margin: 0 auto;
}
.team-section .members strong {
    font-size: 1rem;
    margin-top: 0.6rem;
}
.team-section .members img {
    height: 600px;
    object-fit: cover;
    /* max-width: 400px; */
}

.hostlab-section img {
    width: 100%;
    max-width: 450px;
}

.img-section,
.img-section img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}


@media only screen and (min-width: 1024px) {
    html, body {
        font-size: 22px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .img-frame {
        max-width: 50%;
    }

    .split-section img {
        display: flex;
    }
    .split-section img {
        max-width: 1000px;
        margin: auto;
        padding: 1rem;
    }

    .no-container-mobile{
        padding: 0 1.4rem;
    }

    .blogs {
        grid-template-columns: 1fr 1fr;
    }

    .team-section .members {
        grid-template-columns: 1fr 1fr;
    }
    .team-section .members img {
        height: 500px;
    }
}

@media only screen and (min-width:1300px) {
    html, body {
        font-size: 22px;
    }

    header {
        flex-direction: row;
        font-size: 0.9rem;
        justify-content: space-between;
        margin-bottom: 1rem;
        padding: 0 1.4rem;
    }
    header .pages {
        flex-direction: row;
        font-size: 1rem;
        justify-content: start;
        left: 50%;
        position: absolute;
        transform: translateX(-50%);
    }
    header .pages a {
        margin: 0.5rem;
    }
    header .logo-section {
        display: flex;
        justify-content: start;
    }
    header .logo-section img {
        width: 200px;
    }

    header nav {
        background: none;
        display: flex;
        flex-direction: row;
        font-size: 1rem;
        height: auto;
        justify-content: flex-end;
        line-height: 150%;
        opacity: 1;
        pointer-events: auto;
        position: static;
    }
    header nav > * {
        transform: translateY(0);
    }
    header .burger {
        display: none;
    }

    header nav a {
        border-left: none;
        border-right: none;
        border: 3px solid transparent;
        cursor: pointer;
        display: flex;
        margin: 0.7rem;
        padding: 0.2rem;
        text-wrap: nowrap;
        transition: 0.2s;
    }
    header nav a.active {
        border-bottom: 3px solid currentColor;
        opacity: 1;
    }

    footer {
        padding: 5rem 0;
    }
    footer .container {
        flex-direction: row;
        margin-top: 0;
        align-items: normal;
    }

    footer .footer-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    footer .footer-logo img {
        margin-bottom: 0;
    }
    footer .social > div, footer .funding > div {
        display: flex;
        flex-direction: column;
        flex: 1;
        height: 100%;
        justify-content: flex-start;
    }

    .split-section {
        justify-content: end;
    }
    .split-section > div {
        display: flex;
        margin: auto;
        padding: 1rem 2.2rem;
        width: 50%;
    }
    .split-section > div > div {
        max-width: 900px;
    }
    .split-section > img {
        max-height: 100%;
        object-fit: cover;
        padding: 0;
        /* padding: 2.4rem; */
        position: absolute;
        top: 0;
        /* top: 50%;
        transform: translateY(-50%); */
        /* width: 50%; */
        width: 50%;
        max-width: none;
        height: 100%;
    }
    .split-section.img-right > div {
        align-items: start;
        justify-content: flex-end;
    }
    .split-section.img-right > img {
        right: 0;
    }
    .split-section.img-right > div {
        margin-left: 0;
    }
    .split-section.img-left > div {
        justify-content: flex-start;
    }
    .split-section.img-left > img {
        left: 0;
    }
    .split-section.img-left > div {
        margin-left: 50%;
    }

    .blogs {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1600px;
        margin: auto;
    }

    .team-section .members {
        grid-template-columns: repeat(4, 1fr);
    }
    .team-section .members img {
        height: 400px;
    }

    .hostlab-section .container {
        display: flex;
    }
    .hostlab-section .container > div {
        width: 50%;
    }
}

@media screen and (min-width:2000px) {
    .section {
        padding: 4rem 0;
    }

    .top-banner {
        height: 400px;
    }

    .split-section > div > div {
        padding: 1.4rem;
    }
}