@media (min-width: 600px) {

.body{
    background-color: white;
}

.header{
    z-index: 100;
    height: 17%;
    display:block;
    position:fixed;
    width: 100%;
    top: 0;                    
    left: 0;                  
    padding: 0;                
    margin: 0;
    /* background-color: rgba(202, 202, 202, 0.4) */
  background-color: white;
}

.pink{
  color:hotpink
}

    .topmenu{
        font-size:100%;
        border-spacing: 5px;
        position:fixed;
        right: 0;
        width: 30%;
        top: 10%;
        margin-right: 3%;
    }

.button1,
.button1:link,
.button1:visited {
  width: 120px; 
  color: #333;
  cursor: pointer;
  font-size: 100%;
  text-decoration: none; 
  transition: color 0.3s ease;
  letter-spacing: 2px;
}

.button1:hover,
.button1:active {
  color: grey;
}

.titlebutton {
  display: inline-block;   /* makes it act like one unit */
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
}

/* hover affects BOTH texts together */
.titlebutton:hover {
  color: grey;
}

     .titleblock {
  margin-left: 2%;
  margin-top: 1.1%;
  display: inline-block;
  z-index: 0;   
}

         .maintitle{
          position: relative;
        font-size: 350%;
        /* margin-top: 2%; */
        margin-left: 2%;
        z-index: 100;
        font-family: 'cinc';
          text-align: center;
          z-index: 1000;
     }

        .mainunder{
          position: relative;
        font-size: 159%;
        margin-top: 0;
        margin-left: 7%;
        z-index: 100; 
        color: inherit;
          text-align: center;
            letter-spacing: 9px; 
            z-index: 1000;
     }

     background image
.bg-image {
  position: absolute;
  inset: 0;              /* fills container */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  left: -240px;
}

/* ###########
#### end header */

html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.imgbox {
  position: fixed;
  left: 3%;
  top: 25%;
  width: 50vw;
  height: 65vh; 
  overflow: hidden;
}


.slideshow {
  position: relative;  /* NOT fixed */
  width: 100%;
  height: 100%;
}


.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;

  opacity: 0;
  animation: fade 70s infinite;
}

/* caption styling */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 

  color: white;
  font-size: 1.2rem;
  text-align: center;

  background: rgba(0, 0, 0, 0.4);
  padding: 10px 15px;

  opacity: 0;
  animation: fadeCaption 70s infinite;
  letter-spacing: 2px;
}

@keyframes fadeCaption {
  0%   { opacity: 1; }
  5%   { opacity: 1; }

  20%  { opacity: 1; }  

  25%  { opacity: 1; }
  100% { opacity: 1; }
}

.img1 .caption { animation-delay: 0s; }
.img2 .caption { animation-delay: 10s; }
.img3 .caption { animation-delay: 20s; }
.img4 .caption { animation-delay: 30s; }
.img5 .caption { animation-delay: 40s; }
.img6 .caption { animation-delay: 50s; }
.img7 .caption { animation-delay: 60s; }

/* FLOATING TEXT PANEL */
.textbox {
  position: absolute;
  right: 5%;
  margin-top: 12%;
  width: 40%;
  max-height: 80vh;
  padding: 40px;
  box-sizing: border-box;
  background: white;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 2;
  background-color: white;

}

.sidetext {
  /* margin-top: 5%; */
  font-size: 120%;
  color:black
}


.img1 { background-image: url("about/a7.jpg"); animation-delay: 0s; }
.img2 { background-image: url("about/a1.jpg"); animation-delay: 10s; }
.img3 { background-image: url("about/a2.jpg"); animation-delay: 20s; }
.img4 { background-image: url("about/a3.jpg"); animation-delay: 30s; }
.img5 { background-image: url("about/a4.jpg"); animation-delay: 40s; }
.img6 { background-image: url("about/a5.jpg"); animation-delay: 50s; }
.img7 { background-image: url("about/a6.jpg"); animation-delay: 60s; }

@keyframes fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

}

/* #######################################################################################################################################################33
############################ */

