/* General Font Styling */
.sedgwick-ave-display-regular {
  font-family: "Sedgwick Ave Display", cursive;
  font-weight: 400;
  font-style: normal;
}

.irish-grover-regular {
  font-family: "Irish Grover", system-ui;
  font-weight: 400;
  font-style: normal;
}

.londrina-shadow-regular {
  font-family: "Londrina Shadow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.freckle-face-regular {
  font-family: "Freckle Face", system-ui;
  font-weight: 400;
  font-style: normal;
}

/* Body Styling */
html,body {
  background-color: black;
  margin: 0;
  padding: 0;
  height: 100%;
}


/* Navbar Styling */
.navbar {
  background-color: black;
  font-family: "Londrina Shadow";
  width: 100%;
  font-weight: 800;
  font-size: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.navbar .logo {
  transform: translateX(-100%); /* Start off-screen to the right */
  transition: transform 0.5s ease-in-out; /* Smooth slide effect */
}

.navbar .logo img {
  width: 70px;
  border-radius: 15px;
  margin-left: 30px;
  display: flex;
  transition: transform 0.3s ease;
}

.navbar .logo img:hover {
  box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.7);
  background: linear-gradient(45deg, red, blue);
  animation: flip 1.5s;
}

/* Navbar Links Styling */
.navbar ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin-right: 30px;
  transform: translateX(100%); /* Start off-screen */
  transition: transform 0.5s ease-in-out; /* Slide effect */
}

/* When the page loads, use this class to trigger the transition */
.navbar.loaded ul {
  transform: translateX(0); /* Move the navbar elements into view */
}

.navbar.loaded .logo {
  transform: translateX(0); /* Move the logo into view */
}

.navbar ul li {
  display: inline;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  transition: box-shadow 0.3s, transform 0.3s;
  float: left;
  display: block;
  text-align: center;
  padding: 14px 15px 10px 10px;
  border-radius: 30px;
}

/* Flip Animation on Hover */
@keyframes flip {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}
.bounce {
  animation: bounce 2s infinite;
}


.navbar ul li a:hover {
  box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.7);
  background: linear-gradient(45deg, red, blue);
  animation: flip 1.5s ;
}

/* Header Section */
.header-container {
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 50px;
}

.bg-image img {
  max-width: 500px;
  height: auto;
  border-radius: 150px;
  animation: upAndDown 2s infinite ease-in-out; /* Apply the animation to keep it running indefinitely */
}

/* Up and Down Continuous Animation */
@keyframes upAndDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Move the image up */
  }
  100% {
    transform: translateY(0); /* Move the image back to the original position */
  }
}

h1 {
  font-family: "Freckle Face";
  font-weight: 800;
  font-size: 30px;
  margin-left: 100px;
  max-width: 600px;
}

h1 strong {
  display: block;
  background: linear-gradient(to right, red, blue); /* Blue to red gradient */
  -webkit-background-clip: text; /* For webkit browsers like Chrome */
  background-clip: text; /* Apply the gradient only to the text */
  color: transparent; /* Make the text color transparent to show the gradient */
  font-weight: bold;
  font-size: 100px;
}


/* Define the dance animation */
@keyframes dance {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
  75% {
    transform: translateY(-5px);
  }
}

/* Apply the animation on hover */
h1 strong:hover {
  animation: dance 0.5s infinite;
}

/* Container background */
.container {
  background-color: black;
}

/* Styling for the heading */
.container h2 {
  font-family: "Freckle Face";
  font-size: 50px;
  font-weight: 800;
  background: linear-gradient(to right, red, blue); /* Blue to red gradient */
  -webkit-background-clip: text; /* For webkit browsers like Chrome */
  background-clip: text; /* Apply the gradient only to the text */
  color: transparent; /* Make the text color transparent to show the gradient */
  padding-bottom:30px;
}

/* Add hover animation for the heading */
.container h2:hover {
  animation: dance 0.5s infinite;
}


/* Make each gif item a block-level element */
.container .gif-item {
  position: relative; /* Needed for positioning the description */
}

/* Styling for the anchor tag wrapping the GIF */
.container .gif-item a {
  display: block;
  text-decoration: none; /* Remove underline from links */
  width: 100%;
  height: 100%;
}

/* Styling for the gif card container */
.gif-card {
  position: relative;
  display: block;
  width: 250px;
  height: 200px;
  border-radius: 8px; /* Optional: for rounded corners */
  overflow: hidden; /* Hide the description by default */
}

/* Styling for the images (GIFs) */
.gif-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px; /* Optional: for rounded corners */
  transition: transform 0.3s ease; /* Adds smooth hover effect */
}

/* Hover effect for GIF images */
.gif-item a:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}

/* Styling for the description that will appear on hover */
.gif-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  color: white;
  padding: 10px;
  opacity: 0; /* Hide the description by default */
  visibility: hidden; /* Make it hidden */
  transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth transition */
  height: 100%; /* Adjust the height of the description */
  box-sizing: border-box;
}

