body {
                display: flex; flex-direction: column; height: 100vh; justify-content: space-between;
}
a{
                text-decoration: none;
                color: #16a34a;
}
footer {
                height: 2.5rem; 
                background-color: #1f2937; 
                color: white; 
                padding: 1rem 1.5rem; 
                display: flex; 
                
                justify-content: space-between; 
                align-items: center;  
                margin-top: auto;
}

header {
                display: flex; 
                justify-content: space-between; 
                align-items: center; 
                padding: 0.5rem; 
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
                background-color: white;
}


.title-header
{
    color: #16a34a; font-size: 1.5rem; font-weight: bold;
}

.prelogo
{
    transition: all 0.15s ease-in-out; border: 2px solid rgba(22, 163, 74, 0.5); 
}

.logodef
{
    display: block; transform: translateY(0);
}

.logo2
{
    width: 2rem; height: 2rem;
}


.footer-title
{
    text-align: center; font-size: 0.875rem;
}

.redes
{
    display: flex; justify-content: center; gap: 1rem; margin-top: 0.5rem;
}

.redes > li {
    list-style-type: none;
}

.red-item
{
    color: inherit; font-size: 0.875rem; transition: color 0.15s ease-in-out;
}

header {
                display: flex; 
                justify-content: space-between; 
                align-items: center; 
                padding: 0.5rem; 
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
                background-color: white;
}

.main-frame {
                margin: 0.5rem auto;
                height: auto; 
                width: 91.666667%; 
                max-width: 66.666667%;
}

#embedIframe  {
                width: 100%; 
                aspect-ratio: 16/9;
}

#btnIframe {
    background-color: #16a34a; 
    color: white; 
    padding: 0.25rem 0.5rem; 
    border-radius: 0.5rem; 
    margin-top: 1rem; 
    margin-bottom: 0.5rem; 
    width: 100%; 
    transition: background-color 0.3s;
    border: none; /* Quita cualquier borde */
    box-shadow: none; /* Por si acaso hay alguna sombra */
}

#btnIframe:hover {
    background-color: #15803d;
    cursor: pointer;
}
.subiframe
{
    display: flex; flex-direction: column; align-items: center; border-radius: 1rem; width: 100%; margin: 20px auto; margin-bottom: 1rem; padding: 0.25rem; background-color: #e5e7eb;
}

.preframe
{
    border-radius: 0.5rem; position: relative; overflow: hidden; width: 100%;
}

.centerfull
{
    width: 100%; text-align: center;
}

.title
{
    color:#16a34a; font-size: 1.75rem; font-weight: bold;
}


.margin-top-2
{
    margin-top:2.5rem;
}

@media (max-width: 768px) {
                .main-frame {
                                max-width: 100%;
                }
                #embedIframe  {
                                
                                width: 100%; 
                }
}
/* =========================
   BOTÓN TELEGRAM ICONO
========================= */
.telegram-float-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #229ED9;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 8px 22px rgba(34,158,217,.45);
  z-index: 9999;

  transition: transform .2s ease, box-shadow .2s ease;
}

.telegram-float-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(34,158,217,.6);
}

.telegram-float-icon svg {
  width: 30px;
  height: 30px;
}

/* =========================
   BOTÓN TELEGRAM TEXTO
========================= */
.telegram-float-text {
  position: fixed;
  bottom: 20px;
  right: 90px; /* separado del icono */

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 18px 12px 12px;
  background: linear-gradient(135deg, #229ED9, #1c8dc9);
  color: #fff;

  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;

  box-shadow: 0 8px 22px rgba(34,158,217,.45);
  z-index: 9999;

  transition: transform .2s ease, box-shadow .2s ease;
}

.telegram-float-text:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 12px 28px rgba(34,158,217,.6);
}

.tg-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #229ED9;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tg-icon-wrap svg {
  width: 26px;
  height: 26px;
}

/* 📱 MÓVIL */
@media (max-width: 480px) {
  .telegram-float-icon {
    width: 48px;
    height: 48px;
    bottom: 14px;
    right: 14px;
  }

  .telegram-float-icon svg {
    width: 26px;
    height: 26px;
  }

  .telegram-float-text {
    bottom: 14px;
    right: 72px;
    padding: 10px 14px 10px 10px;
    font-size: 14px;
  }

  .tg-icon-wrap {
    width: 38px;
    height: 38px;
  }
}
