/* RESET / BASIS */
body {
  margin: 0;
  padding: 0;
  color: #555;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 11px;
}

img {
  border: 0;
}

/* alleen gewone content afbeeldingen responsive maken */
#content img,
#right img {
  max-width: 100%;
  height: auto;
}

p {
  margin: 0.5em 0;
}

/* LAYOUT */
#container {
  width: 800px;
  margin: 0 auto;
}

/* HEADER */
#header {
  width: 800px;
  height: 100px;
  text-align: right;
}

/* MENU */
#menu {
  width: 800px;
  height: 120px;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: #fff;
  padding-top: 35px;
  background: url("../fotogalerij/header_strand.jpg") no-repeat;
}

#menu ul {
  margin: 0;
  padding-left: 5px;
}

#menu li {
  list-style: none;
  display: inline;
  margin-left: 5px;
}

#menu a {
  color: #fff;
  text-decoration: none;
}

#menu a:hover {
  border-bottom: 1px solid #fff;
}

/* CONTENT */
#content {
  width: 515px;
  float: left;
  padding: 5px 5px 0 0;
  line-height: 18px;
}

#content a {
  color: #000;
  text-decoration: none;
}

#content a:hover {
  text-decoration: underline;
}

#content a.none {
  color: #555;
}

#content a.none:hover {
  text-decoration: none;
}

#content ul {
  margin: 5px 0;
  padding-left: 20px;
}

/* SIDEBAR */
#right {
  width: 280px;
  float: right;
}

.photo {
  width: 260px;
  padding: 10px;
  border: 1px solid #bebebe;
  margin-bottom: 10px;
}

/* TITELS */
.title {
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: -1px;
  color: #828282;
}

/* FOOTER */
#footer {
  width: 800px;
  height: 30px;
  text-align: center;
  color: #828282;
  border-top: 1px solid #ccc;
  clear: both;
}

#footer ul {
  margin: 7px 0;
  padding: 0;
}

#footer li {
  list-style: none;
  display: inline;
  margin: 0 2px;
}

#footer a {
  color: #828282;
  text-decoration: none;
}

#footer a:hover {
  border-bottom: 1px solid #999;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, 100px);
  gap: 10px;
  justify-content: start;
  margin-bottom: 10px;
  clear: both; 
}

.gallery a {
  display: block;
  width: 100px;
  height: 100px;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none !important;
}

/* FACEBOOK */
.facebook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.facebook-link img {
  width: 20px;
  height: 20px;
}

/* MOBIEL */

@media (max-width: 820px) {

  #container {
    width: 100%;
    padding: 0 10px;
  }

  #header,
  #menu,
  #footer {
    width: 100%;
  }

  #content,
  #right {
    float: none;
    width: 100%;
  }

  #menu {
    height: auto;
    padding: 15px 0;
  }

  /* menu stapelen */
  #menu ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
  }

  #menu li {
    display: block;
    margin: 5px 10px;
  }

  #menu a {
    display: inline-block;
    padding: 5px 8px;
  }

  /* gallery kleiner op mobiel */
  .gallery {
    grid-template-columns: repeat(auto-fill, 80px);
  }

  .gallery a {
    width: 80px;
    height: 80px;
  }
}