body {
  background-color: rgb(255, 181, 181);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-align: center;

}

footer {
  text-align: justify;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #393939;
  font-size: smaller;
}

p {
  color: black;
  text-align: justify;
  padding-left: 5%;
  padding-right: 5%;
}

li {
  list-style: none;
  text-align: left;
}

a {
  color: brown;
  text-decoration: none;
}

a:hover {
  color: rgb(67, 0, 0);
}

#topBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: rgb(100, 44, 44);
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
  z-index: 1;
}

#topBtn:hover {
  background-color: #555;
}

/*--------------------------HOMEPAGE-----------------------------*/
.layout {
  width: 100%;

  display: grid;
  grid:
    "body sidebar" 1fr / 70% 1fr;
  gap: 5px;
}

.body {
  grid-area: body;
}

.sidebar {
  padding-top: 20%;
  grid-area: sidebar;
  font-size: 80%;
}

/*-------------------OC PAGE--------------------*/
.button {
  background-color: #aa0404;
  color: white;
  font-size: 15px;
  padding: 12px;
  margin-bottom: 1em;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover {
  background-color: #98050584;
}

/* ---------------Gallery---------------*/

#gallery img {
  max-height: 200px;
  padding: 2px;
}

#gallery img:hover {
  opacity: 0.7;
}

.tablink {
  background-color: #555;
  color: white;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px;
  margin: auto;
  font-size: 17px;
  width: 25%;
}

.tablink:hover {
  background-color: #777;
}

.galleryContent {
  color: white;
  display: none;
  padding: 100px 20px;
}

#ink22 {
  background-color: rgb(222, 114, 170);
}

#af25 {
  background-color: rgb(120, 183, 57);
}

#af26 {
  background-color: rgb(106, 191, 230);
}

#old20 {
  background-color: rgb(231, 173, 66);
}

/*-------------OVERLAY----------------*/
/* transitions missing: toggle on/off overlay, changing images */

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .9);
  z-index: 2;
}

#overlayImage {
  padding-top: 100px;
  margin: auto;
  max-width: 80%;
  max-height: 90%;
  width: auto;
  height: auto;
}

.button-container {
  margin-top: -80px;
  display: flex;
  justify-content: center;
}

.overlayButton {
  position: fixed;
  top: 50%;
  padding: 10px 10px;
  cursor: pointer;
  font-size: larger;
}

.quitButton {
  position: fixed;
  top: 16px;
  left: 16px;
  margin: 10px;
  cursor: pointer;
}

.overlay-btn-prev {
  left: 20px;
}

.overlay-btn-next {
  right: 20px;
}

/* Caption of current Image */
#overlayText {
  margin: auto;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/*------------------small display/mobile--------------- */
@media only screen and (max-width: 700px) {
  .overlayButton {
    position: relative;
    font-size: medium;
    display: inline-block;
    margin-top: 2rem;
    margin-inline: 1%;
  }

  .overlay-btn-next,
  .overlay-btn-prev {
    left: auto;
    right: auto;
  }

  #gallery img {
    max-width: 250px;
    max-height: none;
  }

  .tablink {
    font-size: smaller;
  }
}