html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Lato, Arial, Helvetica, sans-serif;
    background: #181a22;
    color: #fff;
    line-height: 1.6;
    height: 100vh;

    overflow: hidden;
}

.toggleScreen {
    position: fixed;
    top: 0;
    z-index: 15;
    width: 10vh;
    height: 10vh;
    max-height: 60px;
    max-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    color: #fff;
    margin: auto;
    font-size: 0.75rem;
    cursor: pointer;
}

.navbar {
    position: fixed;
    padding: 0;
    top: 0;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 10vh;
    max-height: 60px;
    font-size: min(3vw, 1.5rem);
    background: rgba(0, 0, 0, 0.5);
}

.navbar ul {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    list-style: none;
    justify-content: center;
    width: 100%;
}

.navbar .dropDown {
    cursor: pointer;
    position: relative;
}

.navbar .dropDown .dropContent {
    display: none;
    /* Position it right below the trigger element */
    left: -100px;
    padding: 6px;
    position: absolute;
    top: 100%;

    /* It should be on the top of other elements */
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    z-index: 9999;

    width: 200px;
}

.navbar .dropDown:hover .dropContent {
    display: block;
}

.navbar ul.jc-start {
    justify-content: flex-start !important;
}

.navbar ul li {
    margin: auto 5vw;
    padding: 0.1vh;
}

.navbar ul li a {
    font-family: 'Great Vibes';
    color: rgb(255, 248, 233);
    transition: ease 200ms;
}

.navbar ul li a:hover {
    color: #fff09a;
}

.navbar ul li a.active {
    color: #ffd700;
}

.container {
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100vw;
    height: 100%;

    scroll-snap-align: center;
    /* position: sticky; */
    /* top:0 ; */
}

section .spacer {
    display: block;
    width: 100%;
    height: 60px;
}

section .content {
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 500ms ease-in-out;
    width: 1000px;
    max-width: 85%;
    min-width: 200px;
    max-height: calc(80vh - 60px);
    /* minus spacer height */
    overflow: auto;
}

section .content:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

section .content>.header {
    height: max(10vh, 10vw);
    overflow: hidden;
}

section .content h1 {
    font-family: 'Great Vibes';
    font-size: 5vw;
    margin: 0;

    background: linear-gradient(to right, #fff7d6 0%, #eee 50%, #efefef 51%, #fff7d6 100%);
    background-repeat: repeat;
    background-size: 80%;
    animation: animate 5s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: rgba(255, 255, 255, 0);
}

section .content p {
    font-family: 'Lato';
    font-size: min(2.5vw, 1.3rem);
    padding: 0px 20px;
}

@keyframes animate {
    0% {
        background-position: -200%;
    }

    100% {
        background-position: 200%;
    }
}

section .divider {
    border-bottom: 1px solid rgb(255, 240, 208);
    margin: 10px 40px;
}

section .wrapper {
    width: 100%;
    max-height: calc(60vh - 60px);
    display: flex;
    flex-direction: column;
    justify-items: center;
    text-align: justify;
    overflow-y: auto;
}

section .wrapper-h {
    width: 100%;
    max-height: calc(60vh - 60px);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-align: justify;
    overflow-y: auto;
}

section .content .message {
    margin: 10px 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(0, 30, 34, 0.75);
    height: fit-content;
    margin: 5px;
}

.message .header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: min(3vw, 1.1rem);
    color: #008C9F;
}

.message .header .who {
    font-family: 'Great Vibes';
    font-size: min(3vw, 1.3rem);
}

.message .news,
.message .news p {
    padding: 5px;
    font-size: min(3vw, 1.1rem);
    text-align: justify;
}

a {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #fff09a;
    cursor: pointer;
}

.a-inline {
    display:inline-block;
    border-bottom: 2px dashed #008C9F;
    color: #008C9F;
}

.a-inline:hover {
    border-color: #fff09a;
}

.font-gv {
    font-family: 'Great Vibes', Lato, Helvetica;
}

span.font-gv {
    font-size: x-large;
}

.scale-05 {
    transform: scale(0.5);
}


/* Scrollbar */
::-webkit-scrollbar-track {
    border-radius: 3px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #222;
}

::-webkit-scrollbar {
    border-radius: 3px;
    width: 6px;
    background-color: #222;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background-color: #ffd700;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #ffbb00;
}

/* Section Images */
section#willkommen {
    background: url('/img/images/Einladung-med.jpg') no-repeat center center/cover;
}

section#uberuns {
    background: url('/img/images/Antrag-med.jpg') no-repeat center center/cover;
}

section#hochzeit {
    background: url('/img/images/Ringe-med.jpg') no-repeat center center/cover;
}

section#aktuelles {
    background: url('/img/images/Jochberg-med.jpg') no-repeat center center/cover;
}

section#location {
    background: url('/img/images/Zum_Murnauer_Tafel-1920x900.jpg') no-repeat center center/cover;
}

section#kontakte {
    background: url('/img/images/Island-med.jpg') no-repeat center center/cover;
}