body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    width: 100vw;
    overflow: hidden;
    background-color: white;
}

html {
    min-height: -webkit-fill-available;
}

.siteContainer {
    width: 100%;
    max-width: none;
    margin: 0;
}

html,
body,
.siteContainer {
    height: 100%;
}

.topBar,
.timelineProgress {
    width: 90%;
    max-width: 1400px;
    background-color: white;
}

.topBar {
    padding-top: 48px;
    margin-top: 0;
}

.menu.inactive li {
    display: none !important;
}

.menu.inactive #goBackContainer {
    display: inline-block !important;
}

.fullScreenContainer {
    width: 100vw;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9999;
    background: black;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullScreenContainer.active {
    opacity: 1;
    pointer-events: all;
}

.fullScreenContainer img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.fullScreenContainer i {
    position: absolute;
    top: 40px;
    right: 40px;
    filter: invert();
    transition: 0.2s;
    cursor: pointer;
    z-index: 99999;
}

.fullScreenContainer i:hover {
    opacity: 0.6;
}

.content {
    flex: 1;
    overflow: hidden;
    position: relative;
    margin: 0px 0 30px;
    display: flex;
    align-items: center;
}

.timeline {
    width: max-content;
    height: 100%;
    max-height: 600px;
    position: relative;
    display: flex;
}

.timelineIntro {
    width: 710px;
    max-height: 600px;
    margin: 0 100px;
    display: flex;
    flex-direction: column;
    /*    justify-content: center;*/
}

.timelineIntro p {
    line-height: 1.4 !important;
    width: 90%;
}

.timelineIntro h1 {
    display: block;
    font-size: 70px;
}

.timelineIntro a {
    display: inline-block;
    color: black;
    font-weight: bold;
    text-decoration: underline;
    transition: 0.2s;
}

.timelineIntro a:hover {
    opacity: 0.6;
}

.timelineFilter {
    margin-top: 38px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.timelineFilter button {
    padding: 8px 16px;
    width: auto;
    max-width: 240px;
    background-color: transparent;
    color: black;
    border: 2px solid black;
    border-radius: 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    transition: 0.2s;
    cursor: pointer;
    font-family: 'Europa', Arial, sans-serif;
    font-size: 15px;
}

#item3 {
    max-width: 200px;
}

#item4 {
    max-width: 180px;
}

.timelineFilter button:hover,
.timelineFilter button.active {
    color: white;
    background-color: black;
}

