* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}
@font-face { 
    font-family: 'Playfair Display';
    src: url('fonts/Playfair_Display/static/PlayfairDisplay-Regular.ttf') format('truetype');
}
@font-face { 
        font-family: 'The_Girl_Next_Door';
        src: url('fonts/The_Girl_Next_Door/TheGirlNextDoor-Regular.ttf') format('truetype');
}
@font-face { 
        font-family: 'Lato';
        src: url('fonts/Lato/Lato-Regular.ttf') format('truetype');
}
@font-face { 
    font-family: 'Lato Italic';
    src: url('fonts/Lato/Lato-Italic.ttf') format('truetype');
}


body {
    margin: 0;
    padding: 0;
    color: rgb(49, 49, 49);
    line-height: 2em;
    font-family: "Lato";
    font-size: 18px;
}



h1 {
    font-family: "The_Girl_Next_Door"; 
    font-size: 48px;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    line-height: 1.5em;
}

h2 {
    font-family: "The_Girl_Next_Door"; 
    font-size: 22px;
}

.subquote {
    font-family: "Lato";
    font-weight: lighter;
    font-size: 0.6em;
}

button {
    background-color: rgba(255, 255, 255, 1);
    border: none;
    border-radius: 3%;
    padding: 1em;
    color: rgba(33, 132, 169, 0.7);
    font-family: "Lato";
    font-size: 14px;
    min-height: 60px;  
}

button:hover{
    color: rgba(33, 132, 169, 1); 
}

a {
    text-decoration: none;
}

.break {
        display: none;
}

.background {
    z-index: 100;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url(pic/background.jpg);
    position: fixed;
}

header {
    position: fixed;
    z-index: 200;
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: rgba(0,0,0,0.2) 5px 5px 20px;
    top:0;
    min-height: 60px;
}

.nav {
    height: 10vh;
    width: 100%;
}

.web {
    /* display: grid;
    grid-template-columns: 20vw 20vw 20vw 20vw 20vw; */
    display: flex;
    width: 100vw;
    text-align: center;
}

.mobile {
    display: none;
}

.mobilenav {
    width: 30vw;
    font-size: 18px;
}

#mobilenavPopup {
    height: 100vh;
    display: none;
    margin-top: -10vh;
}

#mobilenavPopup div {
    margin: auto;
}

#closeMobilenav {
    display: none;
}

.navpoint{
    text-align: center;
    min-height: 60px;
    display: flex;
    margin: auto;
}

.navpoint a {
    margin: auto;
}

#navigation-content {
    display: none;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
}

#navigation-content div {
    margin: auto;
}

  
a{
    color: rgba(33, 132, 169, 0.7);
}

a:hover{
    color:  rgb(33, 132, 169);
}

.active {
    color:  rgb(33, 132, 169);
}

.titlesite div {
    margin: auto;
}

.titlesite p {
    margin: auto;
    width: 100%;
    padding-bottom: 1em;
}

.titlesite img {
    width:40vh;
}

img {
    width: 40vh;
    height: 40vh;
}

.gallerybox {
    display: flex;
}

div.gallery {
    margin: auto;
}
  
div.gallery img {
    width: 25vw;
    height: auto;
    border-radius: 2% 2%;
}

.contentsite {
    z-index: 100;
    position: relative;
    background-color: rgba(255, 255, 255, 0.5);
    min-height: auto;
    padding: 5%;
}

.contentsite p, h1 {
    margin: auto;
}

.center {
    text-align: center;
}

.bg {
    background-color: rgba(255, 255, 255, 0.2);
}

.bg1 {
    background-color: rgba(255, 255, 255, 0.5);
}

.bg2 {
    background-color: rgba(255, 255, 255, 0.7);
}

.bg3 {
    background-color: rgba(255, 255, 255, 0.9);
}

.titlesite {
    margin-top: 10vh;
    z-index: 100;
    position: relative;
    text-align: center;
    min-height: 30vh;
    display: flex;
    padding-top: 10vh;
    padding-bottom: 10vh;
}

#impressum {
    z-index: 100;
    position: relative;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.7);
    min-height: 100vh;
    padding: 5%;
    display: flex;
}

.impressumLink{
    z-index: 100;
    position: relative;
    text-align: center;
    margin: auto;    
    background-color: rgba(255, 255, 255, 0.3);
    height: 100%;
    width: 100%;
    padding: 0.5em;
}

#impressumLink a{
    margin: auto;  
}

#impressum h1{
    font-size: 36px;
}

footer {
    z-index: 100;
    position: relative;
    padding: 3%;
    margin: auto;
    background-color: rgba(33, 132, 169, 0.7);
    color: white;
    height: auto;
    text-align: center;
}

@media screen and (max-width: 1000px) {
    body {
        font-size: 16px;
    }    
    .titlesite p {
        width: 90%;
    }
}

@media screen and (max-width: 800px) {
    .web {
        display:none;
    }

    .mobile {
        display: flex;
        width: 100vw;
    }
    .navpoint {
        font-size: 80%;
        width: 100vw;
    }

    #navigation-content {
        display: flex;
        width: 100vw;
    }
    .mobilenav {
        width: 90vw;
        max-height: 10vh;
    }
    .gallerybox {
        width: 90vw;
        display: block;
    }
    div.gallery {
        margin: auto;
        width: 90vw;
    }
      
    div.gallery img {
        margin-top: 5px;
        margin-bottom: 5px;
        width: 90vw;
        height: auto;
    }
}

@media screen and (max-width: 530px) {
    body {
        font-size: 16px;
        text-align: left;
    }

    h1{
        font-size: 30px;
    }

    .break {
        display: block;
    }

    .titlesite img {
        width: 30vh;
        height: 30vh;
    }

    .contentsite {
        min-height: 100vh;
        padding-top: 10vh;
        padding-bottom: 10vh;

    }

    #impressum p{
        width: 100%;
        margin: auto;
        padding: 1em;
    }
}