:root{
    font-size: 16px;
}

*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


body{
    background-color: #A5A5A8;
}



.img-magnifier-container {
  position: relative;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #000;
  border-radius: 50%;
  cursor: none;
  /*Set the size of the magnifier glass:*/
  width: 100px;
  height: 100px;
}

header{
    padding:1em 2em;
    color:#fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header img{
    max-width: 100px;
    filter:brightness(1.5) drop-shadow(0 3px 3px rgba(0,0,0,0.4));
}

section{
    max-width: 96%;
    margin:0 auto;
    width: fit-content;
    display: flex;
    flex-flow: row wrap;
    margin-top: 70px;
    height: calc(80vh - 140px);
    align-items: center;
    align-content: center;
    filter:drop-shadow(0 5px 5px rgba(0,0,10,0.2));
}
section div{
    max-width: 100%;
    position: relative;
}
section div img{
    background-color: #fff;
    width: 100%;
    padding: .5em;
}

section div img:hover{
    cursor: zoom-in;
}

#page2{
    display: none;
}

#page1:after{
    content:none;
}

#page2:after{
    content: none;
}

.stepsBtn{
display: flex;
flex-flow: row;
position: fixed;
z-index: 99;
bottom: 2.5em;
left: 0;
margin-left:calc(98% - 111px);
}

.stepsBtn a{
    width: 50px;
    height: 50px;
    color:#A5A5A8;
    display: inline-block;
    background-color: #fff;
    border-radius: 50%;
    text-align: center;
    align-content: center;
    align-items: center;
    padding-top:13px;
}
.stepsBtn a img{
    height: 22px;
    opacity: .6;
    stroke: black;
}
.stepsBtn .next img{
    transform: rotate(180deg);
    margin-left:6px;
}
.stepsBtn .prev img{
    margin-left:-4px;
}
.stepsBtn .prev{
    opacity: 1;
    margin-right: 7px;
    transition: .3s ease-in-out;
}

.showing{
    animation:showing .3s 1;
}
@keyframes showing{
    from{
        opacity: 0;
    }
}


.desktop{
    display:none;
}
.small{
    display:inline-block;
}


#lightbox{
    position: absolute;
    width: 100vw;   
    height: 100vh;
    z-index: 222;
    background-color: #fff;
    top: 0;
    overflow: scroll;
}
#lightbox #zoomed{
    height: 100%;
    width: auto;
    overflow: scroll;

}

#closebox{
    background:#fff;
    border-radius: 5px;
    position: fixed;
    padding-bottom: 3px;
    color:#444;
    top: 30px;
    left: 30px;
    border:none;
    width: 50px;
    height: 50px;
    font-size: 32px;
    line-height: 15px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0,0,0,0.4);
    transition: .3s ease-in-out;
    

}
#closebox:hover{
    background-color: #eee;
    cursor: pointer;
    font-size: 36px;
}

.visible{
    display: initial;
    animation:appear .5s 1;
}
@keyframes appear{
    from{
        transform: scale(.5);
        opacity: 0;
    }
}

.hidden{
    display: none;
}


@media(min-width:998px){

    #page1 img{
        padding:.5em 1em .5em .5em;
    }
    #page2 img{

        padding:.5em .5em .5em 1em;
    }

    .stepsBtn .prev{
        opacity: .45;
        margin-right: 7px;
    }

    .stepsBtn .prev:hover{
        opacity: 1;
    }

    section{
        height: calc(90vh - 210px);
    }
    #page2{
        display: initial;
    }
    section div{
        max-width: 50%;
    }
    .desktop{
        display:inline-block;
    }
    aside.small{
        display:none;
    }      
     
    .stepsBtn{
        display: flex;
        flex-flow: row;
        position: fixed;
        z-index: 99;
        bottom: 2.5em;
        left: 0;
        margin-left:calc(50% - 55px);
    }


    #page1:after{
        content: ' ';
        height: 100%;
        width: 20px;
        position: absolute;
        right: 0;
        top: 0;
        background-image: linear-gradient(270deg, rgba(0,0,0,0.1), transparent);
        display: block;
    }
    
    #page2:after{
        content: ' ';
        height: 100%;
        width: 20px;
        position: absolute;
        left: 0;
        top: 0;
        background-image: linear-gradient(90deg, rgba(0,0,0,0.2), rgba(0,0,0,0.06), transparent);
        display: block;
    }

    #lightbox #zoomed{
        width: 100%;
        height: auto;
        overflow: scroll;
    
    }

}
