/*Import google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
/* reset default css*/
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}

body{
    background-color: #f1faff;
    font-family: 'Poppins', sans-serif;
}
/*Layout */
.container{
    max-width: 968px;
    margin: auto;

}
.section{
    padding: 7rem 0 2rem;
}
.section_title{
    font-size: 2.5rem;
    color: #454343;
    text-align: center;
    margin-bottom: 1.5rem;
}
.section_height{
    height: 100vh;
}
.main-container {
    margin-top: 100px;
    /* padding: 30px; */
  }

/*HEADER*/
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    transition: 0.4s;
}

/* Navbar*/
.nav{
    height: 4.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav_logo{
    color: #454343;
    font-weight: 700;
    font-size: 1.25rem;
}
.nav_name{
    font-weight: 600;
}
.overzicht_title{
  font-weight: 600;
  margin-left: 20px;
}
.nav_icon{
    font-size: 1.5rem;
}
.nav_list,
.nav_link{
    display: flex;
}
.nav_list{
    justify-content: space-around;
    column-gap: 3rem;
}
.nav_link{
    flex-direction: column;
    align-items: center;
    color: #454343;
    row-gap: 0.75rem;
}
.nav_link:hover{
    color: #e4e7ed;

}

.active_link{
    position: relative;
    color: #454343;
    transition: 0.3s;
}
.hover-underline-animation {
    display: inline-block;
    position: relative;
    color: #454343;
  }
.header_toggle,
.header_close{
  display: none;
}
@media screen and (min-width: 769px){
    .active_link::before{
        content: '';
        position: absolute;
        bottom: -.4rem;
        width: 1rem;
        height: 3px;
        background-color: #454343;
        border-radius: 3px;
    }
    .hover-underline-animation:after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: -.4rem;
        left: 0;
        background-color:#454343;
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
      }
      
      .hover-underline-animation:hover:after {
        transform: scaleX(1);
        transform-origin: bottom left;
      }
}

@media screen and (max-width: 992px){
    .container{
        margin-right: 1rem;
        margin-left: 1rem;
    }
}

@media screen and (max-width: 768px) {
    header{
      height: 65px;
      justify-content: space-between;
      padding: 0 28px;
    }
    .nav_logo a{
      font-size: 0.9rem;
    }
    .nav_logo img{
      width: 30px;
    }
    .header_toggle{
      display: inline;
      color: rgba(17, 16, 16, 0.933);
      font-size: 34px;
      margin-bottom: 15px;
    }
    .header_close{
      position: absolute;
      right: 24px;
      display: block;
      font-size: 24px;
      border-radius: 50%;
    }
    .header_close:hover{
      background-color: #00adb5;
    }
    .nav_menu{
      position: fixed;
      top: 0;
      right: -100%;
      background-color: #ffffff;
      color: #454343;
      width: 60%;
      height: 100vh;
      padding: 24px 0;
      z-index: 100;
      transition: 0.5s;
      border-radius: 0 0 0 50%;
    }
    .nav_list{
      display: flex;
      flex-direction: column;
    }
    .nav_item{
      margin: 2rem 0;
      margin-left: 6.2rem;
    }
    .nav_item_home{
      margin: 2rem 0;
      
    }
    .show{
      right: 0;
    }
}

/*cards*/
.cards {
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-between; */
    margin-bottom: 50px;
  }
  
  .card {
    margin: 20px;
    padding: 15px;
    width: 350px;
    min-height: 280px;
    display: grid;
    /* grid-template-rows: 20px 20px 1fr 20px; */
    border-radius: 10px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.2s;
  }
  .card-buttons{
    display: grid;
    grid-template-columns: auto auto auto;
  }
  .card:hover {
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.4);
    transform: scale(1.01);
  }
  
  .card__link,
  .card__exit,
  .card__accept,
  .card__icon {
    position: relative;
    text-decoration: none;
    color: rgba(247, 234, 234, 0.9);
  }
  
  .card__link::after {
    position: absolute;
    top: 25px;
    left: 0;
    content: "";
    width: 0%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s;
  }
  
  .card__link:hover::after {
    width: 100%;
  }
  
  .card__exit, .card__accept {
    grid-row: 1/2;
    justify-self: center;
  }
  .card__exit:hover{
    color: rgba(230, 35, 35, 0.9);
    transition: 0.3s;
  }
  .card__accept:hover{
    color: rgba(35, 230, 35, 0.9);
    transition: 0.3s;
  }
  .card__icon {
    grid-row: 1/2;
    font-size: 20px;
    color: #ffffffe0;
  }
  
  .card__title {
    grid-row: 3/4;
    font-weight: 400;
    color: #ffffff;
  }
  
  .card__apply {
    grid-row: 4/5;
    align-self: center;
  }
  .active_list {
    margin-top: 14px;
    padding: 8px 5px;
    color: #fffffff7;   
}
.list-group-item{
    margin-top: 2px;
    padding: 8px 5px;
    color: #fffffff7;   
}
  /* CARD BACKGROUNDS */
  
  .card-1 {
    background-image: linear-gradient(to right top, #2193b0, #37a3bf, #4ab3ce, #5cc4de, #6dd5ed);
  }  
  .card-2 {
    background-image: linear-gradient(to right top, #2193b0, #37a3bf, #4ab3ce, #5cc4de, #6dd5ed);
    
  }
  .card-3 {
    background-image: linear-gradient(to right top, #2193b0, #37a3bf, #4ab3ce, #5cc4de, #6dd5ed);
  }  
  .card-4 {
    background: radial-gradient(#60efbc, #58d5c9);
  }
  
  .card-5 {
    background: radial-gradient(#f588d8, #c0a3e5);
  }
  
  /* RESPONSIVE */
  
  @media (max-width: 1600px) {
    .cards {
      justify-content: center;
    }
  }




  /* Accordion */
  .accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
    margin-bottom: 10px;
  }
  
  /* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
  .active, .accordion:hover {
    background-color: #ccc;
  }
  
  /* Style the accordion panel. Note: hidden by default */
  .panel {
    padding: 0 18px;
    background-color: #f1faff;
    display: none;
    overflow: hidden;
  }