@media (max-width: 600px) {

.body{
    background-color: white;
}

.header{
    z-index: 100;
    height: 9%;
    display:block;
    position:fixed;
    width: 100%;
    top: 0;                    
    left: 0;                  
    padding: 0;                
    margin: 0;
    background-color: white;
}

.pink{
  color:hotpink
}

.topmenu {
  font-size: 100%;
  position: fixed;
  right: 0;
  top: 5%;
  margin-right: 2%;
  border-spacing: 15px 0;      
}

.button1,
.button1:link,
.button1:visited {
    width: 35px; 
  color: #333;
  cursor: pointer;
  font-size: 90%;
  text-decoration: none; 
  transition: color 0.3s ease;
  letter-spacing: 2px;
}

.button1:hover,
.button1:active {
  color: grey; 
}

.titlebutton {
  display: inline-block;   /* makes it act like one unit */
  text-decoration: none;
  color: black;
  transition: all 0.3s ease;
}

/* hover affects BOTH texts together */
.titlebutton:hover {
  color: grey;
}

     .titleblock {
  margin-left: 5%;
  margin-top: 1.1%;
  display: inline-block;
  z-index: 0;   
}

         .maintitle{
          position: relative;
        font-size: 175%;
        /* margin-top: 2%; */
        margin-left: 2%;
        z-index: 100;
        font-family: 'cinc';
          text-align: center;
          z-index: 1000;
     }

        .mainunder{
          position: relative;
        font-size: 70%;
        margin-top: 0;
        margin-left: 7%;
        z-index: 100; 
          text-align: center;
            letter-spacing: 3px; 
            z-index: 1000;
     }

     /* background image */
.bg-image {
  position: absolute;
  inset: 0;              /* fills container */
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  left: -40px;
}

/* ####################################3
### end header */
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.imgbox {
  position: fixed;
  top: 10%;

  left: 50%;
  transform: translateX(-50%); 

  width: 94vw;  
  height: 45vh;

  overflow: hidden;
}


.slideshow {
  position: relative;  /* NOT fixed */
  width: 100%;
  height: 100%;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;

  opacity: 0;
  animation: fade 70s infinite;
}

/* caption styling */
.caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  font-size: 70%;
  color: white;
  text-align: center;

  background: rgba(0, 0, 0, 0.4);
  padding: 5px 5px;

  opacity: 0;
  animation: fadeCaption 70s infinite;
  letter-spacing: 2px;
}

@keyframes fadeCaption {
  0%   { opacity: 1; }
  5%   { opacity: 1; }

  20%  { opacity: 1; }  

  25%  { opacity: 1; }
  100% { opacity: 1; }
}

.img1 .caption { animation-delay: 0s; }
.img2 .caption { animation-delay: 10s; }
.img3 .caption { animation-delay: 20s; }
.img4 .caption { animation-delay: 30s; }
.img5 .caption { animation-delay: 40s; }
.img6 .caption { animation-delay: 50s; }
.img7 .caption { animation-delay: 60s; }

.textbox {
  position: absolute;

  left: 50%;
  transform: translateX(-50%);

  top: calc(55vh); 

  width: 94vw;  
  max-height: 40vh;

  padding: 20px;
  box-sizing: border-box;

  background: white;

  overflow-y: auto;
  overflow-x: hidden;

  z-index: 2;
}

.sidetext {
  /* margin-top: 5%; */
  font-size: 100%;
  color:black
}


.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  height: 100vh;
}

.img1 { background-image: url("about/a7.jpg"); animation-delay: 0s; }
.img2 { background-image: url("about/a1.jpg"); animation-delay: 10s; }
.img3 { background-image: url("about/a2.jpg"); animation-delay: 20s; }
.img4 { background-image: url("about/a3.jpg"); animation-delay: 30s; }
.img5 { background-image: url("about/a4.jpg"); animation-delay: 40s; }
.img6 { background-image: url("about/a5.jpg"); animation-delay: 50s; }
.img7 { background-image: url("about/a6.jpg"); animation-delay: 60s; }

@keyframes fade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  20%  { opacity: 1; }
  25%  { opacity: 0; }
  100% { opacity: 0; }
}

}


    @font-face  {
    font-family:'cinc';
    src: url("cinzel/Cinzel-Regular.otf")
 }