@font-face {
    font-family: "dincondensed";
    src: url("dincondensed.woff2?v=1") format("woff2");
}

@font-face {
    font-family: "willrobinson";
    src: url("willrobinson.woff2?v=1") format("woff2");
}

@keyframes move {
    0% {
        transform: translate3d(var(--xA), var(--yA), 0);
    }

    100% {
        transform: translate3d(var(--xB), var(--yB), 0);
    }
}

.contracted {
    /* pointer-events: none; */
}

.contracted .timeline-title,
.contracted .timeline-title * {
    pointer-events: all;
}

.animate .expanded .o {
    --xA: -3px;
    --yA: -3px;
    --xB: 0px;
    --yB: 1px;
    animation-name: move;
    animation-duration: 2s;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}

.o.zoom {
    transform: scale(2);
    z-index: 24 !important;
}

#b-l19.zoom {
    transform: scale(1.5);
}

.o.image-ball.zoom {
    transform: scale(3);
    z-index: 24 !important;
}

.no-interaction {
    pointer-events: none;
}

#bg-highlight {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.focus #bg-highlight {
    opacity: 1;
    pointer-events: all;
}

#close-bg {
    position: fixed;
    bottom: 50px;
    right: 50px;
    background: none;
    border: none;
    z-index: 12;
}

* {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    user-select: none;
}

html,
body {
    color: #fff;
}

body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    background-image: url('bg2.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

header {
    height: 200px;
    background: rgba(51, 11, 100, 0.5);
    display: flex;
    z-index: 21;
}

#logo {
    width: 130px;
    background: rgba(51, 11, 100, 0.8);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding: 10px 10px;
    backdrop-filter: blur(10px);
}

#logo h1 {
    font-family: 'willrobinson';
    text-align: center;
    font-weight: 400;
    font-size: 45px;
}

#logo h2 {
    font-family: 'dincondensed';
    color: #e7b325;
    font-weight: 400;
    text-align: center;
    font-size: 20px;
}

#title {
    font-family: 'willrobinson';
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

#title h1 {
    font-weight: 400;
    text-align: center;
    font-size: 50px;
}

#title h2 {
    text-align: center;
    font-weight: 400;
    width: 100%;
    color: #d27665;
}

#content-title {
    position: sticky;
    top: 0;
    z-index: 21;
    height: 50px;
    font-family: 'dincondensed';
    display: flex;
    align-items: center;
    justify-content: center;
    background: #463c96;
}

#content-title h2 {
    font-weight: 400;
    white-space: nowrap;
}

#info {
    position: absolute;
    top: 400px;
    width: 70%;
    left: calc(50% + 65px);
    margin-left: -35%;
    font-family: 'dincondensed';
    background: #cbdde6;
    color: #555;
    z-index: 4;
    border-radius: 30px;
    transition: all 0.4s;
}

#info p {
    text-align: center;
    font-size: 23px;
    padding: 0px 50px 50px 50px;
}

#info.hide {
    opacity: 0;
    top: -100vw;
}

#info #arrows {
    display: flex;
    padding: 30px 38px;
    justify-content: space-between;
}

#info #arrows img {
    height: 50px;
}

#content {
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.strip {
    position: absolute;
    background: #131313;
    height: 6100px;
    width: 130px;
}

#years {
    display: flex;
    flex-direction: column;
    padding-top: 600px;
    list-style: none;
}

#years li {
    position: relative;
    border-top: 1px solid #b99317;
    margin-left: 20px;
    height: 420px;
}

.year {
    position: absolute;
    background: #0d1226;
    border: 6px solid #bc5548;
    width: 80px;
    height: 80px;
    border-radius: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'willrobinson';
    font-size: 30px;
    color: #f6c31f;
    top: -45px;
}

#timelines {
    position: absolute;
    width: calc(100% - 130px);
    left: 130px;
    height: 100%;
    display: flex;
}

.timeline {
    flex: 1;
    position: relative;
    transition: all 0.5s ease-out;
}

.timeline.expanded {
    flex: 20;
}

.arrow-right {
    width: 0; 
    height: 0; 
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent; 
    border-left: 50px solid;
    position:absolute;
    top:0;
    right:-55px;
}
.arrow-left {
    width: 0; 
    height: 0; 
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent; 
    border-right: 50px solid; 
    position:absolute;
    top:0;
    left:-55px;
}
.arrow{
    display:none;
}

