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

/* 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: #fff;
    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 - 200px); /* calc(100vh - 133px); */
    font-family: 'Lato', sans-serif !important;
    font-weight:300;
    z-index:1;
}

/* Header */
header {
    position: relative;
    z-index:1;
}
header #logo {
    width: 200px;
    float: left;
}
header #logo img {
    width: 100%;
}


/* Add some content at the bottom of the video/page */
.content {
    color: #f1f1f1;
    max-width: 800px;
    padding: 0 0 60px 35px;
    /* padding-left: 100px; */
    /* margin-top: 2rem; */
    /* margin-bottom: 3rem; */
    /* background-color: rgba(0, 0, 0, 0.6); */
}

.content h1 {
    font-size: 2.2rem;
    background-color: #fff;
    width: fit-content;
    width: -moz-fit-content;
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding: 12px !important;
    color: #000;
}

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

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

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

footer p {
    margin-bottom: 0;
    padding-left: 35px;
    font-weight: 500;
    color: #fff;
}

footer p a {
    color: #fff;
    text-decoration: underline;
}

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

/* */

.macpaw-gallery {
    font-size: 0;
    margin: 0 auto 48px;
    max-width: 3840px;
    overflow: hidden;
    white-space: nowrap
}

.macpaw-gallery__picture {
    display: inline-block;
    padding-right: 20px;
    vertical-align: middle
}

.macpaw-gallery__picture--first {
    animation: moveGalleryPicture1 80s linear -40s infinite
}

.macpaw-gallery__picture--second {
    animation: moveGalleryPicture2 80s linear infinite
}

.macpaw-gallery__img {
    height: auto;
    max-width: 3103px
}

@media only screen and (min-width:1921px) {
    .macpaw-gallery__img {
        max-width: 4611px
    }
}

@media only screen and (max-width:767px) {
    .macpaw-gallery__img {
        max-width: 2235px
    }
}

@keyframes moveGalleryPicture1 {
    0% {
        transform: translateX(100%)
    }

    to {
        transform: translateX(-100%)
    }
}

@keyframes moveGalleryPicture2 {
    0% {
        transform: translateX(0)
    }

    to {
        transform: translateX(-200%)
    }
}

/* */

@media screen and (max-width:992px){
    /* .content {
        padding-left:0;
    } */
}

@media screen and (max-width:768px){
    #wrapper {
        min-height: calc(100vh - 150px);
    }
    header #logo {
        width: 300px;
    }
    .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: 300px;
    }
    .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; */
    }
}