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: #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 - 116px);
    font-family: 'Lato', sans-serif !important;
    font-weight:300;
    z-index:1;
}
.container-fluid {
    max-width:1440px;
}
  /* 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: 625px;
    padding: 20px 0;
    margin-top:5rem;
    margin-bottom:3rem;
  }
  
  .content h1 {
      font-size:2.2rem;
      background-color: #2ebae7;
      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: #2ebae7;
    color:#FFF;
    width: 100%;
    position: fixed;
    z-index:1;
    bottom:0;
  }

  footer p {
      margin-bottom:0;
  }

    @media screen and (max-width:768px){
        #wrapper {
            min-height: calc(100vh - 100px);
        }
        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 (max-device-width:812px) and (orientation: landscape) { 
        .content {
            margin-top:0;
            margin-bottom:0;
            padding-bottom:0;
            padding-top:0;
        }
        footer {
            position:relative;
            bottom:unset;
        }
    }

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