html {
    scroll-behavior: smooth;
}
* {
    box-sizing: border-box;
}

:root {
    --primary-color: #FFF2CD;
    --secondary-color: #F07D24;
    --background-color: #022b43;
    --background-dark: #00131e;
    --white: #fff;
    --black: #000;
}

body {
    font-family: 'Source Sans Pro';
    font-size: 20px;
    font-weight: 300;
    line-height: 1.5;

    color: var(--white);
    background: linear-gradient(var(--background-dark) 100vh, var(--background-color) calc(100vh + 400px));

    padding: 0;
    margin: 0;
}


h1 {
    font-family: 'Source Serif Pro';
    font-size: 50px;
    font-weight: 700;
    color: var(--primary-color);
    filter: drop-shadow(0px 0px 35px rgba(255, 255, 255, 0.5));
}
h2 {
    font-family: 'Source Serif Pro';
    font-size: 40px;
    font-weight: 700;
    color: var(--primary-color);
    filter: drop-shadow(0px 0px 35px rgba(255, 255, 255, 0.5));
    margin-top: 0;
    text-align: center;
}
h3 {
    font-family: 'Source Serif Pro';
    font-size: 24px;
    font-weight: 700;
    margin-top: 0;
}
h5 {
    font-size: 24px;
    font-weight: 400;
}
h5 span {
    font-family: 'Source Serif Pro';
    font-weight: 700;
    text-transform: uppercase;
}
p {
    margin-top: 0;
    margin-bottom: 24px;
}


.grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-gap: 50px;
}
@media screen and (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media screen and (min-width: 768px) {
    .grid-span-2 {
        grid-column: span 2;
    }
}


.container {
    width: 100%;
    padding: 0 24px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
}
@media screen and (min-width: 768px) {
    .container {
        width: 1024px;
        margin: 0 auto;
    }
}

#header {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url(../images/ortskern-nottuln-im-lichterglanz.jpg);
    background-size: cover;
    background-position-y: 85%;
    background-position-x: right;
}

#header-content {
    padding-top: 150px;
}

#logo {
    max-width: 850px;
    margin-bottom: 75px;
    filter: drop-shadow(0px 0px 35px rgba(255, 255, 255, 0.5));
}

.date-time {
    padding-left: 7%;
}
.date-time .time {
    font-size: 6vw;
}
.date-time p {
    margin: 0;
    line-height: 1;
    font-weight: 400;
}
.date-time .time span {
    font-family: 'Source Serif Pro';
    font-weight: 700;
    text-transform: uppercase;
}

.date-time .date {
    font-family: 'Source Serif Pro';
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 18vw;
}

@media screen and (min-width: 576px) {
    .date-time .time {
        font-size: 37px;
    }
    .date-time .date {
        font-size: 110px;
    }
}


#to-content {
    position: absolute;
    left: 50%;
    bottom: 50px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
}
#to-content img {
    margin: 0;
    display: block;
    animation: bounce 2s ease-in-out both infinite;
    filter: drop-shadow(0px 0px 5px #000);
}

@keyframes bounce {
    0% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}


#content {
    margin-top: 100px;
    margin-bottom: 100px;
}

#intro {
    text-align: center;
    margin-bottom: 50px;
}
#intro p {
    max-width: 400px;
    margin: 0 auto;
}


#sec-info {
    margin-top: 150px;
}

.info-name {
    text-align: left;
}
@media screen and (min-width: 768px) {
    .info-name {
        text-align: right;
    }
}

.info-content p span {
    font-size: 16px;
    font-style: italic;
    color: var(--primary-color);
    position: relative;
    top: -4px;
}
.info-name h5 {
    margin-top: 50px;
    margin-bottom: -20px;
}

@media screen and (min-width: 768px) {
    .info-name h5 {
        margin-top: -5px;
        margin-bottom: 20px;
    }
}

#footer {
    background-color: var(--background-dark);
    display: flex;
    justify-content: center;
    grid-gap: 20px;
    padding: 10px 24px;
}

#footer a {
    color: var(--primary-color);
    text-decoration: none;
}
#footer a:hover {
    text-decoration: underline;
}