/*!==============================
*post-gallery.online
*/

/* Hide scrollbar for Chrome, Safari and Opera */

body::-webkit-scrollbar {
    display: none;
}


/* Hide scrollbar for IE, Edge and Firefox */

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none !important;
    /* Firefox */
}

html {
    background-color: rgba(255, 255, 255, 0.915);
}

input,
textarea,
button,
select,
a,
.hero, 
#container, body, #field  {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none; /* supported by Chrome and Opera */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
}


.main {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.image {
    position: absolute;
    max-width: 81%;
    max-height: 81%;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.flex-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-evenly;
    top: 77%;
    width:70%;
    margin-left: 15%;
}

.flex-container>div {
    width: 18vh;
    height: 18vh;
}

.button {
    position: absolute;
    width: 18vh;
    top: 82.5%;
}

.flex-container-book {
    display: flex;
    flex-direction:column;
    margin-left:1.5%;
    margin-top: 1.5%;
    width:70%;
    height:70%;
}

.flex-container-book>div {
    width: 6.1vh;
    height: 6.1vh;
}

.bookicon {
    position: absolute;
    width: 9.5vh;
}

#actbutton {
    opacity: 0;
    transition: opacity .4s;
}

#actbutton:hover {
    opacity: 1;
}

a {
    text-decoration: none;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(255, 255, 255);
    background-color: rgba(255, 255, 255, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.5s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }

  .overlay img {
    width:45%;
    margin-left:25%;
    margin-top:5%;
    height: auto;
    text-align: right;
  }
  
  @media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
    }
  }

@media screen and (max-width:1024px) {
    .image {
        max-width: 65%;
        max-height: 65%;
        top: 45%;
        left: 50%;
    }
    .flex-container {
        display: flex;
        flex-direction: row;
        align-items:center;
        justify-content: space-evenly;
width:90%;
padding-left:5%;
margin-left:0%;
        top: 77%;
        left: 50%;
    }
    
    .button {
        width: 11vh;
    }

    .overlay img {
        width:50%;
        margin-left:25%;
        margin-top:35%;
        height: auto;
        text-align: right;
      }

      .flex-container-book {
        display: flex;
        flex-direction:row;
        justify-content: center;
        align-items: center;
        margin-top: 1.5%;
        width:90%;
        margin-left:5%;
        left:0%;
    }
    
    .flex-container-book>div {
        width: 7vh;
        height: 7vh;
    }
    
    .bookicon {
        position: absolute;
        width: 3vh;
    }

}

@media screen and (max-width:655px) {
    .image {
        max-width: 100%;
        max-height: 100%;
        top: 45%;
        left: 50%;
    }
    .flex-container {
        width: 95%;
        top: 77%;
        margin-left: 2.5%;
        padding-left:0%;
    }
    .button {
        width: 8.5vh;
    }

    .overlay img {
        width:50%;
        margin-left:25%;
        margin-top:50%;
        height: auto;
        text-align: right;
      }

      .flex-container-book {
        display: flex;
        flex-direction:row;
        justify-content: center;
        align-items: center;
        margin-top: 1.5%;
        width:100%;
        margin-left:0%;
        padding-left: 0%;
        left:0%;
        margin-top:10%;
    }
    
    .flex-container-book>div {
        width: 6vh;
        height: 6vh;
    }
    
    .bookicon {
        position: absolute;
        width: 4vh;
    }

}
    


@media screen and (max-height:535px) {
    .image {
        max-width: 65%;
        max-height: 65%;
        top: 50%;
        left: 50%;
    }
    .flex-container {
        width: 75%;
        height: 75%;
        top: 77%;
        padding-left: 12.5%;
        margin-left: 0%;
    }
    .button {
        width: 14vh;
    }

    .flex-container-book {
margin-top:1%;
    }
}