/* Typography ----------------------- */

h1, h2, h3 {
    color: #38383c;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

h2 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.h1-display {
    margin-bottom: 4px;

    font-size: 2.25rem;
    letter-spacing: -0.7px;
    text-align: center;
    font-weight: 700;
}

@media (min-width: 720px) {
    .h1-display {
        font-size: 2.625rem;
    }
}

.h1-display span {
    color: #4b0087;
}

.h2-subtle {
    font-weight: 400;
    text-align: center;
    font-size: 1.125rem;
    color: #5C5956;
}

.overline {
    font-size: 0.8125rem;
    color: #D3D3DF;
}

/* Layout ----------------------- */

.header {
    display: flex;
    align-items: center;
    height: 64px;
    border-bottom: 1px solid #d3d3df;
    background: #fff;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    width: 100px;
}

.main {
    padding: 3rem 0;
}

.container {
    width: 85%;
    max-width: 1000px;
    margin: auto;
}

.intro {
    margin-top: 1rem;
    margin-bottom: 4rem;
}

.row {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.5rem;
}

.col {
    flex: 1;
}

@media (min-width: 720px) {
    .row {
        flex-direction: row
    }
    .col {
        width: 50%;
    }   
}


/* Topic choosing screen ------------------ */

.topics {
    padding: 2.5rem 1rem;

    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 20px -10px rgba(54,38,85,0.26), 0 25px 60px -30px rgba(0,0,0,0.25);
}

@media (min-width: 720px) {
    .topics {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

.slider-labels {
    display: flex;
    justify-content: space-between;

    padding-right: 1rem;
    padding-left: 1rem;   
}

@media (min-width: 720px) {
    .slider-labels {
        padding-right: 2rem;
        padding-left: 2rem;
    }
}

.slider-labels label {
    width: 33%;
    flex-shrink: 0;

    text-align: center;
    font-weight: 600;
    font-size: 0.875rem;
}

@media (min-width: 720px) {
    .slider-labels label {
        font-size: 0.9375rem;
    }  
}

.slider-labels label:first-child {
    text-align: left;
}

.slider-labels label:last-child {
    text-align: right;
}

.topics__row {
    margin-bottom: 1.5rem;
}

.topics__row:last-child {
    margin-bottom: 0;
}

.topics__name {
    padding-right: 1rem;
    margin-bottom: 0.5rem;

    font-size: 1rem;
    font-weight: 500;
}

@media (min-width: 720px) {
    .topics__name {
        margin-bottom: 0;
    }
}

.topics__slider-col {
    display: flex;
    align-items: center;
}

.play-button {
    padding-top: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Video player screen ----------------------- */

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.video {
    background: #17171C;
    border-radius: 10px;
    border: 2px solid #17171C;
    overflow: hidden;
}

.video__element {
    display: block;
    width: 100%;
    height: auto;
    background: #17171C;
}

.video__header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #62626A;
    color: #EFEFF2;
}

.video__header h1 {
    font-size: 1.25rem;
    margin-bottom: 0;
    color: #fff;
}

.video__header__inner {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 12px 1.5rem;
}

.video__footer {
    display: flex;
    align-items: center;
    justify-content: center;

    border-top: 1px solid #62626A;
    padding-top: 12px;
    padding-bottom: 12px;
    color: #EFEFF2;
}


.video__footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 720px) {
    .video__footer__inner {
        flex-direction: row;
    }
}

.video__footer .button--dark {
    display: inline-block;
    margin-top: 0.5rem;
}

@media (min-width: 720px) {
    .video__footer .button--dark {
        margin-top: 0;
        margin-left: 0.5rem 
    }
}

.video__back {
    color: #EFEFF2;
    display: block;
    padding: 1rem;
    border-right: 1px solid #62626A;
}

@media (min-width: 720px) {
    .video__back {
        padding: 1.5rem;
    }
}

.video__back > svg {
    display: block;
    width: 24px;
    height: 24px;
}

.video__skip.icon-link {
    display: none;
    color: #EFEFF2;
}

@media (min-width: 720px) {
    .video__skip {
        display: flex;
    }
}

.video-buttons {
    display: flex;
    justify-content: space-between;

    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0 0 10px 10px;
}

/* Thankyou screen ----------------------- */

.thanks__panel {
    padding: 2rem;
    max-width: 600px;
    margin: auto;

    background: white;
    border-radius: 10px;
}

@media (min-width: 720px) {
    .thanks__panel {
        padding: 3rem;
    }
}

.thanks__header {
    display: flex;
    flex-direction: column;

    margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
    .thanks__header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.thanks__message {
    margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
    .thanks__header > h1 {
        margin-bottom: 0;
    }
}

.thanks__buttons {
    display: flex;
    flex-direction: column;
}

.thanks__buttons > .button {
    margin-bottom: 0.25rem;
}

@media (min-width: 720px) {
    .thanks__buttons {
        flex-direction: row;
        align-items: center;
    }

    .thanks__buttons > .button {
        margin-bottom: 0;
        margin-right: 1.5rem;
    }
    
}


/* Buttons ----------------------- */

.button {
    padding: 12px 1.5rem;
    background-color: var(--color-theme);
    color: #fff;
    border: none;
    border-radius: 4px;;

    text-shadow: 0 0 2px rgba(black, 0.15);
    font-weight: 600;
    text-align: center;
}

.button:hover,
.button:focus {
    background-color: var(--color-theme-700);
}

.button--lozenge {
    border-radius: 1.5rem;
    padding-left: 28px;
    padding-right: 28px;
}

/* Dark buttons */
.button--dark {
    padding: 10px 20px;
    color: #EFEFF2;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
}

.button--dark:hover,
.button--dark:focus {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.button--icon {
    display: flex;
    align-items: center;
}

.button--icon > svg {
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 8px;
    margin-left: -2px;
}

.icon-link {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.icon-link > svg {
    display: block;
    margin-right: 4px;
    margin-bottom: -2px;
    width: 20px;
    height: 20px;
}

.icon-link--icon-right > svg {
    margin-right: 0;
    margin-left: 4px;
}


/* util classses */

.mb-small {
    margin-bottom: 0.75rem;
}
