* {
    transition-property: all;
    transition-duration: 0.5s;
}

/* Reset some default styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--primary);
}

/* Main content styling */
#main_content {
    margin: auto;
    padding: 0vw;
    background: none;
    border-radius: 0;
    width:100vw;
    min-height:100vh;
    overflow-x: hidden;
}

#main_content .illustration img:hover,
#main_content .text_place h4:hover,
#main_content .text_place p:hover{
    transform: scale(1.01);
    cursor:pointer;
}

#welcom {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    height: 100%;
    width: 90vw;
}

#welcom .illustration {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    min-width: 60vw;
    max-width: 60vw;
}

#welcom .illustration img {
    margin-top: 0px;
    height: auto;
    max-width: 70%;
}

#welcom .text_place {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    min-height: 100vh;
    min-width: 46vw;
    max-width: 46vw;
    padding-left: 2vw;
    padding-right: 2vw;
   
    background-color: var(--bg-overlay);
    backdrop-filter: blur(20px);
    border-left: solid;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

#welcom .text_place>h4 {
    font-size: 3em;
    margin-top: 5vh;
}

#welcom .big_text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    min-width: 50vw;
    max-width: 60vw;
    padding-left: 2vw;
    padding-right: 2vw;
}

#welcom .big_text>h1,
#welcom .big_text>h4 {
    font-size: 3em;
    margin-top: 10vh;
}

/* Add styles for the background slider */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.background-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    animation: zoom 20s infinite;
}

.background-slider img.active {
    opacity: 1;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    #welcom {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: start;
        margin:auto;
    }

    #welcom .illustration {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        min-width: 96vw;
        max-width: 96vw;
    }

    #welcom .text_place,
    #welcom .big_text {
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        min-height: 60vh;
        max-width: 96vw;
        padding: 1em;
        border-radius: 10px;
        border: none;
    }

    #welcom .text_place>h4,
    #welcom .big_text>h1,
#welcom .big_text>h4 {
        font-size: 3em;
        margin-top: 2vh;
    }
}

#main_content.sub_page {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    margin: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Remove the old header styles */