* {
    box-sizing: border-box;
}

body, html {
    width: 100vw;
    height: 100vh;
    margin-left: -5px; 
}

a {
    color: black;
    text-decoration: none; 
    font-family: 'Roboto-Thin';
}

a:hover {
    text-decoration: none;
    text-decoration-style: solid;
}

h1 {
    font-size: 1.5em;
    font-family: 'Roboto-Thin', sans-serif;
}

h2 {
    font-size: 2em;
    font-family: 'Roboto-Thin', sans-serif;
    font-weight: 700;
    margin-top: -6px;
}

p {
    font-family: 'Roboto-Thin', sans-serif;
    font-size: 1em;
    color: black;
}

#one {
    font-family: 'Roboto-Thin', sans-serif;
    font-size: 1em;
    color: black; 
    text-align: center;
}

#two {
    font-family: 'Roboto-Thin', sans-serif;
    font-size: 1em;
    color: black; 
    text-align: center;
    white-space: pre-wrap;
}

#three {
    font-family: 'Roboto-Thin', sans-serif;
    font-size: 1em;
    color: black; 
    white-space: pre-wrap;
}

.container {
    height: 100vh;
    width: 100vw;
    position: relative;
    text-align: center;
    color: black;
    margin-left: 9px;
    margin-top: -9px;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bg {
    background-color: #fff7ff; 
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ANIMATION INDEX */

.index-img {
  transform:
    scale(0.75)
    rotateY(-30deg)
    rotateX(45deg)
    translateZ(4.5rem);
  transform-origin: 50% 100%;
  transform-style: preserve-3d;
  box-shadow: 1rem 1rem 2rem rgba(0,0,0,0.25);
  transition: 0.6s ease transform;
}

.index-img:hover {
    transform: scale(1);
}

.index-img::before {
    transform: translateZ(4rem);
}

.index-img:hover {
      transform: translateZ(0);
}

.index-img::after {
    transform: translateZ(-4rem);
}

.index-img:hover {
      transform: translateZ(-1px);
}


/* SOCIAL */
.social {
    float: right;
}

/* NAVIGATION */
/* Add a black background color to the top navigation */
.topnav {
  background-color: #ffffff;
  overflow: hidden;
  margin-left: 10px;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #ffffff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 14px;
  color: black;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ffffff;
  text-decoration: none;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #ffffff;
  color: black;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none; 
} 

/* DROPDOWN */

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 14px;  
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: 'Roboto-Thin', sans-serif;
  margin: 0;
}

.dropdown:hover .dropbtn {
  background-color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* RUBRIEKEN */
section {
    display: flex;
    justify-content: flex-start;
    flex-flow: row nowrap;
}

.rubriek {
  position: relative;
  width: 40vw;
  margin: 10px;
}

.rubriek:hover .overlay {
  width: 100%;
  left: 0;
}

.rubriek:hover .overlay1 {
  width: 100%;
  left: 0;
}

.rubriek:hover .text {
 opacity: 1;
}

.image {
  display: block;
  width: 100%;
  height: auto;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 100%;
  right: 0;
  background-color: #000000;
    opacity: .6;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

.overlay1 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
    opacity: .6;
  overflow: hidden;
  width: 0;
  height: 100%;
  transition: .5s ease;
}

.text {
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 1.5em;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap;
    
    
  opacity: 0;
  transition: .5s ease;
}

/* FLICKITY */

.main-carousel {
  background: #FFFFFF;
  margin-top: 4vh; 
}

.carousel-cell {
  height: 600px;
  margin: 10px;
}

.main-carousel2 {
  background: #FFFFFF;
  margin-top: 4vh; 
}

.carousel-cell2 {
  height: 600px;
  margin: 10px;
  height: 93vh;
}

.caption {
  text-align: center;
  font-family: 'Roboto-Thin', sans-serif;
}

/* ABOUT PAGINA */

#about {
    width: 80vw;
    margin-left: 10vw;
    margin-top: 6vh; 
}

.about-content {
    margin-left: 2vw;
    width: 80vw;
}

/* ANIMISTA */

.tracking-in-expand {
	-webkit-animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.2s both;
	        animation: tracking-in-expand 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.2s both;
}

/**
 * ----------------------------------------
 * animation tracking-in-expand
 * ----------------------------------------
 */

@-webkit-keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes tracking-in-expand {
  0% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
  40% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}

/* CONTACT PAGINA */

#contact {
    width: 95vw;
    margin-left: 8vw;
    margin-top: 6vh; 
}

.contact-content {
    margin-right: 5vw;
    margin-top: 5vh;
    width: 500vw;
    text-align: center;
}

/* MEDIA Q */
/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
}       
    
  .dropdown {
    display: none;
}
    
  .section {
    flex-flow: row nowrap;
}
    
  .social {
    display: none;      
}
    
  .main-carousel {
    position: relative;
    width: 100vw;
    margin: 10px;
}
    
  .text {
    font-size: 1em; 
}
    
  #about {
    display: inline-grid;
    margin-left: 10vw;
}

  .about-content {
        margin-top: 5vh;
}
   .corner-video {
       width: 100%;    
    }
    
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
}
    
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left; 
}
    
  .topnav.responsive .social {
        float: none;
        display: block;
        text-align: left;
}
    
  .topnav.responsive .dropdown {
        float: none;
        display: block;
        text-align: left;
}
    
}