* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face{
    font-family: TelegrafBold;
    src: url('Telegraf\ UltraBold\ 800.otf') format('opentype');
}

@font-face{
    font-family: Telegraf;
    src: url('TelegrafRegular.otf') format('opentype');
}

body {
    background: #ffffff;
    height: 100vh;
}

#ostfalia{
    position: relative;
    width: 100%;

}
.header{
    padding: 5vw 5vw 0vh 5vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}
/* auge */
.square {
    position: fixed;
    width:120%;
    top: 70%;
    left: 70%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
    object-fit: contain;
    transition: opacity 2s ease;
}

/* Texte */
.content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    padding: 15vh 5vw 0vh 5vw;
    width: 50%;
    height: auto;
}

h1 {    
    font-size: 7vw;
    color: black;
    font-weight: 900;
    line-height: 1;
    font-family: TelegrafBold, Arial, sans-serif;
}

h2{
    color: white;
     font-family: Telegraf, Arial, sans-serif;
}

button{
    background-color: white;
    font-family: Telegraf, Arial, sans-serif;
    border-radius: 0px;
    border: none;
    text-align: center;
    padding: 0.3rem;
    width: 40%;
    font-size: 1em;
    color: black;
}
button:hover{
    cursor: pointer;
}

#date1:hover{
    color:#7ab51d
}
#date2:hover{
    color:#009690
}
#date3:hover{
    color:#ea5097
}
#date4:hover{
    color:#6e4e9b
}

/* Date items */
.date-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendarAndShare{
    display: flex;
    flex-direction: row;
    justify-content: space-around;   
    margin-top: 2rem;
}

/* Side Panel */
.side-panel {
    position: fixed;
    right: 0;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
    padding: 5vw 5vw 5vw 5vw;
    display: none;
}

.side-panel.active {
    display: block;
}

.side-panel img {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
}

.side-panel p {
    font-size: 1.5rem;
    color: #ffffff;
     font-family: Telegraf, Arial, sans-serif;
}

.title {
    font-size: 3rem;
    color: #000000;
    position: relative;
    width: 60%;
}
.thin{
    font-size: 1rem;
}

/* Mobile Responsive Design */
@media (max-width: 767px) {
    .square {
        display: block;
        width: 190%;
        top: 70%;
        left: 70%;

    }

    .content {
        width: 100%;
        height: auto;
        padding: 5vw;
    }

    h1 {
        font-size: 2.5rem;
        width: 100%;
    }

    .title {
        font-size: 2rem;
    }
    .thin{
        font-size: 0.5rem;
    }

    /* Side Panel - Bottom panel on mobile */
    .side-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 60vh;
        background: linear-gradient(to top, #000000, #000000dd);
        z-index: 1000;
        overflow-y: auto;
        padding: 50px 20px 20px 20px;
        display: block;
        transition: transform 0.3s ease;
        transform: translateY(200%);

    }

    .side-panel.active {
        transform: translateY(70%);
    }

    .side-panel p {
        font-size: 1rem;
        color: #ffffff;
        margin-bottom: 15px;
        margin-left: 0px;
        line-height: 1.5;
    }

    .side-panel img {
        width: 100%;
        max-height: 40vh;
        object-fit: contain;
        margin-top: 15px;
    }

    .date-item {
        transition: transform 0.2s ease;
    }

    .date-item:active {
        transform: scale(0.95);
    }
    

    #date1:hover{
        color:#7ab51d
    }
    #date2:hover{
        color:#009690
    }
    #date3:hover{
        color:#ea5097
    }
    #date4:hover{
        color:#6e4e9b
    }
}



/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #ffffff;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.close-btn:hover,
.close-btn:active {
    transform: translateX(-50%) rotate(90deg);
}

@media (min-width: 768px) {
    .close-btn {
        display: none;
    }
}



