@import "_reset.css";
 
::selection {
  color: rgb(205,0,0);
}

body{
background-color: black;
}

.close {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 25px;
  height: 25px;
  opacity: 0.5;
}
.close:hover {
  opacity: 1;
  scale: 125%;
} 
.close:hover:before, .close:hover:after {
  color: rgb(205,0,0);
}
.close:before, .close:after {
  position: absolute;
  left: 10px;
  content: ' ';
  height: 25px;
  width: 5px;
  background-color:white;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

h2 {
  color: white;
  font-family: 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 44px;
  text-align:center;
  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 25px;
}

#top_text{
  height: 35vh;
}

  p {
    color: white;
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 36px;
    text-align:center;
    margin-left: 25px;
    margin-right: 25px;
  }

  a {
    all: unset;
  }

  a:hover {
    color: rgb(205,0,0);
  }

  .underline {
    color: rgb(226,225,225);
  }

.flex-container-scroll {
  display: block;
  flex-direction: column; 
  overflow-y: scroll; 
  scroll-snap-type: y mandatory; 
  height: 100vh; 
  justify-content: center; 
  scroll-behavior: smooth;
}

.flex-item_image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
}

.flex-item_text {
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  height: 100vh;
  width: 100vw;
  scroll-snap-align: start;
}

img {
  max-width: 100%; 
  max-height: 100%; 
  object-fit: contain; 
}

video {
  max-width: 100%; 
  max-height: 100%; 
  object-fit: contain; 
}

    /** responsive min**/
    @media (max-width: 600px) {
      p {
        font-size: 14px;
      }
      h2 {
        font-size: 18px;
      }
    }
  
      /** responsive mid**/
      @media (min-width: 601px) and (max-width: 1024px) {
        p {
          font-size: 24px;
        }
        h2 {
          font-size: 32px;
        }
      }