body, html {
    margin:0;
    padding: 0;
    height: 100vh;
    overflow:hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
@font-face {
    font-family: 'Avenir_Next_Bold';
    src: url('../fonts/AvenirNext-Bold.woff2');
}
@font-face {
    font-family: 'Avenir_Next_Regular';
    src: url('../fonts/AvenirNext-Regular.woff2');
}
@font-face {
    font-family: 'AvenirNextLTPro-Regular';
    src: url('../fonts/AvenirNextLTPro-Regular.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Noto_Sans_SC_Regular';
    src: url('../fonts/NotoSansSemiCondensed-Regular.woff2');
    font-weight: normal;
    font-style: normal;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
#container{
    width: 100%;
    height: 100%;
    display: flex;
}
.blocks {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}
#block-left{
    background-image: url("../image/background_left.webp");
}
#background-logo{
    background-image: url("../image/background_logo_dst.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 30vw;             
    height: 20vw;    
    position: absolute;
    left: -19%;
    bottom: -4%;
}
#block-right{
    background-image: url("../image/background_right.webp");
}
#logo-container-left {
    width: 70%;
    margin-bottom: 5%;
}
#logo-container-right {
    width: 60%;
    margin-bottom: 8%;
}
.logo {
    width: 100%;
    height: auto;
    max-width: 1000px;
}
.content {
    text-align: center;
    color: #FFFFFF;
    position: relative;
}
#content-left {
    position: relative;
    top: 2%;
    font-family:'Noto_Sans_SC_Regular', serif;
}
#content-right{
    font-family:'AvenirNextLTPro-Regular', serif;
}
.content-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease;
}
.content-container:hover {
    transform: scale(1.05);
}
.title {
    font-size: 46px;
    margin-bottom: 3%;
}
.text {
    font-size: 20px;
    margin-bottom: 5%;
}
.button {
    width: 200px;
    height: 47px;
    color: #fff;
    border:none;
    border-radius: 5px;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
}
#button-left{
    background-color: #2B0BE8;
}
#button-right{
    background-color: #21326D;
}
.close-button {
    position: absolute;
    background-image: url("../image/close-button.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
}
.big {
    right: 1.5%;
    top: 3%;
    width: 3%;
    height: 3%;
}
.small {
    right: 4%;
    top: 8%;
    width: 5%;
    height: 5%;
}
#fullscreen-overlay {
    height: 100%;
    width: 100%;
    background-color: rgba(14, 20, 67, 0.8);
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: none;
}
#fullscreen-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
#popup-big {
    height: max-content;
    width: 50%;
    background-color: #FFF;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.7s ease forwards;
}
#popup-text-area {
    padding: 6% 10% 6% 6%;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#popup-title {
    font-family: Avenir_Next_Bold, 'sans-serif';
    font-size: clamp(1rem, 4.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 2rem;
}
#popup-text {
    font-family: Avenir_Next_Regular, 'sans-serif';
    font-size: clamp(0.5rem, 2.5vw, 1.25rem);
    line-height: 1.3;
}
#questionmark-toggle-button {
    position: absolute;
    right: 1.5%;
    bottom: 2%;
    background-image: url("../image/info.png");
    width: 23px;
    height: 23px;
    background-repeat: no-repeat;
    cursor: pointer;
}
#popup-small {
    position: absolute;
    right: 1.2%;
    bottom: 6%;
    width: 14%;
    background-color: #FFF;
    border-radius: 6px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
#popup-small.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}
#popup-small::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid white;
    border-top: 10px solid white;
}
#popup-text-area-small {
    padding: 5%;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#popup-title-small {
    font-family: Avenir_Next_Bold, 'sans-serif';
    font-size: clamp(0.4rem, 1.5vw, 0.75rem);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
#popup-text-small {
    font-family: Avenir_Next_Regular, 'sans-serif';
    font-size: clamp(0.4rem, 1.5vw, 0.75rem);
    line-height: 1.3;
}
#more-information-button {
    font-family: Avenir_Next_Regular, 'sans-serif';
    background-color: #00A7E1;
    font-size: clamp(0.4rem, 1.5vw, 0.75rem);
    color: #FFFFFF;
    height: max-content;
    width: max-content;
    padding: 2% 3% 2% 3%;
    border-radius: 6px;
    margin-top: 4%;
    text-decoration: none;
    cursor: pointer;
}
@media (max-width: 1370px) {
    .title{
        font-size: 35px;
    }
    .text {
        font-size: 17px;
    }
    #popup-small {
        width: 20%;
    }
    #popup-big {
        width: 75%;
    }
}
@media (max-width: 1024px) {
    #container{
        flex-wrap: wrap;
        flex-direction: column-reverse;
    }
    .blocks {
        width: 100%;
        height: 50%;
        background-size: cover;
        background-repeat: no-repeat;
    }
    #block-left{
        background-image: url("../image/mobile_background_down.webp");
    }
    #block-right{
        background-image: url("../image/mobile_background_up.webp");
    }
    .logo {
        margin-top: unset !important;
    }
    .title{
        font-size: 30px;
    }
    .text {
        font-size: 15px;
        margin-bottom: 7%;
    }
    .button {
        width: 100px;
        height: 30px;
        font-size: 15px;
    }
    #questionmark-toggle-button {
        background-size: 20px;
    }
    #popup-small {
        width: 25%;
    }
    #background-logo{
        left: -9%;
        bottom: -5%;
    }
    .big {
        right: 4%;
    }
}
@media (max-width: 768px) {
    .title{
        font-size: 25px;
    }
    .text {
        font-size: 13px;
    }
    .button {
        width: 80px;
        height: 25px;
        font-size: 10px;
    }
    #background-logo{
        bottom: -3%;
    }
    #popup-title {
        margin-bottom: 2vh;
    }
}
@media (max-width: 400px) {
    #popup-text-area-small {
        padding: 8%;
    }
    #more-information-button {
        padding: 3% 4% 3% 4%;
        margin-top: 6%;
    }
}