@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');
*
{
   font-family: 'Poppins', sans-serif; 
   scroll-behavior: smooth;
}
body
{
    min-height: 100vh;
    min-width: 520px;
    overflow-x: hidden;
    background: linear-gradient(#2b1055, #7597de);
    margin: 0;
    padding: 0;
}
header 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}
header .logo 
{
    color:#fff;
    font-weight: 700;
    text-decoration: none;
    font-size: 2vw;                             /* TODO: deze moet hidden bij kleiner scherm */
    text-transform: uppercase;
    letter-spacing: 2px;
}
header ul 
{
    display: flex;
    justify-content: center;
    align-items: center;
}
header ul li
{
    list-style: none;
    margin-left: 20px;
}
header ul li a
{
    text-decoration: none;
    padding: 6px 15px;
    color: #fff;
    border-radius: 20px;
}
header ul li a:hover 

{
    background: #fff;
    color: #2b1055;
}
section 
{
    position: relative;
    width: 100%;
    height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
section::before 
{
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #1c0522,transparent);
    z-index: 1000;
}
section img 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
section img#moon 
{
    mix-blend-mode: screen;
}
section img#mountains_front
{
    z-index: 10;
}
#text 
{
    position: absolute;
    color: #fff;
    white-space: nowrap;
    font-size: 6.5vw;               /* TODO: deze wordt te klein */
    z-index: 9;
}
#btn 
{
    text-decoration: none;
    display: inline-block;
    padding: 8px 30px;
    border-radius: 40px;
    background: #fff;
    color: #2b1055;
    font-size: 1.5em;                   /* TODO: deze moet ook een beetje groter */
    z-index: 9;
    transform: translateY(120px);
}
.about
{
    position: relative;
    padding: 50px;
    background: #1c0522;
}
.about > h2
{
    font-size: 3.5em;
    margin-bottom: 70px;
    color: #fff;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: purple;
}
.about p
{
    font-size: 1.2em;
    font-weight: 500;
}

.contact
{
    position: relative;
    padding: 100px;
    background: #1c0522;
}
.contact > h2
{
    font-size: 3.5em;
    margin-bottom: 70px;
    color: #fff;
    text-align: center;
    text-decoration: underline;
    text-decoration-color: purple;
}
.contact p
{
    font-size: 1.2em;
    color: #fff;
    font-weight: 500;
    text-align: center;
}
input[type=text], input[type=email], select 
{
    width: 70%;
    padding: 12px 20px;
    margin: 8px 15%;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
}
input[type=text]:focus-visible, input[type=email]:focus-visible {
    outline: -webkit-focus-ring-color auto 0px;
}
input[type=submit] 
{
    width: 200px;
    color: black;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bolder;
    transition: 0.3s;
}
input[type=submit]:hover
{
    background: #fff;
    color: purple;
    box-shadow: 0 4px 10px 20px rgba(0, 0, 0, 0.2);
}
label
{
    padding-left: 16%;
    font-size: 14px;
    color: #fff;
    font-weight: bolder;
}
textarea#bericht 
{
    width: 70%;
    height: 250px;
    padding: 12px 20px;
    margin: 8px 15%;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 25px;
    box-sizing: border-box;
    text-align: start;
    resize: none;
}
textarea#bericht:focus-visible 
{
    outline: -webkit-focus-ring-color auto 0px;
}
.grid-container-center
{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-column-gap: 0;
}
.grid-container-center > div 
{
    text-align: center;
}

#timeline .timeline-item:after, #timeline .timeline-item:before {
    content: '';
    display: block;
    width: 100%;
    clear: both;
  }
  *, *:before, *:after {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
  }

  img {
    max-width: 100%;
  }
  a {
    text-decoration: none;
  }
  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .project-name {
    text-align: center;
    padding: 10px 0;
  }

  #timeline {
    width: 100%;
    margin: 30px auto;
    position: relative;
    padding: 0 10px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }
  #timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    background: purple;
    left: 50%;
    top: 0;
    position: absolute;
  }
  #timeline:after {
    content: "";
    clear: both;
    display: table;
    width: 100%;
  }
  #timeline .timeline-item {
    margin-bottom: 50px;
    position: relative;
  }
  #timeline .timeline-item .timeline-icon {
    background: purple;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    left: 50%;
    overflow: hidden;
    margin-left: -23px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
  }
  #timeline .timeline-item .timeline-icon svg {
    position: relative;
    top: 14px;
    left: 14px;
  }
  #timeline .timeline-item .timeline-content {
    width: 45%;
    background: #fff;
    padding: 20px;
    -webkit-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #timeline .timeline-item .timeline-content h2 {
    padding: 15px;
    background: purple;
    color: #fff;
    margin: -20px -20px 0 -20px;
    font-weight: 400;
    -webkit-border-radius: 3px 3px 0 0;
    -moz-border-radius: 3px 3px 0 0;
    -ms-border-radius: 3px 3px 0 0;
    border-radius: 3px 3px 0 0;
  }
  #timeline .timeline-item .timeline-content:before {
    content: '';
    position: absolute;
    left: 45%;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 7px solid purple;
  }
  #timeline .timeline-item .timeline-content.right {
    float: right;
  }
  #timeline .timeline-item .timeline-content.right:before {
    content: '';
    right: 45%;
    left: inherit;
    border-left: 0;
    border-right: 7px solid purple;
  }
  .btn {
    padding: 5px 15px;
    text-decoration: none;
    background: transparent;
    border: 2px solid hsl(300, 80%, 37%);;

    color: hsl(300, 80%, 37%);;
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-size: 16   px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    border-radius: 5px;
    -webkit-transition: background 0.3s ease;
    -moz-transition: background 0.3s ease;
    -ms-transition: background 0.3s ease;
    transition: background 0.3s ease;
    -webkit-box-shadow: 2px 2px 0 hsl(300, 80%, 37%);;
    -moz-box-shadow: 2px 2px 0 hsl(300, 80%, 37%);;
    -ms-box-shadow: 2px 2px 0 hsl(300, 80%, 37%);;
    box-shadow: 2px 2px 0 hsl(300, 80%, 37%);;
  }
  .btn:hover {
    box-shadow: none;
    top: 2px;
    left: 2px;
    -webkit-box-shadow: 2px 2px 0 transparent;
    -moz-box-shadow: 2px 2px 0 transparent;
    -ms-box-shadow: 2px 2px 0 transparent;
    box-shadow: 2px 2px 0 transparent;
  }