#top-button{
    position:fixed;
    bottom:100px;
    left:0;
    width:100%;
    height:50px;
    z-index:10;
    padding:0px 300px;
    transition:all 0.4s ease-in-out;
}
#top-button.hidden{
    opacity:0;
}

.top-item{
    position:absolute;
    top:0;
    display:flex;
    align-items:center;
    justify-content:center;
    width:200px;
    height:60px;
    text-align: center;
    padding:10px 20px;
}

#top-astrophysics{
    font-family: 'dincondensed';
    background: #463c96;
    font-size: 16px;
}
#top-astrophysics strong{
    color:#f7c41d;
}
#top-astrophysics .arrow{
    border-right-color:#0d1226;
    border-left-color:#0d1226;
}

#top-radiation{
    font-family: 'willrobinson';
    background: #d47462;
    font-size: 12px;
}
#top-radiation .arrow{
    border-right-color:#f7c41d;
    border-left-color:#f7c41d;
    display:none;
}

#top-lattes{
    font-family: 'willrobinson';
    background: #75415e;
    font-size: 18px;
    color:#f7c41d;
}
#top-lattes .arrow{
    border-right-color:#d47462;
    border-left-color:#d47462;
}

#top-astrophysics{
    display:flex;
    left:calc(25% - 170px);
}
#top-radiation{
    display:flex;
    left:calc(50% - 40px);
}
#top-lattes{
    display:flex;
    left:calc(75% - -90px);
}



.expanded-astrophysics #top-astrophysics{
    display:none;
}
.expanded-astrophysics #top-radiation{
    display:flex;
    left:auto;
    right:100px;
}
.expanded-astrophysics #top-radiation .arrow-right{
    display:block;
}
.expanded-astrophysics #top-lattes{
    display:flex;
    left:auto;
    right:100px;
    top:65px;
}
.expanded-astrophysics #top-lattes .arrow-right{
    display:block;
}

.expanded-radiation #top-astrophysics{
    display:flex;
    left:200px;
}
.expanded-radiation #top-astrophysics .arrow-left{
    display:block;
}
.expanded-radiation #top-radiation{
    display:none;
}
.expanded-radiation #top-lattes{
    display:flex;
    left:auto;
    right:70px;
    top:0px;
}
.expanded-radiation #top-lattes .arrow-right{
    display:block;
}

.expanded-lattes #top-astrophysics{
    display:flex;
    left:200px;
}
.expanded-lattes #top-astrophysics .arrow-left{
    display:block;
}
.expanded-lattes #top-radiation{
    display:flex;
    left:200px;
    top:65px;
}
.expanded-lattes #top-radiation .arrow-left{
    display:block;
}
.expanded-lattes #top-lattes{
    display:none;
}



.timeline-title {
    height: 120px;
    border-bottom: 10px solid;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    min-width: 100px;
    cursor: pointer;
}

.timeline-title h1 {
    position: relative;
    font-weight: 400;
    transition: all 0.3s;
}

.contracted .timeline-title h1 {
    font-size: 16px;
    min-width: 100px;
}

.line {
    position: absolute;
    width: 10px;
    height: 6000px;
    left: calc(50% - 5px);
    transition: all 0.4s;
}

.timeline-content {
    position: absolute;
    width: 1px;
    height: 100%;
    left: 50%;
}

.contracted .o {
    transform: scale(0.2);
    transition: all 0.4s;
    left: -130px !important;
    cursor: pointer;
}
.contracted .o:hover {
    transform: scale(0.22);
}

.contracted .ball *,
.contracted .card * {
    opacity: 0;
}

.contracted .image-ball {
    opacity: 0;
}

.contracted .text {
    opacity: 0;
}

.contracted .o.card {
    transform: scale(0.1);
}

.contracted #b-a3 {
    left: 0px !important;
}

.contracted #b-a5 {
    left: -230px !important;
}

.contracted #b-a6 {
    left: -170px !important;
}

.contracted .usp,
.contracted .sub-line {
    opacity: 0;
}

#astrophysics .timeline-title {
    font-family: 'dincondensed';
    text-align: center;
    background: #463c96;
    border-bottom-color: #0d1226;
    font-size: 12px;
}

#astrophysics .timeline-title strong {
    text-transform: uppercase;
    color: #e7b325;
}

#astrophysics .line {
    background: #463c96;
}

#radiation .timeline-title {
    font-family: 'willrobinson';
    text-align: center;
    font-size: 12px;
    background: #d47462;
    border-bottom: 10px solid #f7c41d;
}

