* {
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    background-position: center;
    color: #ffffff;
    margin-bottom: auto;
}

.margin-body {
    margin: 20px;
}
/*Fonts*/
@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
  
  }
  
  @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
/*Einde fonts*/

/*Header*/
.header {
    position: relative;
    padding: 0;
    margin: 0;
    color: white;
}

.header img {
    height: auto;
    width: 34%;
    padding: 0px;
    float: right;
}

.header a{position: absolute; right: 5%; top: 5%; z-index: 1000; font-size: 12px;}

/*Einde header*/


/*Index body*/

.index h1 {
    padding-top: 64px;
    padding-bottom: 30px;
    font-size: 6vw;
    color: white;
    position: relative;
    text-shadow: black 1px 1px 20px;
    line-height: 105px;
    letter-spacing: 2px;
}

.center {
    text-align: center;
  }
/*Einde index body*/

/* h1 */
.work h1 {
    padding-top: 64px;
    padding-bottom: 84px;
    font-size: 6vw;
    color: white;
    position: relative;
    text-shadow: black 1px 1px 20px;
    line-height: 105px;
    letter-spacing: 2px;
}

.work p {
    margin-left: 35%;
    margin-right: 35%;
    font-size: 19px;
    line-height: 1.5em;
}

.work {
  margin-bottom: 5%;
}
/* about body */
.about h2 {
    padding-top: 12px;
    padding-left: 6px;
    font-size: 1vw;
    color: white;
    position: relative;
    text-shadow: black 1px 1px 20px;
    line-height: 20px;
    letter-spacing: 2px;
}

.about {
    padding-bottom: 100px;
}

/*Einde about body*/


/*Footer*/
.footer {
    background-color: white;
    color: black;
    left: 0;
    bottom: 0;
    width: 100%;
    clear: both;
}

.footer .footer-wrapper {
    width: 86%;
    margin: 0 auto;
}

.footer .footer-wrapper .grid-wrapper {
    display: grid;
    grid-template-columns: 49% 49%;
}

.footer .footer-wrapper .grid-wrapper .grid-item {
    padding: 10% 10%;
    text-align: center;
}

/*Einde footer*/


/* Grid containers */
.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-gap: 10px;
    padding: 5px;
}


/* Einde grid containers */


/* Margin pagina links en rechts */
.margin {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
    margin-bottom: 52px;
}

.margin-index {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
    overflow-x: visible;
    overflow-y: visible;
}

.content-unitagger {

  text-align: center;
  padding: 0%;
}

.content-unitagger img {
    width: 20%;
    height: auto;
}

.tracey-img img {
    width: 50%;
    height: auto;
}

.margin-project {
    margin-left: 25px;
    margin-right: 25px;
    margin-bottom: 240px;
}

.margin-contact {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
    margin-bottom: 555px;
}

.margin-about {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 25px;
    margin-bottom: 110px;
}

.projecten {
    margin-bottom: 52px;
    text-align: center;
}

.projecten img {
    width: 40%;
    height: auto;
}

/*Einde margin pagina links en rechts*/

/*Links*/

.footer a {
    color: #000 !important;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.footer a:link,
a:visited {
    text-decoration: none;
}

/*Einde links*/


/* Navigatie CSS */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }

    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

.overlay li a{
  font-size: 18px;
}

/*Einde Navigatie bar*/

/* Flexbox opdrachten */
.flex-container {
    display: grid;
    justify-content: center;
    grid-template-columns: 24% 24% 24% 24%;
    grid-gap: 1vw;
}
.flex-container > img {
    width:  100px;
    height: 100px;
    object-fit: cover;
}

.flex-container > div {
    width: 180px;
    margin: 25px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 25px;
}

.flex-container-AM {
    display: grid;
    justify-content: center;
    grid-template-columns: 32% 32% 32%;
    grid-gap: 1vw;
}

.aboutme_img img {
    padding: 0px;
    margin: -110px;
    margin-right: -185px;
    width: 85%;
    height: auto;
    float: right;
}

.flex-container-margin {
    margin: 15px;
}

  .indexh2 h2 {
    margin-top: 45px;
}

.flex-container-index{
    display: flex;
    justify-content: left;
    grid-template-columns: 32% 32% 32%;
    grid-gap: 1vw;
}

