@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: white;
    /* background-color: rgba(240, 255, 255, 0.4); */
}

.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%;
}

body {
  display: flex;
  flex-direction: column;
}

/* grid fills remaining space */
.grid {
  margin-top: 8.2%;
  flex: 1; 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

/* each grid cell */
.item {
  position: relative;
  overflow: hidden;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  color: white;

  display: flex;
  align-items: flex-end;   
  justify-content: flex-start; 

  padding: 15px; 

  opacity: 0;
  transition: opacity 0.3s ease;
}

/* show on hover */
.item:hover .caption {
  opacity: 1;
}

/* wrapper around image */
.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
}


.lightbox-wrapper {
  position: relative;
  display: inline-block;
}


/* image */
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: pointer; /* click to close */
}

/* arrows positioned OUTSIDE image */
#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  color: #333;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;

  padding: 10px;
}

/* push outside edges */
#lightbox-prev {
  left: -60px;
}

#lightbox-next {
  right: -60px;
}

#lightbox-caption {
  position: absolute;
  bottom: 15px;
  left: 15px; 
  color: white;
  /* padding: 15px; */
  max-width: 100%;
  text-align: left;
  pointer-events: none; 
}

}

/* ###########################################################################################################################################################
################### */

@media (max-width: 600px) {

:root {
  --header-height: 60px; /* matches your .header height */
}

.body{
    background-color: white;
}

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

.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;
}

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

html, body {
  margin: 0;
  padding-top: 30px;
}

.grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);

  width: 100vw;
  height: calc(100vh - var(--header-height));
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* wrapper around image */
.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 999;
}


.lightbox-wrapper {
  position: relative;
  display: inline-block;
}


/* image */
#lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  cursor: pointer; /* click to close */
}

/* arrows positioned OUTSIDE image */
#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  color: #333;
  font-size: 3rem;
  cursor: pointer;
  user-select: none;

  padding: 10px;
}

/* push outside edges */
#lightbox-prev {
  left: 1px;
}

#lightbox-next {
  right:  1px;
}

#lightbox-caption {
  position: absolute;
  bottom: 15px;
  left: 15px; 
  color: white;
  /* padding: 15px; */
  max-width: 100%;
  text-align: left;
  pointer-events: none; 
}

.caption {
display:none
}

}

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






