html {
    scroll-behavior: smooth;
}


/*
style of the whole webside
*/
body {
    background-color: rgb(49, 49, 49);

    /*
    usage of a specific font (to change!) and style
    if not specified in other elements all texts and images are left bound
    */
    font-family: 'ZTTalkMedium', sans-serif;
    text-shadow: 0.5px 0.5px 5px rgba(226, 226, 226, 0.5);
    
    text-align: left;
    color: white;

    /*
    fine-tuning the font
    */
    letter-spacing: 3px;
    line-height: 1.4;
}

#backgroundimage {
    background-image: url("../img/Background.png");
    background-size: cover;
}

#backgroundimagelong {
    background-image: url("../img/BackgroundLong.png");
    background-size: cover;
}

p {
    font-size: 1.2rem;
}

footer p {
    font-size: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-family: 'dinofansregular', sans-serif;
    text-align: center;
}

h2 {
    font-size: 1.65rem;
    font-family: 'dinofansregular', sans-serif;
}

h3 {
    font-size: 1.4rem;
    font-family: 'dinofansregular', sans-serif;
}

h4 {
    font-size: 1.1rem;
    font-family: 'dinofansregular', sans-serif;
}


header {
    padding-top: 2rem;
    padding-bottom: 2rem;

    background-color: rgba(0, 0, 0, 0.9);
}

#studioLogo {
    width: 200px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

footer {
    padding: 1rem 1rem;
    background-color: rgba(0, 0, 0, 0.9);
}


div.block {
    margin: 2.5rem auto;
    padding: 1rem 3rem;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;

    max-width: 65rem;
}


div.flexContainer > div {
    margin: auto;
    text-align: center;
}

div.flexContainer > div.flexSmall {
    margin: auto;
}


@media screen and (min-width: 45rem) {
    div.flexContainer {
        display: flex; 
        flex-wrap: wrap;
        justify-content: space-between
    }

    div.flexContainer > div {
        margin: auto;
        width: 50%;
    }

    div.flexContainer > div.flexSmall {
        margin: auto;
        width: 33%;
    }
}
 
    
@media screen and (min-width: 85rem) {
    div.flexContainer {
        display: flex;
        justify-content: space-between
    }

    div.flexContainer > div {
        margin: auto;
        width: 50%;
    }

    div.flexContainer > div.flexSmall {
        margin: auto;
        width: 25%;
    }
}


.icon {
    width: 1.75rem;
    color: white;
    margin-top: 0.2rem;
    margin-right: 1rem;
}


table.iconHelper td {
    vertical-align: middle;
}

table.iconHelper p {
    margin: 0;
    padding: 0;
}


/*
    Parent (div) needs to have position relative for verticalAlign to work!
*/

.verticalAlign {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}


p a:link, p a:visited  {
    color: white;
}
  
p a:hover {
    color: cyan;
}
  
p a:active {
    filter: blur(5px);
    filter: saturate(100%);
    color: red;
}


/*

@media screen and (min-width: 45rem) {
    #impressum {
        padding-bottom: 40px;
    }
    
    #contact {
        padding-bottom: 40px;
    }
}


@media screen and (min-width: 85rem) {
    #impressum {
        padding-bottom: 0px;
    }
    
    #contact {
        padding-bottom: 0px;
    }
}
*/