/* SET */

* {
    margin: 0;
    padding: 0;
}

.theme-light {
    --color-background: #ffffff;
    --color-font: #000000;
    --color-primary: #9887F8;
    --color-secondary: #9887F8;
}

.theme-dark {
    --color-background: #FFEA00;
    --color-font: #9887F8;
    --color-primary: #ffffff;
    --color-secondary: #ffffff;
}

@font-face {
    font-family: Melange;
    src: url('typo/Melange-Regular.woff2') format('woff2');
    font-weight: lighter;
}

@font-face {
    font-family: Melange;
    src: url('typo/Melange-Bold.woff2') format('woff2');
    font-weight: bold;
}

html,
body {
    /* min-height: 100vh; */
    font-family: 'Melange';
    width: 100%;
}

section {
    margin: 10px 10px 10px 10px;
}

#BGcolor {
    background-color: var(--color-background);
}

h1 {
    font-size: 4.25vw;
    margin-right: 48%;
    font-weight: bold;
    color: #9887F8;
}


/*INFO TEXT */

#info {
    z-index: 90;
    position: absolute;
    display: none;
    margin-right: 50%;
    font-size: 1.5vw;
    font-weight: lighter;
    color: var(--color-font);
    margin-left: 70px;
    bottom: 50px;
}


/* NAVI */

.footer_menu {
    z-index: 100;
}

#back_link {
    position: absolute;
    bottom: 0;
    padding-bottom: 5px;
    padding-left: 0px;
}

#back_link a {
    text-decoration: none;
    font-weight: lighter;
    font-size: 3vw;
    color: var(--color-font);
}

#back_link a:hover {
    color: var(--color-primary);
}

#info_button {
    position: absolute;
    list-style: none;
    bottom: 0;
    padding-bottom: 10px;
    margin-left: 70px;
    font-size: 1.5vw;
    color: var(--color-font);
}

#info_button:hover {
    cursor: pointer;
}


/* SLIDESHOW */

.mySlides {
    display: none;
}

img {
    vertical-align: middle;
    max-width: 50vw;
    max-height: 90vh;
    width: auto;
    height: auto;
}

.slideshow-container {
    position: absolute;
    top: 0;
    right: 0;
}

.prev,
.next {
    z-index: 2;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    right: 75px;
    color: var(--color-font);
    font-weight: lighter;
    font-size: 4vw;
    transition: 0.6s ease;
    user-select: none;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome and Opera */
}


/* Position the "next button" to the right */

.next {
    right: 10px;
}


/* On hover, add a grey background color */

.prev:hover,
.next:hover {
    color: var(--color-primary);
}

.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
    }
}

@media screen and (max-width:770px) {
    h1 {
        font-size: 5vw;
        margin-right: 0;
        font-weight: bold;
        color: #9887F8;
    }
    img {
        margin-top: 60px;
        max-width: 100vw;
        max-height: 65vh;
    }
    /*INFO TEXT */
    #info {
        margin-right: 10px;
        font-size: 3vw;
        margin-left: 50px;
        bottom: 50px;
    }
    #info_button {
        padding-bottom: 10px;
        margin-left: 50px;
        font-size: 3vw;
    }
    /* NAVI */
    #back_link a {
        font-size: 5vw;
    }
    #back_link {
        position: absolute;
        padding-bottom: 7px;
    }
    .prev,
    .next {
        font-size: 7.5vw;
    }
}

@media screen and (max-width:400px) {
    #info_button {
        padding-bottom: 10px;
        margin-left: 20px;
        font-size: 3vw;
    }
    #info {
        margin-right: 10px;
        font-size: 3vw;
        margin-left: 20px;
        bottom: 40px;
    }
    img {
        margin-top: 40px;
    }
    #back_link {
        padding-bottom: 8px;
    }
}