@charset "utf-8";
/****************************************
 *   Styling des Vortrag-Abschnitts   *
 ***************************************/

article#presentations{
    font-size: 15px;
}
p.vortrag-beschreibung{
    text-align: center;
    margin: 50px 20%;
}
div.date-box{
    display: grid;
    /*margin: auto;*/
    margin: auto auto 150px;
    /*width: max-content;*/
    grid-template-columns: auto;
    grid-template-rows: min-content;
    grid-auto-rows: min-content;
}
div.date-logo{
    display: flex;
}
div.date-logo img#calendar-icon{
    width: 100px;
    margin: 10px auto 50px;
}
div.dates{
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content;
    grid-auto-rows: min-content;
    margin: auto;
}
div.dates p {
    text-align: center;
    padding: 5px 30px;
}

div.dates p.date{
    background-color: dimgrey;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
}
div.dates p.location{
    background-color: lightgrey;
    margin-top: 0;
}

hr.hr-presentation {
    margin-top: 150px;
}





.date-list {
    max-width: 1000px;
    margin: 100px auto;
    width: fit-content;
    box-shadow: 5px 5px 18px lightgrey;

    border-left: 15px solid lightgrey;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;

    display: grid;
    grid-template-columns: auto;
    grid-template-rows: min-content;
    grid-auto-rows: min-content;
}

/*
.date-entry {
    display: flex;
    border-left: 15px solid lightgrey;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}
*/

.date-list .date {
    padding: 5px 30px;
    margin-bottom: 0;
    font-weight: bold;
}
.date-list .location {
    padding: 5px 30px;
    margin-top: 0;
}

div.presentation-list {
    display: grid;
    /*grid-template-columns: repeat(6, 1fr);*/
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 20px;
    max-width: 1000px;
    margin: auto;
}

.entry-content {
    height: 60vw;
    position: relative;
    background-color: black;
}

.entry-content img {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.entry-content div.entry-info{
    position: absolute;
    bottom: 10px;
    opacity: 1;
    visibility: visible;
    padding: 0 15px;
    width: 100%;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    /*font-size: 12px;*/
    font-size: 4vw;
}

div.entry-info hr.entry-line {
    margin: 0;
}

.entry-content img {
    filter: blur(1px) brightness(0.5);
}

.entry-content:hover img {
    filter: none;
}

.entry-content:hover div.entry-info{
    transition: 0.5s bottom ease-in-out, 0.5s opacity ease-in-out;
    bottom: 0;
    opacity: 0;
    /*visibility: hidden;*/
}



/* S (Tablet Quer, Netbooks, kleine Laptops) */
@media (min-width: 30.06em) {
    p.vortrag-beschreibung{
        font-size: 20px;
    }
    div.dates {
        grid-template-columns: auto auto;
    }
    div.dates p.date {
        border: 5px solid lightgrey;
        margin: 10px 0;
    }
    div.dates p.location {
        border: 5px solid lightgrey;
        margin: 10px 0;
        text-align: left;
    }

    .date-list {
        grid-template-columns: auto auto;   
    }
    .date-list .date, .date-list .location {
        margin: 15px 0;
        font-weight: bold;
    } 

    div.presentation-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .entry-content {
        height: 30vw;
    }
    .entry-content div.entry-info{
        font-size: 2vw;
    }
}

/*M (Tablet Quer, Netbooks, kleine Laptops):*/
@media (min-width: 50.01em) {
    div.date-box{
        grid-template-columns: 1fr 1fr;
    }
    div.date-logo img#calendar-icon {
        width: 200px;
        margin: auto;
    }
    .date-list {
        font-size: 15px;
    }

    div.presentation-list {
        grid-template-columns: repeat(6, 1fr);
        /* grid-template-columns: repeat(12, 1fr); */
    }

    div.presentation-list .presentation-entry {
        grid-column-end: span 2;
        /* grid-column-end: span 4; */
    }

    
    div.presentation-list .presentation-entry:nth-of-type(-n+2),
    div.presentation-list .presentation-entry:nth-of-type(n+6) {
        grid-column-end: span 3;
    }
   

    /* div.presentation-list .presentation-entry:nth-of-type(n+4) {
        grid-column-end: span 3;
    } */


    .entry-content {
        height: 20vw;
    }
    .entry-content div.entry-info{
        font-size: 1.5vw;
    }
}

/*L (Laptops und kleine Desktops):*/
@media (min-width: 64em) {
    /*
    div.presentation-list {
        grid-template-columns: repeat(3, 1fr);
        grid-template-columns: repeat(6, 1fr);

    }
    */

    .entry-content {
        height: 200px;
    }
    .entry-content div.entry-info{
        font-size: 15px;
    }
}

/*XL (Große Desktops, muss nicht berücksichtigt werden):*/
@media (min-width: 90.01em) {
    article#presentations{
        font-size: 20px;
    }

    
}

