/* General Styles */
html,
body {
  font-family: "Poppins", sans-serif;
  background-color: #121212;
}

/* Navbar */
.navbar {
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.05);
  margin: 2px 2px 2px 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 992px) {
  .navbar-brand {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
    margin-right: 0px !important;
  }

  .navbar {
    justify-content: center !important;
  }

  .row .col-lg-6,
  .row .col-md-6,
  .row .col-md-3,
  .row .col-md-4 {
    padding: 5px;
  }
}

.bento-box {
  height: 100%;
  width: 100%;
  border: 1px solid #121212;
  background-color: #f0f0f0;
  border-radius: 25px;
  margin: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap; /* Add flex-wrap */
}

.row {
  min-height: calc(100vh/3.25);
  margin-right: 0;
}

.row .col-lg-6,
.row .col-md-6,
.row .col-md-3,
.row .col-md-4 {
  padding: 5px;
}

.bento-box1 {
  height: 100%;
  width: 100%;
  min-height: 100px;
  border: 1px solid #121212;
  background-color: #f0f0f0;
  border-radius: 25px;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* Add flex-wrap */
  background-image: url("Images/japtimg.webp");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bento-boxgif {
  height: 100%; /* Set the desired height */
  width: 100%;
  min-height: 100px;
  border: 1px solid #121212;
  background-color: #f0f0f0;
  border-radius: 25px;
  margin: 5px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h4 {
  font-weight: bold; /* Adds bold font weight */
  text-align: center; /* Centers the text */
}

/* Applying clamp formula for responsive font sizes */
.bento-box i {
  margin-bottom: 15px;
  font-size: clamp(
    16px,
    4.41vw + 16px,
    40px
  ); /* Responsive font size for .bento-box i */
}

h1 {
  font-size: clamp(18px, 3.31vw + 10px, 36px); /* Responsive font size for h1 */
}

h4 {
  font-size: clamp(14px, 1.84vw + 14px, 24px); /* Responsive font size for h4 */
}

p {
  font-size: clamp(12px, 1.1vw + 12px, 18px); /* Responsive font size for p */
}

@media (max-width: 1280px) {

  h1 {
    font-size: clamp(18px, 3.31vw + 10px, 24px); /* Responsive font size for h1 */
  }

  h4 {
    font-size: clamp(14px, 1.84vw + 14px, 20px); /* Responsive font size for h4 */
  }
  
  p {
    font-size: clamp(12px, 1.1vw + 12px, 12px); /* Responsive font size for p */
  }

  .row {
  min-height: 150px;
  margin-right: 0;
}

}

@media (max-width: 992px) {
  .row .col-lg-6,
  .row .col-md-6,
  .row .col-md-3,
  .row .col-md-4 {
    padding: 5px; /* Adjust padding */
  }

  .bento-box1 {
    min-height: 250px;
  }

  .bento-box {
    min-height: 250px;
  }

  .bento-boxgif {
    min-height: 250px;
  }

  .row {
    min-height: 350px;
    margin-right: 0;
  }
}
.container-fluid {
  max-width: 100%; /* Ensure container takes full width */
  padding: 0 15px; /* Add padding for spacing */
  padding-bottom: 10px;
}
