* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

body {
    margin: 3px;    
    background: #000;
    color: hsl(123, 96%, 21%);
    background-color: #0c0c0c;
    font-size: 16px;
    font-family: 'Oswald', sans-serif;
}

body h1{
    text-align: center;
    color: #026821;
}

.nav-banner-princ{
    text-decoration-color: #024a16;
    color: #024a16;
}

header {
    background: #333;
    color: hsl(135, 93%, 23%);
    padding: 10px 0;
}

header h1 {
    margin: 0;
    text-align: center;
}

.nav-datetime {
    font-size: 18px;
    color: rgb(219, 255, 12);
    text-align: center;
    padding: 10px;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #c2ec06;
    text-decoration: none;
}

main {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news {
    color: #026821;
    flex: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

article {
    border: 1px solid #0e0d0d;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
    
    
}

.art-h2{
    justify-content: center;
}

.art-p{
    justify-content: center;
}

.art-btn{
    justify-content: center; 
}

.img-art{
    justify-content: center;
}

article img {
    width: 300px;
    height: 150px;
    border-radius: 5px;
    justify-content: center;
}

aside {
    flex: 1;
    background: #626e56;
    padding: 5px;
    margin-left: 10px;
    margin-right: 28px;    
    border-radius: 5px;
    border: 1px solid #028823;
    text-align: center;
    color: #c4eb3a;    
}

.aside-h1{
    color: #c4eb3a;
}


.art {
    width: 500;
    height: auoto;
    text-align: center;
    color: #ddf194;
    margin: 5px;
    padding: 5px;
    border: #026821;
    background-color: #000;
}

.art-img{
    width: 300px;
    height: 350px;
}



.art-video {
    width: 100%;
    height: auto;
}




.random-news {
    flex-basis: 100%;
    margin-top: 20px;
}

#noticia-aleatoria {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    background: #f9f9f9;
    border-radius: 5px;
}

/**------------------------------------------------------------------*/

/* navegacion*/

.nav-main{
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 20px 0;

}

.nav-brand{
    width: 50px;

}

/*Navegacion Izquierda*/
.nav-main ul {
    display: flex;

}

.nav-main ul li {
    padding: 10px;
}

.nav-main ul li a{
    padding: 2px;
}

.nav-main ul li a:hover {
    border-bottom: 2px solid #fff;
}

.nav-main ul.nav-menu{
    flex: 1;
    margin-left: 20px;
}

.menu-btn{
    position: absolute;
    cursor: pointer;
    top: 15px;
    right: 30px;
    z-index: 2;
    display: none;
}



/*showcase*/



.showcase {
    width: 100%;
    background: red;
    height: 250px;
    background: url(img/showcasevideo.mp4) no-repeat center center/cover;
    padding: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

/*NUEVO SHOW CASE*/

.showcase {
    position: relative;
    width: 100%;
    height: 250px;
    padding: 50px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
}

.showcase-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.7; /* Para darle un efecto translúcido */
}

.showcase h1 {
    color: white;
    z-index: 1;
}


/* social */

.social {
    margin: 10px;
    
}

.social p {
    text-align: center;
    font-size: 15px;
    margin-bottom: 3px;
}

.links {
    display: flex;
    align-items: center;
    justify-content: center;
}

.links a{
    margin: 0 10px;
}

.links a i {
    font-size: 3rem;
    color: #000;
}

/* footer links*/

footer {
    background: #033014;
    color: #c7d407;
    text-align: center;
    padding: 0.5px;    
    width: 100%;
    height: auto;
    bottom: 0;
}

/**/

.footer-links {
    background: #2f3640;
    color: #026821;
    font-size: 12px;
    padding: 35px 0;

}

.footer-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
}


/* footer */


@media (max-width:800px) {

    .showcase {
        height: 200px;
        padding: 40px;
    }
    
    
    .footer-links .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .aside {
        display: none; /* Ocultar el aside en pantallas más pequeñas */
      }


}

@media (max-width:500px) {

    .showcase {
        height: 150px;
        padding: 30px;
    }

    
    .footer-links .footer-container {
        grid-template-columns: 1fr;
    }

    .aside {
        display: none; /* Ocultar el aside en pantallas más pequeñas */
      }
}
    
/*AGREGANDO ETIQUETA Y LIKE ESTYLE EN BTN*/

/* Estilos para la sección de likes */
.like-section {
    margin-top: 10px;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    border-radius: 5px;
    color: #fff;
}

.like-section button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.like-section button:hover {
    color: #c7d407;
}

.like-section #like-count {
    font-weight: bold;
}

/*LEER MAS BUTTON*/

/* Estilo para el botón "Leer más" */
button {
    background-color: #026821;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Cambia el color del fondo al pasar el mouse */
button:hover {
    background-color: #024a16;
}

/* Estilo para el enlace dentro del botón */
button a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Cambia el color del enlace al pasar el mouse */
button a:hover {
    color: #c7d407;
}


