/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Secular+One&display=swap');

/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /*
      Blue: hsl(207, 90%, 61%)
      Purple: hsl(250, 66%, 75%)
      Pink: hsl(356, 66%, 75%)
      Teal: hsl(174, 63%, 62%)
  */

  --hue: 207;
  --sat: 90%;
  --lig: 61%;
  --first-color: hsl(var(--hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--hue), var(--sat), 57%);
  /* -4% */
  --title-color: hsl(var(--hue), 12%, 15%);
  --text-color: hsl(var(--hue), 12%, 45%);
  --text-color-light: hsl(var(--hue), 8%, 75%);
  --text-color-lighten: hsl(var(--hue), 8%, 92%);
  --body-color: hsl(var(--hue), 100%, 99%);
  --container-color: #fff;

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Poppins', sans-serif;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
}

@media screen and (min-width: 968px) {
  :root {
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #ffffff;
  color: var(--text-color);
  transition: .3s;
  /* For animation dark mode */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: 600;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

underline {
  border-bottom: 4px solid #ffbb00;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 968px;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

/*=============== PROFILE ===============*/
.header {
  position: relative;
  padding-top: 3.5rem;
}

.header__container {
  row-gap: 2rem;
}

.header__data {
  display: grid;
  text-align: center;
}

.header__perfil img {
  width: 100%;
}

.header__image {
  box-shadow: 0 0 30px 1px #0000004f;
  justify-self: center;
  width: 175px;
  height: 175px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .75rem;
}

.header__naam {
  color: #5865F2;
  font-family: "Secular One";
  font-size: 30px;
  margin-bottom: 15px;
}

.header__beschrijving {
  font-family: "Poppins";
  font-size: 15px;
  color: rgb(46, 46, 46);
}

.header__socials {
  display: flex;
  justify-content: center;
  column-gap: .75rem;
}

.header__socials-link {
  margin-top: 5px;
  font-size: 1.25rem;
  color: #5865F2;
  transition: .3s;
}

.header__socials-link:hover {
  color: #ffbb00;
}

/*=============== FILTERS TABS===============*/

.filters {
  margin-top: -30px;
}

.categorie__content {
  margin: 21rem 0 2.5rem;
  background-color: none;
  padding: .375rem;
  display: flex;
  justify-content: space-between;
  column-gap: .5rem;
}

.categorie__button {
  text-transform: uppercase;
  width: 100%;
  outline: none;
  border: none;
  padding: 1rem;
  color: rgb(0, 0, 0);
  font-size: 15px;
  font-family: "Poppins";
  font-weight: 500;
  border-radius: 30px;
  cursor: pointer;
  background-color: transparent;
  transition: .3s;
}

.categorie__button:hover {
  transition: .3s;
  background-image: linear-gradient(#ffbb00, #daa000);
  color: #fff;
}

/* Hide and show projects & skills */
.filters [data-content] {
  display: none;
}

.categorie__active[data-content] {
  display: grid;
}

/* Activate button filter */
.categorie-optie-actief {
  transition: .3s;
  background-image: linear-gradient(#5865F2, #414aac);
  color: #fff;
}

/*=============== PROJECTS ===============*/
.werken__card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.werken__card img {
  width: 100%;
  height: 100%;
}

.werken__modal {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -100%;
  left: 0;
  background: linear-gradient(180deg, #414aacbe, #5865f2c9);
  display: grid;
  align-items: flex-end;
  padding: 1.5rem 1.25rem;
  transition: .3s;
}

.werken__title {
  font-family: "Secular One";
  font-size: 25px;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.center {
  justify-content: center;
  text-align: center;
  margin-bottom: 4rem;
}

.werken__link {
  font-size: var(--h3-font-size);
  color: #ffbb00;
  font-weight: 600;
  transition: .4s;
}

.werken__link:hover {
  color: #e6a800;
  transition: .4s;
}

.werken__button {
  padding: .5rem;
  margin-bottom: 3rem;
}

.werken__card:hover .werken__modal {
  bottom: 0;
}

/*=============== SKILLS ===============*/
.ervaringen__content {
  row-gap: 3.5rem;
}

.ervaringen__title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #5865F2;
  font-family: "Secular One";
}

.ervaringen__box {
  display: flex;
  justify-content: center;
  column-gap: 3rem;
}

.ervaringen__groep {
  display: grid;
  align-content: flex-start;
  row-gap: 1rem;
}

.ervaringen__data {
  display: flex;
  column-gap: .5rem;
}

.ervaringen__data i {
  font-size: 1rem;
  color: #5865F2;
}

.ervaringen__naam {
  font-size: var(--normal-font-size);
  font-weight: 600;
  line-height: 18px;
}

.ervaringen__niveau {
  font-size: var(--smaller-font-size);
}

/*=============== OPDRACHT ===============*/

#myImg,
#myImg2,
#myImg3,
#myImg4,
#myImg5,
#myImg6 {
  border-radius: 15px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg,
#myImg2,
#myImg3,
#myImg4,
#myImg5,
#myImg6: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: 100%;
  max-width: 1200px;
  border-radius: 15px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.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%;
  }
}
/*=============== FOOTER ===============*/
.footer__name {
  display: block;
  margin: 2.5rem 0 2rem;
  text-align: center;
  font-size: .75rem;
  color: hsl(0, 0%, 18%);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0rem;
  background-color: none;
}

::-webkit-scrollbar-thumb {
  background-color: none;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .container {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .header__buttons {
    flex-direction: column;
    row-gap: 1rem;
  }

  .ervaringen__box {
    column-gap: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .werken__content {
    grid-template-columns: 332px;
    justify-content: center;
  }

  .categorie__content {
    width: 332px;
    margin: 3rem auto;
  }
}

@media screen and (min-width: 776px) {

  .werken__content,
  .ervaringen__content {
    grid-template-columns: repeat(3, 332px);
  }

  .ervaringen__content {
    justify-content: center;
    column-gap: 3rem;
  }
}

/* For large devices */
@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .profile {
    padding-top: 4rem;
  }

  .header__buttons {
    column-gap: 2rem;
  }

  .werken__content {
    gap: 2rem 3rem;
  }

  .werken__modal {
    padding: 1.5rem;
  }

  .ervaringen__title {
    font-size: var(--normal-font-size);
    margin-bottom: 2.5rem;
  }

  .footer__copy {
    margin: 4.5rem 0 2.5rem;
  }
}