@font-face {
  font-family: 'Montserrat-Regular';
  src: url('../recursos/Montserrat-Regular.ttf') format('opentype');
}

@font-face {
  font-family: 'Montserrat-SemiBold';
  src: url('../recursos/Montserrat-SemiBold.ttf') format('opentype');
}

#temas2 {
  width: 100%;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

#temas2Contenido {
  width: 80%;
  height: auto;
  background-color: white;
}

/*Diseño 1*/
.temas2Item {
  width: 100%;
  margin-bottom: 20px;
}

.imagenconTextoT2 {
  position: relative;
  cursor: pointer;
  width: 100%;
}

#ImagenDiseño1Tema2 {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.superposicionNegraT2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
}

.textoItemT2 {
  padding: 15px;
}

#subTextoT2 {
  font-family: Montserrat-Regular;
  font-size: 1rem;
  color: black;
  text-align: justify;
}

/*Diseño 2*/
.temas2ROW {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.temas2ItemT2D2 {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ImagenconTextoT2D2 {
  position: relative;
  cursor: pointer;
}

#ImagenDiseño2Tema2 {
  width: 100%;
  height: auto;
}

.superposicionNegraT2D2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-align:
    center;
  font-size: 1.2rem;
}

.textoItemT2D2 {
  padding: 15px;
}


/*Diseño 3*/
.temasRowD3 {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.temasItemT2D3 {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ImagenconTextoT2D3 {
  position: relative;
  cursor: pointer;
}

#ImagenDiseño3Tema2 {
  width: 100%;
  height: auto;
}

.superposicionNegraT2D3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
}

.textoItemT2D3 {
  padding: 15px;
}

#subTextoT2D3 {
  flex-direction: Montserrat-Regular;
  font-size: 1rem;
  color: black;
  text-align: justify;
}

/* Teléfonos móviles pequeños */
@media (max-width: 320px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/*Teléfonos móviles medianos*/
@media (min-width: 321px) and (max-width: 375px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/*Teléfonos móviles grnandes*/
@media (min-width: 376px) and (max-width: 425px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/* Tabletas en modo retrato */
@media (min-width: 426px) and (max-width: 768px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/* Tabletas en modo paisaje */
@media (min-width: 769px) and (max-width: 1024px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/* Ordenadores portátiles pequeños */
@media (min-width: 1025px) and (max-width: 1280px) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}

/* Monitores de PC de escritorio */
@media (min-width: 1281px) and (max-width: 1600px) {}

/* Monitores de PC de escritorio grandes */
@media (min-width: 1601px) and (max-width: 1920px) {}

/* Televisores y proyectores HD */
@media (min-width: 1921px) and (max-width: 2560px) {}

/* Televisores y proyectores 4K */
@media (min-width: 2561px) {}

/* Orientación vertical para tabletas */
@media (min-width: 600px) and (max-width: 1024px) and (orientation: portrait) {

  /*Diseño 3*/
  .temasRowD3 {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-direction: column;
  }
}