/*For Troubleshooting*/
/*  border: 3px solid green;*/

.letter {
  display: inline-block;
  opacity: 0;
}

html { 
  overflow-x: hidden;
  overflow-y: hidden;
  background: url(images/background-img.jpeg) no-repeat center center fixed; 
  -webkit-background-size: cover;  
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  scroll-behavior: smooth;
  margin: 0;
  background-color: #213343;
  scrollbar-width: none;
}

/*@media screen and (max-width: 5000px) and (orientation:portrait) {
  html {
    background: green;
}}*/

body {
  margin: 0;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar {
  display: none;
}

p {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 3.25vh;
  margin-bottom: 1vh;  
  margin-top: 1vh
}

.bolder {
font-weight: 900;
font-size: 1.85vh;
text-decoration: underline;
/*  text-shadow: 0 0 0.2em var(--clr-orange),0 0 0.05em hsl(0 0% 100% //* 0.3);*/   

}

p2 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 1.7vh;
/*  margin-bottom: 10vh
  margin-top: 0;*/
}

letters_div {
  display: inline-block;
/*  margin-right: 1vw;
  margin-left: 1vw*//*NO LONGER NEEDED, JS CHANGED*/
}

.word {
  display: inline-block;
  margin-right: 1.75vw;
}

clip{  
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 5vw;
  padding: 0.2em;
  font-family: 'Poppins', sans-serif; 
  color: #FFFFFF;   
}

h1 {
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 6rem;
}

h2 {
  display: flex;
  justify-content: right;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 4rem;
}

h3 {
  display: flex;
  justify-content: left;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 4rem;
}

centerhead {
  display: flex;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  color: #FFFFFF;
  font-size: 8vw;
  padding-top: 35vh;
}

:root {
/*  --clr-orange: hsl(317 100% 54%);*/
  --clr-neon: #FF9F55;
  --clr-bg: #000000;
  --clr-orange: #ff6d12;
}

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

.scroll-container, .scroll-area {
  font-size: 60px;
  max_width: 100%;
  height: 100vh;
  margin: 0;
  overflow-x: hidden;
}

.scroll-container {
  overflow: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
}

.scroll-area { scroll-snap-align: start;
}

.scroll-container, .scroll-area {
  margin: 0 auto;
}

/*.scroll-area {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}*/

.scroll-area:nth-of-type(1) {
  background-color: #0000001A;
}

.scroll-area:nth-of-type(2) {
  background: #11111180;
}

.scroll-area:nth-of-type(3) {
  background: #11111150;
}

.scroll-area:nth-of-type(4) {
  background: #000000;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: "Balsamiq Sans", cursive;
  color: var(--clr-orange);
}

.neon-button {
  color: var(--clr-orange);
  font-size: 5vw;
  font-family: 'Poppins', sans-serif;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: var(--clr-orange) 0.125em solid;
  padding: 0.25em 1.25em;  
  border-radius: 0.25em;
  text-shadow: 0 0 0.45em var(--clr-orange),0 0 0.125em hsl(0 0% 100% / 0.3);   
  box-shadow: 0 0 0.5em 0 var(--clr-orange),  inset 0 0 0.5em 0 var(--clr-orange);
  position: relative;
}

.neon-button::before {
  pointer-events: none;
  content: "";
  position: absolute;
  background: var(--clr-orange);
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transform: perspective(1em) rotateX(40deg) scale(1, 0.35);
  filter: blur(1.5em);
  opacity: 0.7;
  overflow-x: hidden;
}

.neon-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: 0 0 2em 0.5em var(--clr-orange);
  opacity:0;
  transition: opacity 100ms linear;
}

.neon-button:hover,
.neon-button:focus {
  color: var(--clr-bg);
  background: var(--clr-orange)
}

.neon-button:hover::before {
  opacity: 1;
}

.neon-button:hover::after {
  opacity: 1;
}

* {
  box-sizing: border-box;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
/*  max-width: 1200px;*/
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 0.35vw;
  background-color: white;
  top: 0;
  bottom: 0;
  left: calc(50% - 0.175vw);
  margin-right: calc(100vw - 100%);
  height: 100%;
  min-height: 100vh;
}

/* Container around content */
.container {
  padding: 1vh 1.6vw;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 1vw;
  height: 1vw;
  left: calc(100% - 0.5vw);
  background-color: white;
  border: 0.15vw solid var(--clr-orange);
  top: 4.6vh;
  border-radius: 10%;
  z-index: 1;
}

.right-thing::after {
  content: '';
  position: absolute;
  width: 1vw;
  height: 1vw;
  right: calc(100% - 0.5vw);
  background-color: white;
  border: 0.15vw solid #FF9F55;
  top: 4.6vh;
  border-radius: 10%;
  z-index: 1;
}

.right-thing {
  width: 50%;
  padding: 1vh 1.6vw;
  background-color: inherit;
  position: absolute;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 4.75vh;
  width: 0;
  z-index: 1;
  right: 1.1vw;
  border: medium solid white;
  border-width: 0.5vw 0 0.5vw 0.5vw;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 4.75vh;
  width: 0;
  z-index: 1;
  left: 1.1vw;
  border: medium solid white;
  border-width: 0.5vw 0.5vw 0.5vw 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
/*.right::after {
  left: -12px;
}*/

/* The actual content */
.content {
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 1vh 1vh;
  background-color: #111111FF;
  position: relative;
  border-radius: 2vh;
  padding-bottom: 2vh;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (orientation: portrait) {
/* Place the timelime to the left */
  .timeline::after {
    width: 0.75vw;
    left: calc(5% - 0.375vw);
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 10%;
    padding-right: 2.5%;
    position: relative;
  }

  .right-thing {
    width: 100%;
    padding-left: 10%;
    padding-right: 2.5%;
    position: relative;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    left: calc(10% - 1.5vw);
    border: medium solid white;
    border-width: 1.5vw 1.5vw 1.5vw 0;
    border-color: transparent white transparent transparent;
  }
  .right-thing::before {
    left: calc(10% - 1.5vw);
    border: medium solid white;
    border-width: 1.5vw 1.5vw 1.5vw 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    width: 3vw;
    height: 3vw;
    left: calc(5% - 1.5vw);
    border: 0.5vw solid #FF9F55;

  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }

  p {
    font-size: 2.5vh;
    margin-bottom: 1.5vh;  
    margin-top: 1vh
  }

  p2 {
    font-size: 1.5vh;
  }
}
@media only screen and (orientation: portrait) {
    /* Your CSS styles for vertical displays */
    .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid template-rows: repeat(4, 1fr);
}
}

@media only screen and (orientation: landscape) {

    .photo-grid {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
}
/* Grid layout */
.photo-grid {
  display: grid;
  height: 100vh; /* occupy full viewport height */
  width: 100vw; /* occupy full viewport width */
  gap: 0;
  overflow: hidden; /* hide any overflowing content */
}

.photo-grid-item {
  position: relative;
  overflow: hidden;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* maintain aspect ratio */
  cursor: pointer;
  transition: transform 1s;
  transform: scale(1.1);
}

.photo-grid-item:hover img {
  transform: scale(1);
}

/* Modal */
.photo-modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.photo-modal-content {
  margin: 0;
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

