@charset "UTF-8";

body {
  box-sizing: border-box;
	font-family: 'Courier New';
	background: #F795B6;
	color: black;
	width: auto;
}
#maincontainer {
  width: auto;
  overflow: auto;
  max-width: 100%;
}

header {
	height: auto;
	width: auto;
	max-width:100%;
	align-content: center;
	opacity: 1;
}

.logo {
  position: sticky;
  top: 0;
  opacity: 1;
  transition: .2s ease;
  backface-visibility: hidden;
  padding: 20px;
  max-width: 100%;
}

header:hover .logo{
  opacity: 0.3;
}

#topnav {
  background-color: #f9b5cc;
  color: black;
  width: 1000px;
  width: 100%;
  font-family: 'Courier New';
  border-radius: 10px;
  z-index: 1;
}

ul {
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  max-width: 100%;
  text-align: left;
}

li {
  float: right;
  text-align: left; 
}

li a, .dropbtn {
  display: inline-block;
  color: black;
  text-align: left;
  padding: 20px 14px;
  text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
  color: #8ed4f1;
}

li.dropdown {
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #8ed4f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border-radius: 12px;
  z-index: 2;
}

.dropdown-content a {
  color: #ffffff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  border-radius: 12px;
}

.dropdown-content a:hover {
  background-color: #339dcb;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#hometop {
  width: auto;
  align-content: center;
  text-align: center;
  height: 400px;
  margin-left: 100px;
  max-width: 100%;
}

#home {
  width: 10%;
  float: left;
  margin-top: 30px;
  padding: 0px;
  max-width: 100%;
}

#gallery {
  font-family: 'Courier New';
  font-weight: bold;
  display: inline-block;
  width: 100%; /*DO NOT TOUCH*/
}

#gallery a {
  font-family: 'Courier New';
  color: white;
  text-decoration: none;
}
.heading {
    text-align: center;
    font-size: 2.0em;
    letter-spacing: 1px;
    padding: 40px;
    color: white;
}

.gallery-images {
  padding: 0px;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  width: auto;
  justify-content: center;
  align-content: center;
}

.gallery-images img { /*ACTUAL IMAGE*/
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  align-content: center;
}

.img-box { /*FRAME FOR IMAGE*/
  box-sizing: content-box;
  margin: 10px;
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  /*content: 100%;*/
  border-radius: 10px; 
}

.photo-box { /*FRAME FOR IMAGE*/
  box-sizing: content-box;
  margin: 10px;
  width: 300px;
  height: 300px;
  overflow: hidden;
  display: inline-block;
  color: white;
  position: relative;
  content: 100%;
  border-radius: 10px; 
}


.caption {
  position: absolute;
  bottom: 5px;
  left: 20px;
  opacity: 0.0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transparent-box {
  height: 100%;
  width: 100%;
  background-color:rgba(0, 0, 0, 0);
  position: absolute;
  top: 0;
  left: 0;
  transition: background-color 0.3s ease;
}

.img-box:hover img {
  transform: scale(1.1);
}

.img-box:hover .transparent-box {
  background-color:rgba(255, 0, 145, 0.8);
}

.img-box:hover .caption {
  transform: translateY(-20px);
  opacity: 1.0;
}

.img-box:hover {
  cursor: pointer;
}

.caption > p:nth-child(2) {
  font-size: 0.8em;
}

.opacity-low {
  opacity: 0.8;
}

