/* Trips */
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

*{
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
}
html { 
    background: url(achtergrond2.png) no-repeat top fixed; 
    background-size: cover;
  }
body {
    display: flex;
    max-width: 100%;
    height: 70px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Navigatie bar */
ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    padding: 10px 10px 10px 10px;
    font-size: 1.5rem;
    color: #ffffff
}
nav {
    height: 120px;
    width: 160vw;
}
ul li .logo {
    position: absolute;
    left: 2vw;
    transition: transform .5s;
}
.logo img:hover{
    transform: scale(1.15);
}
ul li a {
    color: white;
    text-decoration: none;
    font-weight: 100;
}
ul .navtekst {
    display: flex;
    gap: 50px;
    padding-top: 0.6%;
}
ul li a:hover, ul li a:active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

/* main */
.container {
    display: flex;
    flex-wrap: wrap;
}
.container div {
    align-items: center;
    padding: 20px;
    margin-left: 15px;
    margin-bottom: 15px;
    background-color: rgb(6, 1, 60);
    align-content: center;
    border-radius: 15px;
}
.container .box1 {
    position: relative;
    width: 330px;
    height: 495px;
    color: wheat;
    background: url('../images/box1.jpg') center no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}
.container .box2 {
    position: relative;
    width: 330px;
    height: 495px;
    color: wheat;
    background: url('../images/box2.jpg') center no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}
.container .box3 {
    position: relative;
    width: 330px;
    height: 495px;
    color: wheat;
    background: url('../images/box3.jpg') center no-repeat;
    background-size: cover;
    border-radius: 15px;
    overflow: hidden;
}
.tekst {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 330px;
    padding: 20px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 15px;
    transform: translateY(70px);
    transition: transform .4s;
    color: rgb(14, 14, 14);
    text-align: center;
    font-size: x-large;
    line-height: 20px;
}
.box1:hover .tekst, .box2:hover .tekst, .box3:hover .tekst {
    transform: translateY(0);
}
.container .box2 img, .box3 img {
    width: 330px;
    height: 495px;
    border-radius: 15px;
    transition: transform .70s;
    overflow: hidden;
}
.container img:hover{
    transform: scale(1.18);
}

/* Responsive  */
@media (max-width: 900px) {
    .container {
        margin: 0 auto;
        width: 80%;
        margin-top: 90px;
    }
    ul li .logo {
        position: unset;
    }
    nav ul {
        flex-direction: column;
    }
}
@media (max-width: 700px) {
    .container {
        gap: 1rem;
        width: 80%;
        margin-top: 110px;
        padding-bottom: 80px;
    }
    ul li .logo {
        position: unset;
    }
    nav ul {
        flex-direction: column;
    }
}