*, *::before, *::after {
  box-sizing: border-box;
}

#page {
  background-image:url(Media/sunsetbkgd.png);
  background-repeat:no-repeat;
  background-size:cover;
  overflow: hidden;
  background-attachment: fixed;
}

.page-wrapper{
  width: 80%;
  margin: 0 auto;
}

@media (orientation: portrait){
  .page-wrapper{
    width: 100%;
  }
}

body {
  margin: 0;
  padding: 0;
}

img,
iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  overflow: hidden;
}

.page-header {
  width: 100%;
  box-sizing: border-box;

}

.page-header h1 {
  margin: 0;
  text-align: center;
  width: auto;
  box-sizing: border-box;
  background: transparent;
}

h1 {
  font-size: 12vi;
  color: #5A0001;
  align-items: center;
  font-family: 'Pincoya', sans-serif;
  padding: 0.5rem;
  padding-top: 5%;
  padding-bottom: 0%;
  width: auto;
}
@media (orientation: portrait) {
  h1 {
    font-size: 20vi;
    padding-top: 10%;
  }
}

h2 {
  font-size: 5vi;
  color: #F4E3BB;
  text-align: center;
  font-family: 'VCR_OSD_MONO', sans-serif;
  margin: 0%;
  padding: 0%;
  text-transform: uppercase;
}

@media (orientation: portrait) {
  h2 {
    font-size: 10vi;
  }
}

h3 {
  font-size: 2vi;
  color: #c33c00;
  text-align: center;
  font-family: 'VCR_OSD_MONO', sans-serif;
  margin: 1%;
  padding: 5px;
  background-color: #f8ce2f;
  box-sizing: border-box;
  border-radius: 5px;
  text-transform: uppercase;
}

h4{
  font-size: 2vi;
  color: #000000;
  text-align: center;
  font-family: 'Designer', sans-serif;
  margin: 0%;
  padding: 0%;
  padding: 0.5rem;
  border-radius: 5px;
}

h5{
 font-size: 2vi;
  color: #F4E3BB;
  text-align: center;
  font-family: 'VCR_OSD_MONO', sans-serif;
  margin: 1%;
  padding: 5px;
  text-transform: uppercase; 
  text-decoration: none;
}

h5 a{
  text-decoration: none;
}

@media (orientation: portrait){
    h3 {
        font-size: 8vi;
        justify-content: center;
        text-align: center;
    }
    h5{
      font-size: 5vi;
    }
}

.subheading {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    margin: 0%;
    padding: 0%;
    }

#site-nav {
  display: flex;
  position: fixed;
  justify-content: space-evenly;
  gap: 1rem;
  margin: 0;
  font-family: VCR_OSD_MONO, sans-serif;
  font-size: larger;
  color: #F4E3BB;
  background: #5A0001;
  padding: .5rem;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  z-index: 1000;
}

#site-nav a {
  text-decoration: none;
  color: inherit;
  flex: 1;
  text-align: center;
  vertical-align: center;
}

@media (orientation: portrait){
    .horizontal-row {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}
.grid-container1 {
  display: grid;
  grid-template-columns: 1fr 2fr; 
  grid-template-rows: auto auto 1fr; 
  gap: 15px; 
  padding: 10px;
  align-items: start;
  box-sizing: border-box;
  grid-auto-flow: dense;
}

.leftitm{
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.rightitem{
  grid-column: 2;
  grid-row: 1/2;
  width: 100%;
}

@media (orientation: portrait) {
  .grid-container1 {
  display: grid;
  grid-template-columns: 1fr; 
  grid-template-rows: auto auto 1fr;
  }
  .leftitm{
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; 
  }
  .rightitem{
    grid-column: 1;
    grid-row: 2;
  }
}

.window{
  background-color:#5A0001;
  width: 100%;
  height: fit-content;
  padding: 5px;
  border-radius: 5px;
}

.window:hover {
  filter: drop-shadow(0 4px 8px rgba(255,255,0,0.8));
}

.window-body{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: VCR_OSD_MONO, sans-serif;
  text-decoration: none;
}

.window-body a{
  font-family: VCR_OSD_MONO, sans-serif;
  text-decoration: none;
}

#guestbook{
  margin: 1%;
}

#guestbook:hover {
  filter: drop-shadow(0 4px 8px rgba(255,255,0,0.8));
}

.grid-container {
  display: grid;
  grid-template-columns: 2fr 1fr; 
  grid-template-rows: auto auto 1fr; 
  gap: 15px; 
  padding: 10px;
  align-items: start;
  box-sizing: border-box;
  grid-auto-flow: dense;
}

