* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.5;
  margin: 0 20px;
}
ul {
  padding-left: 20px;
}
.grey-text{
  color: #939395;
}

header,
footer {
  color: white;
  padding: 10px 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 10px;
}
.detalle_main {
  max-width: 1400px;
}

.logo a {
  display: flex;
  text-decoration: none;
}
.logo_text h1 {
  font-weight: 500;
  font-size: 12px;
  line-height: 14.52px;
  color: #2a2a2a;
  margin-left: 10px;
}

.logo_text p {
  font-size: 12px;
  font-weight: 500;
  color: #939395;
  margin-left: 10px;
}

.correo {
  text-decoration: none;
  color: #939395;
  list-style: none;
}

.nav-links {
  list-style: none;
}

.nav-links li {
  display: inline;
  margin-left: 5px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
}

main {
  max-width: 1400px;
  margin: 0 auto;
}

.row {
  margin-bottom: 20px;
  gap: 40px;
}
.row h2 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24.2px;
}
.column {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 30px;
}

.title {
  font-size: 57px;
  font-weight: 700;
  line-height: 70.4px;
  letter-spacing: -2%;
}
.hidden {
  display: none;
}
.section {
  max-width: 1400px;
  margin: 0 auto;
}
.section p {
  font-size: 20px;
  font-weight: 400;
  line-height: 25px;
}

.footer {
  margin-top: 80px;
  margin-bottom: 40px;
  padding-left: 40px;
  padding-right: 40px;
}

.main h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 72px;
  letter-spacing: -1.5%;
  margin-bottom: 20px;
  margin-top: 12px;
}

.about {
  font-weight: 500;
  font-size: 20;
  line-height: 25px;
  margin-bottom: 20px;
}
.about_title {
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 25px !important;
  margin-bottom: 36px !important;
}

.flex {
  display: flex !important;
  align-items: center !important;
}

.header_card {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-left: 10px;
  margin-bottom: 10px;
}

.btn {
  width: 225px;
  height: 60px;
  border-radius: 29.5px;
  padding: 18px 26px;
  font-size: 17px;
  line-height: 23.89px;
  font-weight: 400;
  border: solid 2px #000;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #000;
  color: white;
  border-color: white;
}

.text_new_container {
    max-width: 890px;
    margin: 0 auto;
}
.detalle_text p {
    line-height: 1.5;
}

.detalle img {
  width: 100%;
  height: auto; /* Mantiene la proporciÃ³n de la imagen */
  max-height: 600px;
  border-radius: 20px;
}

.detalle a img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.detalle a img:hover {
  transform: scale(1.05); /* Aumenta ligeramente el tamaÃ±o de la imagen */
  opacity: 0.9; /* Reduce la opacidad un poco */
}

.detalle_text h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 70.4px;
  letter-spacing: -2%;
  margin-top: 40px;
}
.detalle_text h2 {
  font-weight: 500;
  font-size: 20px;
  line-height: 24.2px;
  margin-top: 20px;
  margin-bottom: 10px;
}
.detalle_text p {
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 20px;
}

.detalle_text p a,
.detalle_text p a:visited,
.text_new_container p a,
.text_new_container p a:visited{
  color:#2a2a2a !important;
}

ul li a, ul li a:visited{
  color:#2a2a2a !important;
}

.column img {
  width: 100%; 
  height: auto; 
  border-radius: 20px; 
  object-fit: cover; 
}

