@media (min-width: 0px) {
  .company {
    padding: 40px 0;
    border-radius: 20px 20px 0px 0px;
    background: #151617;
  }

  .company__main h2 {
    margin-top: 0px;
    color: #FFF;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    /* 30.8px */
  }

  .company__main-description {
    color: #FFF;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    /* 20.8px */
    margin-top: 16px;
  }

  .company__list {
    margin: 40px 0 0 0;
    max-width: 100%;
    gap: 24px;
  }

  .company__tutor {
    width: 288px;
    height: 410px;
  }

  .company__info {
    padding: 16px;
    width: 256px;
    height: 100px;
    border-radius: 20px;
    background: #FFF;

    /* Темный 02 */
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* .company__info:hover {
    height: 176px;
    transition: 0.5s;
  } */

  .company-point {
    width: 288px;
    height: 410px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 16px;
    padding: 75px 16px 16px 16px;
    position: relative;
  }

  .company-point__description {
    color: #FA4EA0;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    /* 18.2px */
  }

  .company-point__name {
    margin-top: 8px;
    color: #151617;
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    /* 24px */
  }

  .company__details {
    border: 1px solid #fad1ce;
    padding: 12px 0;
    color: #fad1ce;
    font-size: 16px;
    text-align: center;
    width: 80%;
    border-radius: 40px;
    margin-top: 32px;
    display: block;
    background: transparent;
  }

  .company__list {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    max-width: 100%;
  }



  .company-point:nth-child(1) {
    background-image: url("../img/team11.png");
    background-size: cover;
    background-position-x: center;
  }

  .company-point:nth-child(2) {
    background-image: url("../img/team2.png");
    background-size: cover;
    background-position-x: center;
  }

  .company-point:nth-child(3) {
    background-image: url("../img/team3.png");
    background-size: cover;
    background-position-x: center;
  }

  .company-point:nth-child(4) {
    background-image: url("../img/team4.png");
    background-size: cover;
    background-position-x: center;
  }

  .company-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    background-color: #1f262d;
    display: flex;
    justify-content: center;
    height: 100%;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding-top: 40px;
    padding-bottom: 40px;
    overflow-y: scroll;
    margin-top: 20px;
    border-radius: 20px;
  }

  .company-modals {
    position: relative;
  }

  .company-modal {
    background-color: #fff;
    width: 86%;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
  }

  .company-modal-overlay--visible {
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease-in-out;
  }

  .company-modal--visible {
    display: block;
  }

  .company-popup__content {
    background-color: #1f262d;
    color: #fff;
    max-width: 800px;
    padding: 1px;
    z-index: 999;
  }

  .company-modal img {
    width: 100%;
  }

  .company-popup__tittle {
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
  }

  .company-popup__name {
    font-size: 32px;
    text-align: center;
    color: #ffffff;
    margin-top: 15px;
  }

  .company-popup__text {
    margin-top: 20px;
    color: #ffffff;
    font-size: 18px;
    margin-top: 15px;
    line-height: 150%;
  }

  .company-popup__close {
    position: fixed;
    right: 10px;
    top: 30px;
    font-size: 20px;
    color: #fff;
    z-index: 777;
    cursor: pointer;
  }

  .company-popup__close svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
  }
}

@media (min-width: 639px) {
  /* .company__main-description {
    max-width: 80%;
  } */

  .company-modal {
    width: 500px;
  }
}

@media (min-width: 958px) {
  .company__main h2 {
    font-size: 32px;
  }

  .company__main-description {
    font-size: 18px;
  }



  .company-point__name {
    font-size: 20px;
  }



  /* .company__info:hover {
    height: 226px;
    transition: 0.5s;
  } */
}

@media (min-width: 1244px) {
  .company__main h2 {
    font-size: 45px;
    line-height: 120%;
    /* 54px */
  }

  .company {
    padding: 64px 0;
    border-radius: 40px 40px 0px 0px;
  }

  .company__info {
    transition: height 0.5s ease-out;
    display: block;
  }

  /* .company__info:hover {
    height: 226px;
    transition: 0.5s;
  } */

  .company__details {
    display: none;
  }

  /* .company__info:hover .company__details {
    display: block;
  } */

  .company__main-description {
    font-size: 24px;
    line-height: 150%;
    /* max-width: 70%; */
  }

  .company__list {
    gap: 24px;
    justify-content: space-evenly;
  }
}