.left-column-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.right-column-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.item-1 {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
}

.item-1:hover {
  filter: drop-shadow(0 4px 8px rgba(255,255,0,0.8));
}

.item-2 {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  align-items: flex-start;
  padding: 1%;
  margin: 0%;
  background-size: cover;
  background-position: center;
}

[class*="elfsight-app"] {
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: start !important; 
  margin-bottom: 1%;
}

.item-3 {
  grid-column: 2;
  grid-row: 1 / 3; 
  width: 87%;
  align-items: flex-end;
}
* {box-sizing:border-box}

@media (orientation: portrait) {
  .grid-container {
    display: grid;
    grid-template-columns: 2fr; 
    grid-template-rows: auto auto auto 1fr;
  } 
  .item-1{
    grid-column: 1;
    grid-row: 1;
  }
  .item-2{
    grid-column: 1;
    grid-row: 2;
  }
  .item-3{
    grid-column: 1;
    grid-row: 3;
  }
}

#location-map {
  width: 100%;
  height: auto;
  display: block;
  justify-content: center;
  margin: 1%;
  padding: 1%;
  border-radius: 5px;
}

.button-slideshow{
  display: flex;
  flex-direction: row;  
  gap: 5px;
  margin-top: 5%;
}

.button-slideshow img{
  height: 31px;
  width: 88px;
}

.button-slideshow a:hover {
  filter: drop-shadow(0 4px 8px rgba(255,255,0,0.8));
}

/* Slideshow container */
.slideshow-container {
  max-width: 900px;
  max-height: auto;
  position: relative;
  overflow: hidden;
  margin: auto;
  padding: 1rem;
  border-radius: 5px;
  background-color: #5A0001;
  background-size: cover;
  background-position: center;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Container for the dots */
.dots-container {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  width: 100%;
  text-align: center;
}

@media (orientation: portrait) {
  .dots-container {
    bottom: 10px;
  }
  .text {
    bottom: 40px;
    color: #250020;
    background-color: #f8ce2f;
    font-family: Helvetica, sans-serif;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 535px;
    width: 100%;
    text-align: center;
  }
  .slideshow-container {
    padding-bottom: 0%;
  }
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: #5A0001;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.text {
  color: #250020;
  background-color: #f8ce2f;
  font-family: VCR_OSD_MONO, sans-serif;
  font-size: 15px;
  padding: 8px 12px;
  bottom: 490px;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  border-radius: 3px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #5A0001;
  font-size: 12px;
  font-family: Helvetica, sans-serif;
  padding: 8px 12px;
  position: absolute;
  top: 40;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #c33c00;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #5A0001;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.ml-embedded {
  width: auto;
  height: auto;
  display: block;
  justify-content: center;
  align-items: start;
  margin: 1rem;
}

#header__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-color: black;
}


@media (orientation: portrait) {
  #about-and-resources-text {
    font-size: 4vi;
    padding-top: 0%;
  } 
}

@font-face {
  font-family: 'Fat Kat';
  src: url('Fonts/Fat Kat - (Demo) hanscostudio.com.woff2') format('woff2'),
       url('Fonts/Fat Kat - (Demo) hanscostudio.com.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'Minecraft';
    src: url('Fonts/Minecraft.ttf') format('truetype'),
         url('Fonts/Minecraft.woff') format('woff'),
         url('Fonts/Minecraft.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Monospace Typewriter';
    src: url('Fonts/MonospaceTypewriter.ttf') format('truetype'),
         url('Fonts/MonospaceTypewriter.woff') format('woff'),
         url('Fonts/MonospaceTypewriter.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Designer;
    src: url('Fonts/Designer.regular.ttf') format('truetype'),
         url('Fonts/Designer.woff') format('woff'),
         url('Fonts/Designer.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Pincoya;
    src: url('Fonts/Pincoyablack-Black.ttf') format('truetype'),
         url('Fonts/pincoyablack.woff') format('woff'),
         url('Fonts/pincoyablack.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: powerpuff girls;
    src: url('Fonts/powerpuff girls font.ttf') format('truetype'),
         url('Fonts/PowerpuffGirls.woff') format('woff'),
         url('Fonts/PowerpuffGirls.woff2') format('woff2');
}

@font-face {
  font-family: BLUE-OCEAN;
  src: url(Fonts/BLUE-OCEAN.ttf) format('truetype');
}

@font-face {
  font-family: VCR_OSD_MONO;
  src: url(Fonts/VCR_OSD_MONO_1.001.ttf) format('truetype'),
    url(Fonts/VCROSDMono.woff) format('woff'),
    url(Fonts/VCROSDMono.woff2) format('woff2');
}