.workshops {
  background-image: url(../img/workshop.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  background-attachment: fixed;
}

.speakers-content {
  padding: 10vh 0 7vh 0;
  width: 100%;
  margin: auto;
}

.workshops-heading {
  font-size: 72px;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

@media only screen and (max-width: 1400px) {
  .workshop-subsection {
    width: 30%;
  }
}



.workshop-container {
  width: 80%;
  margin: 30px auto;
  margin-top: 0;
  /* border: 2px solid white; */

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.workshop-subsection {
  width: 350px;
  aspect-ratio: 1/1.3;
  perspective: 1000px;
  /* margin: 25px 0; */
}

@media only screen and (max-width: 1400px) {
  .workshop-subsection {
    width: 30%;
  }
}

@media only screen and (max-width: 1150px) {
  .workshop-subsection {
    width: 45%;
  }
}

@media only screen and (max-width: 720px) {
  .workshop-subsection {
    width: 70%;
  }
}

@media only screen and (max-width: 450px) {
  .workshop-subsection {
    width: 90%;
  }
}

.workshop-container .card {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  position: relative;
  transition: all 0.5s linear;

  transform-style: preserve-3d;
}

.workshop-card,
.speaker-card {
  height: 100%;
  width: 100%;
  padding: 30px 0;
  position: absolute;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;

  background: linear-gradient(
    165.17deg,
    rgba(255, 255, 255, 0.45) -12.54%,
    rgba(255, 255, 255, 0.18) -12.53%,
    rgba(255, 255, 255, 0.045) 117.09%
  );
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(5px);
  border-radius: 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.workshop-card {
  z-index: 2;
  backface-visibility: hidden;
}

.speaker-card {
  z-index: 1;
  transform: rotateY(180deg);
  opacity: 0;
  transition: all 0.5s linear;
}

.workshop-subsection:hover .card {
  transform: rotateY(180deg);
}

.workshop-subsection:hover .speaker-card {
  opacity: 1;
}
.card .profile-img {
  height: 40%;
  aspect-ratio: 1/1;
}

.card .profile-img img {
  width: 100%;
  border-radius: 50%;
}

.card .main-heading,
.card .sub-heading {
  width: 80%;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.card .main-heading {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.card .sub-heading {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 300;
}

@media only screen and (max-width: 520px) {
  .card .sub-heading {
    font-size: 13px;
  }
}

.btn {
  padding: 1.3em 3em;
  margin: 1em;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1.2px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #4d4d4d;
  background-color: #fff;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
}

.btn a
{
  text-decoration: none;
  color: #4d4d4d;
}

.btn:hover {
  background-color: #2ee59d;
  box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
  color: #fff;
  transform: translateY(-5px);
}

.btn:active {
  transform: translateY(-1px);
}