#radiation .line {
    background: #d47462;
    /* height: 5700px; */
}
#lattes .line {
    background: #75415e;
    /* height: 5200px; */
}

.selected-radiation #radiation .line {
    height: 5550px;
}

#lattes .timeline-title {
    font-family: 'willrobinson';
    text-align: center;
    font-size: 12px;
    background: #75415e;
    border-bottom: 10px solid #d47462;
    color: #e7b325;
}





.text {
    will-change: transform;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'dincondensed';
    text-align: center;
    font-size: 12px;
    padding: 20px;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.text p {
    text-align: left;
    font-size: 14px;
}

.text p.center {
    text-align: center;
}

.text h1 {
    font-family: 'willrobinson';
    font-size: 32px;
    padding-bottom: 10px;
}

.sub-line {
    position: absolute;
    width: 22px;
}

.card {
    will-change: transform;
    position: absolute;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-family: 'dincondensed';
    text-align: center;
    font-size: 12px;
    padding: 20px;
    transform-style: preserve-3d;
    background: #f0f;
    gap: 10px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card.center {
    border-radius: 40px;
    flex-direction: column;
    padding: 40px 20px;
}

.card.center span {
    align-self: center;
}

.card.center p {
    text-align: center;
}

.card img {
    border-radius: 20px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card span,
.card-text span {
    display: block;
    font-size: 24px;
}

.card p,
.card-text p {
    font-size: 14px;
    text-align: left;
}

.card-text.left {
    align-items: flex-start;
}

.card-text.right p {
    text-align: right;
}

.card-text.right {
    align-items: flex-end;
}


.ball {
    will-change: transform;
    position: absolute;
    border-radius: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'dincondensed';
    text-align: center;
    font-size: 12px;
    padding: 20px;
    aspect-ratio: 1;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ball.for-image {
    padding: 0;
}

.ball::before {
    transform: translateZ(-1px);
    content: '';
    position: absolute;
    border-radius: inherit;
    width: 110%;
    height: 110%;
    left: -10%;
    top: -7%;
    z-index: -1;
}

.ball.var1::before {
    width: 110%;
    height: 110%;
    left: -1%;
    top: -4%;
}
.ball.var2::before {
    width: 110%;
    height: 110%;
    left: -1%;
    top: -4%;
}
.ball.var3::before {
    width: 110%;
    height: 110%;
    left: -1%;
    top: -8%;
}


.ball span {
    font-size: 24px;
}

.ball p {
    font-size: 14px;
}

.ball .image {
    border-radius: 1000px;
    overflow: hidden;
}

.ball .image img {
    width: 100%;
    height: 100#;
    object-fit: cover;
}

.ball-border {
    border: 2px solid #f8c51d;
}

.image-ball {
    aspect-ratio: 1;
    position: absolute;
    border-radius: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


#astrophysics .text h1 {
    color: #f8c51d;
}


#astrophysics .ball,
#astrophysics .image-ball,
#astrophysics .card {
    background: #463c97;
    color: #000;
}

#astrophysics .ball::before {
    background: #0d1226;
}

#astrophysics .ball p,
#astrophysics .card p {
    color: #ffffff;
}

#astrophysics .ball span,
#astrophysics .card span {
    color: #f8c51d;
}

#astrophysics .ball.special {
    background: #8681b3;
}
#astrophysics .card.special {
    background: #8681b3;
}

#astrophysics .ball.special span {
    color: #f8c51d;
    font-size: 24px;
}

#astrophysics .ball.special p {
    color: #ffffff;
    font-size: 18px;
}

#astrophysics .ball.special.end span {
    font-size: 65px;
}

#astrophysics .ball.special.end p {
    font-size: 60px;
}

#astrophysics .ball.special::before {
    background: #0d1226;
}

#astrophysics .ball.invert {
    background: #d57462;
}

#astrophysics .ball.invert::before {
    background: #f8c51d;
}

#astrophysics .card.center {
    background: #d46c55;
}

#astrophysics .sub-line {
    background: #f8c51d;
}




#radiation .ball,
#radiation .image-ball {
    background: #f8c51d;
    color: #000;
}

#radiation .ball::before {
    background: #d57462;
}

#radiation .ball.special {
    background: #75415e;
}

#radiation .ball.special span {
    color: #f8c51d;
    padding-bottom: 15px;
    font-size: 30px;
}

#radiation .ball.special p {
    color: #ffffff;
    font-size: 18px;
}