@media only screen and (max-width: 900px) 
{
    .logo {
        display: none;
    }

    header {
        justify-content: center;
        padding: 30px;
    }

    header ul {
        justify-content: unset;
        margin: 0;
        padding: 0;
    }

    #contact {
        padding: 30px 10px;
    }

    input[type=text], select, textarea#bericht  {
        width: 90%;
        margin: 8px 5%;
    }

    label {
        padding-left:    10%;
    }
}

@media only screen and (max-width: 768px)
{
    a {
        margin-left: 0;
        margin-right: 0;
    }

    #timeline {
        margin: 30px;
        padding: 0px;
        width: 90%;
      }
      #timeline:before {
        left: 0;
      }
      #timeline .timeline-item .timeline-content {
        width: 90%;
        float: right;
      }
      #timeline .timeline-item .timeline-content:before, #timeline .timeline-item .timeline-content.right:before {
        left: 10%;
        margin-left: -6px;
        border-left: 0;
        border-right: 7px solid purple;
      }
      #timeline .timeline-item .timeline-icon {
        left: 0;
      }
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 200px; /* 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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border-radius: 25px;
  width: 30%;
  padding-bottom: 50px;
}

.modal-content > h1 {
    padding-bottom: 15px;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-top: -10px;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: red;
  text-decoration: none;
  cursor: pointer;
}
