/* 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 */

body,html {
  background-color: black;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

/* Navbar Styling */
.navbar {
  background-color: black;
  font-family: "Londrina Shadow", serif;
  width: 100%;
  font-weight: 800;
  font-size: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.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: 60px;
  overflow: hidden; /* Ensures elements don't overflow during animation */
}

/* Initial position of the background image */
.bg-image img {
  max-width: 600px;
  margin-left:auto;
  margin-right:auto;
  height: auto;
  border-radius: 150px;
  transition: transform 0.5s ease-in-out; /* Slide effect */
  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 */
  }
}

/* Initial position of the heading */
h1 {
  font-family: "Freckle Face", sans-serif;
  font-weight: 800;
  font-size: 40px;
  margin-left: auto;
  margin-right:auto;
  max-width: 550px;
  transition: transform 0.5s ease-in-out; /* Slide effect */
}

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: 115px;
}

/* 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-color: black;
  width: 100%;            /* Ensure it spans the full width of the screen */
  box-sizing: border-box; /* Ensure padding and borders are included in the width */
  padding: 0 !important;
  width: 100vw; /* Use viewport width */
  max-width: 100%; /* Prevent horizontal scrolling */
 
}

.row{
  margin: 0 !important; /* Remove row margin */
  padding: 0 !important; /* Remove row padding */
}

/* Remove margin and padding in columns */
.col-12 {
  padding: 0 !important; /* Remove padding inside columns */
  margin: 0 !important;  /* Remove margin inside columns */
}

.trending-section {
  background-color: black;
  width: 100%;
  padding: 20px 0;
  margin: 0;
  overflow: hidden; /* Prevent any potential overflow */
}

.trending-section h3 {
  font-family: "Freckle Face";
  font-weight: 800;
  font-size: 90px;
  margin: 0 0 30px 0;
  padding: 0;
  text-align: center;
  background: linear-gradient(to right, red, blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  width: 100%;
}

.gif-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 0 !important; /* Remove padding inside columns */
  margin: 0 !important;  /* Remove margin inside columns */
  width: 100%; /* Ensures it takes up full width inside the container */
  box-sizing: border-box;
  }

.container h3{
  font-family: "Freckle Face";
  font-weight: 800;
  font-size: 90px;
  margin: 0 0 30px 0; /* Remove left/right margin */
  padding: 0;
  width: 100%;
  text-align: center;
  background: linear-gradient(to right, red, blue);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
  
}

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

.gif-item {
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   margin: 0; /* Ensure no margin around the image */
  padding: 0; /* Ensure no padding inside the image */
  }

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

.gif-item:hover {
  animation: flip 1.2s;
  
  }

.gif-link {
  display: inline-block;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gif-link img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gif-link:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}


/* 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",sans-serif;
  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",sans-serif;
  padding: 10px 20px;
  background: linear-gradient(to right, red, blue); /* Blue to red gradient */
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter button:hover {
  background-color: #ff4500;
  animation: flip 1.5s
}

/* Extra large screens (1200px and up) */
@media screen and (min-width: 1200px) {
  .container h3 {
    font-size: 90px;
  }
  
  .gif-item {
    width: 300px;
    height: 300px;
  }
}

/* Large screens (992px to 1199px) */
@media screen and (max-width: 1199px) {
  .navbar {
    font-size: 26px;
  }

  .container h3 {
    font-size: 70px;
  }

  .gif-item {
    width: 250px;
    height: 250px;
  }
}

/* Medium screens (768px to 991px) */
@media screen and (max-width: 991px) {
  .navbar {
    font-size: 22px;
  }

  .navbar .logo img {
    width: 60px;
    margin-left: 20px;
  }

  h1 {
    font-size: 25px;
    margin-left: 50px;
  }

  h1 strong {
    font-size: 80px;
  }

  .container h3 {
    font-size: 60px;
  }

  .gif-item {
    width: 220px;
    height: 220px;
  }

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

  .footer h3 {
    font-size: 40px;
  }
}

/* Small screens (576px to 767px) */
@media screen and (max-width: 767px) {
  .navbar {
    flex-direction: column;
    padding: 10px 0;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    margin: 10px 0;
    gap: 5px;
  }

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

  .header-container {
    flex-direction: column;
    text-align: center;
    padding: 30px;
  }

  h1 {
    margin-left: 0;
    text-align: center;
    font-size: 22px;
  }

  h1 strong {
    font-size: 60px;
  }

  .container h3 {
    font-size: 50px;
  }

  .gif-item {
    width: 280px;
    height: 280px;
  }

  .gif-container {
    gap: 15px;
  }

  .footer h3 {
    font-size: 35px;
  }

  .footer {
    font-size: 16px;
  }
}

/* Extra small screens (575px and below) */
@media screen and (max-width: 575px) {
  .navbar {
    font-size: 18px;
  }

  .navbar .logo img {
    width: 50px;
  }

  h1 strong {
    font-size: 45px;
  }

  .container h3 {
    font-size: 40px;
  }

  .gif-item {
    width: 250px;
    height: 250px;
  }

  .gif-container {
    gap: 10px;
  }

  .footer h3 {
    font-size: 30px;
  }
}

/* Very small screens (360px and below) */
@media screen and (max-width: 360px) {
  .navbar {
    font-size: 16px;
  }

  h1 {
    font-size: 18px;
  }

  h1 strong {
    font-size: 35px;
  }

  .container h3 {
    font-size: 35px;
  }

  .gif-item {
    width: 220px;
    height: 220px;
  }

  .footer h3 {
    font-size: 25px;
  }
}

/* Fix for the navbar slide animation on mobile */
@media screen and (max-width: 767px) {
  .navbar .logo,
  .navbar ul {
    transform: translateX(0);
  }

  .bg-image img {
    max-width: 300px;
  }

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