﻿

/* Global
***************************** */
html {
    height: -webkit-fill-available;
}

body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}



.serif {
    font-family: Georgia, serif;
}

.sans-serif {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}


.title {
    font-family: 'Roboto Condensed', Helvetica, Arial, sans-serif;
}

figure {
    margin: 0;
}


/* Header
**************************** */

header {
    /*   position: relative; */
    overflow-x: hidden;
    /*    background: #EBEBEB;*/
    background: #d2ccbd;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    min-height: 100%; /* Chrome windows support */
    max-height: 100%; /* Chrome windows support */
    height: 100vh; /* Mobile chrome support*/
    min-height: 100vh;
    max-height: 100vh;
    min-height: -webkit-fill-available;
    /*   border: 1px solid blue; */
}

/*@-moz-document url-prefix() {
  header {
    background: #DBDCD5;
  }
}*/

.logo_share {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 16;
}


.video_loop_container {
    height: 100vh;
    height: -webkit-fill-available;
    /*   height: 100vh;
  min-width: 100%;
  background-color: #EBEBEB; */
    display: flex;
    align-items: center;
    justify-content: center;
    /*   border: 1px solid red; */
    overflow: hidden;
}

#video_loop_desktop {
    outline: 0;
    border: 0;
    position: relative;
    min-height: 140%;
    width: auto;
    object-fit: cover;
    overflow: hidden;
    z-index: 14;
    /*   border: 1px solid blue; */
}


.rr_logo {
}

    .rr_logo:hover {
        opacity: 0.75;
    }

    .rr_logo img {
        height: 50px;
    }


.share a {
    line-height: 50px;
    margin-left: 1rem;
    text-decoration: none;
}

    .share a:hover,
    .share a:active {
        opacity: 0.6;
        text-decoration: none;
    }

    .share a img {
        width: 24px;
        height: 24px;
        vertical-align: middle;
        margin-left: 3px;
        border: 1px solid #aaa;
        border-radius: 6px;
        filter: grayscale(100%);
    }


/* Menu
**************************** */

.stuck {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
}


.menu_mm ul li {
    color: #333;
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
}

    .menu_mm ul li:last-child {
        margin-right: 0;
    }

.logo_desktop {
    position: fixed;
    top: 0;
    right: 0;
    visibility: hidden;
}

.logo_desktop_show {
    visibility: visible;
    animation: 0.5s fadeIn;
}

    .logo_desktop_show.hide {
        visibility: hidden;
        animation: 0.5s fadeOut;
    }

.logo_desktop img {
    width: 75px;
    height: auto;
}


.menu_desktop {
    position: fixed;
    bottom: 0;
    right: 0;
    visibility: hidden;
}

.menu_desktop_show {
    visibility: visible;
    animation: 0.5s fadeIn;
}

    .menu_desktop_show.hide {
        visibility: hidden;
        animation: 0.5s fadeOut;
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        visibility: visible;
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        visibility: visible;
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}




.menu_mm a,
.menu_desktop a {
    color: #333;
    margin-bottom: 3px;
    text-decoration: none;
}

.menu_mm a:hover,
.menu_desktop a:hover {
    text-decoration: underline;
}

.menu_mm a.selected,
.menu_desktop a.selected {
    color: #000;
    font-weight: bold;
}

.menu_mm a.selected:hover,
.menu_desktop a.selected:hover {
    text-decoration: none;
}

.arrow-container {
    /*  border: 1px solid red;*/
    position: absolute;
    bottom: 30px;
    display: block;
    font-weight: 400;
    line-height: 1.2;
    z-index: 15;
}

.arrow-container p img {
    width: 30px;
    height: auto;
    opacity: 0.3;
    animation: fadeInArrow 1s infinite alternate;
}

.arrow-container p {
    font-size: 3rem !important;
}

@keyframes fadeInArrow {
    from {
        opacity: 0;
    }
}





/* Content
**************************** */


#video_1, #video_2 {
    z-index: 10;
    box-shadow: 6px 14px 24px 0 rgba(0,0,0,0.4);
}


.measure-wider {
    max-width: 47.5em;
}


.medium-zoom-image {
    z-index: 40;
}

.medium-zoom-overlay {
    z-index: 30;
}

hr {
    border: 1px solid #eee;
}



article p a,
.content p a {
    color: #000;
    text-decoration: underline;
}

    article p a:hover,
    .content p a:hover {
        text-decoration: none;
    }

img.lozad {
    min-height: 150px;
}



/* Footer
**************************** */
#creditos b {
    color: #444;
}

#creditos a:hover {
    text-decoration: none;
}


/* Custom Responsive 
**************************** */

/* Small */
@media screen and (max-width: 48em) {

    #video_loop_desktop {
        min-height: 100%;
        width: auto;
        /*     border: 1px solid green; */
    }

    .rr_logo img {
        height: 30px;
    }

    .f1 {
        font-size: 3.5rem;
    }

    .share a {
        line-height: 30px;
    }

        .share a svg {
            width: 25px;
            height: 25px;
        }


    .arrow-container {
        /*  border: 1px solid red;*/
        position: absolute;
        bottom: 20px;
    }

    .menu_mm ul li {
        padding: 0 20px;
        font-size: 1.1rem;
    }

    .mobile-credits {
        padding-left: 1rem;
    }
}


/* Medium */
@media screen and (min-width: 48em) and (max-width: 64em) { /* original max: 64em */
    .mobile-credits {
        padding-left: 0;
    }
}

/* Large */
@media screen and (min-width: 64em) { /* original: 64em */
    .mobile-credits {
        padding-left: 0;
    }
}

/* --------- Quiz ----------*/

.quiz-container {
    background: #fff;
    max-width: 600px;
    border-radius: 10px;
    /* height: 550px;*/
}

.quiz-container .quiz-container-title {
    font-size: 25px;
    font-weight: 600;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.quiz-container-elements {
    padding: 20px 0;
}

#quiz-container-question {
    display: flex;
    width: 100%;
    font-size: 18px;
    font-weight: 600;
}


.quiz-container-answer-btn {
    background-color: #fff;
    color: #222;
    font-weight: 500;
    width: 100%;
    border: 1px solid #222;
    padding: 10px;
    margin: 10px 0;
    text-align: left;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.quiz-container-answer-btn:hover:not([disabled]) {
    background-color: #222;
    color: #fff;
}

.quiz-container-answer-btn:disabled {
    cursor: no-drop;
}

#quiz-container-note {
    display: none;
    width: 100%;
    word-break: break-all;
    overflow: auto;
    margin-top: 15px;
}

#quiz-container-note img {
    display: inline-block;
    width: 300px;
    height: auto; 
    max-width: 100%; 
}

#quiz-container-next-button {
    display: none;
    background: #001e4d;
    color: #fff;
    font-weight: 500;
    width: 150px;
    border: 0;
    padding: 10px;
    margin: 20px auto 0;
    border-radius: 4px;
    cursor: pointer;
}

.correct {
    background: #9aeabc;
}

.incorrect {
    background: #ff9393;
}

.quiz-container a {
    text-decoration: none;
    cursor: pointer;
}

.share-item {
    margin-left: 1rem;
}

#share {
    display: none;
    padding: 20px 0;
}

#share p {
    padding: 5px 0;
}

.svg-facebook {
    fill: #333;
}

.svg-twitter {
    fill: #333;
}

.svg-twitter:hover {
    fill: #fff;
}

.share-twitter:hover .svg-twitter {
    fill: #fff !important;
}

