/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --negro: #444;
  --verde-primario: #69B42E;
  --verde-secundario: #6f8265;
}

/*--------------------------------------------------------------
# General cards
--------------------------------------------------------------*/
.process-row {
  font-family: "Raleway", sans-serif;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(1, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(auto, max-content);
  /* Espacio entre las cards */
  padding-left: 7%;
}

.traineeship .activity {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 250px;
  margin: 15px 10px 10px;
  background: rgb(105, 180, 46);
  background: linear-gradient(86deg, rgba(105, 180, 46, 1) 0%, rgba(92, 190, 15, 1) 0%, rgba(80, 157, 19, 1) 100%);
  -webkit-box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .3);
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, .3);
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  overflow: hidden;
}

.animate-from-bottom__0 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: .5s;
  animation-duration: .5s;
}

.animate-from-bottom__1 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: .8s;
  animation-duration: .8s;
}

.animate-from-bottom__2 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
}

/* .animate-from-bottom__3 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s
}

.animate-from-bottom__4 {
  -webkit-animation-name: from-left;
  animation-name: from-left;
  -webkit-animation-duration: 1.2s;
  animation-duration: 1.2s
} */

.traineeship .activity .relative-block {
  width: 100%;
  min-height: 350px;
}

@-webkit-keyframes from-left {
  from {
    -webkit-transform: translateY(50px);
    transform: translateY(50px)
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
}

@keyframes from-left {
  from {
    -webkit-transform: translateY(50px);
    transform: translateY(50px)
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0)
  }
}

.relative-block {
  position: relative;
}

.activity-icon {
  position: absolute;
  bottom: 0;
  right: 0;
}

.activity-icon img {
  width: 50%;
  float: right;
}

.traineeship .inactive {
  padding: 20px;
}

.traineeship .inactive .title {
  border-bottom: 3px solid var(--verde-primario);
  padding-bottom: 14px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 28px;
}

.traineeship .activity .active {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  height: auto;
  min-height: 100%;
  padding: 25px 30px 50px;
}

.traineeship .activity .active .title {
  font-family: "Raleway", sans-serif;
  color: var(--verde-primario);
  font-size: 22px;
  font-weight: 600;
  line-height: 32px;
}

.traineeship .activity .active .sub-title {
  font-family: "Open Sans", sans-serif;
  text-align: justify !important;
  margin-top: 10px;
  color: #616161;
  font-size: 16px;
  line-height: 28px;
  text-align: left;
}

.traineeship .activity .active .ul {
  margin-bottom: 45px;
  margin-top: 10px;
}

.traineeship .activity .active .li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 30px;
  color: #616161;
  font-size: 16px;
  line-height: 26px;
}

.traineeship .activity .active .li:before {
  position: absolute;
  content: "\f00c";
  color: var(--verde-secundario);
  font-family: FontAwesome;
  display: inline-block;
  margin-left: -1.6em;
  width: 22px;
}

.traineeship .activity:hover {
  width: 558px;
  background:transparent;
}

.traineeship .activity:hover .inactive {
  display: none;
}

.traineeship .activity:hover .active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 340px;
}

@media only screen and (max-width: 1000px) {
  .process-row {
    grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
    gap: 15px; /* Espacio entre las cards */
    padding: 20px;
    padding-left: 7%;
  }

  .traineeship .inactive .title {
    font-size: 1.3rem;
    color: #fff;
  }

  .traineeship .activity {
    width: 93%;
  }

  .traineeship .activity .active {
    width: 93%;
  }

  .traineeship .activity .active .sub-title {
    font-size: 1em;
    text-align: justify;
  }

  .traineeship .activity .active .title {
    font-size: 1.2rem;
    font-weight: bold;
  }

  .traineeship .activity .relative-block {
    min-height: 100%;
  }

  .traineeship .activity:hover {
    width: 98%;
    margin-left: 2px;
    margin-right: 10px;
  }

}

@media only screen and (max-width: 400px) {
  .activity-icon img {
    width: 30%;
  }

  .traineeship .activity .active .sub-title {
    font-size: .7em;
    text-align: justify;
  }
}

/*--------------------------------------------------------------
# Special cards
--------------------------------------------------------------*/
@media only screen and (min-width:1000px) {
  .columns-2{
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 200px !important;
    padding-right: 7rem;
  }
}



.traineeship .activity:hover .activity-icon img{
  content: url('../img/NCC_logo_verde.png');
}