* {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
                font-family: arial, Arial, Helvetica, sans-serif;
}

a{
    text-decoration: none;
    color: #fff;
}

#title-agenda
{
    font-size: 1.25rem; 
    font-weight: inherit;
}

.toggle-submenu {
	border-radius: none !important;
}

.section-first
{
    text-align: center; 
    padding-top: 20px; 
    padding-left: 8px; 
    padding-right: 8px; 
    flex-grow: 1;
}

.section-first h1 {
    color: white;
    font-weight: inherit;
    font-size: 1.875rem;
    line-height: 2.25rem
}

.section-first p {
    color: white; 
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.btnCanal {
    width: 100%; 
    background-color: #2ba446e8; 
    color: white; 
    padding: 0.5rem 1rem; 
    border-radius: 0.25rem; 
    margin-top: 1rem;
    border-width: 0px;
}

.main {
    margin: 0 auto; 
    height: auto; 
    width: 66.666667%; 
    max-width: 80%;
}


footer {
    background: linear-gradient(to bottom, #111827, #2ba446e8);
  text-align: center;
  padding: 1rem;
  margin-top: auto;
}

body {
    --tw-bg-opacity: 1;
    background-color: rgba(17, 24, 39, var(--tw-bg-opacity));
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}

header {
    background: linear-gradient(to bottom, #2ba446e8, #111827);
    color: #fff;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    
    & a {
        padding: 2px; 
        text-transform: uppercase;
        font-size: 24px; 
        letter-spacing: 0.025em; 
        font-weight: 700;
    }
}


@font-face {
        font-family: 'Galano';
        src: url('../font/galano.otf') format('opentype');
    }

header h1 a{
        font-family: 'Galano', sans-serif;
    }


.subitem {
                background: #323232;
    margin: 8px 0;
    height: 2.8em;
    line-height: 2.8em;
    text-indent: 3.75em;
    display: block;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    border-radius: 10px;
    margin: 10px 5px 10px 0;
}

#accordion li {
                list-style-type: none;
}

#wraper {
    width: 100%;
    margin-top: 2px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    
    font-size: 0.75rem; 
    margin-bottom: 1.25rem; 
    height: 50%; 
    
    flex-direction: column;
}

#menu {
    margin-top: 0%;
    padding-top: 0%;
    /*  display: -webkit-box;*/
      display: -moz-box;
      display: -ms-flexbox;
      /*display: -webkit-flex;*/
      /*display: flex;*/
      -webkit-box-pack: justify;
      -moz-box-pack: justify;
      -ms-flex-pack: justify;
      -webkit-justify-content: space-between;
      justify-content: space-between;
      -webkit-box-align: center;
      -moz-box-align: center;
      -ms-flex-align: center;
      -webkit-align-items: center;
      align-items: center;
      padding: 0;
      background-color: #fff;
      -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
      -moz-box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
      box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
      

}

#menu > li
{
border-bottom: #e5e7eb 1px solid;
}


#menu > li:hover
{
background-color: #f9fbfc !important;
}

.submenu > a > li:hover {
color: #2ba446e8;
}

.submenu:not(:first-child) {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;

border-top-width: 1px !important;
border-bottom-width: 0px !important;
}


.canal-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1rem;
}

@keyframes gradientBorder {
    0% {
        border-image-source: linear-gradient(to right, red, black);
    }
    50% {
        border-image-source: linear-gradient(to bottom, red, black);
    }
    100% {
        border-image-source: linear-gradient(to left, red, black);
    }
}


.main-container {
    width: 100%;
    padding: 20px;
    align-items: center;
}

.video-container {
    width: 100%;
    height: auto;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.barra-agenda
{
    background: linear-gradient(to right, #2ba446e8, #111827); 
    color: white; 
    text-align: center; 
    padding: 0.5rem; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    border-radius: 0.5rem; 
    flex-grow: 1;
}

.logo-canal
{
  width: 125px;
  height: 125px;
}

@media (min-width: 576px) {
    .main-container {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .main-container {
        width: 100%;
    }

    #menu {
        padding: 0 5px;
    }

}

@media (min-width: 992px) {
    .main-container {
        width: 100%;
    }
}

@media (min-width: 1200px) {
    .main-container {
        width: 80%;
    }
}

.hover\:shadow-red-glow:hover {
    box-shadow: 0 0 10px 2px rgba(255, 0, 0, 0.5);
    animation: gradientBorder 2s infinite;
    & img {
        filter: grayscale(100%);
        transform: scale(1.1);
    }
}

.grid-container {
    display: grid;
    gap: 1rem; /* Adjust the gap as needed */
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

@media (min-width: 640px) { /* sm */
     .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) { /* md */
     .grid-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .logo-canal
  {
    width: 125px;
    height: 125px;
  }
}

@media (min-width: 1024px) { /* lg */
     .grid-container {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .logo-canal
    {
        width: 95px !important;
        height: 95px !important;
    }
}


@media (max-width: 768px) {

    .logo-canal
    {
        width: 125px;
        height: 125px;
    }

    .main {
        width: 91.666667%;
        
    }
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    header h1 {
        margin-bottom: 0.5rem;
    }

    header a {
        width: 100%;
        display: flex;
        justify-content: space-between;
        font-size: 16px;
    }

    .section-first > h1
    {
        font-size: 1.2rem;
    }

    .section-first > p
    {
        font-size: 1.0rem;
    }

    #title-agenda {
        font-size: 0.8rem;
        font-weight: small;
    }

    .grid-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* iPhone specific styles */
@media only screen and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 2) {
    #menu {
                                                                    padding: 0 5px;
    }

    .menu-item a {
                                                                    padding: 10px 15px;
                                                                    font-size: 1rem;
    }

    #navbar {
                                                                    flex-direction: column;
    }

    button#menu-toggle {
                                                                    font-size: 1.2rem;
    }

    #iframeVideo {
                    width: 100% !important;
                    height: auto !important;
    }

    .main {
                    max-width: 100% !important;
    }

#embedIframe{
width: 100% !important;
                    height: auto !important;
}

.cards-container {
grid-template-columns: 1fr;
}
}