@font-face {
  font-family: light-Lato;
  src: url(/fonts/Lato2OFLWeb/Lato/fonts/Lato-Medium.ttf);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
  .speakers {
    font-family: light-Lato, sans-serif;
    padding: 20px 0;
  }

  .modals {
    display: flex;
    flex-direction: column;
  }

  .speakers-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }

  .speakers-heading h3 {
    font-family: 'light-Lato', sans-serif;
    font-weight: 900;
    font-size: 16px;
  }

  .speakers-heading span {
    border: 2px solid #ec5242;
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
  }

  .speakers-list {
    display: flex;
    flex-direction: column;
    padding: 0 10px;
    gap: 10px;
  }

  .brack1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .brack2 {
    display: none;
  }

  .brack2 img {
    height: 32vh;
  }

  .brack3 {
    display: none;
  }

  .speakers-card {
    display: flex;
    flex-direction: row;
    height: 100%;
  }

  .speakers-card img {
    width: 40%;
    height: 28vh;
  }

  .speaker-details {
    width: 100%;
    padding-left: 15px;
    font-family: light-Lato, sans-serif;
  }

  .speaker-details h3 {
    font-size: 17px;
    font-weight: 900;
  }

  .speaker-details .quote {
    font-size: 14px;
    color: #ec5242;
    line-height: 15px;
    font-weight: 600;
  }

  .speaker-details p {
    margin-top: 5px;
    font-size: 14px;
    line-height: 15px;
    font-weight: 500;
  }

  .speaker-details hr {
    width: 20px;
    height: 0;
  }

  .btn-speakers {
    background-color: #fff;
    height: 7vh;
    border: 1px solid #6a6969;
    border-radius: 3px;
    color: #545353;
    font-weight: 100;
    transition: 0.4s;
    font-family: light-Lato, sans-serif;
    display: block;
  }

  .btn-speakers:hover {
    background-color: #ec5242;
    color: #fff;
  }

  .btn-speakers i {
    padding-left: 5px;
  }

  .hidebtn .btn-speakers {
    display: none;
  }

  .hidebtn .brack2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hidebtn .brack3 {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

@media only screen and (min-width: 769px) {
  .speakers {
    padding: 50px 100px;
  }

  .speakers-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
  }

  .speaker-details {
    width: 100%;
    padding-left: 15px;
    font-family: light-Lato, sans-serif;
    font-size: 15px;
    line-height: 15px;
    font-weight: 500;
    margin-top: 5px;
  }

  .speakers-heading h3 {
    font-family: 'light-Lato', sans-serif;
    font-weight: 900;
    font-size: 25px;
  }

  .speaker-details .quote {
    font-size: 14px;
    color: #ec5141;
    line-height: 15px;
    font-weight: 600;
  }

  .speaker-details hr {
    width: 20px;
  }

  .speakers-heading span {
    border: 2px solid #ec5241dc;
    font-size: 30px;
    margin-bottom: 30px;
    text-align: center;
    width: 3%;
  }

  .speakers-card img {
    width: 40%;
    height: 30vh;
  }

  .speakers-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding: 10px 30px;
  }

  .speakers-card {
    width: 50%;
    display: flex;
    flex-direction: row;
  }

  .btn-speakers {
    display: none;
  }

  .brack1,
  .brack2,
  .brack3 {
    display: flex;
    flex-direction: row;
    gap: 21px;
  }
}