.timelineItem {
    background-color: white;
    height: max-content;
    max-height: 480px;
    width: 300px;
    max-width: max-content;
    margin-right: 60px;
    border: 2px solid var(--morado);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.timelineItem.bot {
    align-self: flex-end;
}

.itemImage,
.itemBox {
    position: relative;
}

.itemImage {
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.itemImage img {
    width: 100%;
    left: 0;
    top: 0;
    display: none;
}

.itemImage > img:first-of-type {
    display: block;
}

.itemImage.bookDesc {
    border-radius: 8px;
}

.itemImage.bookDesc img {
    border-bottom: 0;
}

.zoomButton:hover {
    background-color: black;
    color: white;
}

.gg-expand {
    position: absolute !important;
    right: 50% !important;
    top: 48% !important;
    width: 8px !important;
    height: 8px !important;
    border-bottom: 2px solid !important;
    border-left: 2px solid !important;
}

.gg-expand::before {
    width: 8px !important;
    height: 8px !important;
    left: 5px !important;
    top: -7px !important;
}

.gg-expand::after {
    bottom: 4px !important;
    width: 18px !important;
    height: 2px !important;
    left: -4px !important;
    background: transparent !important;
}

.itemBox {
    min-height: max-content;
    display: flex;
    padding: 15px 20px;
    justify-content: space-between;
    border-top: 2px solid var(--morado);
}

.readMore {
    height: max-content;
}

.readMore.active .gg-add::after {
    opacity: 0;
    transition: 0.2s;
}

.readMore i {
    cursor: pointer;
    transition: 0.2s;
    border-color: var(--morado);
}

.readMore:hover i {
    background-color: black;
    color: white;
    border-color: black;
}

.gg-add {
    width: 36px !important;
    height: 36px !important;
    border-radius: 22px !important;
}

.gg-add::after,
.gg-add::before {
    width: 20px !important;
    height: 2px !important;
    top: 47% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

.gg-add::after {
    width: 2px !important;
    height: 20px !important;
    top: 50% !important;
    left: 47% !important;
    transform: translateY(-50%) !important;
}

.carrousel {
    position: absolute;
    width: 100%;
    bottom: 0;
    padding-bottom: 10px;
    text-align: center;
}

.gg-shape-circle {
    width: 7px !important;
    height: 7px !important;
    border: 2px solid var(--morado) !important;
    display: inline-block !important;
    margin-right: 5px !important;
    transition: 0.2s !important;
}

.carrousel > .gg-shape-circle:last-child {
    margin-right: 0 !important;
}

.carrousel > .gg-shape-circle:first-child,
.carrousel > .gg-shape-circle.fill {
    background: var(--morado) !important;
}

.itemBox h2 {
    font-size: 22px;
    font-weight: bold;
    width: 90%;
}

.itemBox .text {
    width: 90%;
}

.itemBox .yearBox {
    font-size: 15px;
    margin-top: 6px;
    opacity: 0.6;
}

.timelineProgress {
    height: 70px;
    margin: auto;
    pointer-events: none;
    background-color: white;
    z-index: 999;
}

.chronoProgress {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.chronoBar {
    height: 2px;
    width: 100%;
    background-color: black;
    opacity: 0.3;
}

.chronoFill {
    height: 2px;
    width: 0%;
    background-color: black;
    transition: 0.5s;
    position: absolute;
}

.chronoBox {
    float: left;
    width: 0%;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    transition: 0.5s;
}


.chronoYear {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(50%);
}

.chronoYear .yearBox {
    margin-top: -3px;
}

.timelineFilter-mobile {
    display: none;
    background-color: white;
}

.info {
    position: fixed;
    z-index: 299;
    top: 0px;
    padding-top: 145px;
    width: 100%;
    height: 84%;
    background: white;
    overflow: scroll;
    transition: 0.2s;
    opacity: 0;
    pointer-events: none;
}

.info.active {
    opacity: 1;
    pointer-events: all;
}

#goBackContainer {
    display: none;
}

#goBackContainer.active {
    display: block;
}

.goBack {
    display: flex;
    align-items: baseline;
    transition: 0.2s;
}

.goBack.active {
    display: flex;
}

.goBack i {
    align-self: center;
}

.infoContainer {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: auto;
    padding: 0 0 50px;
}

.bookInfo {
    width: 30%;
    position: relative;
}

.bookInfo:last-of-type {
    padding-bottom: 200px;
}

.bookInfo h2 {
    font-size: 22px;
    font-weight: bold;
    color: var(--morado);
    margin-bottom: 10px;
}

.bookInfo p.sub {
    font-size: 17px;
    font-weight: bold;
    line-height: 1.5;
}

.bookInfo p {
    font-size: 17px;
    cursor: auto;
}

.bookInfo img {
    object-fit: contain;
    width: 100%;
}

hr {
    width: 50px;
    height: 2px;
    border-width: 0;
    color: var(--morado);
    background-color: var(--morado);
    margin: 40px 0;
}

.infoButtons {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.infoButton {
    border: 2px solid var(--morado);
    width: 214px;
    text-align: center;
    padding: 10px 0px;
    margin-bottom: 10px;
    border-radius: 50px;
    color: var(--morado);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.2s;
    cursor: pointer;
}

.infoButton:hover {
    color: white;
    background-color: var(--morado);
}

.zoomButton {
    top: 0;
    right: 0;
    position: absolute;
    margin: 20px;
    padding: 18px;
    color: white;
    background-color: var(--morado);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.2s;
}

.zoomButton:hover {
    background-color: black;
    color: white;
}

.gg-expand {
    position: absolute !important;
    right: 50% !important;
    top: 48% !important;
    width: 8px !important;
    height: 8px !important;
    border-bottom: 2px solid !important;
    border-left: 2px solid !important;
}

.gg-expand::before {
    width: 8px !important;
    height: 8px !important;
    left: 5px !important;
    top: -7px !important;
}

.gg-expand::after {
    bottom: 4px !important;
    width: 18px !important;
    height: 2px !important;
    left: -4px !important;
    background: transparent !important;
}

#hrTablet,
#hrMobile {
    display: none;
}

#bookDescription {
    padding-bottom: 100px;
}


/************* MEDIA QUERIES *************/


@media (max-width: 1100px) {
    .timelineIntro {
        margin: 0 80px;
    }

    .timelineIntro h1 {
        font-size: 64px;
    }
}

@media (max-width: 1024px) {

    #bookDescription {
        padding-bottom: 0;
    }

    .topBar {
        padding-top: 34px;
    }

    .mobileMenu.inactive {
        display: none;
    }

    .timelineIntro {
        margin: 0 60px;
    }

    .timelineItem {
        margin-right: 40px;
    }

    .timelineIntro h1 {
        font-size: 56px;
    }

    .introLogos {
        max-width: 300px;
    }

    .introLogos img {
        max-height: 60px;
    }

    .infoContainer {
        flex-wrap: wrap;
    }

    .bookInfo {
        width: 47.5%;
    }

    #hrTablet {
        display: block;
        width: 100%;
    }

    .info {
        padding-top: 130px;
    }
}

