html{
    overflow: auto;
    scroll-behavior: smooth;
}
body {
    opacity: 0;
    animation: fadeIn 2s forwards;
    overflow-x:hidden;
    font-family: Arial, sans-serif;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }   
}
.sections{
    max-width: 70%;
}
.cards-container{
    max-width: 1280px !important;
}
.cards-holder{
    //height: 130%;
}
.definition-cards{
    height: 50%;
}
.definition-title{
    width: 15%;
    font-size: x-large;
    font-weight: 800;
    line-height: 1;
        line-height: 45px;
    font-size: x-large;
    font-weight: 900;
}
.symptoms-title{
    font-size: x-large;
    font-weight: 800;
    line-height: 1.5;
        line-height: 45px;
    font-size: x-large;
    font-weight: 900;
}
.include-bar{
    margin: auto;
    margin-top: 20px;
    width: 92% !important;
}
.warning-label{
    margin-top: -25rem !important;
    padding-top: 35rem !important;
}
.symptoms-image{
    z-index: 10;
}
.spread-div{
    width: 100%;
    border-top-left-radius: 27rem;
    border-top-right-radius: 27rem;
    z-index: 10;
    height: 90%;
    margin-top:15rem;
}
.risk-cards{
    margin-top: -130px !important;
}
.who-title{
    margin-top:15rem;
}
.treatment-container{
    margin-top: 15rem;
}
.prevention-container{
    margin-top: 15rem;
}
.prevent-footer{
    width: 90%;
}

.footer-wave {
    position: relative;
    width: 100%;
    height: 100px;
    background: #F36633;
}
.footer-wave::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.svgrepo.com/show/2046/wave.svg') repeat-x;
    background-size: cover;
    transform: translateY(-50%);
}
.footer-custom-ol li::marker {
    color: #F36633; /* Tailwind's orange-500 color */
}
.footer-bottom-line{
    margin: -1rem;
}
.disclaimer{
    margin-top: -3rem;
}
.disclaimer-content{
    max-width: 1130px !important;
}
.red-border-top-left {
    border-top: 2px solid #F36633 !important;
    border-left: 2px solid #F36633 !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.orange-border-top-left {
    border-top: 2px solid #F36633 !important;
    border-left: 2px solid #F36633 !important;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.hover-orange:hover {
    color: #F36633 !important;
}
.hover-gray:hover {
    color: gray !important;
}
.text-orange-600 {
    color: #F36633 !important;
}

/* Vanilla CSS for flip card */
//Meningitis
/* Container for perspective effect */
.card {
    perspective: 800px;
    width: 100%; /* Set the desired card width */
    height: 100%; /* Set the desired card height */
  }
  
  /* Content that flips */
  .card__content {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.6s ease-in-out;
  }
  
  /* Trigger flip on hover */
  .card:hover .card__content {
    transform: rotateY(180deg);
  }
  
  /* Front and back faces */
  .card__front,
  .card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    overflow: hidden;
  }
  
  /* Styling for the front face */
  .card__front {
    z-index: 2;
  }
  
  /* Styling for the back face */
  .card__back {
    transform: rotateY(180deg);
    padding: 20px; /* Add padding for better readability */
  }
  //rotavirus
  .flip-card {
  perspective: 1000px; /* Enables 3D perspective */
  height: 300px; /* Set a consistent height */
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 35vh;
  transition: transform 1.6s;
  transform-style: preserve-3d; /* Preserves 3D child transforms */
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden; /* Ensures the back side is hidden when not active */
  background-color: #f3f4f6; /* Gray background for both sides */
  border-radius: 0.5rem; /* Matches the container's rounded corners */
}

.flip-card-back {
  transform: rotateY(180deg);
}
.text-orange-500 {
    color: #F36633 !important;
}
.text-orange-600 {
    color: #F36633 !important;
}
.bg-orange-500{
    background-color: #F36633 !important;
}
.bg-orange-600{
    background-color: #F36633 !important;
}