:root {
    --black: #000;
    --blue: #112A46;
    --white: #ffffff;
    --dark-brown: #813405;
    --light-brown: #F9A03F;
    --beige: #F8DDA4;
    --light-green: #DDF9C1;
    --intense-blue: #0143AE;
    --complementary-brown: #AE6C01;
    --grey: #353535;
}

::selection {
    background: var(--intense-blue);
    color: var(--complementary-brown);
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--white);
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    background-size: cover;
    background-image: url('/images/bg-image.JPG');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.container-wrapper {
    display: block;
    margin-left: 15%;
    margin-right: 15%;
}

.nav-bar {
    margin-top: 20px;
}

.header {
    width: 100%;
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 100;
}

.logo-img {
    width: 200px;
}

.nav-bar a {
    position: relative;
    font-size: 20px;
    color: var(--blue);
    font-weight: 400;
    text-decoration: none;
    margin-left: 40px;
}

.nav-bar-links {
    margin-right: 50px;
}

.nav-bar-links a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--blue);
    transition: .3s;
}

.nav-bar-links a:hover::before {
    width: 100%;
}

.section {
    margin-left: 15%;
    margin-right: 15%;
    display: block;
}

.hero {
    margin-top: 250px;
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.hero-catcher {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-small-text {
    font-size: 20px;
    font-weight: 400;
    padding-bottom: 30px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-hero {
    max-width: 90%;
}

.button {
    font-size: 22px;
    font-weight: 500;
    color: var(--white);
    padding: 0.75em 2em;
    margin: 0.25em;
    border-radius: 3em;
    border: none;
    outline: none;
    background: var(--dark-brown);
    cursor: pointer;
    letter-spacing: 3px;
    text-decoration: none;
}

.section-wrapper {
    padding: 20px;
}

#about-us-section {
    margin-top: 250px;
    background-color: var(--dark-brown);
}

#pictures-section {
    background-color: var(--light-green);
}

#anfahrt-section {
    background-color: var(--light-brown);
}

#contact-section {
    background-color: var(--beige);
}

.section-content {
    margin-left: 15%;
    margin-right: 15%;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
}

.section-text {
    font-size: 22px;
    font-weight: 500;
}

#about-us-title {
    color: var(--light-brown);
}

#pictures-title {
    color: var(--dark-brown);
    padding-bottom: 20px;
}

#anfahrt-title {
    color: var(--light-green);
}

#contact-title {
    color: var(--light-brown);
}

.contact-card-wrapper {
    margin-top: 35px;
    display: flex;
    justify-content: center;
}

.iframe-wrapper-wrapper {
    display: flex;
    justify-content: center;
}

.iframe-wrapper {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

#map-description {
    align-self: flex-start;
}

.contact-card {
    max-width: 300px;
    max-height: 350px;
    padding: 40px;
    background-color: #8135053b;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-radius: 2em;
    gap: 25px;
}

#image-card {
    max-width: 400px;
}

#card-text {
    color: var(--black);
    font-size: 32px;
    font-weight: 700;
}

.contact-symbol {
    max-width: 150px;
}

.contact-icons-wrapper {
    margin-top: 50px;
    display: grid;
    gap: 30px 30px;
    justify-items: center;
    color: var(--black);
    font-size: 600;
    font-size: 20px;
    text-align: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-bottom: 50px;
}

#grid-haus-icon {
    grid-row: 1;
    grid-column: 1;
}

#grid-haus-text {
    grid-row: 2;
    grid-column: 1;
}

#grid-mail-icon {
    grid-row: 1;
    grid-column: 2;
}

#grid-mail-text {
    grid-row: 2;
    grid-column: 2;
}

#grid-telefon-icon {
    grid-row: 1;
    grid-column: 3;
}

#grid-telefon-text {
    grid-row: 2;
    grid-column: 3;
}

.footer-wrapper {
    padding: 20px;
    background-color: var(--grey);
    display: flex;
    justify-content: space-around;
    align-items: flex-start;

}