@media (max-width: 767px) {

    .timelineIntro {
        width: 690px;
        margin-left: 40px;
    }

    .timelineItem {
        margin-right: 30px;
    }

    .timelineIntro h1 {
        font-size: 48px;
    }
}

@media (max-width: 656px) {
    .topBar {
        padding-top: 30px;
    }

    .info {
        padding-top: 115px;
    }

    .content {
        margin: 0;
        overflow: unset;
        display: block;
    }

    body {
        overflow: auto;
    }

    html {
        overflow: scroll;
    }

    .timeline {
        width: 100%;
        height: max-content;
        max-height: none;
        margin-top: 30px;
        display: block;
        padding-bottom: 100px;
        position: relative;
    }

    .timelineIntro,
    .timelineItem {
        margin: 0;
        width: 90%;
        margin: auto;
        margin-bottom: 30px;
    }

    .timelineIntro {
        max-height: none;
    }

    .timelineIntro p {
        width: 100%;
    }

    .timelineItem {
        max-width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

    .itemBox {
        padding: 20px 28px;
    }

    .description {
        font-size: 19px;
    }

    .readMore,
    .zoomButton,
    .carrousel {
        transform: scale(1.2);
    }

    .timelineProgress {
        height: max-content;
        position: fixed;
        bottom: 0;
        width: 90%;
        padding: 10px 5%;
        display: flex;
        transform: translateY(100%);
        transition: 0.3s;
    }

    .timelineProgress .chronoProgress {
        width: 100%;
        display: flex;
        align-items: center;
        margin-left: 30px;
    }

    .timelineProgress .chronoYear {
        display: block;
        transform: translateX(0%);
        margin-top: 0;
    }

    .chronoBox {
        order: -1;
        float: none;
        width: auto;
        display: block;
        transition: 0.5s;
    }

    .chronoBox i {
        display: none;
    }

    .timelineIntro h1 {
        font-size: 50px;
        margin-bottom: 30px;
    }

    .itemBox h2 {
        font-size: 24px;
    }

    .itemBox .yearBox {
        font-size: 17px;
    }

    .timelineFilter {
        display: none;
    }

    .timelineFilter-mobile {
        display: block;
        width: 90%;
        margin: auto;
        margin-bottom: 20px;
        overflow: hidden;
        overflow-x: scroll;
    }

    .apartados .apartadoButtons {
        width: 320%;
        text-align: center;
    }

    .apartados .apartado {
        font-size: 14px;
        padding: 10px;
    }

    .fullScreenContainer img {
        width: 100%;
        height: 100%;
    }

    .introLogos {
        max-width: 250px;
    }

    .introLogos img {
        max-height: 50px;
    }

    .info {
        height: 100%;
        padding-bottom: 200px;
    }

    .bookInfo {
        width: 100%;
    }

    #hrMobile {
        display: block;
        width: 100%;
    }

    hr {
        margin-left: auto;
        margin-right: auto;
    }

    .infoButtons {
        align-items: center;
    }

    .infoButton {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    .bookInfo h2 {
        font-size: 25px;
        margin-bottom: 30px;
    }

    ul {
        width: 90%;
        margin: auto;
    }
}

@media (max-width: 440px) {
    .topBar {
        padding-top: 15px;
    }

    .info {
        padding-top: 100px;
    }

    .readMore,
    .zoomButton,
    .carrousel {
        transform: scale(1);
    }

    .itemBox {
        padding: 15px;
    }

    .zoomButton {
        margin: 15px;
    }

    .gg-add::after {
        left: 47% !important;
    }

    .gg-add::before {
        left: 50% !important;
    }

    .gg-expand {
        right: 50% !important;
    }

    .itemBox h2 {
        font-size: 19px;
    }

    .itemBox .yearBox {
        font-size: 14px;
    }

    .description {
        font-size: 15px;
    }

    .timelineIntro h1 {
        font-size: 44px;
    }

    .introLogos {
        max-width: 90%;
        padding-right: 5%;
        padding-bottom: 5%;
        padding-left: 5%;
    }

    .introLogos img {
        max-height: 50px;
    }
}

@media (max-width: 320px) {
    .timelineIntro h1 {
        font-size: 40px;
    }

    .info {
        min-width: 300px;
    }
}
