@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap");

body {
  margin: 0;
  padding: 0;
  background: #262626;
  font-family: "Roboto", sans-serif;
}

.team {
  padding: 50px 0;
  height: max-content;
  box-sizing: border-box;
}

.container2 {
  width: 80%;
  margin: 50px auto;
}
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: #000000;
  font-weight: bold;
  padding: 0.2rem;
  background: #f1f1f1;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
  width: 5.5rem;
}

.row2 {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.row2 h1 {
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
  font-weight: 700;
  font-size: 48px;
  text-transform: uppercase;
}

.row2 p.description {
  margin: 20px 0 0;
  color: #fff;
  padding-left: 20px;
  border-left: 5px solid #f00;
}

.row2 p.rting {
  color: white;
  display: inline;
}

.mgt50px {
  margin-top: 50px;
}

.row2 .column2 {
  margin: 0 10px;
  position: relative;
  width: calc(25% - 20px);
  min-height: 250px;
  float: left;
  box-sizing: border-box;
  overflow: hidden;
}
.row2 .column2::before {
  content: "";
  position: absolute;

  left: 0;
  width: 100%;
  height: 100%;

  z-index: 1;
  transition: 0.5s;
  mix-blend-mode: soft-light;
}
.row2 .column2:hover::before {
  bottom: 0;
}

.row2 .column2 .imgBox {
  position: relative;
}
.row2 .column2 .imgBox img {
  width: 100%;
  transition: 1.5s;
}
.row2 .column2:hover .imgBox img {
  transform: scale(1.3);
}

.row2 .column2 .details {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px 0px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.8);
  width: 100%;
  transition: 0.5s;
  z-index: 2;
}
.row2 .column2:hover .details {
  bottom: 0;
}
.row2 .column2 .details h3 {
  font-size: 1.5em;
  margin: 0;
  padding: 0;
  color: #fff;
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

.row2 .column2 .details h3 span {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #f00;
  font-weight: 900;
  text-transform: uppercase;
  position: relative;
  top: -6px;
}
.row2 .column2 .details ul {
  margin: 0;
  padding: 0;
  display: none;
  float: right;
}

.row2 .column2 .details ul li {
  list-style: none;
}
.row2 .column2 .details ul li a {
  padding: 0 10px;
  color: #fff;
}
.row2 .column2 .details ul li a .fab {
  transition: 0.5s;
}

.row2 .column2 .details ul li a:hover .fab {
  transform: rotateY(360deg);
  color: #f00;
}

@media (max-width: 992px) {
  .container2 {
    width: 90%;
    margin: 20px auto;
  }

  .row2 .column2 {
    width: calc(50% - 20px);
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .container2 {
    width: 95%;
    margin: 20px auto;
  }

  .row2 .column2 {
    width: calc(100% - 20px);
    margin-bottom: 20px;
  }

  .row2 .column2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    transition: 0.5s;
    mix-blend-mode: normal;
  }
  .row2 .column2:hover::before {
    bottom: 0;
  }

  .row2 .column2 .details {
    position: absolute;
    bottom: 0px;
    left: 0;
    padding: 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    transition: 0.5s;
    z-index: 2;
  }
  .row2 .column2:hover .details {
    bottom: 0;
  }
}
