body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
}

main{
    flex: 1;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #333;
    font-family: "Lato", sans-serif;
}

body .container{
    width: 950px;
    margin-left: auto;
    margin-right: auto;
}

body h1 {
    font-family: "EB Garamond", serif;
    font-size: 3em;
    font-weight: 200;
    padding-top: 20px;
    padding-bottom: 30px;
    padding-left: 25px;
}

body h2{
    font-family: "Lato", sans-serif;
    font-size: 1.25em;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 2px;
    padding-bottom: 20px;
    padding-left: 20px;
}

body p{
    text-align: justify;
    font-size: 22px;
    line-height: 36px;
    font-family: "EB Garamond", serif;
    padding-left: 25px;
    padding-right: 25px;
}

body p a{
    color: #333;
    text-decoration: none;
    font-style: italic;
}

#header {
    background-color: #ffffff7e;
    backdrop-filter: blur(20px);
    text-align: center;
    padding-top: 14px;
    box-shadow: 0px 2px 9px 0px rgba(0,0,0,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    transition: ease-in-out 0.75s;
}

#header a{
    text-decoration: none;
    color: #535353;
}

header h1 {
    font-size: 2em;
    color: #333333;
    font-family: "EB Garamond", serif;
    font-weight: 400;
    padding: 0;
}

.headerspacer{
    height: 117px;
}

#navigation {
    display: flex;
    align-items: center;
    text-align: left;
    height: 40px;
    padding-bottom: 8px;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 100px;
    padding-right: 100px;
    justify-content: space-between;
}

#navigation li a:hover {
    color: black;
}

#navigation li{
    display: inline-block;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: auto;
    margin-bottom: auto;
    color: #333;
}

#navigation a{
    text-transform: uppercase;
    letter-spacing: 2px;
}

#navigation .active a {
    color: black;
}

#dropdowngallery{
    position: absolute;
    background-color: #ffffffa1;
    overflow: hidden;
    backdrop-filter: blur(20px);
    width: 200px;
    height: 0px;
    margin-top: 18px;
    box-shadow: 0px 2px 9px 0px rgba(0,0,0,0.2);
    transition: height 0.5s ease;
}
#dropdowngallery ul{
    display: flex;
    flex-direction: column;
}
#dropdowngallery li{
    padding-top: 10px;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
#dropdowngallery li.active{
    color: black;
}
#dropdowngallery li.inactive{
    color: #535353;
}
#dropdowngallery li:hover{
    background-color: #9e9e9e96;
    cursor: pointer;
}
#dropdowngallery li:hover{
    color: black;
}

#gallerymenu:hover #dropdowngallery{
    height: 175px;    
}
#gallerymenu::before{
    content: "";
    position: absolute;
    width: 100px;
    height: 20px;
    margin-top: 20px;
    opacity: 0;
}

#dropdownitems{
    display: none;
}

#title {
    display: inline-block;
}

.hamburger-menu{
    display: none;
    margin-top: 0;
}

#homepagebanner {
    height: 100vh;
    overflow: hidden;
    background-image: url("/img/gallery/DSCF0598.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

#homepagebanner .title{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    white-space: nowrap;
    max-width: 100%;
}

#homepagebanner .title h1{
    color: rgba(255, 255, 255, 0.767);
    font-family: "EB Garamond", serif;
    font-weight: 300;
    font-size: 8em;
    text-align: center;
    max-width: 100%;
}

#homepagebanner .title h2{
    color: rgba(255, 255, 255, 0.767);
    font-family: "Lato", sans-serif;
    font-size: 1.25em;
    text-align: center;
    max-width: 100%;
    text-transform: uppercase;
    font-weight: 200;
    letter-spacing: 2px;
}

.languageselect{
    padding-top: 50px;
    display: inherit;
}
.languageselect h3{
    color: #535353;
    font-size: 22px;
    padding: 5px;
}
.languageselect .separator{
    color: #535353;
    font-size: 22px;
    padding: 5px;
    margin-block-start: 1em;
    margin-block-end: 1em;
}
.languageselect h3 a.active{
    color: #c0c0c0;
    pointer-events: none;
}
.languageselect h3 a{
    text-decoration: none;
    color: inherit;
}
.languageselect h3 a:hover{
    color: #c0c0c0;
}

