/* VARIABLES */
:root {
    --white: #FFF;
    --black: #000;
    --grey: #8A8A8A;
    --grey-dark: #444444;
    --grey-light: #F3EFEF;
    --green: #00A03A;
    --orange: #c67802;
}

/* GENERAL */
body {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.1rem;
    animation: fadeIn 2s 1s ease both;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.btn {
    font-weight: 700;
    border-width: 2px;
}

section {
    padding: 4rem 0;
}

@media (max-width: 991.98px) {
    section {
        padding: 2rem 0;
    }
    html {
        font-size: 80%;
    }
    body {
        font-size: 1rem;
    }
}

@keyframes fadeIn {
    0%{opacity: 0;}
    100%{opacity: 1;}
}

/* HEADER */
.header {
    padding: 2rem;
    color: var(--white);
}

.header__dates {
    padding-left: 1rem;
    border-left: 2px solid var(--white);
}

.header__dates h4 {
    margin-bottom: 0;
    line-height: 1.1;
}

@media (max-width: 991.98px) {
    .header {
        padding: 1rem 0;
    }
}

/* FOOTER */
.footer {
    background-color: var(--orange);
    color: var(--white);
    padding: 5rem 2rem;
}

.footer__info {
    display: flex;
    align-items: center;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.footer__info .footer__address {
    padding-left: 1rem;
    border-left: 2px solid var(--white);
    margin-bottom: 0;
}

.footer__info .footer__address p {
    margin-bottom: 0;
}

.footer__info .footer__address a {
   text-decoration: none;
   color: var(--white);
}

.footer__info .footer__address a:hover {
    text-decoration: underline;
}

.footer__social {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}

.footer__social a {
    opacity: .75;
    transition: all .2s ease;
}

.footer__social a:hover {
    opacity: 1;
}

.fooer__social img {
    max-width: 2rem;
}

.post-footer {
    background: var(--black);
    padding: 1rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
}

.post-footer a {
    color: var(--grey);
    text-decoration: none;
    transition: all .2s ease;
    font-size: .8rem;
}

.post-footer a:hover {
    color: var(--white);
}


@media (max-width: 991.98px) {
    .footer {
        padding: 2rem 0;
    }
    .footer__social {
        margin-top: 3rem;
    }
    .footer__info {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 2rem;
    }
}

/* SECTION INTRO */
header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
section.intro {
    position: relative;
    height: 100vh;
    width: 100vw;
    padding: 0;
}

.intro__images {
    position: relative;
    margin: 0 auto;
    width: 100vw;
    height: 100vh;
    /* aspect-ratio: 16/9; */
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: var(--black);
}

.intro__images .image {
    grid-area: 1/1/2/2;
}

.intro__images .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.intro__logo {
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.intro__logo img {
   width: 100%;
   width: 30vw;
   max-width: 25rem;
}



#btn-wrap button:hover {
   color: var(--orange);
   background: var(--white);
}

@media (max-width: 991.98px) {
    .intro__logo {
        left: 50%;
    }
    .intro__logo img {
        width: 80vw;
    }
}



/* .intro__info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    max-width: 50rem;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    filter: drop-shadow(0 0 20px #000000);
} */

.intro__info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    background-color: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.intro__info .btn-outline-light {
    background-color: var(--orange) !important;
    border-color: var(--orange) !important;
}

.intro__info .btn-outline-light:hover {
    background-color: var(--white) !important;
    border-color: var(--white) !important;
}

.intro__info .btn-outline-light > * {
    color: var(--white) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: all .2s ease !important;
}

.intro__info .btn-outline-light:hover > * {
    color: var(--orange) !important;
    background: var(--white) !important;
}

.intro__info > * {
    max-width: 50rem;
}


.intro__info h1 {
    font-size: 1.75rem;
}


/* SECCION PONENCIAS */
.ponencias {
    background-color: #e3dede;
    color: var(--grey-dark);
}

.ponencias h3 {
    color: var(--orange);
}

.ponencias h3 span {
    color: var(--grey);
    font-weight: 400;
}

.ponencias h3 span strong {
    font-weight: 700;
}

.ponencias iframe {
   aspect-ratio: 16/9;
   margin-bottom: 1rem;
}
/* 
.ponencias__thumbs {
   max-height: 30rem;
   overflow: scroll;
   position: relative;
}

.ponencias__thumbs:after {
   content: "";
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   height: 10rem;
   background: linear-gradient(0deg, rgba(227,222,222,1) 0%, rgba(227,222,222,0) 100%);
} */

.ponencias__thumbs ul {
   list-style: none;
   margin: 0;
   padding: 0;
}

.ponencias__thumbs ul li a {
   display: flex;
   align-items: center;
   gap: .75rem;
   margin-bottom: 1rem;
   text-decoration: none;
   color: var(--grey-dark);
}

.ponencias__thumbs ul li img {
   flex: 0 1 7rem;
   width: 7rem;
   aspect-ratio: 16/9;
}

.ponencia__item.active img {
   border: 3px solid var(--orange);
}

.ponencia__item-content {
   opacity: .5;
   transition: all .3s ease;
}

.ponencia__item.active .ponencia__item-content,
.ponencia__item:hover .ponencia__item-content {
   opacity: 1;
}

.ponencias__thumbs ul li h4 {
   margin-bottom: .25rem;
   font-size: 1.3rem;
   line-height: 1.1;
}

.ponencias__thumbs ul li p {
   margin-bottom: 0;
   line-height: 1.1;
}


/* SECCION PONENTES */
.ponentes {
    background-color: var(--grey-light);
    color: var(--grey-dark);
}

.ponentes h3 {
    color: var(--orange);
}

.ponentes h3 span {
    color: var(--grey);
    font-weight: 400;
}

.ponentes h3 span strong {
    font-weight: 700;
}

.ponentes__content {
    max-width: 30rem;
    margin: 0 auto;
    position: relative;
}

.ponentes__info {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    margin-bottom: 2rem;
}

.ponentes__info.active {
    opacity: 1;
}

.ponentes__content i {
    font-weight: 700;
}

.arm {
    position: absolute;
    left: 50%;
    top: 50%;
    width:15%;
    height:1px;
    background-color:transparent;
    transform: scale(1);
}

.arm.active .box img {
    opacity: 1;
    filter: saturate(1);
}
  
.ponentes__wheel {
    position:relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    left:0;
    top: 0;
}

.box {
    position:relative;
    width: min(10vw, 10rem);
    height: min(10vw, 10rem);
    left:100%;
    top: min(-5vw, -5rem);
    cursor: pointer;
}

.box img {
    position: absolute;
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    filter: saturate(0);
    opacity: .4;
    border-radius: 100rem;
}

.arm.active .box:before {
    /* content: url("../img/ponente-bg.png"); */
    content:"";
    background-image: url("../img/ponente-bg.png");
    background-position: center center;
    background-size: cover;
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translateX(-50%) translateY(-50%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% {
        transform: translateX(-50%) translateY(-50%) rotate(0);
    }
    100% {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

@media (max-width: 991.98px) {
    .ponentes__wheel {
        display: none;
    }
    .ponentes__info {
        position: relative;
        opacity: 1;
    }
    .ponentes__content {
        max-width: 100%;
        margin-top: 0;
    }
}


/* SECCION AGENDA */
.agenda {
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/foto-rotonda.jpg');
    background-size: cover;
    background-position: center center;
}
.agenda__title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agenda__title img {
    max-width: 3.5rem;
}

.agenda h3 {
    margin-bottom: 0;
}

.agenda h3 span {
    font-weight: 400;
}

.agenda p {
    margin-bottom: 0;
}

.agenda__content {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    grid-template-rows: repeat(7, auto);
    grid-column-gap: 10px;
    grid-row-gap: 0px;
    max-width: 52rem;
    margin: 2rem auto 2rem auto;
}

.agenda__line {
    grid-area: 1 / 2 / 9 / 3;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    height: 140%;
   transform: translateY(-15%);
   text-align: center;
}

.agenda__stroke {
    width: 2px;
    background-color: var(--white);
    height: 100%;
}

.agenda__item--1 { grid-area: 1 / 3 / 2 / 4; }
.agenda__item--2 { grid-area: 2 / 1 / 3 / 2; }
.agenda__item--3 { grid-area: 3 / 3 / 4 / 4; }
.agenda__item--4 { grid-area: 4 / 1 / 5 / 2; }
.agenda__item--5 { grid-area: 5 / 3 / 6 / 4; }
.agenda__item--6 { grid-area: 6 / 1 / 7 / 2; }
.agenda__item--7 { grid-area: 7 / 3 / 8 / 4; }
.agenda__item--8 { grid-area: 8 / 1 / 9 / 2; }

.agenda__item {
    position: relative;
}

.agenda__item:before {
    content: url("../img/agenda-pin.svg");
    width: 16px;
    height: auto;
    position: absolute;
    top: 0;
    left: -35px;
}

.agenda__item:nth-child(odd) {
    text-align: right;
}

.agenda__item:nth-child(odd):before {
    transform: rotate(180deg);
    right: -35px;
    left: auto;
}

.agenda__item h5 {
    text-transform: uppercase;
    line-height: 1.1;
}

.agenda__item i {
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .agenda h3 {
        margin-bottom: 20px;
    }

    .agenda__item h5 {
        margin-bottom: 5px;
    }

    .agenda__line {
        justify-content: flex-start;
        text-align: left;
        gap: 1rem;
        align-items: flex-start;
        padding-left: 9px;
        height: 120%;
    }

    .agenda__content {
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: repeat(5, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 25px;
        margin: 5rem auto 1rem auto;
    }
    .agenda__line { grid-area: 1 / 1 / 6 / 2; }
    .agenda__item--1 { grid-area: 1 / 2 / 2 / 3; }
    .agenda__item--2 { grid-area: 2 / 2 / 3 / 3; }
    .agenda__item--3 { grid-area: 3 / 2 / 4 / 3; }
    .agenda__item--4 { grid-area: 4 / 2 / 5 / 3; }
    .agenda__item--5 { grid-area: 5 / 2 / 6 / 3; }
    .agenda__item--6 { grid-area: 6 / 2 / 7 / 3; }
    .agenda__item--7 { grid-area: 7 / 2 / 8 / 3; }

    .agenda__item:nth-child(odd) {
        text-align: left;
    }

    .agenda__item:before {
        left: -35px;
    }

    .agenda__item:nth-child(odd):before {
        transform: rotate(0);
        right: auto;
        left: -35px;
    }

}


/* SECCION REAL FABRICA */
.real-fabrica {
    background-color: var(--grey-light);
    color: var(--grey-dark);
}

/* SECCION PRENSA */
.prensa {
    color: var(--white);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../img/foto-puente.jpg');
    background-size: cover;
    background-position: center center;
}

.prensa .btn-light:hover,
.prensa .btn-outline-light:hover {
    color: var(--white);
    background-color: var(--green);
    border-color: var(--green);
}


/* THANK YOU PAGE */
.thank-you {
   min-height: calc(100vh - 220px);
   align-items: center;
   justify-content: center;
   display: flex;
   text-align: center;
   background: var(--grey-light);
}

.thank-you h2 {
   max-width: 25ch;
   margin: 2rem auto;
}

.thank-you img {
   max-width: 25rem;
}

	
/* MEDIA QUERIES */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {}	

/* Extra large devices (extralarge desktops, 1400px and up) */
@media (min-width: 1400px) {}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* Extra large devices (extralarge desktops, 1400px and up) */
@media (max-width: 1399.98px){}