#radiation .ball.special.end span {
    font-size: 65px;
}

#radiation .ball.special.end p {
    font-size: 60px;
}

#radiation .ball.special::before {
    background: #d57462;
}

#radiation .ball.invert {
    background: #d57462;
}

#radiation .ball.invert::before {
    background: #f8c51d;
}

.usp {
    color: #f8c51d;
    font-family: 'willrobinson';
    font-size: 32px;
    position: absolute;
    top: 3514px;
    left: -289px;
    writing-mode: vertical-rl;
    width: 61px;
    top: 3027px;
    left: -167px;
}

#lattes .ball,
#lattes .image-ball,
#lattes .card {
    background: #d57462;
    color: #000;
}

#lattes .ball::before {
    background: #75415e;
}

#lattes .ball p,
#lattes .card p {
    color: #000;
}

#lattes .ball span,
#lattes .card span {
    color: #000;
}

#lattes .card {
    border: 10px solid #d57462;
}

#lattes .card-text {
    background: #463c97;
    border-radius: 12px;
    padding: 20px;
}

#lattes .card-text span {
    color: #f8c51d;
}

#lattes .card-text p {
    color: #fff;
}

#lattes .ball.special {
    background: #8681b3;
}

#lattes .ball.special span {
    color: #f8c51d;
    font-size: 24px;
}

#lattes .ball.special p {
    color: #ffffff;
    font-size: 18px;
}

#lattes .ball.special.end span {
    font-size: 65px;
}

#lattes .ball.special.end p {
    font-size: 60px;
}

#lattes .ball.special::before {
    background: #0d1226;
}

#lattes .ball.invert {
    background: #d57462;
}

#lattes .ball.invert::before {
    background: #f8c51d;
}

#lattes .card.center {
    background: #d46c55;
}

#lattes .sub-line {
    background: #f8c51d;
}

#lattes .lattes-1 {
    display: flex;
    padding: 3px 5px;
}

#lattes .lattes-1 .card-text {
    display: block;
}

#lattes .lattes-1 span {
    padding-bottom: 15px;
}

#lattes .lattes-1 .card-text p {
    text-align: right;
}

#lattes .lattes-1 img {
    border-radius: 13px;
    overflow: hidden;
    float: right;
    height: 200px;
    width: 170px;
    padding: 10px 10px;
    display: flex;
    align-items: flex-end;
    shape-outside: inset(calc(100% - 110px) 0 0);
    object-fit: contain;
    object-position: bottom;
    transform: translate3d(5px, 5px, 0);
}

#lattes .lattes-2 {
    display: flex;
    flex-direction: column;
    border-radius: 50px;
    padding: 13px 13px;
    gap: 25px;
}

.lattes-card-inside {

    border-radius: 37px;

}

.lattes-card-inside p {
    color: #fff !important;
    padding: 10px 30px;
    background: #463c97;
}

.lattes-card-inside p:last-child {
    border-bottom-right-radius: 36px;
    border-bottom-left-radius: 36px;
    padding-bottom: 30px;
}

.lattes-card-inside>p {}

.lattes-card-inside span {
    display: block;
    border-top-left-radius: 36px;
    border-top-right-radius: 36px;
    background: #463c97;
    padding: 30px 20px 0px 20px;
    text-transform: uppercase;
    color: #f8c51d !important;
}

.lattes-card-down {
    display: flex;
}

.lattes-card-down>p {
    width: 210px;
    text-align: right;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 20px;
    padding: 20px 20px 20px 10px;
}

.lattes-card-down-img {
    position: absolute;
    width: 150px;
    right: 14px;
    bottom: -5px;
    padding: 0px 0px 0px 10px;
    margin: 0px;
    border-bottom-right-radius: 40px;
}

.lattes-card-down-img img {
    width: 140px;
    border-radius: 15px;
    height: 100px;
}

.lattes-card-down-img p {
    font-size: 12px;
    padding: 8px 0px 0px 0px;
    background: none;
}

.lattes-paragraph-top {
    border-bottom-right-radius: 20px;
}

#lattes .journal {
    border-radius: 20px;
    padding: 5px 5px;
    gap: 10px;
}

#lattes .journal img {
    border-radius: 10px;
}

#lattes .journal .lattes-card-inside p {
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    text-align: center;
}

#lattes .journal .lattes-card-inside span {
    border-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

#lattes .exclamation {
    font-family: 'willrobinson';
    background: none !important;
    border: none !important;
    opacity: 0;
}

