:root {
    --accent-color: #05a549;
    --accent-light: #ccc;
}

/*html {
   scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}*/

header {
    position: fixed;
    width: 100%;
    background: #FFF;
    z-index: 99;
}

#inicio,
#acerca,
#exposiciones {
    padding-top: 0px;
}

.section {
    scroll-snap-align: start;
    align-items: center;
    justify-content: center;
    scroll-margin-top: 80px;
}

.styled-section {
    border-left: 6px solid #05a549;
    padding-left: 2rem;
}

.floating-frame {
    position: relative;
    background-color: transparent;
    padding: 10px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.floating-frame::after {
    content: "";
    position: absolute;
    bottom: -64px;
    right: 0;
    width: 70%;
    height: 80vh;
    background: white;
    border: 2px solid #05a549;
    z-index: -1;
}

.carousel-inner>.carousel-item {
    height: 600px;
}

.carousel-item>div {
    background-color: transparent;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #555;
}

.caja_inicial2 {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.museo_inicial {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    width: 100%;
    height: 100%;
    position: relative;
}

.museo_inicial div[id^="c"] {
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeIn 2s forwards;
}

#c1 {
    background-image: url('../../assets/img/nueva_agenda_cultural/albatro.JPG');
    animation-delay: 0.3s;
}

#c2 {
    background-image: url('../../assets/img/nueva_agenda_cultural/chocos_3.jpg');
    animation-delay: 0.6s;
}

#c3 {
    background-image: url('../../assets/img/nueva_agenda_cultural/chocos_6.jpg');
    animation-delay: 0.9s;
}

#c4 {
    background-image: url('../../assets/img/nueva_agenda_cultural/danza_flokloorica_1.jpeg');
    animation-delay: 1.2s;
}

#c5 {
    background-image: url('../../assets/img/nueva_agenda_cultural/grabado_chocolates_1.jpeg');
    animation-delay: 1.5s;
}

#c6 {
    background-image: url('../../assets/img/nueva_agenda_cultural/isla_de_enmedio2.jpg');
    animation-delay: 1.8s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.mascara {
    position: absolute;
    top: 0;
    left: 0;
    width: 33.3333%;
    height: 50%;
    background-color: rgba(0, 0, 0, 1);
}

#mcr1 {
    left: 0;
    top: 0;
}

#mcr2 {
    left: 33.33%;
    top: 0;
}

#mcr3 {
    left: 66.66%;
    top: 0;
}

#mcr4 {
    left: 0;
    top: 50%;
}

#mcr5 {
    left: 33.33%;
    top: 50%;
}

#mcr6 {
    left: 66.66%;
    top: 50%;
}

@keyframes fadeFlash {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.logo_museo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    animation: fadeIn 3s 2s forwards;
    opacity: 0;
}

.logo_museo img {
    max-width: 350px;
}

.scroll-down-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    text-align: center;
}

#go_down i {
    display: block;
    font-size: 1.5rem;
    color: white;
    animation: bounce 2s infinite;
    margin-top: 5px;
}

#go_down {
    text-decoration: none !important;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animate__animated {
    animation-duration: 1.2s !important;
    animation-delay: 0.5s !important;
    opacity: 1;
}

.mascara {
    opacity: 0.5;
    transition: all linear 2s;
}

.mascara.activa {
    opacity: 0;
    transition: all linear 2s;
}

.carousel-inner,
.carousel-item {
    margin: 0;
    padding: 0;
}

:root {
    --surface-color: #fff;
    --curve: 40;
}

* {
    box-sizing: border-box;
}


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 5vw;
    padding: 0;
    list-style-type: none;
}

.card {
    position: relative;
    display: block;
    height: 370px;
    border-radius: calc(var(--curve) * 1px);
    overflow: hidden;
    text-decoration: none;
}

.card__image {
    width: 100%;
    height: auto;
}

.card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    border-radius: calc(var(--curve) * 1px);
    background-color: var(--surface-color);
    transform: translateY(100%);
    transition: 0.2s ease-in-out;
}

.card:hover .card__overlay {
    transform: translateY(0);
}

.card__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2em;
    padding: 2em;
    border-radius: calc(var(--curve) * 1px) 0 0 0;
    background-color: var(--surface-color);
    transform: translateY(-100%);
    transition: 0.2s ease-in-out;
}

.card__arc {
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 99%;
    right: 0;
    z-index: 1;
}

.card__arc path {
    fill: var(--surface-color);
    d: path("M 40 80 c 22 0 40 -22 40 -40 v 40 Z");
}

.card:hover .card__header {
    transform: translateY(0);
}

.card__thumb {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.card__title {
    font-size: 1em;
    margin: 0 0 0.3em;
    color: #6a515e;
}

.card__tagline {
    display: block;
    margin: 1em 0;
    font-size: 0.8em;
    color: #d7bdca;
}

.card__status {
    font-size: 0.8em;
    color: #d7bdca;
}

.card__description {
    padding: 0 2em 2em;
    margin: 0;
    color: #333;
    /*display: -webkit-box;*/
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: 260px;
    font-size: 0.95em;
    overflow-y: auto;
}
.main_title_ac{
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 2.5em;
}
.subtitle_ac{
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
    font-size: 1.75rem;
}