@font-face {
    font-family: 'Amatic';
    src: url(./fonts/Amatic_SC/AmaticSC-Regular.ttf);
}

@font-face {
    font-family: 'Amatic Bold';
    src: url(./fonts/Amatic_SC/AmaticSC-Bold.ttf);
}

@font-face {
    font-family: 'Roboto';
    src: url(./fonts/Roboto/Roboto-Regular.ttf);
}

html {
    position: relative;
    min-height: 100%;
}

body {
    font-family: 'Roboto';
    width: 100%;
    min-height: 100%;
    margin: 0;
    background-color: #c2ccb5;
    font-size: 1.6em;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    /* Füllt den verbleibenden Platz aus */
    padding-left: 0;
    padding-right: 0;
    font-size: 0.8em;
    line-height: 140%;
}

main a {
    color: #187a4d;
}

h2 {
    font-size: 2.2em;
}

h2,
h1 {
    font-family: 'Amatic Bold';
}

h3 {
    text-transform: uppercase;
}

li::marker {
    color: #F42A40;
}

header {
    background: rgb(24, 122, 77);
    background: linear-gradient(45deg, #598234 0%, #b3c100 90%);
    padding-left: 54px;
    padding-top: 16px;
    display: flex;
    flex-direction: column;
}

.header-up {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.header-up img {
    margin-bottom: -54px;
}

donatebutton-footer {
    display: none;
}

donatebutton-footer a {
    display: none;
}

.donatebutton {
    z-index: 1;
    background-color: #F42A40;
    border: 2px solid #377534;
    border-radius: 9px;
    padding: 4px;
    margin: 50px;
    font-size: 32px;
}


.donatebutton:hover {
    padding: 6px;
    margin: 47px;
    border: 3px solid #eeff00;
    transition: color 1s ease-out;
}

a {
    color: #c2ccb5;
    text-decoration: none;

}

a span {
    color: black;
}

a span:hover {
    background-color: #1c451a;
}

.navbar {
    background-color: #1c451a;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    font-family: 'Amatic';
    height: 54px;
    margin-left: 364px;
    border-radius: 5px 0 0 0;
}

.navbar a {
    font-size: 36px;
    font-weight: 800;
    padding: 5px;
}

.navbar a:hover {
    background-color: #598234;
    border-radius: 5px;
    padding: 5px 10px 5px 10px;

}

.hero {
    display: block;
    object-fit: cover;
    object-position: 50% 25%; /* sorgt dafür, dass das Bild oben ausgerichtet ist */
    width: 100%;
    max-height: 70vh;
    margin: 0;
    overflow: hidden;

}

.one-column {
    padding: 0 3% 3% 3%;
    display: flex;
    flex-direction: column;
    gap: 5%;

}

.two-columns {
    display: flex;
    flex-direction: row;
    gap: 30px;
    padding-top: 10px;
    padding-bottom: 15px;
}

.two-columns div {
    flex: 1;
}


.two-columns img {
    width: 100%;
    height: auto;
    aspect-ratio: initial;
}
.caption{
    font-size:small;
}
.separator {
    border: #1c451a 2px dashed;
    margin-bottom: 5px;
}

.projects,
.paddings {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

.projects img {
    width: 100%;
    height: min-content;
}

.simple-shadow {
    box-shadow: 2px 0 5px rgba(26, 29, 26, 0.537);
}

.thankyou {
    height: 70%;
    width: auto !important;
    max-height: 80%;
    max-width: 100%;
    margin-bottom: 50px;
}

.gooding-logo {
    height: 100px !important;
    width: auto !important;
    margin-bottom: -1em;
}

.slideshow-container {
    position: relative;
    width: 100%;
    padding-top: 28%;
    background-color: black;
    overflow: hidden;
}

.slideshow-container p {
    color: #eeebd3;
    z-index: 1;
    position: relative;
    font-size: x-small;
}

.mySlides {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    max-height: 100%;
    width: 100%;
}

.mySlides img {
    object-fit: fill;
}

.prev,
.next {
    background-color: #b3c100;
    border-color: #598234;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #1c451a;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.fade {
    animation: fadeEffect 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}


.projects div {
    width: 34%;
}

.projects div div{
    width: 100%;
}
.footnote {
    font-size: 0.8em;
    color: gray;
}

.footnote a {
    color: gray;
}

.dropdown {
    display: none;
}

@media (max-width: 750px) {

    body {
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        width: 100%;
        min-height: 100%;
        margin: 0;
        height: calc(100vh - 5em);
        font-size: 1em;
        display: flex;
        flex-direction: column;
    }

    main {
        font-size: 1em;
    }

    h2,
    h1 {
        font-family: 'Amatic';

    }

    header {
        background-color: #187a4d;
        padding-left: 3%;
        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: space-between;
    }

    .donatebutton {
        display: none;
    }

    a {
        color: #eeebd3;
        text-decoration: none;
        font-size: 1.4em;

    }

    .navbar {
        display: none;
    }

    .hero {
        content: url("./img/schulkindaspectratio1.jpg");
        height: 100%;
        width: 100%;
        object-fit: cover;

        margin-left: 0;
        max-height: max-content;
        margin-right: 0;
        margin-bottom: 0;
    }

    .header-up img {
        margin-bottom: 0;
    }


    .one-column {
        padding: 3% 10% 20vh 10%;
        display: flex;
        flex-direction: column;
        gap: 5%;

    }

    .two-columns {

        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 3% 10% 20vh 10%;
    }

    .two-columns div {
        flex: 1;
    }

    .two-columns img {
        width: 100%;
        height: auto;
        aspect-ratio: initial;
    }

    .separator {
        border: #1c451a 2px dashed;
        margin-top: -35px;
    }

    #about {
        padding: 0;
    }

    .padding-bottom {
        padding-bottom: 60px;
    }

    .paddings {
        padding: 3% 0 20vh 3%;
    }

    .projects div {
        width: 100%;
    }


    .thankyou {
        height: 70vh;
        max-height: 80%;
        max-width: 100%;
        margin-bottom: -20vh;
    }

    .gooding-logo {
        height: 3em;
        margin-bottom: -1em;
    }

    .slideshow-container {
        position: relative;
        width: 100%;
        padding-top: 68%;
        background-color: black;
        overflow: hidden;
    }

    .mySlides {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 100%;
        max-height: 100%;
        width: 100%;
    }

    .mySlides img {
        object-fit: fill;
    }

    .prev,
    .next {
        background-color: #b3c100;
        border-color: #598234;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #1c451a;
    }

    .prev {
        left: 0;
    }

    .next {
        right: 0;
    }

    .footnote {
        position: absolute;
        bottom: 88px;
        font-size: 0.6em;
        color: gray;
    }

    .footnote a {
        font-size: 0.6em;
        color: gray;
    }

    /*drop-menu*/

    .dropdown {
        margin-top: -8px;
        margin-right: 3%;
        display: flex;
        align-items: start;
        justify-content: end;
    }

    .dropdown:hover {
        cursor: pointer;

        background-color: #8EAA43;
        border-radius: 3px;
    }

    /* Dropdown Button */
    .link {
        border: none;

    }

    /* The container <div> - needed to position the dropdown content */

    /* Dropdown Content (Hidden by Default) */
    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #c2ccb5;
        min-width: 160px;
        margin-right: 50px;
        box-shadow: 2px 0 5px rgba(26, 29, 26, 0.537);
        z-index: 1;
    }

    /* Links inside the dropdown */
    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #598234;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }


}