@keyframes slidy {
    0% {
        left: 0%;
    }

    20% {
        left: 0%;
    }

    25 {
        text-transform: lowercase;
    }

    % {
        left: -100%;
    }

    45% {
        left: -100%;
    }

    50% {
        left: -200%;
    }

    70% {
        left: -200%;
    }

    75% {
        left: -300%;
    }

    95% {
        left: -300%;
    }

    100% {
        left: -400%;
    }
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    text-transform: lowercase;
    color: #000000;
    height: 100%;
    font-size: 0.8rem;
}

body,
button,
input,
select,
textarea {
    font-family: BlinkMacSystemFont, -apple-system, Helvetica Neue, Helvetica, Arial, sans-serif;
}

h2 {
    font-weight: bold;
    font-size: 1rem;
    display: inline;
    padding-right: 1rem;
}

.bg-image {
    /* The image used */
    background-image: url("/images/website-hintergrund-no-transparent.jpg");

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.logo {
    /*padding: 0.5rem 0.75rem;*/
    width: 100px; /* 50%;*/
    display: inline-block;
    position: absolute;
    margin: 1rem;
    z-index: 1000;
}

.home {
    margin-top: 5rem;
    font-size: 4rem;
    color: #ffffff;
    word-break: break-all;
}

.contact {
    color: #ffffff;
}

.contact a{
    color: #ffffff;
}

.contact a:hover{
    color: #ffffff;
    font-weight: bold;
}

.hero-body, .section {
    padding: 0rem 1.5rem;
}

.content ul {
    text-indent: -2.6rem;
    margin-left: 2.6rem;
    list-style: none;
}

div#slider {
    overflow: hidden;
    margin-top: -3rem;
    max-height: 30rem;
}

div#slider figure img {
    width: 20%;
    float: left;
}

div#slider figure {
    position: relative;
    width: 500%;
    margin: 0;
    left: 0;
    animation: 30s slidy infinite;
}

.content table td,
.content table th {
    border: none;
}

.footer {
    padding: 0rem 1.5rem 1rem
}

.footer-navigation {
    text-align: center;
}

.footer-navigation li {
    display: inline;
    list-style: none;
    text-decoration: none;
    margin-right: 3rem;
}

a {
    color: #000000;
}

strong {
    color: unset;
}

#gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.main-nav ul li.selected,
.main-nav ul li:hover {
    color: #000000;
    background-color: unset;
    font-weight: normal;
}

.main-nav ul li {
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 2rem;
}

.navbar {
    border-bottom: unset;
    display: flex;
    justify-content: right;
}

.navbar>.container {
    width: 74%;
    ;
}

a.main-nav ul li.selected:not(:hover),
a.main-nav ul li.selected:not(:hover) {
    font-weight: normal;
}

.navbar-brand {
    margin: 0;
}

.content h2 {
    font-size: 1em;
    margin-bottom: .5714em;
    letter-spacing: 2px;
}

.col-centered {
    float: none;
    margin: 0 auto;
}

.container-centered {
    width: 200px;
}

.justified {
    text-align: justify;
}

.caption {
    position: relative;
    bottom: 0rem;
    height: 0;
    color: #000000;
    font-size: 0.6rem;
    font-style: italic;
    text-transform: none;
}

.cv-first-column {
    width: 25%;
}

.no-lowercase {
    text-transform: none;
}

/* main navigation */

.navbar {
    background-color: unset;
}

.menu {
    margin-top: 2rem;
}

nav {
    display: flex;
    justify-content: space-between;
}

nav ul {
    /* Make the markers disappear */
    list-style-type: none;
}

nav ul li {
    /* Puts the elements in a single line */
    display: inline-flex;
    margin: 0.3em 1em;
}

.main-nav .menu-icon .navicon {
    background: #000000;
    display: block;
    height: 2px;
    position: relative;
    transition: background .2s ease-out;
    width: 18px;
}

.main-nav .menu-icon .navicon:before,
.main-nav .menu-icon .navicon:after {
    background: #000000;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}

.main-nav .menu-icon .navicon:before {
    top: 5px;
}

.main-nav .menu-icon .navicon:after {
    top: -5px;
}

.main-nav .menu-btn:checked~.menu-icon .navicon {
    background: transparent;
}

.menu-btn:checked~.menu-icon .navicon:before {
    transform: rotate(-45deg);
}

.menu-btn:checked~.menu-icon .navicon:after {
    transform: rotate(45deg);
}

.main-nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.main-nav .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
    top: 0;
}

nav input[type="checkbox"],
nav label {
    display: none;
}

@media screen and (min-width: 1088px) {
    .container.is-fluid {
        /* margin-left: 64px; */
        margin-right: 64px;
        max-width: none;
        width: auto;
    }
}

/* This start to get interesting: we go into mobile phone mode */
@media (max-width: 1024px) {

    .logo img {
        width: 20px; /* 20%;*/
    }

    .logo{
        margin-left: 1.5rem;
    }

    .home {
        font-size: 2rem;
    }

    .hero-body, .section {
        padding-top: 1.5rem;
    }

    /* Here is the magic: if the checkbox is not marked, the adjacent list is not displayed */
    /*input[type="checkbox"]:not(:checked)+ul {
        display: none;
    }*/

    .menu {
        display: none;
    }

    .menu-btn:checked~.menu{
        display: block;
    }

    nav {
        flex-direction: row;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
        margin-top: 1rem;
    }

    .navbar {
        justify-content: center;
    }

    /* Stlying the menu icon, the checkbox stays hidden */
    .menu-icon {
        /*text-align: right;
        display: block;
        padding: 0.5em;
        line-height: 1.6em;
        align-self: center;*/
        text-align: right;
        display: block;
        padding: 0.5em;
        line-height: 1.6em;
        margin-left: auto;
        margin-right: 0;
    }

    /* Because we are in mobile mode, we want to display it as a vertical list */
    nav ul {
        display: block;
    }

    /* We have two lists: the first one are the always visibile items in the 
      menu bar. The second one is the one that will be hidden */
    nav ul:last-child {
        width: 100%;
        flex-basis: 100%;
    }

    nav ul li {
        margin-bottom: 0;
        width: 100%;
        /*text-align: right;*/
        padding: 0.5em;
    }

    .main-nav ul li {
        font-size: 2rem;
    }
}

.gallery-current-image{
    max-height: 60vh;
}

.gallery-navigation {
    margin-bottom: 1rem;
}

.gallery-navigation button {
    border: none;
    background: none;
    cursor: pointer;
    color: #000000;
}

.gallery-slide-dots button {
    /*border-radius: 50%;*/
    cursor: pointer;
    height: 0.6rem;
    width: 0.6rem;
    margin-right: 1rem;
    border: 1px solid #000000;
}

.gallery-slide-dots-button-active {
    background: #000000;
}

.image-carousel {
    position: relative;
    text-align: center;
}

.gallery-slide-dots {
    /*position: absolute;
    bottom: 4em;*/
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 20rem;
}

.gallery-control {
    font-size: 2rem;
    cursor: pointer;
}

.metadata{
    font-size: 0.8rem;
    text-align: right;
    margin-right: 1em;
}

.metadata h2{
    font-size: 0.8rem;
}