html{
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body{
    background-color: antiquewhite;
    position: relative;
}

nav{
    background-image: url(../assets/gordijn.webp);
    padding-bottom: 10rem;
    width: 100vw;
    height: 10rem;
}

nav ul {
    list-style-type: none;
    display: flex;
    height: 7rem;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: nowrap;
}

.navigation{
    color: white;
    text-decoration: underline;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;;
}

.button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
}

.lamp{
    display: block;
    margin:auto;
    margin-top: -2.8rem;
    margin-bottom: 5rem;
}

footer{
    background-image: url(../assets/podium.webp);
    padding-bottom: 2rem;
    margin-top: 4%;
    background-repeat: repeat;
    width: 100vw;
}

.footerbox{
    list-style-type: none;
    display:flex;
    justify-content: center;
    gap:2%;
    padding-top: 1rem;
}

footer ul{
    padding: 0%;
    margin: 0%;
    list-style-type: none;
    display:flex;
    justify-content: center;
    gap:2%;
    padding-top: 1rem;
}

footer li{
    margin-left:0rem;
    padding-bottom: 1rem;
}

footer p{
    text-align: center;
}

.contactlist{
    display:flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    padding-left: 40%;
}

.contact_text{
    position:relative;
    display:flex;
    align-items: center;
}

.contact_icons{
    margin-right: 1vw;
}

.me_background{
    margin-top: 5rem;
    padding-bottom: 60rem;
    height: 50rem;
    display: flex;
    justify-content: center;
    flex-wrap:nowrap;
}

.me_paragraph{
    margin-inline-start: 15%;
    max-width: 30rem;
    min-width: 30rem;
    margin-right: 10rem;
    margin-top:-3rem;
    font-family: "antiquarian-scribe", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6vw;
}

.me_block{
    padding-top: 15rem;
    padding-bottom: 40%;
    background-image: url(../assets/scroll.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.selfportrait{
    position:relative;
}

h1{
    text-align: center;
    font-family: "altesse-std-24pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 5vw;
    margin-top: 2%;
}

.uitleg{
    text-align: center;
    font-size:1.5vw;
}

h2{
    font-family:Arial, Helvetica, sans-serif
}

.grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 1rem;
}

.grid_item{
    position: relative;
    overflow: hidden;
}

.grid_item img{
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
}

.hidden_text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5vw;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 90%;
  max-width: 100%;
}

.grid_item:hover img {
  opacity: 0.3;
}

.grid_item:hover .hidden_text {
  opacity: 1;
}

@media (max-width: 1024px) {
    .contactlist {
        padding-left: 2%;
        align-items: center;
    }
    .me_paragraph{
    font-size: 1rem;
    margin-inline-start: 2%;
    }
}

@media (max-width: 720px) {
    .contactlist {
        align-items: center;
        padding-left: 0;
    }
}

@media (max-width: 1366px) {
    .contactlist {
        padding-left: 3%;
        align-items: center;
    }
}

@media (max-width: 932px) {
    .contactlist {
        padding-left: 2%;
        align-items: center;
    }
        .me_paragraph{
    font-size: 0.9rem;
    margin-inline-start: 1%;
    }
}