@font-face {
  src: url(../fonts/genera/Genera-AltLight.ttf);
  font-family: genera;
}

nav{
  padding: 0.5vh 0;
  display: table;
  width: 100%;
  text-align: center;
  font-family: genera;
  font-size: calc(100vw / 80);
  font-style: italic;
  z-index: 10;
  background-color: #4363ac;
}

nav ul{
  margin: 0; padding: 0;
  list-style-type: none;
  display: inline-block;
}

nav li{
  padding: 0 calc(100vw / 75);
  float: left;
  text-align: center;
  display: inline-block;
}

nav a{
  color: lightgrey;
  text-decoration: none;
  display: inline-block;
  position: relative;
}

nav a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -10%;
  left: 0;
  background-color: lightgrey;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

nav a:hover:before {
  visibility: visible;
  width: 100%;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

main{
  padding-top: 10vh;
}

#slidenav{
  margin: 0 0 1vh 0;
  padding: 0;
  width: 100%;
  text-align: center;
  display: block;
  font-family: genera;
  font-size: 1vw;
  font-weight: bold;
}

#slidenav ul{
  margin: 0; padding: 0;
  list-style-type: none;
  display: inline-block;
}

#slidenav li{
  margin: 0; padding: 0  1vw;
  float: left;
}


#slidenav a {
  text-decoration: none;
  color: black;
  text-align: center;
}

#slidenav :hover{
  color: #4363ac;
}

/* Slideshow container */
.slideshow{

  width: 100%;
  height: 50vh;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slide {
  /*margin-top: 10vh;*/
  width: 100%;
  height: 100%;
  font-weight: 900;
  display: none;
  /*border-top: 1px solid lightgrey;
  border-bottom: 1px solid lightgrey;*/
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  padding: 1vh;
  color: lightgrey;
  font-weight: bold;
  font-size: 5vh;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  font-family: genera;
  color: lightgrey;
  font-size: 3vw;
  padding: 1vh 1vw;
  position: absolute;
  bottom: 1vh;

  text-align: left;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: none;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.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}
}

#SaintMaurice{
  background: linear-gradient(45deg, rgba(125,125,125,1) 0%, rgba(98,98,98,0) 50%, rgba(125,125,125,1) 100%),
    url("../img/trouwringen/saintmaurice.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#Mathisse{
  background: linear-gradient(45deg, rgba(125,125,125,1) 0%, rgba(98,98,98,0) 50%, rgba(125,125,125,1) 100%),
    url("../img/trouwringen/Ol_Stevigny_RW_6013.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#Bruno{
  background: url("../img/trouwringen/BrunoB.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.Folders{
  margin-top: 10vh;
  display: table;
  width: 100%;
}

.folderpdf{
  width: 100%;
  display: inline-block;
  text-align:center;
  margin: 5vh 0;
}

.folderCover{
  padding: 0;
  margin: 0 5vw;
  display: inline-block;

  height: 30vh;
  width: calc(30vw / 3);

  position: relative;

  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#folder_1{
  background-image: url('../folders/covers/modelfoto-coverWeb_3.jpg');
}
#folder_6{
  background-image: url('../folders/covers/Screenshot 2020-12-11 190102.png');
}
#folder_7{
  background-image: url('../folders/covers/Brochure-2022.jpg');
}
#folder_8{
  background-image: url('../folders/covers/CAEJ22_FOL_b190x280_prijzen_15_HR_pag.jpg');
}
#folder_9{
  background-image: url('../folders/covers/MB brochure - spread 56pag LR xx.jpg');
}

@media (max-width: 1024px) {

  #slidenav ul{
    width: 40%;
  }
  #slidenav li{
    padding: 0;
    font-size: 3vw;
    width: calc(100% / 3 - 2px / 3);
  }
  .text {
    font-size: 5vw;
  }
  .dot{
    height: 2.5vw;
    width: 2.5vw;
    margin: 0 1vw;
  }
  .prev, .next {
    font-size: 7vh;
  }
  .folderCover{
    margin: 2.5vh 5vw;

    height: calc(50vw);
    width: calc(50vw / 2);
  }
}