.column a img{
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.column a img:hover {
  transform: scale(1.05); 
  opacity: 0.9; 
}

.experience {
  font-weight: 500;
  font-size: 20px;
  line-height: 24.2px;
}
.experience_cont {
  margin-top: 40px;
}
.experience hr {
  margin-top: 10px;
  border: solid 1px #e8e7ea;
}
.experience_margin {
  margin-top: 20px;
}
.experience_margin p {
  font-weight: 400;
  font-size: 17px;
  line-height: 20.57px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.experience_margin span {
  font-weight: 500;
  font-size: 20px;
  line-height: 24.2px;
  margin-right: 20px;
}

.flex a {
  text-decoration: none;
  color: #000;
  margin-top: 20px;
}

.project {
  margin-top: 80px;
  text-align: center;
}
.detalle_autor p {
  font-size: 17px;
  font-weight: 400;
  line-height: 20.57px;
  color: #939395;
  margin-bottom: 20px;
  margin-top: 40px;
}
.detalle_autor hr {
  border: solid 1px #e8e7ea;
}
.detalle_titulo {
  font-weight: 700 !important;
  font-size: 17px !important;
  line-height: 21.25px !important;
  margin-top: 20px;
}

.project h2 {
  font-weight: 500;
  font-size: 17px;
  line-height: 21.25px;
}
.project h1 {
  font-weight: 700;
  font-size: 45px;
  line-height: 72px;
  letter-spacing: -1.5%;
}
.project_a {
  display: flex;
  justify-content: center;
  column-gap: 1rem;
}

.project_a a {
  text-decoration: none;
  color: #000;
  margin-top: 20px;
}

.btn_project {
  min-width: 120px!important;
  width: auto;
  display: inline-block;
  height: 60px;
  border-radius: 29.5px;
  padding: 18px 32px;
  font-size: 17px;
  line-height: 23.89px;
  font-weight: 400;
  border: solid 2px #000;
  background-color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn_project:hover {
  background-color: #000;
  color: white;
  border-color: white;
}


/* Responsive */

@media (min-width: 1200px) {
  main {
    padding: 0 40px;
  }
  nav {
    padding: 40px;
  }
  .about_title {
    font-size: 32px !important;
    line-height: 40px !important;
  }
  .project h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
  }
  .project h1 {
    font-weight: 700;
    font-size: 124px;
    line-height: 136.4px;
    letter-spacing: -1.5%;
  }

  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    padding-top: 10px;
  }

  .section {
    padding: 0 40px;
  }
  .hidden {
    display: block;
  }
  .header_card {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    margin-left: 10px;
    margin-bottom: 10px;
    justify-content: flex-start;
  }
  .header_card p {
    text-align: right;
  }
  .column img {
    width: 100%;
    height: auto; 
    height: 390px;
    object-fit: cover; 
    border-radius: 20px;
  }

  .column a img {
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
  }

  .column {
    width: 48%;
    border-radius: 5px;
  }

  .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 40px;
  }
  
  .section p {
    font-size: 48px;
    font-weight: 400;
    line-height: 72px;
    letter-spacing: -1.5%;
  }
  
  .title {
    font-size: 124px;
    font-weight: 700;
    line-height: 136.4px;
    letter-spacing: -2%;
  }

  .column {
    width: 100%;
    margin-bottom: 20px;
  }
  .experience_margin p {
    font-weight: 400;
    font-size: 17px;
    line-height: 20.57px;
    display: flex;
    flex-direction: row;
    gap: 0px;
  }
  .detalle_text p, ul {
    max-width: 55dvw;
    font-size: 17px;
  }
}

/********************
New styles
********************/
.image_card {
  background: #f1f1f1;
  margin: 40px 0 40px 0;
  padding: 50px;
  border-radius: 20px;
}
.image_card img {
  border-radius: 0!important;
}
.image_card_row {
  display: flex;
  width:100%;
  column-gap: 3rem;
  justify-content: center;
}
.image_card_green {
  background: #67d071;
}
.image_card_yellow {
  background: #f5e139;
}
.image_card_blue {
  background: #06aeee;
}
.image_card_wabble_grid .image_card_img {
  position: relative;
}
.image_card_wabble_grid .image_card_row_mobile:first-of-type .image_card_img:last-of-type {
  margin-top: 5rem;
}
.image_card_wabble_grid .image_card_row_mobile:last-of-type .image_card_img:last-of-type {
  margin-top: 5rem;
}
@media (min-width: 744px) {
  .image_card_row_mobile {
    display: flex;
    width:100%;
    column-gap: 3rem;
    justify-content: center;
  }
}
@media (max-width: 744px) {
  .image_card_wabble_grid .image_card_img {
    margin-bottom: 1rem;
    margin-top: 0!important;
  }
  .itbid_mobile_image img{
    max-width: 208px;
  }
  .image_card_img{
    margin-top: 1rem;
    text-align: center;
  }
  .image_card_img:first-of-type{
    margin-top: 0!important;
  }
  .image_card_row {
    column-gap: 1rem;
  }
}

/********************
Markoss
********************/
@media only screen and (min-width: 441px) and (max-width: 1024px) {
  .image_card_row {
    column-gap: 1rem;
  }
  .image_card_row_mobile {
    column-gap: 1rem;
  }
}

@media screen and (-webkit-min-device-pixel-ratio:0) and (min-resolution:.001dpcm) {
  /* styles for Safari only */
  .detalle img{
    width: auto;
    max-width: 100%;
  }
}