/* Show the description when the gif card is hovered */
.gif-item:hover .gif-description {
  opacity: 1; /* Make it visible */
  visibility: visible; /* Ensure it's visible */
}


/* Optional: Style for the link inside the description */
.gif-description a {
  color: #ffcc00; /* Bright color for the link */
  text-decoration: none;
  font-weight: bold;
}


/* Styling for the images (GIFs) */
.gif-item img {
  display: block; /* Ensures the image behaves as a block-level element */
  vertical-align: middle;
  width: 300px;
  height: 200px;
  object-fit: cover; /* Ensures the GIF fills the box without stretching */
  border-radius: 8px; /* Optional: for rounded corners */
  transition: transform 0.3s ease; /* Adds smooth hover effect */
}

/* Hover effect for GIF images */
.gif-item a:hover img {
  transform: scale(1.05); /* Slight zoom effect on hover */
}


/* Optional: Style for the text inside the paragraph */
.container p {
  font-family: Trebuchet MS, Georgia ;
  font-size: 16px;
  font-weight: 800;
  color: white;
  text-align: center;
}

/* Footer Section */
.footer {
  font-family: "Yatra One", "Oregano", system-ui;
  font-size: 20px;
  font-weight: 800;
  background-color: black;
  color: white;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer .contact-info {
  flex: 1;
  min-width: 250px;
}

.footer .newsletter {
  flex: 1;
  min-width: 250px;
}

.footer h3 {
  font-family: "Freckle Face";
  font-size: 50px;
  font-weight: 800;
  background: linear-gradient(to right, red, blue); /* Blue to red gradient */
  -webkit-background-clip: text; /* For webkit browsers like Chrome */
  background-clip: text; /* Apply the gradient only to the text */
  color: transparent; /* Make the text color transparent to show the gradient */
}

.footer h3:hover {
  animation: dance 0.5s infinite;
}

.footer .social-media {
  margin-top: 20px;
}

.footer .social-media a {
  color: white;
  font-size: 20px;
  margin: 0 10px;
  padding: 10px;
  border-radius: 50%; /* Makes the button circular */
  text-decoration: none; /* Removes underline */
  transition: background 0.3s, color 0.3s; /* Smooth transition */
}

.footer .social-media a:hover {
  color: white; /* Keeps the icon white */
  background: linear-gradient(45deg, red, blue); /* Red-to-blue gradient */
  animation: dance 0.5s infinite;
  
}
.newsletter form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.newsletter input[type="email"] {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  border: none;
  border-radius: 4px;
  margin-bottom: 10px;
  color: black;
}

.newsletter button {
  font-family: "Freckle Face";
  padding: 10px 20px;
  background: linear-gradient(to right, red, blue); /* Blue to red gradient */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
}

.newsletter button:hover {
   animation: flip 1.5s
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

/* For Different Screen Sizes */

@media (max-width: 768px) {
  .navbar {
    font-size: 24px;
    justify-content: center;
    text-align: center;
  }

  .navbar .logo {
    margin-bottom: 10px;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: center;
  }

  .navbar ul li a {
    padding: 10px;
  }
}

/* Header Section */
.header-container {
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  padding: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  justify-content: center;
  gap: 20px;
}

@media (max-width: 992px) {
  .bg-image img {
    max-width: 400px;
  }

  h1 {
    margin-left: 0;
    text-align: center;
  }

  h1 strong {
    font-size: 80px;
  }
}

@media (max-width: 768px) {
  .bg-image img {
    max-width: 300px;
  }

  h1 strong {
    font-size: 60px;
  }
}

@media (max-width: 480px) {
  .bg-image img {
    max-width: 250px;
  }

  h1 strong {
    font-size: 40px;
  }

  .header-container {
    padding: 15px;
  }
}

/* Container and GIF items */
.container {
  padding: 20px;
}

.gif-item {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px;
}

/* Create a grid container for GIFs */
.gif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

@media (max-width: 768px) {
  .container h2 {
    font-size: 40px;
    text-align: center;
  }
}

/* Footer Section */
.footer {
  padding: 20px;
}

.footer-content {
  gap: 20px;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .footer h3 {
    font-size: 40px;
  }

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

  .footer .contact-info,
  .footer .newsletter {
    width: 100%;
    text-align: center;
  }

  .newsletter input[type="email"] {
    width: 100%;
  }
}

/* Additional Responsive Utilities */
.text-center-mobile {
  text-align: center;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

/* Ensure images don't overflow their containers */
img {
  max-width: 100%;
  height: auto;
}

/* Add smooth scrolling for better mobile experience */
html {
  scroll-behavior: smooth;
}

/* Improve touch targets for mobile */
button,
.navbar ul li a,
.footer .social-media a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Prevent horizontal scrolling */
body {
  overflow-x: hidden;
}



