@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Moul&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

* {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {

    body {
        margin: 0;
        padding: 0;
        width: 100vw;
        z-index: 4;
        background-color: white;

        h1 {
            font-size: 11vw;
            margin: 0;
            width: 100vw;
            font-weight: 400;
            font-family: 'Roboto Flex', sans-serif;
            position: fixed;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
        }

        .timeline {
            position: relative;
            width: 90vw;
            margin: 20vh 5vw;
            background-color: white;
            padding: 50px 0;
            z-index: 3;

            .event {
                width: calc(50% - 30px);
                height: auto;
                padding: 20px 30px;
                gap: 15px;
                position: relative;
                display: flex;
                flex-direction: column;
                gap: 12px;
                background-color: rgb(67, 152, 67);
                border-radius: 10px;
                margin-bottom: 50px;
                /* opacity: 0;
                transform: translateX(-50px);
                transition: all ease 0.75s; */

                .date {
                    width: 100%;

                    .time {
                        font-size: 11pt;
                        font-weight: 400;
                    }

                    .line {
                        display: none;
                    }
                }

                .name {
                    font-size: 17pt;
                }

                .description {
                    width: 100%;
                    font-size: 12pt;
                }
            }

            .right {
                left: calc(50% + 30px);
            }

            .right::after {
                width: 18px;
                height: 18px;
                border-radius: 50%;
                background-color: black;
                position: absolute;
                left: -30px;
                top: 16px;
                content: '';
                transform: translate(-50%, -50%);
                z-index: 3;
            }

            .left {
                left: 0;

                .time {
                    text-align: right;
                }

                .name {
                    text-align: right;
                }

                .description {
                    text-align: right;
                }
            }

            .left::after {
                width: 18px;
                height: 18px;
                border-radius: 50%;
                background-color: black;
                position: absolute;
                right: -30px;
                top: 16px;
                content: '';
                transform: translateX(50%);
                z-index: 3;
            }
        }

        .timeline::after {
            content: '';
            width: 4px;
            position: absolute;
            background-color: black;
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -2px;
        }

        /* .timeline::before {
            width: 6px;
            position: fixed;
            height: 50vh;
            top: 0;
            left: calc(50% - 3px);
            content: '';
            background-color: blue;
            z-index: -1;
        } */

        .calendar {
            border-width: 0;
            width: calc(80vw);
            height: calc(80vh);
            margin: 10vh 10vw;
        }
    }
}

@media (min-width: 768px) {

    body {
        margin: 0;
        padding: 0;
        width: 100vw;
        background-color: white;

        nav {

            a {
                color: black;
            }

            a::after {
                background-color: black;
            }

            .active::after {
                width: 100%;
            }

            /* .dropdown-items {
                    background-color: var(--orange);
                } */
        }

        /* h1 {
            font-size: 8vw;
            margin: 0;
            width: 100vw;
            font-weight: 300;
            font-family: 'Roboto Flex', sans-serif;
            position: fixed;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
        } */

        .timeline {
            display: flex;
            flex-direction: row;
            gap: 20px;
            position: relative;
            width: 85vw;
            margin: 20vh 7.5vw;

            .event {
                width: calc((85vw / 3) - 48px);
                height: auto;
                display: flex;
                flex-direction: column;
                gap: 15px;
                flex-grow: 1;
                opacity: 0;
                transform: translateX(-50px);
                transition: all ease 0.75s;

                .date {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    width: 100%;
                    gap: 8px;

                    .dot {
                        width: 6px;
                        height: 6px;
                        background-color: black;
                        border-radius: 50%;
                    }

                    .time {
                        font-size: 10pt;
                        font-weight: 400;
                    }

                    .line {
                        height: 1px;
                        background-color: rgb(175, 175, 175);
                        flex: 1;
                    }
                }

                .name {
                    font-size: 17pt;
                }

                .description {
                    width: 90%;
                    font-size: 12pt;
                }
            }
        }

        .calendar {
            border-width: 0;
            width: calc(80vw);
            height: calc(80vh);
            margin: 10vh 10vw;
        }
    }
}
