* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;           
}

html {
    scroll-behavior: smooth;
}

body {
   
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #f2f2f2;
}

a {
    color: black;
    text-decoration: none;
    outline: none;
}

a:hover {
    text-decoration: underline;
}

header{
    width: 100%;
    height: 100px;
    background: #09084C;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 100px;
    position: sticky;
    top:0;
    z-index: 1000;
}

.hamburger{
    display: none;
}

.nav-bar ul{
    display: flex;
}

.nav-bar ul li a{
    display: block;
    color: #fefefe;
    font-size: 20px;
    padding: 20px 30px;
    border-radius: 50px;
    transition: 0.2s;
    margin: 0 20px;
    text-decoration: none;
}

.nav-bar ul li a:hover{
    color:#09084C;
    background: #fefefe;
}

.nav-bar ul li a.active{
    color: #7d6be2;
    background: #fefefe;
}

@media only screen and (max-width: 1320px){
    header{
        padding: 0 30px;
    }
}

@media only screen and (max-width: 1100px){
    header{
        padding: 0 10x;
    }
}

@media only screen and (max-width: 900px){
    .hamburger{
        display: block;
        cursor: pointer;
    }

    .hamburger .line{
        width: 30px;
        height: 3px;
        background: #fefefe;
        margin: 6px 0;
    }

    .nav-bar{
        height: 0;
        position: absolute;
        top: 80px;
        left: 0;
        right: 50;
        width: 100vw;
        background: #09084C;
        transition: 0.5s;
        overflow: hidden;
    }

    .nav-bar.active{
        height: 600px;
    }

    .nav-bar ul{
        display: block;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
    }

    .nav-bar.active ul{
        opacity: 1;
    }

    .nav-bar ul li a{
        margin-bottom: 0px;
        font-size: 20px;
    }
   
    .imagen{
        height: 300px;
        width: 260px;

    }

    .imagen2{
        height: 100px;
        width: 90px;
    }
    .imagen3{
        height: 92px;
        width: 190px;

    }
    .imagen4{
        height: 92px;
        width: 270px;
    }

    .imagen5{
        height: 92px;
        width: 270px;
    }
    
    .imagen6{
        height: 250px;
        width: 270px;
    }

    .imagen7{
        height: 150px;
        width: 300px;
    }
    .imagen8{
        height: 92px;
        width: 300px;
    }

    .imagen9{
        height: 400px;
        width: 270px;
    }

    .imagen10{
        height: 30px;
        width: 270px;
    }
    
    
    .miniatura{
        height: 300px;
        width: 315px;
    }


    
}


.contenedor {
    max-width: 1000px;
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.titulo {
    color: #fff;
    height: 100%;
    padding: 30px;
    text-align: center;
    background: #09084C;  
}

.titulo h1 {
    font-size: 6vh;
}

.titulo a {
    font-size: 2em;
    padding: 10px 40px;
    background: white;
    border-radius: 30px;
    border: black;
    transition: .3s ease-in-out;
}

.titulo a:hover {
    background: #09084C; 
    color: #fff;
}

.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 15vh;
    z-index: 1;
}

.container .card {
    position: relative;
    width: 280px;
    height: 400px;
    margin: 30px;
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    background: rgba(24, 35, 54, 0.8);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.container .card .content {
    padding: 20px;
    text-align: center;
    transition: 0.5s;
}

.container .card .content img {
    position: absolute;
    opacity: 0.2;
    top: -50px;
    right: -50px;
    width: 250px;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.container .card .content h3 {
    font-size: 1.8em;
    color: #fff;
    padding-bottom: 10px;
}

.container .card .content p {
    font-size: 1em;
    color: #fff;
    font-weight: 300;
    padding-bottom: 10px;
}

.container .card .content a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-top: 15px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: .3s ease-in-out;
}

.container .card .content a:hover {
    background: #09084C; 
    color: #fff;
}

main {
    min-height: 100vh;
}

main .contenido p {
    margin-bottom: 20px;
    line-height: 30px;
    color: #525151;
    text-align: justify;
}

main .contenido .titulo1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
    padding-top: 40px;
    text-align: justify; 
}

main .contenido .fecha {
    font-size: 14px;
    color: #B5B5B5;
}

aside {
    min-width: 30%;
    margin: 40px 20px 20px 0;
    height: 100%;
    background: #CC9900;
    padding: 20px;
    border-radius: 15px;
    position: sticky;
    top: 20px;
}

aside .titulo1 {
    font-weight: normal;
    font-size: 24px;
    margin-bottom: 20px;
    color: #f2f2f2;
    text-align: justify; 
}

aside .indice a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
}

.acerca {
    color: #fff;
    min-height: 100%;
    width: 100%;
    padding: 30px;
    text-align: center;
    background: linear-gradient(#09084C, rgb(0, 0, 0)); 
    bottom: 0;
}

.post video {
    width: 100%;
}


.carrusel {
    position: relative;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    padding: 20px;
    text-align: center;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.carrusel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 14px;
    cursor: pointer;
    z-index: 2;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}

.carrusel button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carrusel .prev {
    left: 4px;
    border-radius: 50%;
}

.carrusel .next {
    right: 4px;
    border-radius: 50%;
}

.post video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