.subbanner{
    height: 400px;
    overflow: hidden;
    background-image: url("/img/gallery/banner2.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

.subbanner h1{
    color: rgba(255, 255, 255, 0.767);
    font-weight: 300;
    font-size: 4em;
    opacity: 0;
    transition: opacity 2s;
}

.container{
    margin: 20px;
}

.cols{
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
}

.col{
    padding-left: 15px;
    padding-right: 15px;
    width: 50%;
}

.titlecard{
    height: 35vw;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 50px;
    background-size: cover;
    background-position: top;
}

.titlecard h1{
    font-size: 100px;
    width: 1200px;
    text-align: right;
    margin-left: auto;
    margin-right: auto;
    padding-right: 25px;
    padding-top: 115px;
    text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.gallery{
    padding-left: 25px;
    padding-right: 25px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
    width: 1200px;
}

#galleryblock{
    padding: 20px;
    background-color: rgb(33, 33, 33);
}

#footer {
    background-color: #c0c0c0;
    color: black;
    text-align: center;
    padding: 30px;
    box-shadow: 0px -2px 6px 0px rgba(0,0,0,0.05);
    height: auto;
}

#footer p{
    font-style: italic;
    text-align: center;
    font-size: 16px;
    line-height: normal;
}

.mybutton {
    font-family: "Lato", sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    background-color: white;
    color: black;
    padding: 15px 20px;
    border: 2px solid black;
    cursor: pointer;
    letter-spacing: 1px;
    margin-right: 25px;
}

.mybutton:hover {
    background-color: black;
    color: white;
}

.mybutton:active {
    background-color: #4b4b4b;
    color: white;
}

.slideshow{
    width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

#socials{
    display: flex;
    flex-direction: row;
}

.container #socials{
    justify-content: center;
    padding-top: 25px;
}

.container #socials a{
    text-decoration: none;
    color: #535353;
}
.container #socials a:hover{
    color: black;
}

.icon{
    padding-left: 10px;
    padding-right: 10px;
}

#header a:hover{
    color: black;
}

.aboutmesection{
    display: flex;
    flex-direction: row;
}

.aboutmetext{
    width: 55%;
}

.aboutmepictures{
    width: 45%;
}

.aboutmepictures img{
    width: 100%;
    height: auto;
    padding-bottom: 10px;
}

.contactform{
    background-color: #f1f1f1;
    height: max-content;
    width: auto;
    padding-bottom: 25px;
    margin-left: 25px;
    margin-right: 25px;
}

.formcol{
    display: flex;
    flex-direction: row;
}

.form{
    padding: 25px;
    padding-bottom: 0;
}

.form textarea {
    width: 500px;
    margin-right: 25px;
    height: 150px;
    max-width: 500px;
}

.form-required {
    display: inline;
    color: #ff2825 !important;
}

.thankyou{
    background-color: #f1f1f1;
    padding: 45px 0px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15%;
}

.gallerycategory {
    position: relative;
    height: 35vw;
    max-height: 300px;
    margin: 20px 0px;
    background-size: 100%;
    background-position: center;
    cursor: pointer;
    transition: background-size 0.5s ease;
    display: flex;
    align-items: flex-end;
}

.gallerycategory::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallerycategory:hover::before {
    opacity: 1;
}

.gallerycategory:hover {
    background-size: 125%;
}

.gallerycategory h2{
    background-color: rgba(255, 255, 255, 0.438);
    padding: 10px 20px;
    margin: 0;
    position: relative;
    backdrop-filter: blur(10px);
}

.gallerynavigationbuttons{
    display: flex;
    flex-direction: row;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.gallerynavigationbuttons .col{
    width: 50%;
    padding: 0;
    margin-bottom: 50px;
}
.gallerynavigationbuttons .col .mybutton{
    margin: 0;
}

@media (max-width: 1400px){
    #navigation {
        width: 85.80%;
    }
}

