@charset "utf-8";
/* CSS Document */

/* Add a blue background color to the top navigation */
.topnav {
  background-color: cornflowerblue;
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: gainsboro;
  color: black;
}

/* Add a color to the active/current link */
.topnav a.active {
  background-color: slategrey;
  color: white;
}
footer {
  background-color: cornflowerblue; /* Dark background color */
  color: #fff; /* White text color */
  padding: 10px; /* Spacing inside the footer */
  text-align: center; /* Center-align text content */
  font-family: Arial, sans-serif; /* Font style */
  font-size: 14px; /* Font size */
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
}
body {
  background: gainsboro url("img_tree.#828282if") no-repeat fixed center;

}
header {
  padding: 40px;
  text-align: center;
  background: #E3CBF1;
  color: black;
  font-size: 20px;
}
* {
  box-sizing: border-box;
}

div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

div.gallery-item {
  margin: 5px;
  border: 1px solid #ccc;
  width: calc(25% - 20px);
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  div.gallery-item {
    width: calc(50% - 20px);
  }
}

@media only screen and (max-width: 480px) {
  div.gallery-item {
    width: calc(100% - 20px);
  }
}
.p1 {
  font-family: "Times New Roman", Times, serif;
}

.p2 {
  font-family: Arial, Helvetica, sans-serif;
}

.p3 {
  font-family: "Monaco", monospace;
}

/* The grid: Four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column img {
  opacity: 0.8;
  cursor: pointer;
}

.column img:hover {
  opacity: 1;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}