/*--------------------------------------------- 
  ANIMATED HEADER STYLES
--------------------------------------------- */

.main-title {
    position: absolute;
    margin: 0;
    padding: 0;
    color: #F9F1E9;
    text-align: center;
    top: 925px;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    font-family: californian;
  }
  
  .demo .main-title {
    text-transform: none;
    font-size: 3em;
  }
  
  @media only screen and (max-width: 768px) {
    .demo .main-title {
      font-size: 3em;
    }
  }
  
  
  /*--------------------------------------------- 
    HEADER IMAGE SLIDER STYLES
  --------------------------------------------- */
  
  .sliver-slider {
    position: absolute;
    margin: 0;
    padding: 5px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    top: 170px;
    left: 50%;
    -webkit-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    width: 100%;
    height: 300px;
  }
  
  .ss-ul, .ss-li {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .ss-ul {
    width: 100%;
    display: flex;
    height: 250%;
    margin: 50px auto;
  }
  
  .ss-li {
    flex: 1;
    transition: flex 500ms ease-out;
    padding: 1px;
    position: relative;

  }
  
  .ss-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .ss-li:hover {
    flex: 50%;
  }
  
  .ss-li:hover .overlay {
    opacity: 0.9;
  }

  .ss-li .overlay {
    position: absolute;
    top: 0;
    left: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    color: white;
    font-family: calibri;
    font-size: 3em;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 275px;
  }

  .ss-li:hover .overlay {
    opacity: 0.9;
  }

  @media only screen and (max-height: 1080px) {
    .ss-ul {
      width: 100%;
      display: flex;
      height: 175%;
      margin: 50px auto;
    }
  
    .main-title {
      top: 650px;
      font-size: 2em;
    }

    .ss-li .overlay {
      font-size: 24px;
      padding-top: 100px;
    }
  

    .ss-li .overlay {
      position: absolute;
      top: 0;
      left: 0;
      box-sizing: border-box;
      width: 100%;
      height: 100%;
      color: white;
      font-family: calibri;
      font-size: 2em;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      background-color: rgba(0, 0, 0, 0.5);
      padding-top: 175px;
    }
  
  }

  @media only screen and (max-height: 720px) {
    .ss-ul {
      width: 100%;
      display: flex;
      height: 100%;
      margin: 50px auto;
    }
  
    .main-title {
      top: 450px;
      font-size: 2em;
    }

    .ss-li .overlay {
      font-size: 24px;
      padding-top: 100px;
    }
  }

  
