body, html {
    height: 100%;
    margin: 0;
    background-color: #000;
    color: #777;
    scroll-behavior: smooth;
}

.nav button {
    color: white;
    border: none;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    background-color: transparent;
    text-shadow: 0px 1px 0px #8e8e8e;
    cursor:pointer;
}

.nav {
    background-color: black;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 99;
    text-align: center;
    padding: 12px;
}

.nav button {
    height: 33px;
    text-transform: uppercase;
    margin: 3px 3px;
    padding: 0px 6px;
    min-width: 40px;
}

/*****************************************************************************/

.bgimg {
    position: relative;
    /* opacity: 0.65; */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bgimg-1 {
    background-image: url("img/home-1.png");
    min-height: 100%;
}

.bgimg-2 {
    background-image: url("img/home-2.png");
    min-height: 600px;
}

.bgimg-3 {
    background-image: url("img/home-3.png");
    min-height: 600px;
}

.bgimg-4 {
    background-image: url("img/home-4.png");
    min-height: 600px;
    padding-top: 100px;
}

.bgimg-5 {
    background-image: url("img/home-5.png");
    min-height: 100%;
    padding-top: 100px;
}

.bgimg-6 {
    background-image: url("img/home-6.png");
    -o-background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    background-size: 100% auto;
    min-height: 100%;
    padding-top: 100px;
}

.bgimg-7 {
    background-image: url("img/home-7.png");
    min-height: 100%;
    padding-top: 100px;
}

.bgimg-footer {
    min-height: 100%;
}

/*****************************************************************************/

.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    text-align: center;
    color: #000;
}

.caption span.border {
    background-color: #111;
    color: #fff;
    padding: 11px 11px 11px 18px;
    font-size: 25px;
    letter-spacing: 10px;
    line-height: 3;
    display: inline-block;
}

/*****************************************************************************/

img.logo {
    -webkit-transform: translate(-50%,-50%);
    display: block;
    left: 50%;
    margin-left: auto;
    margin-right: auto;
    min-width: 300px;
    position: absolute;
    text-align: center;
    top: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 25%;
}

/*****************************************************************************/

h1 {
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    font: 20px "Lato", sans-serif;
    color: #111;
}

h2 {
    letter-spacing: 5px;
    text-transform: uppercase;
    text-align: center;
    font: 20px "Lato", sans-serif;
    color: #111;
}

/* Turn off parallax scrolling for tablets and phones */
@media only screen and (max-device-width: 1024px) {
    .bgimg {
        background-attachment: scroll;
    }
}

/*****************************************************************************/

.content-impressum {
    margin-top: 50px;
    background-color: #fff;
    color: #777;
    padding: 20px 60px;
    text-align: justify; 
}

/*****************************************************************************/

.content-courses {
    margin-top: 50px;
    background-color: #000;
    color: #777;
    padding: 20px 60px;
    text-align: justify; 
}

.course div {
    background-color: #fff;
    margin: 10px;
}

/*****************************************************************************/

.content {
    background-color: #fff;
    color: #777;
    padding-top: 120px;
    padding-bottom: 120px;
    /* text-align: justify; */
    text-align: center;
}

.content p {
    max-width: 80%;
    margin: auto;
}

.content a,
.content a:link,
.content a:visited,
.content a:active {
    color: black;
    text-decoration: none;
}

.content a:hover {
    color: black;
    text-decoration: underline;
}

ul.content-list {
    max-width: 80%;
    display:-moz-inline-stack;
    display: inline-block;
    zoom:1;
    *display: inline;
    padding-left: 0px;
}

ul.content-list > li {
    margin: 0;
    padding: 6px 0px 6px 28px;
    list-style: none;
    background-image: url("img/list-icon.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px;
    text-align: left;
}

ul.content-list > ul > li {
    text-align: left;
    padding: 6px 0px 6px 0px;
}

/*****************************************************************************/

.references-list img {
    width: 100%;
}

.references-list li {
    list-style: none;
    width: 250px;
    background-image: none;
    text-align: center;
    margin: 10px;
    padding: 10px;
    /* border: 1px solid black; */
}

ul.references-list {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/*****************************************************************************/

.supporters-list img {
    max-width: 100%;
    max-height: 100px;
}

.supporters-list li {
    list-style: none;
    width: 400px;
    background-image: none;
    text-align: center;
    margin: 10px;
    padding: 10px;
}

ul.supporters-list {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/*****************************************************************************/

.gallery-list img {
    max-width: 100%;
    max-height: 100px;
}

.gallery-list li {
    list-style: none;
    /* width: 200px; */
    background-image: none;
    text-align: center;
    margin: 4px;
    padding: 2px;
    border: 1px solid black;
}

ul.gallery-list {
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.overlay {
    display: none; 
}

.overlay:target {
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    
    transition: 0.8s ease; 
    animation: show 0.8s ease; 
}

.overlay-img {
    display: block;
    margin: auto;
    position: relative;

    width: 90%;
    height: 90%;
}

.img-back {
    position: fixed;
    top: 0px;
    left: 0px;
    bottom: 0px;
}

.img-next {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
}

.img-back a span,
.img-next a span {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.img-back a,
.img-back a:hover,
.img-next a,
.img-next a:hover {
    text-decoration: none;
    color: white !important;
    font-size: 10em;

    height: 100%;
    width: 0.5em;

    overflow-wrap: normal;
    display: inline-block;

    text-align: center;
    vertical-align: middle;
}

.overlay:target img {
    max-width: 100%;
    max-height: 100%;
    text-align: center;
    
    position: relative;
    top: 50%;
    
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    
    border: 2px solid white;
    border-radius: 7px;
    box-shadow: 3px 3px 100px black;
}

@keyframes show {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@-webkit-keyframes show {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 1;
  }
}

/*****************************************************************************/

.contact {
    padding-top: 2%;
    padding-bottom: 2%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: block;
    min-width: 400px;    
    width: 25%;
    background-color: #fff;
}

.instagram span {
    vertical-align: middle;
}

.instagram img {
    height: 75px;
    vertical-align: middle;
}

.instagram a {
    vertical-align: middle;
}

.instagram div {
   height: 75px;
}

/*****************************************************************************/
