.modal-container {
  background: no-repeat center/98% url(images/two-circles-header.png) #191765;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
}

.modal-content {
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(1px);
  width: 85%;
  margin: 50px auto;
  border: 1px solid #fff;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: 0 auto;
}

.modal-header h2 {
  font-family: 'Roboto', helvetica, arial, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 32px;
  color: #fff;
}

.modal-header i:hover {
  color: #7d73fc;
  cursor: pointer;
}

.modal-image {
  width: 95%;
  margin: 0 auto;
}

.modal-image img {
  width: 100%;
}

.modal-description {
  width: 62%;
  margin: 3% auto 0;
}

.modal-description p {
  font-family: 'Roboto', helvetica, arial, sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  color: #fff;
}

.modal-description p:nth-child(1) {
  display: block;
}

.modal-description p:nth-child(2) {
  display: none;
}

.modal-technologies {
  width: 35%;
  margin: 6% auto 2%;
}

.modal-technologies li {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.modal-btns {
  width: 34%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 7%;
}

.modal-btns button a {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 3%;
  padding: 0;
}

.modal-btns button {
  padding: 10px 15px;
}

.modal-btns button img {
  height: 15px;
  width: 14px;
}

@media only screen and (max-width: 992px) {
  .modal-container {
    background: rgba(25, 23, 101, 0.9);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
  }

  .modal-content {
    height: 90vh;
    margin: 5vh auto;
    overflow: auto;
  }

  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    margin: 5% auto;
  }

  .modal-header h2 {
    font-size: 20px;
    line-height: 28px;
  }

  .modal-image {
    width: 85%;
    margin: 0 auto;
  }

  .modal-image img {
    width: 100%;
    height: 300px;
  }

  .modal-description {
    width: 85%;
    margin: 2% auto 0;
  }

  .modal-description p {
    font-size: 14px;
    line-height: 24px;
  }

  .modal-technologies {
    width: 80%;
    margin: 6% auto 2%;
  }

  .modal-technologies li {
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
  }

  .modal-technologies li:last-child,
  .modal-technologies li:nth-last-child(2) {
    display: none;
  }

  .modal-btns {
    width: 50%;
    margin: 0 auto;
    flex-flow: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 10%;
  }

  .modal-btns button {
    padding: 10px 10px;
  }
}
