/* we declare our variable inside a :root selector */
:root {
    /* give the variable a name and value (needs two -- in front */
    --orange: #ff3c15;
    --white: #ffff;
    --medium-font: 'HK-Grotesk-Medium', sans-serif;
}

body {
    font-family: var(--medium-font);
    font-size: 18px;
    line-height: 1.5;
    color: #414141;
    background-image: url(../images/background.jpg);
    background-size: 100% auto;
    background-repeat: no-repeat;
    background-position: center top;
}

a {
    text-decoration: none;
    color: #414141;
}

ul {
    list-style: none;
}

.heading {
    color: var(--white);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: var(--white);
    font-size: 110px;
    font-family: 'HK-Grotesk-Bold', sans-serif;
    line-height: 1;
}

.heading-orange {
    font-size: 120px;
    -webkit-text-stroke-color: var(--orange);
    margin-bottom: 3rem;
    color: var(--orange);
}

.container {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

blockquote {
    color: var(--orange);
    font-size: 36px;
}

.cite {
    display: inline-block;
    color: var(--orange);
    line-height: 1;
    padding: 22px 18px;
    border-radius: 100%;
    border: 3px solid var(--orange);
    text-transform: uppercase;
    margin: 12px 40px;

}

.speaker-image {
    display: block;
    margin-bottom: 12px;
}

.speaker-name,
.speaker-title {
    margin: 0;
    line-height: 1.33;
}

.speaker-title {
    color: #979797;
    font-family: 'HK-Grotesk-Regular', sans-serif;
}

.schedule-container {
    border: solid 3px var(--orange);
    /* this gives us natural scrolling behaviour on touch screens */
    -webkit-overflow-scrolling: touch;
}

.schedule-container::-webkit-scrollbar {
    width: 12px;
    height: 14px;
    background-color: transparent;
}

.schedule-container::-webkit-scrollbar-thumb {
    background-color: var(--orange);
    border: solid 2px #fff;
}

.schedule {
    padding: 48px 24px;
}

.schedule-time {
    color: var(--orange);
    font-size: 36px;
    font-family: 'HK-Grotesk-Bold', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.schedule-day {
    /* languages like japanese sometimes have a vertical writing style */
    writing-mode: vertical-rl;
    /* we can change text orienation to sideways  */
    text-orientation: sideways;
    /* then we rotate the text to flip it over  */
    transform: rotate(180deg);
    padding: 24px;
    line-height: 1;
    text-align: center;
    background-color: var(--orange);
    color: var(--white);
}


footer {
    background-color: #222;
}

.footer-link {
    width: 131px;
    height: 40px;
    background-image: url(../images/logo.svg);
}

.fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.visible {
    opacity: 1;
}

@media(max-width: 800px) {
    body {
        font-size: 16px;
        background-size: auto 120vh;
    }

    .heading {
        font-size: 72px;
        -webkit-text-stroke-width: 3px;
    }

    .button {
        padding: 18px 32px;
        font-size: 16px;
    }

    .heading-orange {
        margin-bottom: 24px;
    }

    blockquote {
        line-height: 1.2;
    }

    .schedule-day {
        padding: 12px;
    }
}

@media(max-width: 400px){
    .heading{
        font-size: 48px;
        -webkit-text-stroke-width: 1px;
    }
}