*{
 padding: 0;
 margin: 0;
 box-sizing: border-box;
}

.workcontainer {
  max-width: 100vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.filter {
  /* display: grid; */
  width: 60%;
  margin: auto;
  padding-top: 3em;
  /* padding-left: 35%; */
}

.filter input[type="text"] {
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 2em;
  box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.281);
  width: 100%;
}

.category-buttons {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding: 1em;
}

.category-btn {
  padding: 1em 2em;
  margin-right: 1em;
  border: none;
  border-radius: 1em;
  background-color: #fff;
  box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.281);
  cursor: pointer;
}

.category-btn:hover{
  background-color: rgba(0, 0, 0, 0.783);
  color: whitesmoke;
  transition: 500ms ease;
}
.category-btn.active {
  background-color: #228B22;
  order: -1;
  color: #fff;
  margin-right: auto;
  margin-left: 4em;
}

.icons{
  font-size: 24px;
}

.cards{
    height: auto;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.card{

  height: 30%;
  width: 40%;
  border-radius: 20px;
  box-shadow: 4px 4px 5px 2px rgba(0, 0, 0, 0.281);
  padding: 10px;
  overflow: hidden;
  background-color: #45b8ad16;
  margin: 20px;
  /* transform: translateY(-20px); */

  /* animation: card-load 500ms ease-in;
  animation-fill-mode: forwards; */
}

/* @keyframes card-load {
  0%{
    transform: translateY(-4em);
    opacity: 0;
  }

  100%{
    transform: translateY(0em);
    opacity: 1;
  }
} */

.slider-container{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
  height: 80%;
  overflow: hidden;
  border-radius: 20px;
}

.slide-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.slider-btn{
  position: absolute;
  font-size: 2em;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  outline: none;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
}

.slider-btn.prev-btn{
  left: 0;
  padding: 5px;
}

.slider-btn.next-btn{
  right: 0;
  padding: 5px;
}

.content{
  padding: 5px;
}

.title{
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
}

.btn {
  display: inline-block;
  padding: 5px 10px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: black;
  background-color: transparent;
  border: 2px solid black;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}

.btn:hover {
  background-color: rgba(0, 0, 0, 0.954);
  color: whitesmoke;
  transition: 500ms ease;
}

.visit-btn {
  position: relative;
  overflow: hidden;
  
}

/* .visit-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease-out, height 0.2s ease-out;
} */

/* .visit-btn:hover::after {
  width: 200%;
  height: 200%;
} */

.hamburger-menu {
  display: none;
}

@media (max-width: 576px) {
  .slider-btn{
    font-size: 4em;

  }
  .category-buttons {
    display: none;
  }

  .hamburger-menu {
    display: block;
  }

  .hamburger-menu.open {
    /* Add styles to show the menu when it's open */
  }
  .card{
  height: 30%;
  width: 80%;
  border-radius: 20px;
  box-shadow: 4px 4px 5px 2px rgba(0, 0, 0, 0.281);
  padding: 10px;
  overflow: hidden;
  background-color: #45b8ad16;
  margin: 20px;
  }
  
}
