@charset "UTF-8";
/* CSS Document */
.section-profile__container {
  padding: 60px 0;
  margin: 0 20px;
}
.section-profile__concept {
  margin-bottom: 60px;
}
.section-profile__concept img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  margin: 0 auto;
}
.section-profile__concept h2 {
  font-size: 30px;
  color: #333333;
  font-family: 'Poppins', sans-serif;
  font-style: italic;
  text-align: left;
  margin: 30px 0 20px;
}

.section-profile__description-text {
  text-align: left;
  color: #333333;
}

.member-photo__indivisual {
  list-style: none;
}
.member-photo__indivisual img {
  width: 100%;
  object-fit: cover;
  margin: 0 auto;
}
.member-photo__indivisual img:hover {
  opacity: 50%;
}

/*MODAL*/
.modal {
  display: none;
  position: fixed;
  z-index: 8887;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #261b49;
  transition: all 1s ease-in-out;
}
.modal-container p:last-child {
    margin-bottom: 0;
}
.modal-content {
    background: #261b49;
    padding: 100px 20px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 400px;
    animation: show 0.6s linear 0s;
}
/*.modal-top {
    display: inline-block;
    left: 0;
}*/
.modal-close {
    color: #fafafa;
    text-decoration: none;
    font-size: 1.4rem;
    line-height: 1;
    padding: 0 10px;
}
.modal-close:hover, .modal-close:focus {
  text-decoration: none;
  cursor: pointer;
}
@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
.modal-content-photo {
  width: 100%;
  object-fit: cover;
}
.member-name {
  font-size: 2.0rem;
  color: #fafafa;
  font-weight: 600;
  text-align: left;
  margin: 30px 0 10px;
}
.member-desctiprion {
  text-align: left;
  color: #fafafa;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 10px;
}
@media(min-width: 900px) {
  .section-profile__container {
    margin: 0 100px;
  }
  .section-profile__description {
    max-width: 810px;
    font-size: 1.6rem;
    line-height: 2.4rem;
    margin: 0 auto;
  }
}
/* PROFILE IMAGE */
@media(min-width: 1200px) {
  .member-photo__indivisual {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
  }
  .member-photo__indivisual li {
    display: block;
    padding: 0 20px 20px 0;
  }
  .member-photo__indivisual img {
    width: 40vw;
  }
.modal-content {
    overflow-y: auto;
    width: 90%;
    top: 50%;
    left: 50%;
}
.modal-container {
    display: flex;
  }
  .member-text {
    padding-left: 30px;
  }
  .member-name {
    font-size: 4.0rem;
    margin-bottom: 20px;
  }
  .member-desctiprion {
    font-size: 1.4rem;
    line-height: 2.4rem;
    margin-bottom: 50px;
  }
  .modal-content-photo {
    max-width: 50vw;
  }
  .modal-top {
    display: block;
    left: 0;
}
/*  .modal-close {
    padding: 0;
  }*/
}

