body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 17px;
    line-height: 1.5294717647;
    font-weight: 400;
    letter-spacing: -0.021em;
    font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background-color: white;
    color: black;
    font-style: normal;
}

section {
    /*height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;*/
    color: white;
    /*scroll-snap-align: start;*/
}

.page {
    /*scroll-snap-type: y mandatory;*/
    overflow-y: scroll;
    height: 100vh;
    background: black;
}

#hero-section {
    background: black;
    background-image: url(images/rememberingtednotext.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    filter: brightness(100%);
}

/*
.hero-text {
    position: absolute;
    top: 35%;
    text-align: center;
    margin-right: 100px;
}
*/

.hero-text {
    text-align: center;
}

/* .hero-text h1 {
    font-size: 48px;
    letter-spacing: .006em;
    line-height: 1.0416666667;
    font-weight: 500;
    margin-bottom: 0;
}

.hero-text h2 {
    font-size: 24px;
    letter-spacing: .006em;
    line-height: 1.0416666667;
    font-weight: 500;
    margin-bottom: 0;
} */

.hero-text p {
    font-size: 17px;
}

#tributes-section {
    background: black;
}

.extra {
    max-width: 700px;
    margin: 0 auto;
    letter-spacing: 0px;
    line-height: 27px;
}

#timeline-section {
    background: black;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    font-size: 100%;
    /*height: 200vh;*/
}

.scroll a {
    /*position: absolute;*/
    bottom: 20px;
    /*left: 50%;*/
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    color: #fff;
    font: normal 400 20px/1 'Josefin Sans', sans-serif;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: opacity 0.3s;
    padding-top: 70px;
}
.scroll a:hover {
    opacity: 0.5;
}

.scroll a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}
@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}
@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

/* -------------------------------------
 * carousel
 * ------------------------------------- */
.carousel-item.active,
.carousel-item-next,
.carousel-item-prev {
    display: block;
}

/* -------------------------------------
 * timeline
 * ------------------------------------- */
#timeline {
    list-style: none;
    margin: 50px 0 30px 120px;
    padding-left: 30px;
    border-left: 5px solid white;
}

#timeline li {
    margin: 60px 0;
    position: relative;
}

#timeline p {
    margin: 0 0 15px;
}

.date {
    margin-top: -10px;
    top: 50%;
    left: -158px;
    line-height: 20px;
    position: absolute;
}

.circle {
    margin-top: -10px;
    top: 50%;
    left: -44px;
    width: 20px;
    height: 20px;
    background: black;
    border: 5px solid white;
    border-radius: 50%;
    display: block;
    position: absolute;
}

.content {
    max-height: 20px;
    padding: 50px 20px 0;
    border-color: transparent;
    border-width: 2px;
    border-style: solid;
    border-radius: 0.5em;
    position: relative;
}

/*
.content:before,
.content:after {
    content: "";
    width: 0;
    height: 0;
    border: solid transparent;
    position: absolute;
    pointer-events: none;
    right: 100%;
}

.content:before {
    border-right-color: inherit;
    border-width: 20px;
    top: 50%;
    margin-top: -20px;
}
*/

/*
.content:after {
    border-right-color: black;
    border-width: 17px;
    top: 50%;
    margin-top: -17px;
}
*/

.content p {
    max-height: 0;
    color: transparent;
    text-align: justify;
    word-break: break-word;
    hyphens: auto;
    overflow: hidden;
}

.timeline-section label {
    position: absolute;
    top: 15px;
}

.radio {
    display: none;
}

.radio:checked + .relative label {
    cursor: auto;
    transform: translateX(42px);
}

.radio:checked + .relative .circle {
    background: white;
}

.radio:checked ~ .content {
    max-height: 180px;
    border-color: white;
    margin-right: 20px;
    transform: translateX(20px);
    transition: max-height 0.4s linear, border-color 0.5s linear, transform 0.2s linear;
}

.radio:checked ~ .content p {
    max-height: 200px;
    color: white;
    transition: color 0.3s linear 0.3s;
}

/* -------------------------------------
 * form
 * ------------------------------------- */

/* Button used to open the contact form - fixed at the bottom of the page */
.open-button {
    display: block;
    /* opacity: 0.8; */
    position: fixed;
    bottom: 23px;
    right: 28px;
    /* width: 280px; */

    border: none;
    cursor: pointer;
    appearance: none;
    background-color: #df5151;
    border-radius: 50%;
    height: 70px;
    width: 70px;
}

.open-button:hover {
    /* transform: rotate(360deg);*/
    background-color: #da3737;
}

/* The popup form - hidden by default */
.form-popup {
    display: none;
    position: fixed;
    bottom: 23px;
    right: 28px;
    border: 3px solid #f1f1f1;
    z-index: 9;
    border-radius: 5px;
}

/* Add styles to the form container */
.form-container {
    max-width: 380px;
    padding: 10px;
    background-color: white;
    font-size: 11px;
}

/* Full-width input fields */
.form-container input[type='text'],
.form-container input[type='email'],
.form-container input[type='password'],
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    background: #f1f1f1;
}

#fs-frm-selects {
    padding: 0px;
    margin: 0px;
    border: none;
}

/* When the inputs get focus, do something */
.form-container input[type='text']:focus,
.form-container input[type='email']:focus,
.form-container input[type='password']:focus,
.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
    background-color: #04aa6d;
    color: white;
    padding: 16px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 14px;
    font-weight: 700;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
    background-color: grey;
}

/* Add some hover effects to buttons */
.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

/* -------------------------------------
   * mobile phones (vertical version only)
   * ------------------------------------- */

@media screen and (max-width: 767px) {
    body {
        font-size: 12px;
    }

    .hero {
        background: black;
        background-image: url(images/rememberingtednotext.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: brightness(100%);
    }

    .hero-text {
        position: absolute;
        top: 35%;
        text-align: center;
        margin-right: 100px;
    }

    .hero-text h1 {
        font-size: 36px;
        letter-spacing: 0.006em;
        line-height: 1.0416666667;
        font-weight: 500;
        margin-bottom: 0;
    }

    .hero-text h2 {
        font-size: 24px;
        letter-spacing: 0.006em;
        line-height: 1.0416666667;
        font-weight: 500;
        margin-bottom: 0;
    }

    .hero-text p {
        font-size: 12px;
    }

    /*  #timeline {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }
    */

    #timeline li {
        margin: 160px 0;
    }

    /*
    label {
        width: 85%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
        display: block;
        transform: translateX(18px);
    }

    .content {
        padding-top: 45px;
        border-color: white;
    }

    .content:before,
    .content:after {
        border: solid transparent;
        bottom: 100%;
    }

    .content:before {
        border-bottom-color: inherit;
        border-width: 17px;
        top: -16px;
        left: 50px;
        margin-left: -17px;
    }

    .content:after {
        border-bottom-color: #1D1D1D;
        border-width: 20px;
        top: -20px;
        left: 50px;
        margin-left: -20px;
    }

    .content p {
        line-height: 1.4;
    }

    .circle,
    .date {
        display: none;
    } */
}
