@font-face {
        font-family:suisse-regular;
        src:url(../fonts/suisse-regular.otf) format("opentype");
    }


@font-face {
            font-family:suisse-medium;
            src:url(../fonts/suisse-medium.otf) format("opentype");
                }


html, body { 
  height: 100%; 
  padding: 0; 
  margin: 0; 
}
/* Main flexbox container */
div.container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}
/* Styles for the flex-items */
div.container > div {
  width: 50%;
  height: 50%;
}

.vl {
  border: 1px solid black;
  height: 100%;
  left: 50%;
  position: absolute;
  top: 0%;
  margin: 0;
}

.hl {
  border: 1px solid black;
  width: 100%;
  top: 50%;
  position: absolute;
  margin: 0;
}

.banner {
  font-family: 'suisse-regular', Helvetica, sans-serif;
  font-size: 1.2vw;
  color: black;
  right: 5%;
  bottom: 5%;
  height: auto!important;
  width: 25%!important;
  text-align: left;
  line-height: 1.08;
  padding: 1em;
  background-color: white;
  border: 2px solid red;
  border-radius: 2em;
  position: absolute;
  z-index: 1;
}

.banner:hover {
  color: white;
  background-color: black;
}

a {
  font-family: 'suisse-medium', Helvetica, sans-serif;
  color: black;
  font-size: 6.4vw;
  line-height: 0.9;
  padding-left: 0.2em;
  padding-top: 0.2em;
  text-decoration: none;
  display: inline-block;
}


.peschpesch { 
  background-color: white; 
  color: black; 
}
.peschpesch:hover { background-color: black; color:white; cursor: pointer; }
.peschpesch:hover a { color:white; }

.about { background-color: white; color: black; }
.about:hover { background-color: black; color:white; cursor: pointer; }
.about:hover a { color:white; }

.projects { background-color: white; color: black; }
.projects:hover { background-color: black; color:white; cursor: pointer; }
.projects:hover a { color:white; }

.index { background-color: white; color: black; }
.index:hover { background-color: black; color:white; cursor: pointer; }
.index:hover a { color:white; }

.image { background-color: white; color: black; }
.image:hover { background-color: black; color:white; }
.image:hover a { color:white; }

/* Media query for responsiveness */
@media only screen and (max-width: 768px) {
  div.container {
    flex-direction: row;
  }
  div.container > div {
    height: auto !important;
    width: 100% !important;
    padding-bottom: 0.2em;
  }
  div.peschpesch {
    order: 0;
  }
  div.about {
    order: 1;
  }
  div.projects {
    order: 2;
  }
  div.index {
    order: 3;
  }
  .vl {
    display: none;
  }
  .hl {
    display: none;
  }
}

div.image > img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