#footer-logo {
    max-width: 200px;
}

.footer-section-title {
    font-size: 22px;
    font-weight: 700;
}

.footer {
    display: grid;
    row-gap: 15px;
}

.footer a {
    text-decoration: none;
    color: var(--white);
}

.footer-gradient {
    height: 13px;
    width: 100%;
    background-image: linear-gradient(to right, var(--dark-brown), var(--light-green));
}

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all .6s ease;
}

.reveal.scroll-active {
    transform: translateY(0px);
    opacity: 1;
}

.instant_reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all .6s ease;
}

.instant_reveal.instant_reveal-active {
    transform: translateY(0px);
    opacity: 1;
}

.mySlides {
    display: none
}

img {
    vertical-align: middle;
}

/* Slideshow container */
.slideshow-container {
    max-width: 80%;
    position: relative;
    margin: auto;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.dot {
    height: 10px;
    width: 10px;
}

@media only screen and (max-width: 1315px) {
    .hero {
        margin-top: 150px;
    }
    .hero-catcher {
        font-size: 28px;
    }
    .hero-small-text {
        font-size: 16px;
    }
    .button {
        font-size: 20px;
    }
    .iframe-wrapper {
        width: 100%;
    }
    .slideshow-container {
        max-width: 100%;
    }
}

@media only screen and (max-width: 1050px) {
    .container-wrapper {
        margin-left: 0%;
        margin-right: 0%;
    }
    .section-content {
        margin-left: 5%;
        margin-right: 5%;
    }
    .hero-catcher {
        font-size: 22px;
    }
    .button{
        font-size: 18px;
    }
}

@media only screen and (max-width: 950px) {
    iframe {
        height: 500px;
    }
    .hero-right {
        width: 100%;
    }
    .section {
        margin-left: 5%;
        margin-right: 5%;
    }
}

@media only screen and (max-width: 750px) {
    .logo-img {
        display: none;
    }
    .header {
        justify-content: center;
    }
    #about-us-nav-link {
        margin-left: 0;
    }
    #grid-haus-icon {
        grid-row: 1;
        grid-column: 2;
    }
    #grid-haus-text {
        grid-row: 2;
        grid-column: 2;
    }
    #grid-mail-icon {
        grid-row: 3;
        grid-column: 2;
    }
    #grid-mail-text {
        grid-row: 4;
        grid-column: 2;
    }
    #grid-telefon-icon {
        grid-row: 5;
        grid-column: 2;
    }
    #grid-telefon-text {
        grid-row: 6;
        grid-column: 2;
    }
}

@media only screen and (max-width: 650px) {
    .section {
        margin-left: 0;
        margin-right: 0;
    }
    .section-wrapper{
        padding: 0px;
    }
    .hero {
        display: flex;
        justify-content: center;
        align-content: center;
        flex-wrap: wrap;
        flex-direction: column-reverse;
        align-items: center;
        gap: 35px;
    }
    iframe {
        height: 400px;
    }
    .contact-card {
        width: 35%;
        padding: 20px;
    }
    #card-text {
        font-size: 22px;
        text-align: center;
    }
    #image-card {
        width: 180px;
    }
    #footer-logo-section{
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .nav-bar a{
        font-size: 16px;
        margin-left: 30px;
    }
    .nav-bar-links{
        margin-right: 0;
    }
    .header {
    width: 100%;
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    z-index: 100;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    }
    .footer p{
        font-size: 14px;
    }
    .footer a{
        font-size: 14px;
    }
    .contact-card {
        width: 50%;
        padding: 20px;
    }
}

@media only screen and (max-width: 350px) {
    #image-card {
        width: 170px;
    }
    #card-text {
        font-size: 18px;
        text-align: center;
    }
    .contact-card {
        width: 60%;
        padding: 20px;
    }
    .section-text{
        font-size: 18px;
        font-weight: 400;
    }
    .nav-bar a{
        margin-left: 15px;
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}
