#uni-projects-page{
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    flex-direction: column;
    overflow: hidden;
}
.slider-container {
    user-select: none;
    width: 100%;
    height: 100%;
    max-width: 800px;
    max-height: 550px;
    position: relative;
    display: flex;

    justify-content: center;
    align-items: center;
    padding: 1rem;
}
.items{
    display: block;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.3);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: 0.2s ease;
    width: 100%;
    height: 100%;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
}

.items:hover{
    border-color: white;
}

.swiper-button-prev, .swiper-button-next {
    color: black;
    font-size: 2rem;
    z-index: 10; /* Ensure they appear above the slides */
}


#productDimensionsBild,
#generativeGestaltungBild,
#codingEssentialsBild{
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
}

.uni-project-images {
    border-radius: 10px;
    background-color: white;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Behaltet das Seitenverhältnis bei, ohne das Bild zu beschneiden */
    display: block;
    padding: 0.3rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* TO DO: media queries and design */

#uni-projects-headline{
    font-size: 3rem;
    font-family: "Arial Black";
    color: white;
}

.items-text{
    max-width: 100%;
    max-height: 100%;
}

.items-text h1 {
    width: 100%;
    font-size: 2rem;
    font-family: "Arial Black";
    display: inline-block;
    color: white;
    background: linear-gradient(to top right, #b5ecb5, lightblue ) ;
    border-radius: 8px;
    padding: 10px 20px;
}

/*=== making it responsive ===*/
@media screen and (max-width: 320px){
    #uni-projects-headline{
        font-size: 1.8rem;
    }
    .uni-project-images{
        padding: 0.3rem;
    }

    .items-text h1{
        font-size: 1.5rem;
    }

    .items-text p{
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 300px) and (max-height: 650px){
    #uni-projects-page{
        height: initial;
    }
    .slider-container {
        display: flex;
        flex-direction: column; /* Elemente vertikal stapeln */
        justify-content: center;
        align-items: center;
        height: auto; /* Flexibilität bei der Höhe */
    }
}

@media screen and (min-width: 400px) and (max-height: 400px){
    #uni-projects-page{
        height: initial;
    }
    .slider-container {
        display: flex;
        flex-direction: column; /* Elemente vertikal stapeln */
        justify-content: center;
        align-items: center;
        height: auto; /* Flexibilität bei der Höhe */
    }
}

@media screen and (min-width: 320px){
    #uni-projects-headline{
        font-size: 2rem;
    }
    .items-text h1{
        font-size: 1.5rem;
    }
    .items-text p{
        font-size: 1rem;
    }
}

@media screen and (min-width: 500px){
    #uni-projects-headline{
        font-size: 2.5rem;
    }
    .items-text h1{
        font-size: 2rem;
    }
    .items-text p{
        font-size: 1.5rem;
    }
}

@media screen and (min-width: 1500px){
    .slider-container{
        max-width: 1500px;
    }

    .items-text p{
        font-size: 1rem;
    }
}


