br {
  margin: 0;
}

.works {
  display: flex;
  flex-direction: column;
  justify-items: center;
}

.works-body h2 {
  margin-top: 80px;
}

.works-body {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}


.works-title {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 30px;
  margin: 25px;
}

.work-grid-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
  gap: 20px; 
  margin-bottom: 60px;
}

@media (min-width: 950px) {
  .work-grid-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 40px;
    margin-bottom: 18px;
  }

  .flowReverse {
    flex-direction: row-reverse;
  }
}

.work {
  padding: 0px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 950px) {
  .work {
    width: 50%; /* Ocupa la mitad del espacio */
    padding: 0 20px; /* Padding lateral */
  }
}

.work-date {
  font-size: 28px;
  /* font-weight: bold; */
  color: var(--secundary-color);
}

.work-company {
  font-size: 20px;
  text-transform: uppercase;
  margin-top: 10px;
}

.work-position {
  font-weight: 300;
  font-size: 14x;
  margin-top: 20px;

}

.work-description {
  font-weight: 400;
  font-size: 16px;
  margin-top: 10px;
  line-height: 1.6;
}



.celpc {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 950px) {
  .celpc {
    width: 50%; /* Ocupa la otra mitad */
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.celpcimg {
  width: 80%;
  max-width: 300px;
}

.celpcimg {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.celpcimg:hover {
  filter: brightness(1.15);
  transform: scale(1.03);
}

@media (min-width: 950px) {
  .celpcimg {
    width: 350px
  }
}

.acombo {
  text-align: center;
}



@media (min-width: 950px) {
  br {
    margin: 0;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    grid-template-areas: "uno dos""cuatro tres""cinco seis""ocho siete""nueve diez""doce once";
  }

  .works-title {
    font-size: 35px;
    margin: 35px 0;
  }

  .work-date {
    font-size: 30px;
    margin-top: 0px;
  }

  .work-company {
    font-size: 20px;
  }

  .work-position {
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
  }

  .work-description {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.3;
  }

  .griditem1 {
    grid-area: uno;
    text-align: right;
  }

  .griditem2 {
    display: flex;
    justify-content: left;
  }

  .griditem4 {
    grid-area: cuatro;
    display: flex;
    justify-content: right;
  }

  .griditem5 {

    text-align: right;
  }

  .griditem6 {

    display: flex;
    justify-content: left;
  }

  .griditem8 {
    display: flex;
    justify-content: right;
  }

  .griditem9 {
    text-align: right;
  }

  .griditem10 {
    display: flex;
    justify-content: left;
  }

  .griditem12 {
    display: flex;
    justify-content: right;
  }





}