:root {
    --background-color: #F3F3F3;
    --dark-accent: #225361;
    --text: #4D4D4D;
    --light-blue: #1C4E59;
    --lighter-blue: #DCF1F9;
    --close-button-side: 48px;
    --rotation-duration: 16s;
    --hearbeat-duration: 6s;
}

html {
    height: 100%;
}

body {
    background: var(--background-color);
    margin: 0;
    height: 100%;
}

.main-content-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    width: 100%;
}

a {
    text-decoration: none;
}

h1 {
    font: normal normal 700 34px/42px 'Zen Maru Gothic';
    color: var(--dark-accent);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

h2 {
    font: normal normal 700 24px/32px 'Zen Maru Gothic';
    color: var(--dark-accent);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

.text {
    font: normal normal normal 14px/24px Roboto;
    color: #717171;
}

.banner {
    position: absolute;
    top: 0;
    right: 0;
    height: 50px;
}

.ellipsize {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


@-webkit-keyframes rotating /* Safari and Chrome */
{
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating var(--rotation-duration) linear infinite;
    -moz-animation: rotating var(--rotation-duration) linear infinite;
    -ms-animation: rotating var(--rotation-duration) linear infinite;
    -o-animation: rotating var(--rotation-duration) linear infinite;
    animation: rotating var(--rotation-duration) linear infinite;
}

.tag {
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
    color: #48A9C5;
    background-color: rgba(72, 169, 197, 0.1);
    border: 1px solid #48A9C5;
    border-radius: 20px;
    font: normal normal normal 14px/26px Roboto;
}

.thin-scrollbar {
    scrollbar-width: thin;
}

.thin-scrollbar::-webkit-scrollbar {
    margin-right: 10px;
    padding-right: 10px;
    margin-top: 20px;
    width: 5px;
    height: 8px;
    border-radius: 5px;

}

.thin-scrollbar::-webkit-scrollbar-thumb {
    width: 5px;
    height: 8px;
    border-radius: 5px;
    background: #CFCFCF;
}

.small-header {
    z-index: 11;
    top: 0;
    position: fixed;
    width: 100%;
    background: var(--dark-accent);
    height: 50px;
    display: flex;
    justify-content: center;
}

.small-header-container {
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    height: 100%;
    display: flex;
    align-items: center;
}

.small-header-label {
    font: normal normal normal 14px/20px 'Noto Sans';
    color: white;
}

.footer-wrapper {
    overflow: hidden;
    position: relative;
    background: var(--dark-accent);
    margin-top: 100px;
    width: 100%;
    min-height: 600px;
    display: flex;
    flex-flow: column;
    align-items: center;
}

.footer-angle {
    width: 100%;
    background: white;
    position: absolute;
    height: 60px;
    top: -25px;
    transform: rotate(1deg);
}

.footer-items-container {
    box-sizing: border-box;
    padding-right: 30px;
    padding-left: 30px;
    max-width: 1400px;
    align-items: center;
    margin-top: 100px;
    display: flex;
    gap: 50px;
    height: fit-content;
    flex-wrap: wrap;
}

.footer-items-container a{
    display: flex;
    align-items: center;
    color: white;
    gap: 10px;
    font: normal normal normal 14px/19px 'Noto Sans';
}

.footer-items-container svg {
    width: 24px;
    height: 24px;
}

.footer-item {
    cursor: pointer;
    font: normal normal normal 14px/19px 'Noto Sans';
    color: white;
}

.footer-logo {
    width: 120px;
    height: 70px;
    background-image: url("../images/logo_white.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.top-dynamic-nav-wrapper {
    z-index: 10;
    top: -50px;
    position: fixed;
    background: white;
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: center;
    transition: top 0.5s;
}

.top-dynamic-nav-wrapper-enabled {
    top: 50px;
}


.top-dynamic-nav-container {
    gap: 20px;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
}

.top-dynamic-nav-items-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-dynamic-nav-item {
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    height: 34px;
    flex-wrap: nowrap;
    font: normal normal normal 16px/22px 'Noto Sans';
    color: var(--dark-accent);
}

.top-dynamic-nav-item-active {
    background: #DCF1F9;
    border-radius: 17px;
    font-weight: bold;
    color: var(--light-blue);
}

.top-dynamic-nav-item:hover {
    text-stroke: 1px var(--dark-accent);
    -webkit-text-stroke: 1px var(--dark-accent);
}

.top-dynamic-nav-item-active:hover {
    text-stroke: unset;
    -webkit-text-stroke: unset;
}

.logo-color {
    margin-left: 12px;
    flex-shrink: 0;
    width: 93px;
    height: 56px;
    background-image: url("../images/logo_color.svg");
    background-position: center;
    background-size: contain;
}

.mobile-header-container {
    display: none;
}

.mobile-header-wrapper {
    display: none;
}

.mobile-banner {
    background: white;
    display: block;
    width: 100%;
    position: fixed;
    z-index: 11;
}

#test-title {
    word-wrap: break-word;
}

@media (max-width: 986px) {
    :root {
        --close-button-side: 25px;
    }

    .mobile-main {
        padding-top: 140px;
    }

    .mobile-main-small {
        padding-top: 80px;
    }

    .small-header {
        display: none;
    }

    .top-dynamic-nav-wrapper {
        display: none;
    }

    .top-dynamic-nav-wrapper {
        z-index: 10;
        top: 0;
        background: rgb(243, 243, 243);
        width: 100vw;
        height: 100%;
        display: flex;
        justify-content: unset;
        transition: left 0.5s;
        opacity: 1;
        left: -100vw;
    }

    .top-dynamic-nav-wrapper-active {
        display: flex;
        left: 0;
    }


    .top-dynamic-nav-container {
        padding-top: 20px;
        gap: 20px;
        justify-content: center;
        width: 80%;
        flex-flow: column;
    }

    .top-dynamic-nav-container .logo-color {
        display: none;
    }

    .top-dynamic-nav-items-container {
        flex-flow: column;
    }

    .footer-items-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mobile-header-wrapper {
        display: flex;
        flex-flow: column;
        width: 100%;
    }

    .mobile-header-container {
        display: flex;
        position: fixed;
        width: 100%;
        height: 80px;
        top: 57px;
        z-index: 12;
        align-items: center;
        justify-content: space-evenly;
    }

    .mobile-header-image {
        position: absolute;
        width: 100%;
    }

    .mobile-burger {
        z-index: 1;
        width: 50px;
        height: 50px;
    }

    .mobile-logo {
        z-index: 1;
        width: 65px;
        height: 40px;
    }

    .mobile-title {
        padding-left: 12px;
        z-index: 1;
        color: var(--text);
        font: normal normal 400 9px/12px 'Noto Sans';
        border-left: 1px solid var(--text);
    }

    .main-header-logo-container {
        margin-top: 0 !important;
    }
}