/*@import url("https://fonts.googleapis.com/css?family=Montserrat:300,400,700");*/

body {
    font-family: Arial, sans-serif;
    background-color: black;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    color: black;
    padding: 0;
    margin: 0;
}

h1 {
    text-align: center;
    color: aliceblue;
    padding: 20px 0;
    font-size: 2rem;
}

.timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding:0 ;
}

.line {
    content: '';
    position: absolute;
    width: 2px;
    background-color: black;
    top: 0;
    bottom: 0;
    left: 50%;
    margin: 0 auto;
    z-index: 2;
    height: 2400px;
}

/*.line::after,
.line::before {
    position: absolute;
    display: block;
    content: '';
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color: black;
    left: 50%;
    transform: translateX(-50%);
}*/

.line::after {
    bottom: 0;
}

.img1 {
    position: relative;
    opacity: 0.70;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 20px 0;
    background-image: url(img1.jpg);
}

/*.img2{
    background-image: url(img2.avif);
}

.img3{
    background-image: url(img3.jpg);
}  */

.timeline-item {
    padding: 20px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: ' ';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: black;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even) {
    left: 0;
}

.timeline-item:nth-child(odd) {
    left: 50%;
}

.timeline-date {
    position: absolute;
    height: 1rem;
    width: 1rem;
    border-radius: 50%;
    background-color:black;
    top: 15px;
    z-index: 1;
}

.timeline-content {
    padding: 20px;
    color: aliceblue;
    text-shadow: 0 0 5px #080000, 0 0 5px #010111;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(even) .timeline-date {
    right: -13px;
}

.timeline-item:nth-child(odd) .timeline-date {
    left: -13px;
}

.timeline-item:nth-child(even)::after {
    right: -13px;
}

.timeline-item:nth-child(odd)::after {
    left: -13px;
}

.button {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    cursor: pointer;
    background-color: white;
    margin: 0 5px;
    border: 1px solid black;
    transition: 0.4s;
}

.button button:hover {
    background: #eab308;
    color: black;
}

@media screen and (max-width: 768px) {
    .timeline {
        width: 100%;
        padding: 0;
    }

    .line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
    }

    .timeline-item::after,
    .timeline-date {
        left: 30px !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 15px;
    }
}

nav ul {
    padding: 0;
    margin: 0;
}

nav li {
    list-style-type: none;
}

.fixed-button1 {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1000;
}

.fixed-button2 {
    position: fixed;
    top: 140px;
    right: 20px;
    z-index: 1000;
}

.fixed-button3 {
    position: fixed;
    top: 200px;
    right: 20px;
    z-index: 1000;
}

.fixed-button4 {
    position: fixed;
    top: 260px;
    right: 20px;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .line{
        height: 3000px;
    }
    .fixed-button1 {
        bottom: 200px;
        top: auto;
        right: 20px;
    }

    .fixed-button2 {
        bottom: 140px;
        top: auto;
        right: 20px;
    }

    .fixed-button3 {
        bottom: 80px;
        top: auto;
        right: 20px;
    }

    .fixed-button4 {
        bottom: 20px;
        top: auto;
        right: 20px;
    }
}