*, *::after, *::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
}

.container {
    width: 100%;
    min-height: 200px;
    max-width: 360px;
    background-color: #76b82a;
    color: white;
    clip-path: polygon(0 0, 50% 50px, 100% 0, 100% calc(100% - 50px), 50% 100%, 0 calc(100% - 50px));
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0;
    margin-top: -2%;
}

.container:first-child {
    margin-top: 0;
}

.container:nth-child(2n+1) {
    background-color: #0069b4;
}

.timeline_time {
    padding-top: 1rem;
}

h3 {
    font-size: 36px;
    cursor: pointer;
}

.card {
    display: block;
    padding: 1rem;
    background-color: rgba(255,255,255,0.1);
    margin: 1rem;
    border-radius: 1rem;
    /* background-color: white; */
}

.card h4 {
    cursor: pointer;
    transition: padding 1s ease-in-out;
}

.card h5 {
    padding-bottom: 1rem;
}

.card img {
    width: 100%;
    height: auto;
}

.card-content {
    max-height: 0;
    transition: max-height 1s ease-in-out;
    overflow: hidden;
}

.card:hover .card-content {
    max-height: 1000px;
}

.card:hover h4 {
    padding-bottom: 1rem;
}

.card p {
    padding: 1rem;
    text-align: left;
}

/* h3:hover + .card {
    display:block;
} */

.overlay {
    display: none;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: grey;
}


