html, body {
    background-color: #999;
    min-height: 100vh;
}

.container-fluid {
    max-width:1440px;
}
/* LOADER */

#loading {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    display: block;
    z-index: 99;
    text-align: center;
    background: #000 url(../img/loader.gif) center center no-repeat;
    opacity: 1;
}

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.pace-inactive {
    display: none;
}

.pace .pace-progress {
    background: #f36534;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 2px;
}

.visible {
    display: block !important;
}

.hidden {
    display: none !important;
}


/* Style the video: 100% width and height to cover the entire window */
#myVideo {
    position: fixed;
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

#wrapper {
    position: relative;
    min-height: calc(100vh - 119px);
    font-family: 'Lato', sans-serif !important;
    font-weight: 300;
    z-index: 1;
}

/* Header */
header {
    position: relative;
    z-index: 1;
}

header #logo {
    width: 280px;
    float: left;
}

header #logo img {
    width: 100%;
}


/* Add some content at the bottom of the video/page */
.content {
    color: #f1f1f1; 
    max-width: 800px;
    padding: 20px 0;
    margin-top:5rem;
    margin-bottom:3rem;
}

.content h1 {
    font-size: 2.2rem;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.content p {
    font-size: 1.3rem;
}

.didascalia h3 {
    color: #FFF;
    font-weight: 300;
    font-size: 18px;
    font-style: italic;
}

footer {
    background-color: #ee6733;
    color: #FFF;
    width: 100%;
    position: relative;
    z-index: 1;
}

footer p {
    margin-bottom: 0;
}

footer a, footer a:hover {
    color: #fff;
}

@media screen and (max-width: 768px) {
    #wrapper {
        min-height: calc(100vh - 103px);
    }

    header #logo {
        width: 290px;
    }

    .content {
        max-width: 480px;
    }

    .content h1 {
        font-size: 1.8rem;
    }

    .content p {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 480px) {
    header #logo {
        width: 215px;
    }

    .content {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        padding-top: 0;
    }

    .content h1 {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .content p {
        font-size: 1rem;
    }

    .didascalia {
        font-size: 15px;
    }
}

@media only screen
and (min-device-width: 375px)
and (max-device-width: 667px)
and (-webkit-min-device-pixel-ratio: 2)
and (orientation: landscape) {
    .content {
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        padding-top: 0;
    }
}