#lattes .exclamation span {
    font-size: 580px;
    color: #fff;
    transform: rotate(15deg);
}

.selected-lattes #lattes .exclamation {
    opacity: 0.6;
}


#lattes .enigma {
    flex-direction: column;
    border-radius: 40px;
    background: #803d95;
    border: none;
    padding: 40px 25px;
}

#lattes .enigma span {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

#lattes .enigma p {
    color: #f8c51d;
    text-align: center;
    padding: 5px 0px;
    font-size: 16px;
}

#lattes .enigma::before {
    transform: translateZ(-1px);
    content: '';
    position: absolute;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    left: 4%;
    top: 4%;
    z-index: -1;
    background: #463c97;
}

.fim-lattes {
    padding: 50px 50px;
}

.fim-lattes p {
    font-size: 24px;
}

.selected-astrophysics .contracted .o,
.selected-radiation .contracted .o,
.selected-lattes .contracted .o {
    transform: scale(0);
}

.selected-astrophysics #astrophysics .timeline-content,
.selected-astrophysics #astrophysics .line {
    left: calc(50% + 160px);
}

.selected-astrophysics #astrophysics .timeline-title h1 {
    left: 160px;
}

.selected-lattes #lattes .timeline-content,
.selected-lattes #lattes .line {
    left: calc(50% - 160px);
}

.selected-lattes #lattes .timeline-title h1 {
    left: -160px;
}

.selected-astrophysics #radiation {
    position: static;
}

.selected-astrophysics #radiation .line {
    right: 10px;
    left: auto;
    height: 6000px;
}

.selected-astrophysics #lattes .line {
    right: 0;
    left: auto;
    height: 6000px;
}

.selected-radiation #astrophysics .line {
    left: 0;
}

.selected-radiation #lattes .line {
    right: 0;
    left: auto;
    height: 6000px;
}

.selected-lattes #astrophysics .line {
    left: 0;
    height: 6000px;
}

.selected-lattes #radiation {
    position: static;
}

.selected-lattes #radiation .line {
    left: 10px;
    height: 6000px;
}




@media (max-width: 1280px) {
    body {
        zoom: 0.9;
    }

    #content {}

    #radiation .line {
        
    }

    #lattes .line {
        
    }

    #content-title h2 {
        font-size: 20px;
    }

    .selected-astrophysics #astrophysics .timeline-content,
    .selected-astrophysics #astrophysics .line {
        left: calc(50% + 70px);
    }

    .selected-astrophysics #astrophysics .timeline-title h1 {
        left: 78px;
    }

    .selected-lattes #lattes .timeline-content,
    .selected-lattes #lattes .line {
        left: calc(50% - 10px);
    }

    .selected-lattes #lattes .timeline-title h1 {
        left: -10px;
    }
}

@media (max-width: 1024px) {
    body {
        zoom: 0.6;
    }

    #timelines {
        width: calc(100% - 90px);
        left: 90px;
    }

    .strip {
        width: 90px;
    }

    .selected-lattes #lattes .timeline-content,
    .selected-lattes #lattes .line {
        left: calc(50% - 20px);
    }

    .selected-lattes #lattes .timeline-title h1 {
        left: -10px;
    }
}

@media (max-width: 640px) {
    body {
        zoom: 0.4;
    }

    #content-title h2 {
        font-size: 14px;
    }

    #timelines {
        width: calc(100% - 90px);
        left: 90px;
    }

    .strip {
        width: 90px;
    }

    .selected-lattes #lattes .timeline-content,
    .selected-lattes #lattes .line {
        left: calc(50% - 20px);
    }

    .selected-lattes #lattes .timeline-title h1 {
        left: -10px;
    }

    #top-astrophysics{
        display:flex;
        left:calc(25% - 120px);
    }
    #top-radiation{
        display:flex;
        left:calc(50% - 60px);
    }
    #top-lattes{
        display:flex;
        left:calc(75% - -0px);
    }

}

@media (max-width: 390px) {
    body {
        zoom: 0.3;
    }

    #content-title h2 {
        font-size: 14px;
    }

    #timelines {
        width: calc(100% - 90px);
        left: 90px;
    }

    .strip {
        width: 90px;
    }

    .selected-lattes #lattes .timeline-content,
    .selected-lattes #lattes .line {
        left: calc(50% - 20px);
    }

    .selected-lattes #lattes .timeline-title h1 {
        left: -10px;
    }
}