.history {
width: 100%;
padding: 3rem 0;
background-color: white;
}
.history .subtitle {
padding: 2rem 0 1rem;
}
.history br.mobile,
.history br.tablet,
.history .subtitle br.mobile {
display: none;
} .timeline {
position: relative;
margin: 2rem auto 1rem;
}
.tml_container {
display: flex;
justify-content: center;
align-items: center;
} .tml_container:nth-child(even) {
flex-flow: row-reverse;
} .tml_container:nth-child(even) .circles {
justify-content: flex-start;
}
.timeline .circles {
padding: 0 1.5rem;
width: 50%;
display: flex;
justify-content: flex-end;
z-index: 0;
}
.timeline .parenthesis::before {
background-color: white;
}
.activeee .circle_img_box::before {
background-color: transparent;
}
.timeline .parenthesis::after {
background: linear-gradient(90deg, var(--main-gold) 15%, transparent 30%);
}
.timeline .tml_container:nth-child(even) .parenthesis::before {
background: linear-gradient(90deg, transparent 35%, white 30%);
}
.timeline .tml_container:nth-child(even) .parenthesis::after {
background: linear-gradient(90deg, transparent 50%, var(--main-gold) 30%);
} .tml_content {
position: relative;
display: flex;
flex-direction: column;
gap: 1rem;
width: 50%;
}
.timeline .tml_container:nth-child(odd) .tml_content {
padding-left: 3rem;
}
.timeline .tml_container:nth-child(even) .tml_content {
padding-right: 3rem;
text-align: right;
} .tml_year {
font-size: clamp(1.5rem, 2vw + 1rem, 2.5rem);
font-weight: 900;
line-height: 1;
transition: all .3s ease;
}
.tml_p { font-size: min(max(.9rem, 1.1vw), 1.2rem);
z-index: 1;
} .tml_container.today {
text-align: center;
margin: auto;
padding: 2rem;
}
.today .tml_content {
width: 100%;
}
.tml_icon {
width: 80px;
position: absolute;
left: 49.5%;
transform: translateX(-50%);
}
.dotted-spaced.vertical {
background-image: radial-gradient(circle, rgba(120, 120, 120, .99) 0%, rgba(120, 120, 120, 0.9) 25%, rgba(120, 120, 120, 0) 30%);
background-position: center top;
background-repeat: repeat-y;
background-size: 2px 10.5px;
position: absolute;
top: 0;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 10px;
} .tml_container.activeee .parenthesis::before,
.tml_container.activeee .parenthesis::after {
transform: scale(1);
}
.tml_container.activeee .circle_img_box {
transform: scale(1.1);
}
.tml_container.today.activeee .tml_year,
.tml_container:nth-child(odd).activeee .tml_year,
.tml_container:nth-child(even).activeee .tml_year {
font-size: calc(clamp(1.5rem, 2vw + 1rem, 2.5rem) + .5rem);
}
.tml_container.activeee .tml_year {
color: var(--main-gold);
}
.tml_container:nth-child(odd).activeee .tml_year {
transform-origin: left;
}
.tml_container:nth-child(even).activeee .tml_year {
transform-origin: right;
}
.tml_container.today.activeee .tml_year {
transform-origin: center;
}
.tml_container .circle_img_box {
background-repeat: no-repeat;
background-size: cover;
}
.tml_container .box_1 {
background-position: 62% 15%;
background-size: 110%;
}
.tml_container .box_2 {
background-position: 62% 25%;
}
.tml_container .box_3 {
background-position: 62% 25%;
}
.tml_container .box_4 {
background-position: 100% 50%;
background-size: 130%;
}
.tml_container .box_5 {
background-position: 62% 25%;
}
.tml_container .box_6 {
background-position: 50% 20%;
background-size: 150%;
}
@media screen and (max-width: 900px) {
.history .circles {
padding: 0;
}
.timeline .tml_container:nth-child(odd) .tml_content {
padding-left: 1.5rem;
}
.timeline .tml_container:nth-child(even) .tml_content {
padding-right: 1.5rem;
}
.tml_icon {
width: 70px;
}
}
@media (max-width: 768px) {
.history {
padding: 1rem 0;
}
.dotted-spaced.vertical {
border: none;
}
}
@media screen and (max-width: 680px) {
.history br.desktop,
.history .subtitle br {
display: none;
}
.history br.tablet,
.history .subtitle br.mobile {
display: block;
}
.timeline {
left: 8%;
}
.tml_container {
flex-direction: column;
gap: 1rem;
}
.tml_container:nth-child(even) {
flex-direction: column;
}
.tml_content,
.tml_container .circles {
width: 100%;
justify-content: flex-start;
}
.tml_container .circles {
z-index: 2;
}
.dotted-spaced.vertical {
z-index: 1;
}
.tml_icon {
z-index: 3;
}
.dotted-spaced.vertical {
border: none;
}
.timeline .parenthesis::before {
background: linear-gradient(90deg, transparent 40%, white 35%);
}
.timeline .parenthesis::after {
background: linear-gradient(90deg, transparent 45%, var(--main-gold) 40%);
}
.timeline .tml_container:nth-child(even).activeee .tml_year {
transform-origin: left;
}
.timeline .tml_container:nth-child(odd) .tml_content {
padding-left: 8rem;
}
.timeline .tml_container:nth-child(even) .tml_content {
padding-right: 0;
padding-left: 8rem;
text-align: left;
}
.tml_container:nth-child(odd).today .tml_content {
padding: 2rem 0;
}
.dotted-spaced.vertical {
left: 6rem;
}
.tml_icon {
left: 5.6rem;
}
}
@media screen and (max-width: 550px) {
.timeline {
left: 4%;
}
}
@media screen and (max-width: 500px) {
.timeline {
left: 0;
}
.timeline .tml_container:nth-child(odd) .tml_content,
.timeline .tml_container:nth-child(even) .tml_content {
padding-left: 4rem;
}
.tml_container.today .tml_content {
padding: 2rem 0;
}
.dotted-spaced.vertical {
left: 2.5rem;
}
.tml_icon {
left: 2rem;
}
.timeline .circle_img_box {
left: 30px;
}
}
@media screen and (max-width: 420px) {
.tml_container {
gap: 1.2rem;
}
.timeline .parenthesis {
width: 280px;
}
}
@media screen and (max-width: 380px) {
.timeline br.tablet {
display: none;
}
.timeline br.mobile {
display: block;
}
}