/* set-up*/
html {
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;

}

html {
    font-size: 80%;
    font-family: Courier, monospace, 'Courier New';
    letter-spacing: .1rem;
}


/*LAYOUT*/

/**initializing layout modules**/
body, header, main, section, nav, footer, ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

body, header, main, section {
    flex-direction: column;

}

/**/
body, main, header {
    width: 100%;
}

/**HEADER**/

header {
    /*background-color: rgb(214, 201, 86);*/
    /*background-color: rgb(240, 161, 216);*/
    background-color: rgb(193, 255, 100);
    padding-bottom: 20px;

}

.big-title {
    margin-bottom: 20px;
}

header img {
    border-radius: 50%;
    max-width: 150px;
    margin-top: 20px;
}
header h1 {
    margin-bottom: 0;
    color: rgb(228, 90, 26);
}

nav {
    width: 100%;
}

nav ul {
    list-style: none;
    flex-direction: row nowrap;
    justify-content: space-evenly;
    font-size: 1.2rem;
    width: 100%;
}

header span{
    font-size: 1.2rem;
}


/**IMG GALLERY SECTIONS**/
.img-gallery {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.illustration {
    margin-top: 12px;
    /*width: auto;*/
    /*max-width: 100%;*/
    max-height: 100vh;
    max-width: 99%;
    cursor: pointer;
}

/**ILLUSTRATIONS**/

.illustration-popup-gallery {
    overflow: scroll;
    justify-content: flex-start;
}

/**COMICS**/

.comics {
    justify-content: flex-start;
    max-width: 100%;
    margin: 0;
    background-color: rgb(237, 241, 245);
}



.comics>span {
    display: inline-block;
    width: 100%;
    margin-left: 3%;
    /*padding-right: 30px;*/
}

.comic-thumbs{
    width: 70vw;
    height: auto;
}

.comic-thumbs img {
    max-width: 100%;
    margin: 10px;
}

.comic-thumb:hover {
    box-shadow: 8px 8px 5px rgb(233, 233, 233);
    border: 3px dashed rgb(193, 255, 100);
    cursor: pointer;
}

/**POP-UP GALLERIES**/
.hidden {
    display: none;
}
.popup-gallery {
    /*display: none;*/
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.95);
    position: fixed;
    top: 0;
    left: 0;
    z-index:100;
}

.popup-gallery .close-button {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    background-color: rgba(0,0,0,.5);
    z-index: 100;
    position: fixed;
    top: 10px;
    right: 20px;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 0 0 1px;
}

.popup-gallery span {
    cursor: pointer;
}

/**ILLUSTRATION POP-UP GALLERY**/
.illustration-popup-gallery{
    display: none;
}

.illustration-popup-gallery .popup-image {
    width: auto;
    height: auto;
    justify-content: flex-start;
    align-items: flex-start;
}

.illustration-popup-gallery .popup-image img{
    width: 95%;
    margin: 2.5%;
}

/**COMICS POP-UP GALLERY**/

.comic-popup-gallery{
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
}

.comic-popup-image::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

.comic-popup-image {
    max-width: 96%;
    max-height: 90%;
    width: auto;
    height: auto; 
    align-items: flex-start;
    margin-bottom: -100;
}

.comic-page {
    /* overflow: scroll; */
    width: 320px;
    height: auto;
    order: 0;
    /* order: 1; */
}

.arrow {
    cursor: pointer;
    border-style: solid;
    margin-top: -100px;
    position: fixed;
    bottom: 5%;
}

.arrow-left{
    border-width: 8px 12px 8px 0;
    border-color: transparent white transparent transparent;
    left: 40%;
    /* order: 2; */
    /* margin: 0 5% 0 40%; */
}

.arrow-right {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent white;
    right: 40%;
    /* order: 3; */
    /* margin: 0 40% 0 5%; */
}

/**ABOUT**/

.about {
    padding: 20px 20px;
}

.about-text {
    max-width: 80%;
    align-items: flex-start;

}

.about-text h3 {
    margin: 20px 0 10px;
}

/**FOOTER**/
footer {
    width:90%;
    margin: 10px;
    margin-bottom: 10px;
    background-color: rgb(193, 255, 100);
    border: 6px groove rgb(193, 255, 100);
    padding: 10px;
    margin-top: 10px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

div.duck-gif {
    display: flex;
    align-self: flex-end;
    flex-flow: column nowrap;
    align-items: flex-end;
    font-size: .8rem;
}

.duck-gif img{
    width: 80px;
    height: auto;
    object-fit: contain; 
    text-align: right;
    margin-bottom: 15px;
}

.duck-gif p {
    font-size: .8rem;
}


/*ADDITIONAL STYLES*/ 

.mobile-hidden {
    display: none;
}

h1, h2, h3, p, li {
    text-transform: lowercase;
}

h3 {
    font-weight: 700;
    font-size: 1.4rem;
}

p {
    font-size: 1.2rem;
    line-height: 1.8em;
}

.spacey-paragraph{
    margin-top: 40px;
}

h2 {
    width: 95%;
    text-align: left;
    margin: 15px 0 5px;
    padding-top: 15px;
    border-top: 2px dashed goldenrod;
    
}

a {
    text-decoration: none;
    color: rgb(149, 75, 155);
    
}

nav ul li a:hover {
    color: black;
    border-bottom: 1px solid black;
}

/*MEDIA QUERIES*/
@media screen and (min-width:550px) {

.comic-page {
    width: 410px;
}

.comic-popup-image {
    overflow: scroll;
    justify-content: flex-start;
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
}

.mobile-hidden {
    display: inline-flex;
}

.mobile-show {
    display: none;
}

.arrow {
    position: fixed;
    top: 50%;
    width: 0;
    height: 0;
    cursor: pointer;
    border-style: solid;

}

.arrow-left{
    border-width: 8px 12px 8px 0;
    border-color: transparent white transparent transparent;
    left: 0;
    margin-left: 15px;
}

.arrow-right {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent white;
    right: 0;
    margin-right: 30px;
}

.arrow-left{
    border-width: 8px 12px 8px 0;
    border-color: transparent white transparent transparent;
}

}

@media screen and (min-width:700px) {

nav ul {
    font-size: 1.4rem;
}

.comic-page {
    width: 600px;
}

.comic-thumbs {
    max-width: 90%;
    flex-flow: row nowrap;
    flex: 1 1 0;
}

.comic-thumbs img {
    max-width: 30%;
}

.arrow-left, .arrow-right, .comic-popup-gallery .close-button, .comic-page {
    order: 0;
}

}



@media screen and (min-width:950px) {

.comic-page {
    width: 750px;
}

.comic-thumbs {
    max-width: 75%;
}

}



@media screen and (min-width: 1200px) {

.comic-page {

    width: 900px;
}

}

@media screen and (min-width: 1500px) {

.comic-page {

    width: 1200px;
}

}

