body {
  font-family: "Roboto", Helvetica, sans-serif;
  background-color: #eff1db;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card {
  background-color: #fff;
  width: 400px;
  padding: 22px 30px;
  border-radius: 5px;
  line-height: 1.5;
}
.header {
  overflow: hidden;
  background-color: #ffd4db;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#camera {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: xx-large;
}

#camera img {
  max-height: 50px;
  max-width: 100%;
  height: auto;
  width: auto;
  margin: 0 10px;
  margin-right: 10px;
}

.header a {
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

.header a:hover {
  background-color: #bbe7fe;
  color: black;
}

.header a.active {
  background-color: #d3b5e5;
  color: white;
}

.header-right {
  display: flex;
  align-items: center;
}
.movies {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 20px;
}
.movies img {
  width: 100%;
  max-height: 50vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  margin-top: 100px;
}
.movies .caption {
  margin-top: 10px;
  font-size: 16px;
  color: #b30000;
  text-align: center;
}
span {
  font-size: 10 px;
  cursor: pointer;
  color: #9a9aad;
  display: block;
  text-align: center;
  margin-top: 10px;
}
.containerhome {
  display: flex;
  justify-content: space-between;
}
.boxs {
  border: 1px solid black;
  background-color: #ece3f0;
  padding: 20px;
  margin: 10px;
  flex-basis: 22%;
}
button {
  cursor: pointer;
  background-color: #9a9aad;
}
.more-text {
  color: black;
  font-family: "Roboto", Helvetica, sans-serif;
  display: none;
}
footer {
  font-family: "Roboto", Helvetica, sans-serif;
  background-color: #9a9aad;
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px;
  margin-top: 10px;
}
/* under hier is foto gallerij */
#favhed {
  text-align: center;
  text-shadow: 2px 2px 4px rgb(0, 0, 0);
  color: #d3b5e5;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns for larger screens */
  grid-template-rows: auto;
  grid-gap: 10px;
  max-width: 60vw;
  margin: auto;
}

.fotokader {
  background-color: #eaeff4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fotokader img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

figcaption {
  text-align: center;
  padding: 5px;
  background-color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}
/* mijn movie*/
.hedfilm {
  text-align: center;
  text-shadow: 2px 2px 4px rgb(245, 164, 164);
  color: #918ff6;
}
.containervc {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.video-text-box {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-areas: "video text";
  width: 80%;
  max-width: 2000px;
  max-height: 2000px;
  border: 1px solid #f60000;
  background-color: #f9f9f9;
  gap: 10px;
  align-items: center;
}

.mijnf {
  grid-area: video;
  margin: 0;
}

aside {
  grid-area: text;
  padding: 20px;
}

video {
  width: 100%;
  height: auto;
  float: left;
}
/*tips*/
#tips {
  color: blue;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}
li {
  margin: 30px;
  font-size: 20px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: black;
  text-shadow: 2px 2px 4px grey;
}
ul {
  margin: 30px;
  font-size: 20px;
}
/* contact */
#conhed {
  text-align: center;
}

form {
  margin-top: 100px;
  margin-left: 50px;
  margin-right: 50px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 5px;
  background-color: white;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  color: #b30000;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type="submit"] {
  background-color: #4caf50;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

input[type="submit"]:hover {
  background-color: #45a049;
}

#opinion {
  width: 100%;
  height: 200px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
}

@media screen and (max-width: 640px) {
  body {
    font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
    background-color: #feedf0;
  }

  .card {
    width: 100%;
  }

  .header a.active {
    font-size: 16px;
    background-color: #0000ae;
  }

  .header,
  .header-right {
    flex-direction: column;
    text-align: center;
  }

  .containerhome {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .box {
    flex-basis: 100%;
    width: 80%;
    margin: 0 auto;
  }

  img {
    max-height: 75vh;
    margin-top: 50px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  footer {
    padding: 20px;
    text-align: center;
    font-size: 14px;
  }
  /* onder hier is foto gallerij */
  .gallery {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for smaller screens */
    width: 100vw; /* Use full viewport width */
  }
  /* mijn movie*/
  .containervc {
    margin-top: 10px;
  }

  .video-text-box {
    grid-template-columns: 1fr;
    grid-template-areas:
      "video"
      "text";
  }

  video {
    float: none;
  }
  /*  tips*/
  #tips {
    margin-top: 10px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  li,
  ul {
    margin: 10px;
    font-size: 14px;
  }
  /* contact */

  form {
    margin-top: 10px;
    padding: 10px;
  }

  .form-group label {
    font-size: 14px;
  }

  input[type="text"],
  input[type="email"],
  select,
  textarea {
    font-size: 14px;
  }

  #opinion {
    height: 150px;
  }

  input[type="submit"] {
    padding: 10px;
  }
}
