header {
  grid-area: header;
}

main {
  grid-area: main;
}

.logo:hover {
  width: 300px;
  rotate: 180deg;
  translate: 0 600px;
  transition-duration: 5000ms;
  transition-delay: 2000ms;
}

footer {
  grid-area: footer;
}

a {
  text-decoration: none;
  transition: all 500ms linear;
}

a:hover {
  color: red;
}

a:visited {
    color: brown;
    text-decoration: none;
}

a:active {
  color: #88AAAA;
}

.grid-container {
  display: grid;
  grid-template-areas:
  'header'
  'main'
  'footer';
  grid-auto-columns: minmax(0, 1fr);
  gap: 10px;
  background-color: #FFFFFF;
  padding: 10px;
}

.grid-container > * {
  background-color: rgb(0, 0, 0);
  text-align: center;
  padding: 20px 0;
  font-size: 30px;
}

nav div {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

main > div:not(.image-gallery) {
  align-items: center;
  justify-content: space-around;
  padding: 0 15px;
}

nav div img,
nav ul img {
  width: 100px;
}

main > div:not(.image-gallery) img {
  border-radius: 5%;
  width: 80%;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 0;
}

.text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-right: 15px;
  margin-left: 15px;
  color: white;
}

.text-box img {
  width: 100px;
  height: 100px;
  margin-left: 15px;
  margin-right: 15px;
}

.image-gallery {
  overflow: hidden;
}

.image-gallery > div:not(.controls) {
  white-space: nowrap;
  position: relative;
}

.image-gallery > div div {
  display: inline-block;
  margin-right: -5px;
  width: 33%;
}

.image-gallery > div div img {
  width: 80%;
  padding: 10% 10%;
}

.controls {
  position: relative;
  z-index: 1;
}

.image-gallery #left-arrow,
.image-gallery #right-arrow {
  position: absolute;
  width: 30px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 200ms linear;
}
.image-gallery #left-arrow:hover,
.image-gallery #right-arrow:hover {
  opacity: 1;

}
.image-gallery #left-arrow {
  left: 0;
}
.image-gallery #right-arrow {
  right: 0;
}

footer {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  font-size: 9pt
}

footer a {
  margin-right: 15px;
}

.youtube text {
  width: 80%;
}

@media print {
  header,
  footer {
    display: none;
  }
  iframe{
  display: none;
  }
  .small{
    display: none;
  }
}

@media only screen and (max-width: 899px) {
  iframe {
    width: 80%;
    height: 10%;
	margin-left: 10%
	margin-right: 10%
  }
  .small{
    text-align: center;
    display: center;
  }
}

a{
	font-size: 9pt;
}

.text-box {
	font-size: 9pt
}

video {
	height: 90%;
	width: 90%;
}

  main div img{
    border-radius: 0;
    width: 80%;
    height: unset;
  }

.right {
    display: block;
  }
  .small {
    display: none;
  }

@media only screen and (min-width: 900px) {
  .text-box {
      flex-direction: row;
  }
		
  a{
	font-size: 12pt;
  }

  .text-box {
	font-size: 12pt
  }
	
  .grid-container {
    grid-template-areas:
      'header'
      'main'
      'footer';
  }
  .right {
    display: block;
  }
  .small {
    display: none;
  }
  main div img{
    border-radius: 0;
    width: 80%;
    height: unset;
  }
  footer {
    flex-direction: row;
  }
}
