:root{
    /* Color Scheme */
    --bg-color:#fff0f3;
    --heading-color:#c9184a;
    --date-color: #75767B;
    --text-color: #393a3f;
    --fill-color: #c9184a;
    /* Typography */
    --font-heading: "Share Tech", sans-serif;
    --font-text: "Montserrat", sans-serif;
}

/* Reset Style */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Gloabal Styles */

body{
    background-color: var(--bg-color);
    font-family: var(--font-text);
    height: 100vh;
    width: 100vw;
    margin: 0;
}
h1{
    font-family: var(--font-heading);
}
ul{
    list-style: none;
}

/* Timeline Section */

header{
    padding: 2rem;
    text-align: center;
}
header p{
    font-size: 0.75rem;
}
main{
    display: flex;
    justify-content: center;
}
section{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    padding: 1rem 0;
}
ul{
    position: relative;
    width: 100%;
}
li{
    display: flex;
    justify-content: space-around;
    padding: 1rem;
    position: relative;
}
li p,time{
    width: 40%;
}
li p{
    text-align: left;
}
li time{
    text-align: right;
    color: var(--date-color);
}
li::before{
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--fill-color);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
ul::before{
    content: "";
    width: 2px;
    height: 100%;
    background-color: var(--fill-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
button{
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    border-radius: 1rem;
    font-weight: bold;
}
button:hover{
    background-color: var(--fill-color);
}
