@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700,800,900|Poppins:300,400,500,600,700,800,900');
*{
    margin:0;
    padding: 0;
    border:0;
    box-sizing: border-box;
}

a{
    text-decoration: none;
}

.scroll{
    background-color: #EDE5DE;
}

h1{
    text-align:center;
    font-family: 'Montserrat';
}

header nav{
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr 1fr; */
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr; 
    padding: 10px;
    background-color: #515C4E;
}

header nav a{
    margin-top: 20px;
}

header nav div{
    text-align: center;
    color:#ccc;
    padding: 5px 0;
}

header nav > a:not(:last-child){
    border: 0 solid black;
    border-right-width: 1px;
}

header nav div:hover{
    cursor: pointer;
    color:white;
}

section#content{
    padding:60px 15px 50px 15px;
    max-width: 830px;
    margin: 0 auto;
}

section p{
    text-align:justify;
    font-weight: 400;
    font-size: 100%;
    line-height: 1.7em;
    word-break: break-word;
    font-family: 'Montserrat';
    margin-top:1em;
    color:#232722;
}

section#galery .column > div img{
    width: 100%;
    transition: transform 1s ease;
    max-height: calc(100vh - 30px);
}

.scroll{
    overflow-y: scroll;
    /* scroll-behavior: smooth; */
    height: 100%;
}

@media screen and (min-width:601px){
    .scroll::-webkit-scrollbar {
        width: 10px;
    }
       
    .scroll::-webkit-scrollbar-track {
        box-shadow: inset 0 0 6px #aaa;
        border:1px solid #aaa;
    }
       
    .scroll::-webkit-scrollbar-thumb {
        background-color: #5C4E59; 
    }
    
    .scroll{
        height: 100vh;
        scrollbar-width: thin;          /* "auto" or "thin" */
        scrollbar-color:#333632  #9ba199 !important;  
    }
      
    section#galery{
        display: flex;
        flex-wrap: wrap;
        padding: 0 8px;
        max-width: 1200px;
        margin:0 auto;
    }

    section#galery .column{
        flex: 25%;
        max-width: 25%;
        padding: 0 8px;
    }

    section#galery .column > div{
        margin-top: 14px;
        vertical-align: middle;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    section#galery .column > div i{
        text-align: center;
        display: none;
        position: absolute;
        top:0;
        left:0;
        color:#EDE5DE;
        font-size: 48px;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
    }

    section#galery .column > div:hover{
        cursor: pointer;
    }

    section#galery .column > div:hover img{
    transform: scale(1.06);
    }

    section#galery .column > div:hover i{
        display:grid;
        place-items: center;
    }

    @media screen and (max-width: 800px) {
        section#galery .column {
          flex: 50%;
          max-width: 50%;
        }
    }

    section#fixed-header{
        display: none;
    }

    section#fixed-info{
        display: none;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    p{
        color:#EDE5DE !important;
    }

    section#galery{
        scroll-snap-type: y mandatory;
        scroll-snap-align: center;
       
        overflow-y: scroll;
        position: fixed;
        height: 100.01%;
        top:0;
    }

    section#galery .column > div{
        scroll-snap-align: start;
        display: grid;
        place-items: center;
        height: 100vh;
        background-color: #111;
        scroll-snap-align: start;
    }

    section#galery .column > div > div{
        padding-bottom: 30px;
    }

    section#galery i{
        display: none;
    }

    header{
        display: none;
    }

    section#content{
        display: none;
    }

    section#change-galery{
        display: none;
    }

    footer{
        display: none;
    }

    section#fixed-header{
        position: fixed;
        top:0;
        left: 0;
        display: block;
        width: 100%;
        z-index: 2;
        background-color: #1119;
        padding-bottom: 10px;
    }

    section#fixed-header h2{
        width: 100%;
        text-align:center;
        font-family: 'Montserrat';
        margin-top:15px;
        color:#EDE5DE;
    }

    section#fixed-header i{
        float:left;
        margin-top:15px;
        margin-left: 15px;
        font-size: 26px;
        color:#EDE5DE;
    }

    #fixed-galery{
        display: none !important;
    }

    section#fixed-info{
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color:#1119;
        padding-bottom: 15px;
        padding-top:5px;
        color:#EDE5DE;
        overflow: hidden;
    }

    section#fixed-info i{
        color:#EDE5DE;
        font-size:32px;
        margin-bottom: 4px;
    }
    section#fixed-info span{
        color:#EDE5DE;
    }

    section#fixed-info button{
        background-color: transparent;
        margin:0 auto;
    }
    section#fixed-info button:hover{
        cursor: pointer;
        color:white;
    }

    #content-copy{
        text-align: justify;
        padding: 50px 25px;
    }

    #content-copy.hidden{
        display: none;
    }
}

section#change-galery{
    max-width: 830px;
    margin:20px auto;
    font-size:32px;
}

section#change-galery .left{
    float:left;
}

section#change-galery .rigth{
    float:right;
}

section#change-galery  div{
    padding: 8px;
}

section#change-galery span{
    font-size: 22px;
    font-family: 'Montserrat';
}

section#change-galery i{
    color:#515C4E;
    font-size: 22px;
}

section#change-galery .rigth i{
    transform: rotate(180deg);
}

section#change-galery > div:hover{
    background-color: rgba(0, 0, 0, 0.061);
    cursor: pointer;
}

#content-copy{
    max-height: calc(100vh - 133px);
    overflow-y: auto;
    margin-bottom: 10px;
}

#fixed-galery{
    position: fixed;
    top:0;
    left:0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 100vh;
    column-gap: 15px;
    padding:0 50px;
}

#fixed-galery > div{
    display: grid;
    place-items: center;
}

#fixed-galery img{
    max-width: 100%;
    max-height: calc(100vh - 30px);
    user-select: none;
}

#fixed-galery i{
    font-size:48px;
    color:#515C4E;
    background-color: #ede5decc;
    border-radius: 50%;
}

#fixed-galery i:hover{
    background-color: #EDE5DE;
    cursor: pointer;
}

#fixed-galery div#next{
    transform: rotate(180deg);
}

footer{
    font-family: 'Montserrat';
}