html{
    font-family: Helvetica, sans-serif;
    margin: 2rem 3rem;
}

h1{
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
    width: 130px;
    height: 20px;
    line-height: 150%;
    margin-bottom: 1rem;
}

/* h1:hover{
    text-decoration: underline;
} */

h1 {
    background: linear-gradient(currentColor 0 0) 
      bottom left/
      var(--underline-width, 0%) 0.08em
      no-repeat;
    color: black;
    padding-bottom: .8rem;
    display: inline-block;
    transition: background-size 0.3s;
  }
  
  h1:hover {
    --underline-width: 95%;
  }


.image-container{
    /* margin: auto; */
    display: none;
}

.image-container--selected{
    display: block;
}

img{
    height: 70vh;
    width: auto;
}

p {
font-family: Helvetica, sans-serif;
font-size: 16px;
font-weight: 400;
}

.carousel{
    position: relative;
}

.carousel-images {
    display: flex;
    transition: none;
}

.carousel-overlay {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
justify-content: space-between;
align-items: center;
z-index: 10;
}

.carousel-overlay div {
width: 50%;
height: 100%;
}

.description{
    display: flex;
justify-content: space-between;
margin-top: -.5rem;
margin-bottom: 0rem;
}

.title{
    display: flex;
    flex-direction: column;
}

.title p:nth-child(1){
    margin-bottom: .5rem;
}

.title p:nth-child(2){
    margin-top: 0rem;
}

/* Indien er nog een 3e regel is */ 
.title p:nth-child(3){
    margin-top: -.5rem;
}

.copyright{
    padding: 0;
}



/* Mobile */ 
@media only screen and (max-width: 500px) {

    html{
        margin: 1rem;
    }
    }

    @media only screen and (max-width: 1000px) {
       img{
        width: 100%;
        height: auto;
       }
       p {
        font-family: Helvetica, sans-serif;
        font-size: 14px;
        font-weight: 400;
        }
        h1{
            margin-bottom: 1.5rem;
        }
       }
   

