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

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


/* Text Styles */
h1{
    font-family: Gadner, Helvetia, sans-serif;
    font-size: 25px;
}

h1:first-child{
    margin-top: 0;  
}

/* Link Styles */
a {
    text-decoration: none;
}




#links-container{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--gap-size);
}

.link{
    font-family: Gadner, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    /* font-family: FeatureMonoLight, monospace; */
    padding: 10px;
    border: var(--border);
    display: inline-block;

    text-decoration: none;
    color: black;
}

.link:hover{
    color: white;
    background-color: black;
    cursor: pointer;
}




:root{

    --main-color: black;
    --tile-size: 300px;
    --gap-size: 10px;
    --border: 5px solid black;
    --border-size: 5px;
}

body{
    font-family: Gadner, sans-serif;
    height: 100%;
    text-align: center;
    margin: 0;
}


#menu-icon{
    height: calc(var(--tile-size) / 5);
    width: calc(var(--tile-size) / 5);
    margin-right: 20px;
}


#menu-icon img{
    height: 100%;
    width: 100%;

}

.active-menu-item{
    background-color: black !important;
    color: white !important;
    user-select: none;
}

#back-icon{
    height: calc(var(--tile-size) / 2);
    width: calc(var(--tile-size) / 2);
    border-top: var(--border);
    border-right: var(--border);
}

#back-icon img {
    box-sizing: border-box;
    height: calc(var(--tile-size) / 2);
    width: calc(var(--tile-size) / 2);
    padding: 0;
}







#website-frame{
    /* background-color: aqua; */
    display: inline-block;
    height: 100%;
    margin: 0 auto;
}

#menu-container{
    display: flex;
    flex-direction: row;
    gap: var(--gap-size);
    margin-bottom: var(--gap-size);
    width: calc(var(--tile-size) * 3 + var(--gap-size) * 2);
}

.menu-item{
    border: var(--border);
    text-transform: uppercase;
    font-size: 40px;
    padding: 5px;

    color: black;
    background-color: white;
}

.menu-item:hover{
    color: white;
    background-color: black;
}



#main-grid{
    /* background-color: yellow;
    border: 3px solid maroon; */
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: var(--gap-size);
    justify-content: center;
}





.tile {
    box-sizing: border-box;
    width: var(--tile-size);
    height: var(--tile-size);
    position: relative;
    border: var(--border);
}


.tile:hover .tile-title{
    background-color: var(--main-color);
    color: white;
}

.double-tile{
    height: var(--tile-size);
    width: calc(var(--tile-size) * 2 + var(--gap-size));
    grid-column: span 2;
    grid-row: span 1;
}






.tile-title{
    font-size: 30px;
    text-transform: uppercase;
    color: black;
    background-color: white;

    position: absolute;
    left: 0px;
    top: 0px;
    /* margin: 1px 0 0 1px; */
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    font-family: Gadner, Helvetica, sans-serif;
    z-index: 2;
}

.music-title{
    text-transform: uppercase;
    
}

.youtube-tile{
    width: calc(var(--tile-size) - var(--border-size) * 2);
    height: calc(var(--tile-size) - var(--border-size) * 2);
    box-sizing: border-box;
    z-index: -1;
}


.tile:hover .music-title{
    /* display: none; */
    color: black;
    background-color: white;
}

.read-more{
    color: var(--main-color);
    background-color: white;
    border-top: var(--border);
    border-left: var(--border);
    display: inline-block;
    padding: 10px;
    position: absolute;
    bottom: 0;
    right: 0;
}


.read-more:hover{
    background-color: var(--main-color);
    color: white;
}


.tile-image{
    width: 100%;
    height: 100%;
}

.tile-image img{
    width: 100%;
    height: 100%;
    /* min-height: var(--tile-size); */
    /* object-fit:cover; */
    z-index: 1;
}

.text-tile{
    font-family: FeatureMonoLight, sans-serif;
    font-size: 18px;
    padding: 10px;
}

.link-tile{
    text-transform: uppercase;
    background-color: black;
    color: white;
    font-family: Gadner, Helvetica, sans-serif;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-tile:hover{
    color: var(--main-color);
    background-color: white;
}


#page-header{
    box-sizing: border-box;
    grid-column: span 3;
    width: calc(var(--tile-size) * 3 + var(--gap-size) * 2);
    height: calc(var(--tile-size) / 2);
    font-size: 60px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 5px solid black;
    border-left: 5px solid black;
    border-right: 5px solid black;

    margin-bottom: var(--gap-size);
}

.header-logo{
    display: none;
    height: calc((var(--tile-size) / 3));
    float: left;
}

.header-logo img{
    height: 100%;
}


#header-tile-title{
    text-transform: uppercase;
}

/* ----- FOOTER ----- */
#footer{
    border-top: 1px solid var(--main-color);
    margin-top: 50px;
    text-align: center;

    /* display: flex;
    flex-direction: row;
    justify-content: center; */
}

#footer-links{
    font-size: var(--fontsize-2);
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: center;
    /* width: 100%; */
    gap: 32px;
    margin: 32px;
}

#footer-links div{
    display: inline-flex;
    flex-direction: row;
}

#footer-links img{
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

#footer-links a {
    text-transform: uppercase;
    color: var(--main-color);
    text-decoration: none;
    font-size: var(--fontsize-2)
}

