@import url('https://fonts.googleapis.com/css2?family=Jost:wght@700&family=Tilt+Neon&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');

/*Keyframes*/
@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
}

* {
  margin: 0;
}

html {
  font-size: 18px;
}
main {
  overflow: hidden;
}
body {
    margin: 0px;
    background-color: black;
    display: flex;
    flex-direction:column;
    font-family: 'PT Sans Narrow', sans-serif;
}

/* -----------------HERO------------------------------------------------------------------------*/

.hero {
    vertical-align: middle;
    height: 500px;
    object-fit: cover;
}

/* Slideshow container */
.slideshow-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 0%;
}

/* Caption text */
.text {
    color: white;
    font-family: 'Tilt Neon', sans-serif;
    font-size: 20px;
    padding: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: rgb(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

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

.slide {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    bottom: 8%;
}

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

.hero-link {
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    border-style: solid;
    border-radius: 10px;
    padding: 5px;
    margin-top: 10px;
    color: white;
    transition: all .5s ease;
}

.hero-link:hover {
    background-color: #eb19b0;
}

@keyframes fade {
    0% {
        opacity: 0.5;
    }

    25% {
        opacity: 0.75;
    }

    50% {
        opacity: 0.85;
    }

    75% {
        opacity: 0.95;
    }

    100% {
        opacity: 1;
    }
}

.text {
    margin-bottom: 0px;
    animation: fade-up 1s;
}

#p1 {
    font-size: 1rem;
    font-style: italic;
    font-weight: bold;
    text-shadow: 0 0 5px #FF0000, 0 0 7px #0000FF;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 3.5rem;
}

a {
    margin-left: 0;
    margin-right: 0;
}

.slideshow-container h2,
.hero-link {
    text-shadow: 0 0 5px #FF0000, 0 0 7px #0000FF;
    letter-spacing: 3px; 
}

/* -----------------EVENT DESCRIPTION------------------------------------------------------------------------*/
.container {
  display: flex;
  height: 100%;
}

.image-container {
  flex: 1;
  overflow: hidden;
}

.image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.description-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: black;
  color: white;
  font-family: 'Tilt Neon', sans-serif;
  font-size: 20px;
  text-align: center;
}

.description {
  max-width: 400px;
}

.description h2 {
  font-size: 2.5rem;
}

/* -----------------GALLERY------------------------------------------------------------------------*/
.gallery-hover {
    text-shadow: 0 0 5px #FF0000, 0 0 7px #0000FF;
    letter-spacing: 3px; 
    color: white;
    margin: 50px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Tilt Neon', sans-serif;
  }
  
  .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .media {
    max-width: 300px;
    max-height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s;
  }
  
  .media img {
    max-width: 100%;
    height: auto;
  }
  
  .media:hover {
    transform: scale(1.5); 
    z-index: 1;
  }
  
  .media:hover .layer {
    opacity: 0.8;
    width: 90%;
    transition: all 0.5s ease;
  }
  
  .media:hover .layer p {
    transform: scale(1);
    transition: all 0.8s ease;
  }

/* -----------------FADE ANIMATIONS------------------------------------------------------------------------*/
/*=== Trigger  ===*/
.animate {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

/*=== FADE IN ===*/
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-transform: translateY(50px) rotate(-5deg) translateZ(0);
  transform: translateY(50px) rotate(-5deg) translateZ(0);
  -webkit-transition-delay: 1s;
  -o-transition-delay: 1s;
  transition-delay: 1s;
  -webkit-transition: 1.5s;
  -o-transition:1.5s;
  transition: 1.5s;
  opacity: 0;
}

.bottom-right.inView {
  opacity: 1;
  -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
  transform: translateY(0px) rotate(0deg) translateZ(0);
}

.inView {
  opacity: 1;
  -webkit-transform: translateY(0px) rotate(0deg) translateZ(0);
  transform: translateY(0px) rotate(0deg) translateZ(0);
}

/*=== Optional Delays ===*/
.header1 {
  -webkit-animation-delay: 1.25s;
  -moz-animation-delay: 1.25s;
  animation-delay: 1.25s;
}

.header2 {
  -webkit-animation-delay: 1.75s;
  -moz-animation-delay: 1.75s;
  animation-delay: 1.75s;
}

.para {
  -webkit-animation-delay: 2.5s;
  -moz-animation-delay: 2.5s;
  animation-delay: 2.5s;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: 8px;
  text-shadow: 0 0 5px #FF0000, 0 0 7px #0000FF;
  color: white;
  text-align: center;
}

/* -----------------FOR RESPONSIVENESS------------------------------------------------------------------------*/
@media screen and (max-width: 440px) {
  .hero {
    height: auto;
  }

  .slideshow-container {
    height: auto;
  }

  .text {
    font-size: 16px;
    padding: 15px;
  }

  .dot {
    height: 8px;
    width: 8px;
    margin: 0 2px;
  }

  .fade {
    animation-duration: 2s; 
  }

  .description-container {
    padding: 10px;
  }

  .description h2 {
    font-size: 1.75rem;
  }

  .description p {
    font-size: 1rem;
    margin-left: 5%;
    margin-right: 5%;
    line-height:normal;
  }

  h1, h2 {
    font-size: 2rem;
  }

  .wrapper {
    gap: 5px;
  }

  .media {
    max-width: 75%;
    max-height: 200px;
  }

  .container {
    flex-direction: column;
    align-items: center;
  }

  .image-container {
    width: 100%;
    order: 1;
  }

  .description-container {
    padding: 10px;
    text-align: center;
    order: 0;
  }
}
