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

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


@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');
}

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

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

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

.popupin {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1101;
  text-align: -webkit-center;
}

.containerC {
  position: relative;
  width: 800px;
  height: 600px;
  background: url(../recursos/FONDO-POP-UP.png) no-repeat bottom left;
  border-radius: 20px;
  overflow: hidden;
  /*left: 26%;*/
  transform: translateY(10%);
  /*margin-top: 1%;*/
}

.circle-img-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 55%;
  border-radius: 0 300px 0 0;
  /* Using border-radius to match the shape */
  overflow: hidden;
  z-index: 2;
}

.circle-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-overlay-container {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 40%;
  z-index: 2;
  text-align: center;
}

.text-overlay-container img {
  width: 100%;
  height: auto;
}

.text-overlay {
  position: absolute;
  top: 44%;
  left: 48%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.text-overlay2 {
  position: absolute;
  top: 51%;
  left: 48%;
  transform: translate(-50%, -50%);
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.text-overlay3 {
  position: absolute;
  top: 68%;
  left: 47%;
  transform: translate(-50%, -50%);

  font-size: 1em;
  text-align: center;
  z-index: 3;
  width: 68%;
  height: 22%;
  /* Ensures the text wraps within 90% of the container width */
  word-wrap: break-word;
  /* Allows long words to break and wrap to the next line */
  line-height: 15px;
}

.close7 {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background-color: rgba(62, 61, 61, 0.721);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  text-align: center;
  line-height: 30px;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
}

.text-overlay {
  position: absolute;
  top: 44%;
  left: 48%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.text-overlay2 {
  position: absolute;
  top: 51%;
  left: 48%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  width: 100%;
  z-index: 3;
}

.text-overlay3 {
  position: absolute;
  top: 68%;
  left: 47%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  text-align: center;
  z-index: 3;
  width: 68%;
  height: 22%;
  word-wrap: break-word;
  line-height: 15px;

}

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

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

  .containerC {
    position: relative;
    width: 350px;
    height: 284px;
    background: url(../recursos/FONDO-POP-UP.png) no-repeat bottom left;
    border-radius: 20px;
    overflow: hidden;
    /*left: 3%;*/
    transform: translateY(10%);
    /*margin-top: 36%;*/
  }

}

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

  .containerC {
    position: relative;
    width: 350px;
    height: 284px;
    background: url(../recursos/FONDO-POP-UP.png) no-repeat bottom left;
    border-radius: 20px;
    overflow: hidden;
    /*left: 3%;*/
    transform: translateY(10%);
   /* margin-top: 36%;*/
  }


}

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

  .containerC {
    position: relative;
    width: 350px;
    height: 284px;
    background: url(../recursos/FONDO-POP-UP.png) no-repeat bottom left;
    border-radius: 20px;
    overflow: hidden;
    /*margin-left: -6%;*/
    transform: translateY(10%);
    /*margin-top: 36%;*/
  }

  .text-overlay {
    position: absolute;
    top: 44%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay2 {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay3 {
    position: absolute;
    top: 68%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    text-align: center;
    z-index: 3;
    width: 68%;
    height: 22%;
    word-wrap: break-word;
    line-height: 12px;
  }

}

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

  .text-overlay {
    position: absolute;
    top: 44%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay2 {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay3 {
    position: absolute;
    top: 68%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    text-align: center;
    z-index: 3;
    width: 68%;
    height: 22%;
    word-wrap: break-word;
    line-height: 20px;
  }

}

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

  .text-overlay3 {
    position: absolute;
    top: 68%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-align: center;
    z-index: 3;
    width: 68%;
    height: 22%;
    word-wrap: break-word;
    line-height: 21px;
  }

  .text-overlay2 {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay {
    position: absolute;
    top: 44%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

}

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

  .text-overlay3 {
    position: absolute;
    top: 68%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-align: center;
    z-index: 3;
    width: 68%;
    height: 22%;
    word-wrap: break-word;
    line-height: 21px;
  }

  .text-overlay2 {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay {
    position: absolute;
    top: 44%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .containerC {
    position: relative;
    width: 800px;
    height: 600px;
    background: url(../recursos/FONDO-POP-UP.png) no-repeat bottom left;
    border-radius: 20px;
    overflow: hidden;
    /*left: 21%;*/
    transform: translateY(10%);
   /* margin-top: -2%;*/
}

  .circle-img-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 55%;
    border-radius: 0 300px 0 0;
    overflow: hidden;
    z-index: 2;
  }

  .circle-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .text-overlay-container {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    z-index: 2;
    text-align: center;
  }

  .text-overlay-container img {
    width: 100%;
    height: auto;
  }

  .close7 {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
    background-color: rgba(62, 61, 61, 0.721);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 30px;
    position: absolute;
    top: 0px;
    right: 0px;
    cursor: pointer;
  }

}

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

  .text-overlay3 {
    position: absolute;
    top: 68%;
    left: 47%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    text-align: center;
    z-index: 3;
    width: 68%;
    height: 22%;
    word-wrap: break-word;
    line-height: 21px;
  }

  .text-overlay2 {
    position: absolute;
    top: 51%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

  .text-overlay {
    position: absolute;
    top: 44%;
    left: 48%;
    transform: translate(-50%, -50%);
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    z-index: 3;
  }

}

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

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