[id^="ch"] {
    display: none;
}

[id^="ch"]:checked ~ .content {
    display: block;
}

[id^="ch"]:checked ~ label {
    display: none; 
}

.content {
    display: none;
}

label {
  background-color: #ffffff; /* White background */
  color: #000000; /* Black text */
  border: 1px solid #000000; /* Black border */
  padding: 10px 20px; /* Padding */
  border-radius: 25px; /* Rounded corners */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Cursor style */
  transition: background-color 0.3s, color 0.3s;

  position: relative;
}

label:hover {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}


.log-in-button {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 1px solid #000000; /* Black border */
    padding: 10px 20px; /* Padding */
    border-radius: 25px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Cursor style */
    transition: background-color 0.3s, color 0.3s;

    position: fixed;
    top: 10px; /* Adjust top position as needed */
    right: 150px; /* Adjust right position as needed */
    z-index: 999; /* Ensure it's above other elements */
}

.log-in-button:hover {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.start-trial-button {
    background-color: #ffffff; /* White background */
    color: #000000; /* Black text */
    border: 1px solid #000000; /* Black border */
    padding: 10px 20px; /* Padding */
    border-radius: 25px; /* Rounded corners */
    font-size: 16px; /* Font size */
    cursor: pointer; /* Cursor style */
    transition: background-color 0.3s, color 0.3s;


    position: fixed;
    top: 10px; /* Adjust top position as needed */
    right: 20px; /* Adjust right position as needed */
    z-index: 999; /* Ensure it's above other elements */
}

.start-trial-button:hover {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.instagram-button {
  background-color: #ffffff; /* White background */
  color: #000000; /* Black text */
  border: 1px solid #000000; /* Black border */
  padding: 10px 20px; /* Padding */
  border-radius: 25px; /* Rounded corners */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Cursor style */
  transition: background-color 0.3s, color 0.3s;
}

.instagram-button:hover {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.home-button {
  background-color: #ffffff; /* White background */
  color: #000000; /* Black text */
  border: 1px solid #000000; /* Black border */
  padding: 10px 20px; /* Padding */
  border-radius: 25px; /* Rounded corners */
  font-size: 16px; /* Font size */
  cursor: pointer; /* Cursor style */
  transition: background-color 0.3s, color 0.3s;

}

.home-button:hover {
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
}


.dropbtn {
    background-color: black;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    
  }
  
  /* The container <div> - needed to position the drop-down content */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Style the drop-down menu (content) */
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  /* Style the links inside the drop-down menu */
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of drop-down links on hover */
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  /* Show the drop-down menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* Change the background color of the drop-down button when the drop-down content is shown */
  .dropdown:hover .dropbtn {
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #ffffff;
  }

  .dropbtn .fa5.fa-bars{
    color: white;
  }

.image-container {
  position: relative;
  width: 100%; /* Adjust width as needed */
  height: 600px; /* Maximum height for large screens */
  overflow: hidden;
}

/* Individual images */
.image-container img {
    position: absolute;
    width: 100%; /* Images will fill the container horizontally */
    height: auto; /* Maintain aspect ratio */
    top: 0;
    left: 0;
    opacity: 0; /* Start with images hidden */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.small-screen-image-container {
  position: relative;
  width: 100%; /* Adjust width as needed */
  height: 1000px; /* Maximum height for large screens */
  overflow: hidden;
  display: none;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100vh;
  overflow: visible;
}

.slide {
  width: 45%;
  overflow: hidden;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s, transform 0.5s;
  margin-right: 20px;
}

.slide img {
  width: 100%;
  height: 100%;
  padding-top: 20px;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

/* Ensure the whole page does not have a horizontal scroll */
body {
  overflow-x: hidden;
}

/* Prevent horizontal scrolling inside the slideshow */
.slideshow-container {
  position: relative;
  max-width: 90rem;
  margin: 0 auto;
  overflow: hidden; /* Hides horizontal overflow */
}

/* Fix slider overflow */
.slider {
  display: flex;
  aspect-ratio: 16/9;
  overflow-x: hidden; /* Change from 'auto' to 'hidden' */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 0.5rem;
}

/* Ensure images fit properly and prevent flex overflow */
.slider img {
  flex: 0 0 100%; /* Ensure each slide takes up 100% width */
  scroll-snap-align: start;
  object-fit: cover;
}


.slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: -1.25rem; 
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.slider-nav a{
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 75%;
  transition: opacity ease 250ms;
}

.slider-nav a:hover { 
  opacity: 1;
}


/* Adjustments for smaller screens */
@media screen and (max-width: 600px) {
  .image-container {
    display: none;
  }

  .small-screen-image-container {
    display: block;
  }


  .small-screen-image-container img {
    position: absolute;
    width: 100%; /* Images will fill the container horizontally */
    height: auto; /* Maintain aspect ratio */
    top: 0;
    left: 0;
    opacity: 1; /* Start with images hidden */
    transition: opacity 0.5s ease-in-out; /* Smooth transition */
  }

  .stats {
    justify-content: center;
    align-items: center;
    height: 300vh;
    overflow: visible;
  }

  .slide {
    width: 70%; /* Adjust width to fit container */
    margin-right: 0; /* Remove right margin */
    margin-bottom: 20px; /* Add bottom margin for spacing */
  }
}