@media (max-width: 1270px)
{
    .gallery{
        width: auto;
    }
    .gallerynavigationbuttons{
        width: auto;
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media (max-width: 1100px){
    .slideshow{
        width: 100%;
    }
}
@media (max-width: 1025px){
    .subbanner h1{
        font-size: 3.75em;
    }

    .aboutmetext{
        width: 100%;
        padding: 0;
    }

    .aboutmepictures{
        width: 100%;
        padding-right: 25px;
    }
}
@media (max-width: 950px)
{
    body .container{
        width: 100%;
    }
    .subbanner h1{
        font-size: 3em;
    }
    .form textarea{
        width: 350px;
        max-width: 350px;
    } 
}
@media (max-width: 768px) {
    :root {
        --animation-timing: 300ms ease-in-out;
        --hamburger-gap: 8px;
        --bar-height: 2px;
        --hamburger-height: calc(var(--bar-height)*3 + var(--hamburger-gap)*2);
    }

    #header{
        padding-bottom: 10px;
    }

    .hamburger-menu{
        --x-width: calc(var(--hamburger-height)*1.41421356237);

        display: flex;
        flex-direction: column;
        gap: var(--hamburger-gap);
        width: max-content;
        position: fixed;
        top: 35px;
        right: 30px;
        cursor: pointer;
        z-index: 1001;

        transition: ease-in-out 0.75s;
    }

    .hamburger-menu input{
        appearance: none;
        padding: 0;
        margin: 0;
        outline: none;
        pointer-events: none;
    }

    .hamburger-menu::before,
    .hamburger-menu::after,
    .hamburger-menu input{
        content: "";
        width: 40px;
        height: var(--bar-height);
        background-color: black;
        transition: opacity var(--animation-timing), width var(--animation-timing), rotate var(--animation-timing), translate var(--animation-timing);
        transform-origin: right center;
    }

    .hamburger-menu input:checked{
        opacity: 0;
        width: 0;
    }

    .hamburger-menu:has(input:checked)::before{
        rotate: -45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / -2);
    }
    .hamburger-menu:has(input:checked)::after{
        rotate: 45deg;
        width: var(--x-width);
        translate: 0 calc(var(--bar-height) / 2);
    }

    .headerspacer{
        height: 70px;
    }

    #navigation {
        display: none;
    }

    #dropdownitems{
        display: block;
        height: 0;
        overflow: hidden;
        transition: ease-in-out 1s;
    }

    #dropdownitems li{
        padding-bottom: 35px;
    }

    #dropdownitems .active a{
        color: black;
    }

    #dropdownitems a{
        text-transform: uppercase;
        letter-spacing: 2px;   
    }

    #dropdownitems #socials{
        justify-content: center;
        padding-top: 20px;
    }

    #dropdownitems #socials .icon{
        padding-left: 20px;
        padding-right: 20px;
    }

    #dropdownitems li, #socials{
        opacity: 0;
        transition: opacity linear 0.75s;
    }

    .hamburger-menu:has(input:checked) + #header #dropdownitems
    {
        margin-top: 50px;
        height: 333px;
    }

    .hamburger-menu:has(input:checked) + #header #dropdownitems .content
    {
        display: block;
    }

    .hamburger-menu:has(input:checked) + #header #dropdownitems .content li, #socials
    {
        opacity: 1;
    }

    #homepagebanner {
        background-size: cover;
        min-height: 300px;
    }

    #homepagebanner .title h1{
        font-size: 4em;
        padding: 0;
    }

    #homepagebanner .title h2{
        font-size: 0.8em;
    }

    .aboutmesection{
        display: block;
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .aboutsection .cols{
        flex-direction: column;
        align-items: center;
        
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
    }

    .aboutsection .col{
        margin-bottom: 25px;
        width: 100%;
    }

    .aboutmetext p{
        padding: 0;
        padding-bottom: 40px;
    }

    .aboutmepictures{
        width: 360px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    .subbanner{
        height: 200px;
        background-size: 180%;
    }

    .subbanner h1{
        font-size: 2.5em;
        text-align: center;
        padding: 0;
    }

    .aboutmesection{
        margin-left: 25px;
        margin-right: 25px;
        width: auto;
    }

    .titlecard{
        height: 300px;
    }

    .titlecard h1{
        padding-top: 100px;
        font-size: 90px;
        line-height: 60px;
    }
    .form textarea{
        width: 200px;
        max-width: 200px;
    }

    .mybutton {
        font-size: 12px;
        padding: 10px 15px;
        text-wrap: nowrap;
    }

    .gallerycategory h2{
        font-size: 15px;
        padding: 15px;
    }
}
@media (max-width: 620px) {
    .formcol{
        flex-direction: column;
    }
    .form textarea{
        width: 330px;
        max-width: 330px;
    }
    .gallerycategory h2{
        font-size: 12px;
    } 
}

@media (max-width: 420px){
    .form textarea{
        width: 250px;
        max-width: 250px;
    }

    .aboutmepictures{
        width: 80%;
    }

    .gallerycategory h1{
        font-size: 50px;
    }
}

@font-face
{
  font-family: "ngy2_icon_font";
  src:
    url("vendor/ngy2_icon_font.woff") format("woff"),
	url("vendor/ngy2_icon_font.woff2") format("woff2");
}