/* Fonts */
@font-face {
    font-family: Gadner;
    src: url(fonts/gadner.bold.otf);
}

@font-face {
    font-family: FeatureMonoLight;
    src: url(fonts/FeatureMono-Light.ttf);
}


:root{
    --agenda-tile-height: 150px;
    --agenda-tile-gap: 10px;
    --fontsize1: 30px;
    --fontsize2: 20px;
}

#agenda-grid{
    /* background-color: yellow;
    border: 3px solid maroon; */
    text-align: left;
    display: block;
    width: calc(var(--tile-size) * 3 + var(--gap-size) * 2);  
}

.agenda-tile{
    /* background-color: yellow; */
    box-sizing: border-box;
    width: calc(var(--tile-size) * 3 + var(--gap-size) * 2);
    /* height: var(--tile-size); */
    position: relative;
    border: var(--border);
    margin-bottom: var(--agenda-tile-gap);

    display: flex;
    flex-direction: row;
}

.agenda-img{
    border-right: var(--border);
    box-sizing: border-box;
    /* margin: 1px 0 0 1px; */
    width: var(--tile-size);
    min-width: var(--tile-size);
    height: var(--tile-size);
    display: inline-block;
    font-family: Gadner, Helvetica, sans-serif;
    z-index: 2;
}

.agenda-img img{
    width: 100%;
    height: 100%;
}

.agenda-date{
    color: var(--main-color);
    background-color: white;
    border-right: var(--border);
    border-bottom: var(--border);
    /* display: inline-block; */

    font-size: var(--fontsize1);
    padding: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.agenda-text{
    box-sizing: border-box;
    padding-left: 10px;
    padding-top: 10px;
    overflow: hidden;
}

.agenda-artist{
    font-size: var(--fontsize1);
    text-transform: uppercase;
}
.agenda-location{
    font-size: var(--fontsize2);
}

.agenda-desc{
    font-family: FeatureMonoLight, monospace;
}






@media only screen and (max-width: 700px){
    #agenda-grid{
        width: 90vw;
    }
    
    .agenda-tile{
        width: 90vw;
        flex-direction: column;
        padding-bottom: 50px;
    }

    .agenda-img{
        box-sizing: border-box;
        background-color: yellow;
        width: 100%;
        height: auto;
        


        border-left: none;
        border-right: none;
        border-bottom: var(--border);

        max-width: 100%;
        min-width: 0;
    }

    .agenda-img img{
        width: 100%;
        height: auto;
        box-sizing: border-box;
        display: block;
    }

}

@media only screen and (min-width: 701px) and (max-width: 1000px){
  
    #agenda-grid{
        width: calc(var(--tile-size) * 2 + var(--gap-size));
    }
    
    .agenda-tile{
        box-sizing: border-box;
        width: calc(var(--tile-size) * 2 + var(--gap-size));
        height: var(--tile-size);
        max-height: var(--tile-size);
        padding-bottom: 50px;
    }

    .agenda-img{
        height: calc(var(--tile-size) - var(--gap-size));
        max-height: calc(var(--tile-size) - var(--gap-size));
    }

    .agenda-img img{
        height: 1000px;
        max-height: calc(var(--tile-size) - var(--gap-size))
    }

    .agenda-text::after{
        content: '\a ...';
    }
  

}


@media only screen and (min-width: 1001px){
 


}

@media only screen and (min-width: 1601px){
    /* Wenn viertes also letztes Element dann über zwei Vertikale columns, ansonsten horizontal über zwei spalten */
/* für andere bildschrimgrössen siehe unten in media queries */





}
