@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  
  
}
body {
  min-height: 100vh;
  
  align-items: center;
  
  justify-content: center; /* Center the wrapper horizontally */
}
.wrapper {
  width: 100vw;
  margin-left: 0px;
  overflow: hidden; /* Ensures the carousel does not overflow the viewport */
}
.carousel {
    
  max-width: 100vw;
  margin: auto;
  position: relative; /* This makes the .container a positioning context for absolute children */
  padding-bottom: 2px; /* This ensures there is space for the line; adjust as needed */
  display: flex; /* This will help manage space between cards */
  
}
.card img {
    width: 100%; /* Adjust if necessary */
    height: auto; /* Adjust if necessary */
    object-fit: cover; /* Adjust if necessary */
  }
 .card {
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
    overflow: visible;
    background-size: cover;
    background-position: center;
    
}


  .card a {
    display: block; /* Make the link fill the entire card */
    height: 100%; /* Ensure the link covers the whole area of the card */
    width: 100%;
    color: inherit; /* Keep text color consistent */
    text-decoration: none; /* Remove underline from links */
  }




.carousel .card {
    color: #fff;
    line-height: 100%; /* Adjust to match the new height */
    padding: 0;
    border-radius: 10px;
    width: 400px; /* Width set to 400px */
    height: 220px; /* Height set to 200px */
    /*box-shadow: 0px 4px 15px rgba(0,0,0,0.2);*/
}

.carousel .card-1 {
  background-color: #fff;
}
.carousel .card-2 {
    background-color: #fff;
}
.carousel .card-3 {
    background-color: #fff;
}
.carousel .card-4 {
    background-color: #fff;
}
.carousel .card-5 {
    background-color: #fff;
}
.carousel .card-6 {
    background-color: #fff;
  }
  .carousel .card-7 {
    background-color: #fff;
  }


  .text {
    color: black;
    font-size: 1.2rem;
    padding-top: 20px; /* Adjusted from percentage to px */
    word-spacing: 3px;
    line-height: 1.5em; /* Adjusted from vw to em for more consistency */
    padding-left: 15px;
    font-weight: 500;
    display: inline-block;
  
  }

  .line {
    position: absolute;
    
    margin-bottom: 40px;
    bottom: 0; /* Positions the line at the bottom of the container */
    left: 50%; /* Starts the line in the center */
    width: calc(100% - 60px); /* Adjust the value 40px to increase or decrease the cut from both ends */
    height: 1px;
    background: black;
    transform: translateX(-50%); /* This will center the line with equal cuts from both ends */
  }
  .arrow {
    position: absolute;
    right: 30px; /* Adjust as necessary */
    bottom: 10px; /* Adjust as necessary */
    /* You can adjust the width and height if you want to resize the SVG */
    width: 20px; /* Example size */
    height: 22px; /* Example size */
  }
.website{
    color: black;
   font-size: 15px;
   margin-left: 30px;
   margin-top: 150px;
   position: absolute;
   margin-bottom: 20px;
   bottom: 0;

}
.small, small {
    font-size: .875em;
}


@media screen and (max-width: 900px) {
    .carousel .card {
        color: #fff;
        margin: 0px;
        line-height: 100%; /* Adjust to match the new height */
        padding: 0;
        border-radius: 10px;
        width: 32vw; /* Width set to 400px */
        height: 15vh; /* Height set to 200px */
    }

    .text {
        color: black;
        font-size: 0.6rem;
        padding-top: 20px; /* Adjusted from percentage to px */
        word-spacing: 3px;
        line-height: 1.5em; /* Adjusted from vw to em for more consistency */
        padding-left: 28px;
        font-weight: 500;
        display: inline-block;
        bottom: -100px;
    }

    .website {
        color: black;
        font-size: 0.7rem;
        margin-left: 30px;
        margin-top: 150px;
        position: absolute;
        margin-bottom: 20px;
        bottom: 0;
        
       
    }
    .arrow {
        position: absolute;
        right: 10px; /* Adjust as necessary */
        bottom: 10px; /* Adjust as necessary */
        /* You can adjust the width and height if you want to resize the SVG */
        width: 25px; /* Example size */
        height: 22px; /* Example size */
    }
}

@media screen and (max-width: 900px) {
    .website {
        color: black;
        font-size: 0.7rem;
        margin-left: 30px;
        margin-top: 150px;
        position: absolute;
        margin-bottom: 20px;
        bottom: 0;
    }
}

@media screen and (max-width: 600px) {
    .carousel .card {
        width: 80vw !important;
        max-width: 400px !important;
    }



    .text, .website {
        font-size: 0.8rem; /* Adjust text size for smaller screens if necessary */
    }
}
