/* HOME */
.home {
    background-color: #B3D3E3;
}

.home .main {
    padding-bottom: 0;
}

.home__container {
    display: flex;
    padding:6rem 0 0 0;
}

.home__map {
    flex: 1;
    padding-top: 100px;
}

.home__panel {
    flex: 0 0 580px;
    position: relative;
}

/* MAP */
.map {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
}

.map__slideshow {
    position: absolute;
    top: 34.15%;
    left: 7.9%;
    height: 9.2%;
    width: 12.45%;
    background-color: black;
}

.map__slideshow img {
    object-fit: contain;
    width: 100px;
    height: 100%;
}

.map__slider {
    object-fit: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.map__counter {
    position: absolute;
    top: 83.5%;
    left: 57.5%;
    height: 5.6%;
    width: 6.98%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5rem;
}

.minilivestream {
    position: absolute;
    top: 83.55%;
    left: 57.30%;
    height: 4.0%;
    width: 7.3%;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    width: 100%;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.livestream_buttons .button {
    color: var(--color-blue);
    background-color: white;
}

.livestream_buttons .button svg {
    fill: var(--color-blue);
}

/* MARKER */
.marker {
    position: absolute;
    cursor: pointer;
    width: var(--marker-size);
    height: var(--marker-size);
    background-color: var(--color-red);
    border-radius: 50%;
}

.marker::before {
    content: '';
    position: absolute;
    left: -5px;
    top: -5px;
    border: 5px solid var(--color-red);
    width: var(--marker-size);
    height: var(--marker-size);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 1s ease-out infinite;
}

.marker__container {
    position: absolute;
    width: var(--marker-size);
    height: var(--marker-size);
}

.marker__container.show .tooltip__container,
.marker__container:hover .tooltip__container {
    display: block;
}

.marker--livestream {
    top: 69%;
    left: 58%;
}

.marker--publikum {
    top: 76%;
    left: 59%;
}

.marker--registrierung {
    top: 79%;
    left: 30%;
}

.marker--programm {
    top: 90%;
    left: 72%;
}

.marker--lookbook {
    top: 59%;
    left: 13%;
}

.marker--fraunhofer {
    top: 30%;
    left: 41%;
}

.marker--colab {
    top: 49%;
    left: 82%;
}

.marker--projekte {
    top: 52.5%;
    left: 65%;
}

@keyframes pulse {
    0% {
        transform: scale(0.1, 0.1);
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.5, 1.5);
        opacity: 0;
    }
}

/* TOOLTIP */
.tooltip {
    background-color: rgba(31, 130, 192, 0.85);
    padding: 20px 30px;
    color: white;
    border: 1px solid var(--color-grey);
    position: relative;
}

.tooltip__container {
    width: 280px;
    position: absolute;
    z-index: 110;
    bottom: var(--marker-size);
    transform: translateX(-50%);
    margin-left: calc(var(--marker-size) / 2);
    padding-bottom: 40px;
    display: none;
}

.tooltip--down {
    top: var(--marker-size);
    bottom: auto;
    padding-bottom: 0;
    padding-top: 40px;
}

.tooltip__headline {
    font-size: 2.8rem;
    line-height: 3.1rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.tooltip__text {
    font-size: 1.6rem;
    line-height: 2.3rem;
    margin-bottom: 2.4rem;
}

.tooltip .button {
    width: 100%;
}

.tooltip__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: none;
    display: none;
}

.tooltip__close.show {
    display: block;
}

.tooltip__close svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* PANEL */
.panel {
    max-width: 500px;
    background-color: var(--color-blue);
    padding: 40px 34px 40px 44px;
    color: white;
    background-image: url('/_assets/img/bg_panel2x.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 14rem;
    /*  position: absolute;
      right: 80px;
      top: 50%;
      transform: translateY(-50%);*/
    /* height: 70vh; */
    position: absolute;
    top: 0;
    height: calc(100% - 139px);
    overflow: hidden;
}

.panel_container {
    height: 100%;
    display: flex;
    flex-flow: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.panel__headline {
    font-size: 3.3rem;
    line-height: 4.1rem;
    font-weight: bold;
}

.panel__headline::after {
    content: '';
    width: 82px;
    height: 8px;
    background-color: white;
    display: block;
    margin-top: 2.5rem;
}

.panel__text {
    margin-top: 3.3rem;
}

.panel .button {
    margin-top: 2.5rem;
}

/* COUNTDOWN */
.countdown {
    margin-top: 3.5rem;
    display: flex;
}

.countdown__item {
    text-align: center;
}

.countdown__digit {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    font-size: 3rem;
    font-weight: bold;
    width: 51px;
    height: 55px;
}

.countdown__seperator {
    font-size: 3rem;
    padding: 10px 3px;
}

.countdown--red .countdown__digit {
    background-color: var(--color-red);
    color: white;
}

.panel_profiles__wrapper {
    margin-top: 3rem;
}

.panel_profiles__headline {
    font-size: 2.0rem;
    line-height: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.panel_tab__wrapper {
    display: flex;
    gap: 1rem;
}

.panel_tab__elem {
    padding: 3px 12px;
    border-style: solid;
    border-width: 1px 1px 0 1px;
    border-color: #ffffff;
    font-size: 1.6rem;
    line-height: 2.3rem;
    background: none;
    color: #ffffff;
    cursor: pointer;
}

.panel_tab__elem:hover {
    background: rgba(255, 255, 255, .25);
    transition: all var(--fx-speed) ease-in-out;
}

.panel_tab__elem.active {
    background-color: #ffffff;
    color: var(--color-blue);
}

.panel_profiles {
    position: relative;
    display: flex;
    flex-flow: column;
    gap: 1.5rem;
    border: 1px solid #ffffff;
    padding: 1.5rem;
    overflow: hidden;
    height: auto;
}

.panel_profiles.hidden {
    display: none;
}