﻿body {
    font-family: 'Lucida Sans';
    margin: 8px;
    padding: 0px;
    background-color: white;
    font-size: 1.2em;
}
.startbody {
    background-color: lightgrey;
}
h1 {
    margin: 25px;
}
header, footer {
    position: relative;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    background-color: #000000;
    z-index: 10;
    padding: 10px 0px 5px 0px;
    text-align: center;
}
header li, footer li {
    display: inline;
    padding: 0 20px 0 20px;
}
header a, footer a{
    color: #ffffff;
    text-decoration: none;
}
header a:hover, footer a:hover{
    color: cornflowerblue 
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    }           
    li a, .mydropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    }
    li a:hover, .mydropdown:hover .mydropbtn {
    background-color: red;
    }   
    li.mydropdown {
    display: inline-block;
    }   
    .mydropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    }  
    .mydropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    }   
    .mydropdown-content a:hover {
        background-color: #f1f1f1
    }    
    .mydropdown:hover .mydropdown-content {
    display: block;
    }
i {
    color: white;
}
#icons {
    /* text-align: right; */
    font-size: 28px;
    margin-right: 50px;
}
.a-icons {
    text-align: center;
    margin-left: 25px;
    margin-right: 25px;
}
footer {
    margin-top: 150px;
}  
#startblock {
    position: relative;
    width: 100%;
    overflow: auto;
    padding-top: 60px;
    background-color: white;
}
#intro-text {
    text-align: center;
    font-size: 3em;
}
#side-text {
    display: inline-block;
    position: relative;
    margin-left: 10%;
    width: 400px;
    font-size: 1.5em;
    vertical-align: top;
}
#side-text p {
    margin-left: 20px;
}
#mainblock {
    text-align: center;
}
.about {
    display: inline-block;
    line-height: 50%;
    margin: 0px;
}
.about-picture {
    display: inline-block;
    margin: 25px;
    padding: 0px 0px 25px 0px;
}
.about-bio {
    display: inline-block;
    margin: 25px;
}
.video {
    display: inline-block;
    margin-left: 25px;
}
.about-painting-themes  {
    margin-top: 30px;
    margin-left: 25px;
}
.about-exhibitions {
    margin-top: 45px;
    margin-left: 25px;
}
.contact {
    margin: 25px;
    line-height: 50%;
}
.impressum {
    margin: 25px;
}
.adr {
    line-height: 80%;
}
.box {
    vertical-align: top;
    display: inline-block;
    position: relative;
    
    margin: 5px;
}
.minimalisticbox {
    vertical-align: top;
    display: inline-block;
    position: relative;
    border: solid black 6px;
    margin: 15px;
}
.box-label {
    background-color: #99ccee;
    text-align: center;
    margin-top: 0;
}
#aftermain {
    display: block;
    height: 15px;
}
#beforefooter {
    display: block;
    height: 150;
}
h3 {
    margin-top: 25px;
}
.zoom  {
    transition: transform .2s linear 2s;
}
.zoom:hover {
    transform: scale(2.5); 
    z-index: 100;
}
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}
.carousel-img {
    margin-left: 10px;
}
.centered {
    display: flex;
    justify-content: center;
}
.noscript {
    font-size: 20px;
    color: white;
}
.grid-container {
    display: grid;
    grid-template-columns: 0% 80% 20%;
} 
.grid-item {
    text-align: center;
}
.videotags {
    margin: 0px 20px 0px 0px;;
}
.privacy {
    margin: 25px;
}
a {
    text-align: center;
}

@media screen and (min-width: 1024px) {
    header {
        height: 70px;
        font-size: 1.2em;
    }
    footer {
        height: 70px;
        font-size: 1.0em;
    }
    .about, .contact {
        line-height: 100%;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 25% 50% 25%;
    }
    .grid-item {
        text-align: center;
    }
}
@media screen and (max-width: 1024px) {
    header {
        height: 70px;
        font-size: 1.2em;
        padding: 10px 0px 5px 0px;
    }
    footer {
        height: 70px;
        font-size: 1.0em;
        padding: 15px 0px 5px 0px;
    }
    #icons {
        text-align: center;
        font-size: 24px;
        margin-right: 10px;
    }
    .a-icons {
        text-align: center;
        padding-left: 5px;
        padding-right: 5px;
    }
    .about, .contact {
        line-height: 100%;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 20% 60% 20%;
    }
    .grid-item {
        text-align: center;
    }
}
@media screen and (min-width: 640px) and (max-width: 768px) {
    header {
        height: 100px;
        font-size: 1.2em;
    }
    footer {
        height: 100px;
        font-size: 1.0em;
    }
    #icons {
        text-align: center;
        font-size: 24px;
        margin-right: 10px;
    }
    .a-icons {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .about, .contact {
        line-height: 100%;
    }
    .side-img {
        width: 80%;
        height: auto;
    }
    .carousel-img {
        width: 50%;
        height: auto;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 0% 75% 25%;
    }
}
@media screen and (min-width: 480px) and (max-width: 640px) {
    header {
        height: 100px;
        font-size: 1.2em;
        padding: 5px;
    }
    footer {
        height: 100px;
        font-size: 1.0em;
        padding: 5px 0px 5px 0px;
    }
    header li, footer li {
        padding: 0 10px 0 10px; 
    }
    #icons {
        text-align: center;
        font-size: 24px;
        margin-right: 10px;
    }
    .a-icons {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .about, .contact {
        line-height: 100%;
    }
    .side-img {
        width: 70%;
        height: auto;
    }
    .carousel-img {
        width: 50%;
        height: auto;
    }
    #side-text {
        font-size: 0.9em;
    }   
    .grid-container {
        display: grid;
        grid-template-columns: 0% 80% 20%;
    }  
    .grid-item {
        text-align: center;
    }
}
@media screen and (max-width: 480px) {
    header {
        height: 100px;
        font-size: 1.1em;
        padding: 5px;
    }
    footer {
        height: 100px;
        font-size: 1.0em;
        padding: 5px 0px 5px 0px;
    }
    header li, footer li {
        padding: 0 10px 0 10px; 
    }
    #icons {
        text-align: center;
        font-size: 24px;
        margin-right: 10px;

    }
    .a-icons {
        text-align: center;
        margin-left: 10px;
        margin-right: 10px;
    }
    .about, .contact {
        line-height: 100%;
    }
    .side-img {
        width: 70%;
        height: auto;
    }
    .carousel-img {
        width: 50%;
        height: auto;
    }
    #side-text {
        font-size: 0.9em;
    } 
    .grid-container {
        display: grid;
        grid-template-columns: 0% 80% 20%;
    }    
    .grid-item {
        text-align: center;
    }
}


