/* CSS Document */

.middle {
  position: static;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.container {
  position: relative;
  width: 70%;
 text-align: justify;
 text-justify: auto;
 perspective-origin: center;
 padding-top: 15px;
 padding-right: 15px;
 padding-left: 15px;
}

.container-xl {
  position:fixed;
  width: 60%;
 text-align: justify;
 text-justify: auto;
 perspective-origin:left;
 padding-top: 15px;
 padding-right: 15px;
 padding-left: 15px;
 scroll-behavior: auto;
}

@media (min-width:484px){
  .container {
    max-width: 540px;
  }
 .text-size{
    font-size:  60%;
}   
.middle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
}
/*#### MEDIA ####*/
@media (min-width : 484px ){
  .container {
    max-width: 540px;
  }
    .text-size{
        font-size: 50%;
    }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
    .text-size{
        font-size: 80%;
    }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
    .text-size{
        font-size: 100%;
    }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
    .text-size{
        font-size: 150%;
    }
}
    
@media (min-width : 484px ){
  .container, .container-sm {
    max-width: 540px;
  }
    } 
@media (max-width: 100px)
{        .openbtn, .sidenav {
    min-width: 40px;
    font-size: 5px;}
}
 @media (max-width: 484px){
    .container{
        min-width: 120px;
    }   
     .middle{
         position: absolute;
         left: 20px;
         top: 50%;
     }
     .text-size{
         font-size: 70%;
     }
     .sign{
         width: 80px;
         height: 80px;
     }
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body, html {
      height: 100%;
      overflow: hidden;
      font-family: sans-serif;
    }

    .background-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

    .bg-image {
      position: absolute;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transition: opacity 1.5s ease-in-out;
    }

    .bg-image.visible {
      opacity: 1;
    }

    .overlay {
      position: fixed;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.00);
      color: white;
      font-size: 2rem;
    }
    
/* SIDE NAV SETTINGS */
    
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color:rgba(0,0,0,0.40);
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}


@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/*#####################
    .nav {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
}

.nav-link:hover, .nav-link:focus {
  text-decoration: none;
}

.nav-link.disabled {
  color:#000000;
  pointer-events: none;
  cursor: default;
}
###################*/       
/* FOOTER SETTINGS */
.footer {
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   color: white;
   text-align: center;
}

/* NEWSFEED FORMAT SETTINGS */
.newsfeed {
    padding: 5px 50px 5px 50px;
    border-top-style: solid;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-color: grey;
    color: ghostwhite;
    font: bold;
    font-size: 40px;
    background-color: rgba(79,75,75,0.30);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.sign{
    position: absolute;
    top: 200px;
    left: 60px;
    width: 150px;
    height: 150px;
    z-index: 2;
}
/* TEXT FADE SETTINGS */
    .fade-text-lg {
      opacity: 0;
      animation: fadeOutSlow 180s ease-in-out forwards;
    }
    @keyframes fadeOutSlow {
      0% { opacity: 0; }
      20% { opacity: 1; }
      95% { opacity: 1; }
      100% { opacity: 0; }
    }


    .fade-text {
      opacity: 0;
      animation: fadeInOut 18s ease-in-out forwards;
    }

    @keyframes fadeInOut {
      0% { opacity: 0; }
      10% { visibility: visible; }
      25% { opacity: 1; }
      75% { opacity: 1; }
      98% { opacity: 0; }
      100% { visibility: hidden; }
    }

    .fade-sign {
      opacity: 0;
      animation: fadeInOutSign 8s ease-in-out forwards;
    }

    @keyframes fadeInOutSign {
      0% { opacity: 0; }
      10% { visibility: visible; }
      25% { opacity: 1; }
      75% { opacity: 1; }
      98% { opacity: 0; }
      100% { visibility: hidden; }
    }