.invert{
    filter: invert(1);
}

#footer p {
    display: block;
    text-align: center;
    margin: 32px auto;
    font-size: 10px;
}

#footer a{
    text-decoration: none;
    color: var(--main-color)
}




/* 
    ARTIST PAGE & also single concert page
*/

#artist-page{
    width: calc(var(--tile-size) * 3 + var(--gap-size) * 2);
}

#artist-photo{
    box-sizing: border-box;
    width: 100%;
    margin-bottom: var(--gap-size);
}

#artist-photo img{
    width: 100%;
    height: var(--tile-size);
    object-fit: cover;
}

#artist-header{
    text-align: left;
    text-transform: uppercase;
    font-size: 25px;
}


#artist-name{
    text-transform: uppercase;
    font-size: 70px;
    text-align: left;
}


#artist-text{
    box-sizing: border-box;
    font-family: FeatureMonoLight, sans-serif;
    width: 100%;
    text-align: left;
    font-size: 25px;
    margin-bottom: 15px;
}

#artist-text p {
    margin: 0;
}


/* 
    FORM Honeypot
*/

.label-h{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.input-h{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

.error-div{
    border: 3px solid #d15f45;
    background-color: #e87e66;
    padding: 10px;
    margin-bottom: 40px;
}

.success-div{
    border: 3px solid #43b54e;
    background-color: #60d66c;
    margin-right: 10px;
    padding: 10px;
}

label{
    width: 100%;
    display: block;    
    font-family: Gadner, Helvetica, sans-serif;
}

input, textarea{
    margin-top: 2px;
    margin-bottom: 25px;
    
    width: 100%;
    box-sizing: border-box;
    font-family: FeatureMonoLight, monospace;
    font-size: 22px;
    padding: 15px;
    border: 2px solid black;
    border-radius: 5px;
    resize: none;
}
#contact-form div{
    margin-bottom: 25px;
}
#message-div{
    margin-bottom: 0px !important;
}

/* .error{

} */



@media only screen and (max-width: 700px){
    #main-grid{
        grid-template-columns: 1fr;
        width: 90vw;
    }

    .tile{
        width: 90vw;
        height: 90vw;
    }

    .double-tile{
        width: 90vw;
        height: 100%;
        grid-column: span 1;
        grid-row: span 2;
        padding-bottom: 50px;
    }

    #page-header{
        box-sizing: border-box;
        grid-column: span 1;
        width: 90vw;
        height: calc(var(--tile-size) / 2);
    }

    #header-tile-title{
        font-size: 30px;
    }

    #menu-container{
        width: 90vw;
        flex-direction: column;
    }

    #back-icon{
        display: none;
    }

    #header-tile-title{
        padding-left: 20px;
    }
}

@media only screen and (min-width: 701px) and (max-width: 1000px){
    #main-grid{
        grid-template-columns: 1fr 1fr;
    }
    
    .double-tile:nth-child(even):nth-child(2n + 1 of .double-tile){
        width: var(--tile-size);
        height: calc(var(--tile-size) * 2 + var(--gap-size));
        grid-column: span 1;
        grid-row: span 2;
    }

    .double-tile:nth-child(odd):nth-child(2n of .double-tile){
        width: var(--tile-size);
        height: calc(var(--tile-size) * 2 + var(--gap-size));
        grid-column: span 1;
        grid-row: span 2;
    }

    #page-header{
        box-sizing: border-box;
        grid-column: span 2;
        width: calc(var(--tile-size) * 2 + var(--gap-size));
        height: calc(var(--tile-size) / 2);
    }

    #menu-container{
        width: calc(var(--tile-size) * 2 + var(--gap-size));
        flex-direction: column;
    }
  
    

}


@media only screen and (min-width: 1001px){
    #main-grid{
        grid-template-columns: 1fr 1fr 1fr;
    }  
    .double-tile:nth-child(3n):nth-child(3n + 1 of .double-tile){
        width: var(--tile-size);
        height: calc(var(--tile-size) * 2 + var(--gap-size));
        grid-column: span 1;
        grid-row: span 2;
    }

    .double-tile:nth-child(3n+2):nth-child(3n + 2 of .double-tile){
        width: var(--tile-size);
        height: calc(var(--tile-size) * 2 + var(--gap-size));
        grid-column: span 1;
        grid-row: span 2;
    }

    .double-tile:nth-child(3n+1):nth-child(3n of .double-tile){
        width: var(--tile-size);
        height: calc(var(--tile-size) * 2 + var(--gap-size));
        grid-column: span 1;
        grid-row: span 2;
    }


}

@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 */





}







/* ------------- */
/* MEDIA QUERIES */
/* ------------- */

@media only screen and (max-width: 700px){
    #artist-page{
        width: 90vw;
    }

    #artist-name{
        font-size: 50px;
    }

    #artist-text{
        font-size: 20px;
    }


    .upcoming-tile{
        font-size: 20px;
        flex-direction: column;
        margin-bottom: 20px;
    }

    #links-container{
        flex-direction: column;
        align-items: flex-start;
    }

}

@media only screen and (min-width: 701px) and (max-width: 1000px){
    #artist-page{
        width: calc(var(--tile-size) * 2 + var(--gap-size));
    }
}


@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 */

}