.flex-container-index > div{
    width: 180px;
    margin: 25px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.flex-container-works{
    display: flex;
    justify-content: center;
    grid-template-columns: auto auto auto auto;
    grid-gap: 6vw;

}

.flex-container-works > div{
    width: 180px;
    margin: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 25px;
    margin-top: 25px;
}

.index-margin{
    margin: 85px;
}

.flex-container-tekst {
    display: grid;
    justify-content: center;
    grid-template-columns: 49% 49%;
    grid-gap: 1vw;
}

/*Einde Flexbox opdrachten*/

/* link style */
body a {
    text-decoration: none;
}

body a:link, a:visited {
    text-decoration: none;
    color: White;
}

.body_link {
    text-align: center;
}

.body_link a {
    text-decoration: none;
    color: #e94f64 !important;
}

.body_link a:link,
a:visited {
    text-decoration: none;
}

.body_link2 a {
    text-decoration: none;
    color: #e94f64 !important;
}

/* Begin CSS */
.flex-container .icon{
    transition: all 0.15s ease-in-out;
  }

  .flex-container .icon:hover{
    transition: all 0.15s ease-in-out;
    transform: scale(1.1);
  }
  
  .flex-container-works .icon{
    transition: all 0.15s ease-in-out;
  }

  .flex-container-works .icon:hover{
    transition: all 0.15s ease-in-out;
    transform: scale(1.1);
  }

  .flex-container-index .icon{
    transition: all 0.15s ease-in-out;
  }


.textbtn {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

  .flex-container-index .icon:hover{
    transition: all 0.15s ease-in-out;
    transform: scale(1.1);
  }
  .flex-container-tekst .icon{
    transition: all 0.15s ease-in-out;
  }

  .flex-container-tekst .icon:hover{
    transition: all 0.15s ease-in-out;
    transform: scale(1.1);
  }

  .icon img {
    width: 100%;
    height: auto;
    margin: 10px 10px 10px 10px;
  }

  /* Einde CSS animatie */
 
 
  /* Afbeeldingen */

  .afb img {
    width: 45%;
    height: auto;
    margin: 10px 10px 10px 10px;
    border-radius: 5px;
  }

  .afb {
      text-align: center;
  }

  .flex-container-AM img{
    width: 100%;
    height: auto;
    margin-right: -37px;
  }

  /* Einde afbeeldingen */

  /* Modal afbeelding (Vergroten) */

 /* Style the Image Used to Trigger the Modal */
 .myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}
    
    /* 100% Image Width on Smaller Screens */
    @media only screen and (max-width: 700px){
        .modal-content {
        width: 100%;
        }
    }
/* Einde Modal afbeelding (Vergroten)*/

.btn {
    background-color: #e94f64;
    padding: 12px 25px;
    color: #ffffff;
    border-radius: 10px;
  }


  /* Vierkant home page */
.square_ixd {
  height: 280px;
  width: 280px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0092CC;
  border-radius: 20px;
aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_jumbo {
  height: 280px;
  width: 280px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FF3333;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_tracey {
  height: 280px;
  width: 280px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DCD427;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_unitagger {
  height: 280px;
  width: 280px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #779933;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_ixd:hover .overlayworks {
  opacity: 1;
}

.square_jumbo:hover .overlayworks {
  opacity: 1;
}

.square_tracey:hover .overlayworks {
  opacity: 1;
}

.square_unitagger:hover .overlayworks {
  opacity: 1;
}

.overlayworks {
  position: absolute;
  inset: 0;              /* top:0; bottom:0; left:0; right:0 shorthand */
  opacity: 0;
  transition: 0.5s ease;
  background-color: rgba(22, 1, 138, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.containerworks:hover .overlayworks {
  opacity: 1;
}

.overlayworks .text {
  color: white;
  font-size: 1.2rem;
  text-align: center;
}

@media (max-width: 600px) {
  .flex-container-works {
    flex-direction: column;
    text-align: center;
  }
 .footer {
    font-size: 12px;
}
  .header img {
    display: none;
  }

  .index h1 {
    font-size: 6vw;
    color: white;
    text-align: center;
    line-height: 50px;
}

  .indexh2 h2 {
    display: none;
}

  .index-text p {
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
}

.square_ixd {
  height: 150px;
  width: 150px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0092CC;
  border-radius: 20px;
aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_jumbo {
  height: 150px;
  width: 150px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FF3333;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_tracey {
  height: 150px;
  width: 150px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DCD427;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_unitagger {
  height: 150px;
  width: 150px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #779933;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.flex-container-works > div{
    width: 180px;
    margin: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 25%;
    margin-right: 25%;
}

}

@media only screen and (max-width: 599px) {
 .work p{
  margin-left: 15%;
  margin-right: 15%;
  font-size: 15px;
  line-height: 1.5em;
}

 .work img{
  height: auto;
  width: 75%;
}
  .aboutme_img img {
    display: none;
  }

  .flex-container-AM {
    display: grid;
    justify-content: center;
    grid-template-columns: 49% 49%;
    grid-gap: 1vw;
}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) and (max-width: 767px) {
  .flex-container-works {
    flex-direction: column;
    text-align: center;
  }
 
  .header img {
    display: none;
  }
  .aboutme_img img {
    display: none;
  }
 .footer {
    font-size: 15px;
}
    .flex-container-AM {
    display: grid;
    justify-content: center;
    grid-template-columns: 49% 49%;
    grid-gap: 1vw;
    }

  .index h1 {
    font-size: 6vw;
    color: white;
    text-align: center;
    line-height: 50px;
}

  .indexh2 h2 {
    text-align: center;
    margin-bottom: 15px;
}

  .index-text p {
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
}

.square_ixd {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0092CC;
  border-radius: 20px;
aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_jumbo {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FF3333;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_tracey {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DCD427;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_unitagger {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #779933;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.flex-container-works > div{
    width: 180px;
    margin: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 35%;
    margin-right: 35%;
}

 .work p{
  margin-left: 15%;
  margin-right: 15%;
  font-size: 15px;
  line-height: 1.5em;
}

 .work img{
  height: auto;
  width: 30%;
}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 1200px) {
  .flex-container-works {
    flex-direction: column;
    text-align: center;
  }
   .flex-container-AM {
    display: grid;
    justify-content: center;
    grid-template-columns: 49% 49%;
    grid-gap: 1vw;}

  .header img {
    display: none;
  }
  .aboutme_img img {
    display: none;
  }
  .index h1 {
    font-size: 6vw;
    color: white;
    text-align: center;
    line-height: 80px;
}

  .indexh2 h2 {
    text-align: center;
    margin-bottom: 15px;
}

  .index-text p {
    text-align: center;
    margin-left: 25%;
    margin-right: 25%;
}

.square_ixd {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0092CC;
  border-radius: 20px;
aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_jumbo {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FF3333;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_tracey {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #DCD427;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.square_unitagger {
  height: 230px;
  width: 230px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #779933;
  border-radius: 20px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}

.flex-container-works > div{
    width: 180px;
    margin: 15px;
    text-align: center;
    line-height: 30px;
    font-size: 30px;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-left: 42%;
    margin-right: 42%;
}
}



