@import "tailwindcss";

* {
  /* border: 1px solid lime; */
}

.gradientBg {
  background: #080c86;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 134, 1) 30%,
    rgba(69, 84, 201, 1) 100%
  );

  background: #080c86;
  background: linear-gradient(
    90deg,
    rgba(8, 12, 134, 1) 0%,
    rgba(69, 84, 201, 1) 80%
  );
}

.product-card {
  transition: all 0.3s ease;
}

.hover-icons {
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.product-card:hover .hover-icons {
  opacity: 1;
  transform: scale(1);
}

.hover-icon-1 {
  transition-delay: 0s;
}

.hover-icon-2 {
  transition-delay: 0.05s;
}

.hover-icon-3 {
  transition-delay: 0.1s;
}

.product-card:hover .hover-overlay {
  background-color: rgba(0, 0, 0, 0.05);
}
/* Show plus icon when closed */
[aria-expanded="false"] .icon-plus {
  display: block;
}

[aria-expanded="false"] .icon-minus {
  display: none;
}

/* Show minus icon when open */
[aria-expanded="true"] .icon-plus {
  display: none;
}

[aria-expanded="true"] .icon-minus {
  display: block;
}

.label,
.toggle {
  height: 2.8rem;
  /* border-radius: 100px; */
}
.label {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 100px;
  position: relative;
  margin: 1.8rem 0 4rem 0;
  cursor: pointer;
}
.toggle {
  position: absolute;
  width: 50%;
  background-color: #fff;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.names {
  font-size: 90%;
  font-weight: bolder;
  /* width: 65%; */
  /* margin-left: 17.5%; */
  margin-top: 0.5%;
  position: absolute;
  display: flex;
  justify-content: space-between;
  user-select: none;
}

.switch-container {
  position: relative;
  margin-top: 200px;
  height: 50px;
  background-color: #e5e5e5;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
}

#switch {
  display: none;
}

.toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #5a5a5a;
  transition: transform 0.3s ease;
  z-index: 1;
}

#switch:checked ~ .toggle {
  transform: translateX(100%);
}

.names {
  position: relative;
  display: flex;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.names p {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.firstSwitch {
  color: #ffffff;
}

.secondSwitch {
  color: #000000;
  background-color: #d9dbe2;
}

#switch:checked ~ .names .firstSwitch {
  color: #000000;
}

#switch:checked ~ .names .secondSwitch {
  color: #ffffff;
  background: transparent;
}
