.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0 0 20px 0;
  border: 1px solid #888;
  width: 50%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}
@-webkit-keyframes left {
  from {
    left: -300px;
    opacity: 0;
  }

  to {
    left: 0;
    opacity: 1;
  }
}

@keyframes left {
  from {
    left: -300px;
    opacity: 0;
  }

  to {
    left: 0;
    opacity: 1;
  }
}

.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 10px 16px;
  background-color: #5cb85c;
  color: white;
  margin-bottom: 10px;
}

.modal-body {
  padding: 2px 16px;
}

.teamrow {
  width: 100%;
  flex-direction: row;
  justify-content: center;
  display: flex;
}

.teamrow:after {
  content: "";
  display: table;
  clear: both;
}
.profile {
  float: left;
  margin: 15px;
  margin-bottom: 40px;
  cursor: pointer;
  height: 170px;
  width: 135px;
}

.profile img {
  height: 135px;
  border-radius: 50%;
}

.modal-body img {
  width: 80%;
}

.modal-body {
  line-height: 1.5;
}

#articles {
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s linear;
  display: none;
  color: white;
  z-index: 1;
  top: 60%;
  width: auto;
  position: absolute;
  -webkit-animation-name: left;
  -webkit-animation-duration: 0.6s;
  animation-name: left;
  animation-duration: 0.6s;
}
#articles p {
  font-size: 1.3em;
  cursor: pointer;
}

.obj {
  cursor: pointer;
  overflow: hidden;
  display: none;
  color: white;
  position: absolute;
  z-index: 1;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 500px;
  height: 27px;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s linear;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.6s;
  animation-name: animatetop;
  animation-duration: 0.6s;
}
#obj2 {
  right: 64px;
  left: auto;
}
#obj2 p {
  margin: 8px;
  text-align: center;
  width: calc(100% - 10px);
}
#obj2:hover {
  height: 100px;
}
.obj:hover {
  height: 124px;
}
.obj:hover > p {
  display: block;
}
.obj h3 {
  font-size: 1.3em;
}
.obj p {
  margin: 0;
  display: none;
  width: calc(50% - 10px);
  font-size: 1em;
  float: left;
  text-align: left;
}
