*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html,body{
    height: 100%;
    width: 100%;
    background-color:#0C1318;
    font-family:exo, sans-serif;
}

main{
    height:auto;
    width: 100%;
    overflow-x: hidden;
}

#tpage1{
    height:fit-content;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content:start;
    flex-direction: column;
    padding: 2% 5%;
    margin-top: 10vh;
    gap: 2vh;
}
#tpage1 h1{
    color:#00bcd4;
    font-size:12vh;
    text-align: center;
    text-shadow: #2c5364 0px 0px 10px, #2c5364 0px 0px 20px, #2c5364 0px 0px 30px;
    font-family: orbitron, sans-serif;
}
.tpage1-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    height: fit-content;
    width:90vw;
    border: #00bcd4 2px solid;
    padding: 4%;
    border-radius: 50px;
}
.tpage1-text {
    color:wheat;
    font-size: 3vh;
    margin-bottom: 2vh;
}
#time-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 2%;
    border: 2px dotted #00bcd4;
    border-radius: 50px;
    gap: 20vh;
}

.time-elem {
    width: 100%;
    height:100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; 
    position: relative;
    cursor: pointer;
}

.time-elem img {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    display: none; 
    transform: translate(-50%, -50%);
    z-index: 5;
    height:20vh;
    width:20vh;
    border-radius: 50%;
}

.time-elem:nth-child(even){
    flex-direction: row-reverse;
}
.tvline{
    position: absolute;
    top: 0;
    left: 50%;
    height:0;
    width: 5px;
    background-color: #00bcd4;
    transform: translateX(-50%);
}
.tline{
    height:5px;
    width:100%;
    margin: 0 10%;
    border-radius: 50px;
    background-color: #00bcd4;
}
.time-year{
    height: 100%;
    width:fit-content;
    color: #00bcd4;
    font-size: 5vh;
    font-family: orbitron, sans-serif;
    text-align:start;
}
.time-event{
    height: 100%;
    width: 100%;
    color: wheat;
    font-size: 3vh;
    text-align: center;
    margin-top: 2vh;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
}
.time-event h3{
    color: #00bcd4;
    font-size: 4vh;
    margin-bottom: 1vh;
    text-align: center;
}
.time-event p{
    font-size: 2vh;
    margin-bottom: 1vh;
    line-height: 1.5;
    text-align: justify;
}

@media only screen and (max-width: 1200px) {
    #tpage1 h1 {
        font-size: 5vh;
    }
    .tpage1-text h2{
        font-size: 2vh;
        text-decoration: underline;
    }
    .tpage1-text p{
        font-size: 1.5vh;
    }
    .time-year {
        font-size: 4vh;
    }
    .time-event {
        font-size: 2.5vh;
    }
    .time-event h3 {
        font-size:2.5vh;
        text-decoration: underline;
    }
    .time-event p {
        font-size: 1.5vh;
    }
    .time-elem img {
        height: 10vh;
        width: 10vh;
    }
    .tvline {
        width: 3px;
    }
    .tline {
        height: 3px;
        width:50vw;
    }
    #time-container {
        padding: 1% 2%;
        gap: 5vh;
        border-radius: 20px;
    }

    .tpage1-content {
        width:100vw;
        padding: 1%;
        border-radius: 20px;
    }
    .tpage1-text {
        font-size: 2vh;
    }
    #tpage1 {
        padding: 1% 3%;
        margin-top: 10vh;
    }
}