html, body {
    background-color: #8f754a;
    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: #8f754a;
    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 - 85px);
    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: 800px;
    padding: 20px 0;
    margin-top:5rem;
    margin-bottom:3rem;
  }
  
  .content h1 {
      font-size:2.2rem;
      /* background-color: #49b4a9; */
      width:fit-content;
      width:-moz-fit-content;
      font-weight:300;
      margin-bottom:1.5rem;
      text-shadow: 1px 1px 20px #1f1b18;
  }
  .content p {
      font-size:1.3rem;
      text-shadow: 1px 1px 20px #1f1b18;
  }

  .didascalia h3 {
    color:#FFF;
    font-weight:300;
    font-size: 18px;
    font-style: italic;
    text-shadow: 1px 1px 20px #1f1b18;
  }

  footer {
    background-color: #f9b62c;
    color:#FFF;
    width: 100%;
    position: fixed;
    z-index:1;
    bottom:0;
  }

  footer p {
      margin-bottom:0;
  }

  footer a {
    color: #fff;
  }

    @media screen and (max-width:768px){
        .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;
        }
    }
    /* Portrait */
    @media only screen 
    and (min-width: 1024px) 
    and (max-height: 1366px) 
    and (orientation: portrait) 
    and (-webkit-min-device-pixel-ratio: 1.5) {
        .content {
            margin-top:20rem;
        }
    }
    @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;
        }
        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;
        }
    }

    .button_03 {
        color: #fff !important;
        font-family: "Open Sans Bold", Arial, sans-serif;
        font-size: 14px;
        line-height: 14px;
        background-color: #002135;
        /* border: 1px solid #fff; */
        border-radius: 6px;
        margin: 15px 0;
        padding: 14px 24px;
        width: fit-content;
    }
    
    .button {
        display: inline-block;
        text-align: center;
        text-transform: uppercase;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -ms-user-select: none;
        user-select: none;
        outline: 0;
        vertical-align: middle;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
    }
    
    .button:hover {
        text-decoration: none;
        color: #002135 !important;
        background-color: rgba(255, 255, 255, 0.6);
    }