@import url('../source/devsIMG.css');
@import url('../source/devsCOLOR.css');

.DelemitedAreaDevelopersTEAMS {
  background: var(--greatGREY) !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.userTEAMS {
  background: black;
  width: calc(100% - (2.5% * 2) - (20px * 2) - (5px * 2));
  height: 250px;
  padding: 20px; margin: 2.5%;
  position: relative;
  border: 5px solid white;
  border-radius: 20px;
  box-shadow: var(--boxshadowOFFICIAL);
  color: black;
}
.userTEAMS * { transition: 0.2s ease-in-out; }
.userTEAMS div {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 50%;
  border-radius: 14px 14px 0 0;
}
.userTEAMS .hideBackgroundB {
  top: auto !important; bottom: 0;
  background: white;
  border-radius: 0 0 20px 20px !important;
}
.userTEAMS img {
  position: absolute;
  top: 8%; left: auto;
  border-radius: 50%;
  border: 4px solid white;
  background-color: white;
  width: 150px; height: 150px;
  pointer-events: none;
  user-select: none;
}

.userTEAMS h1 {
  position: absolute;
  bottom: 35px;
  transform: translateX(0);
}

.userTEAMS p {
  position: absolute;
  bottom: 20px;
  transform: translateX(0);
}

.userTEAMS h5, .userTEAMS a {
  border: none;
  padding: 5px 10px; margin: 0;
  background: white;
  box-shadow: var(--boxshadowOFFICIAL);
  border-radius: 7px;
  position: absolute;
  top: 20px; right: 20px;
  color: black;
}

.userTEAMS h5 span:not(#letCLSIconTEAMS), .userTEAMS a span:not(#letCLSIconTEAMS) {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  user-select: all;
  padding-left: 0;
} .userTEAMS a span:not(#letCLSIconTEAMS) {
  cursor: pointer;
  user-select: text;
}

.userTEAMS:hover h5, .userTEAMS:hover a {
  cursor: text;
  box-shadow: none;
} .userTEAMS:hover img {
  margin-right: 50%;
  margin-top: 10%;
}
.userTEAMS:hover h1 { transform: translateX(80px); }
.userTEAMS:hover p { transform: translateX(40px); }
.userTEAMS:hover h5 span:not(#letCLSIconTEAMS), .userTEAMS:hover a span:not(#letCLSIconTEAMS) {
  max-width: 500px;
  opacity: 1;
  padding-left: 5px;
}

@media screen and (max-width: 1280px) {
  .userTEAMS:hover h1 { transform: translateX(40px) translateY(20px); }
  .userTEAMS:hover p { transform: translateY(20px); }
}

@media screen and (max-width: 1132px) {
  .userTEAMS:hover img {
    margin-right: 35%;
    margin-top: 10%;
  }
}

@media screen and (max-width:990px) {
  .DelemitedAreaDevelopersTEAMS { grid-template-columns: repeat(2, 1fr); }
  .userTEAMS:hover img {
    margin-right: 50%;
    margin-top: 10%;
  }
  .userTEAMS:hover h1 { transform: translateX(80px); }
  .userTEAMS:hover p { transform: translateX(40px); }
}

@media screen and (max-width:865px) {
  .DelemitedAreaDevelopersTEAMS {
    grid-template-columns: repeat(1, 1fr);
  }
  .DelemitedAreaDevelopersTEAMS {
    width: 100% !important;
  }
  .userTEAMS:hover img {
    margin-top: 5%;
    transform: scale(1.5);
  }
  .userTEAMS:hover h1 { transform: translateX(120px); }
  .userTEAMS:hover p { transform: translateX(80px); }
}

@media screen and (max-width: 544px) {
  .userTEAMS:hover img {
    margin-top: 5%;
    transform: scale(1.2);
  }
  .userTEAMS:hover h1 { transform: translateX(80px); }
  .userTEAMS:hover p { transform: translateX(40px); }
}

@media screen and (max-width: 426px) {
  .userTEAMS:hover img {
    margin-top: 10%;
    transform: scale(1.1);
  }
}

@media screen and (max-width: 394px) {
  .userTEAMS:hover img {
    margin-top: 12%;
    transform: scale(1);
  }
  .userTEAMS:hover h1 { transform: translateY(30px) translateX(60px); }
  .userTEAMS:hover p { transform: translateY(30px); }
}

@media screen and (max-width:360px) {
  .userTEAMS h1 {
    font-size: 24px;
    bottom: 50px;
  }
}

@media screen and (max-width: 334px) {
    .userTEAMS:hover img {
      margin-right: 35%;
    }
  .userTEAMS:hover h1 { transform: translateY(15px) translateX(60px); }
  .userTEAMS:hover p { transform: translateY(15px); }
}

@media screen and (max-width:290px) {
    .userTEAMS p {
      font-size: 12px;
      bottom: 35px;
    }
}
