/* Theme Restyles */
.krakoaBody {
    background-image: 
    linear-gradient(rgba(7, 61, 10, 0.5), rgba(0, 0, 0, 0.5)),

    /* linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), */
    url(../imgs/krakoa/krakoa-face-mirror.jpg);

    /* background-image: url(imgs/krakoa/krakoa-background-tile.png); */
    background-color: rgb(36, 66, 80);
}

.krakoaBody .sidebar {
    background-color: rgb(82, 123, 235);
    border-right: 1px solid rgb(24, 37, 0);
    color: rgb(255, 255, 0);
}

.krakoaBody .sidebar a {
    color: rgb(222, 222, 255);
}


.krakoaBody main {
    background-color: rgb(177, 208, 248);
    min-width: 80%;
    border-left: 1px solid rgb(24, 37, 0);
}


/* Mobile stuff */
@media (max-width: 700px) {
    .krakoaBody #mobileNavOpen {
        background-color: rgb(82, 123, 235);
    }

    .krakoaBody #mobileNavMenu {
        background-color: rgb(82, 123, 235);

        color: rgb(255, 255, 0);

        /* color: aliceblue; */
    }

    .krakoaBody #mobileNavMenu a {
        color: rgb(222, 222, 255);
    }

}


/* Main Styles & Intro */
.krakoaContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
}

#krakoaIntro {
    text-align: justify;
}

#krakoaContentsRow {
    display: block;
    position: relative;
    width: 100%;
    padding: 5px;
}

.krakoaContents {
    display: inline-block;
}

.spriteWrapper {
    position: absolute;
    bottom: 0;
    right: 20px;
    display: inline-block;
}
.spriteWrapper .hover-image {
    display: none;
}
.spriteWrapper:hover .default-image {
    display: none;
}
.spriteWrapper:hover .hover-image {
    display: inline-block;
}

/* Hide when viewport width is 350px or less */
@media (max-width: 350px) {
  .spriteWrapper {
    display: none;
  }
}

.krakoaBody hr {
    width: 100%;
}


/* Act Retrospective Section */

.krakoaEntry {
    display: flex;
    flex-direction: row;
    margin: 20px;
    justify-content: center;

    /* background-color: rgb(159, 199, 211); */
    
}

@media (max-width: 800px) {
    .krakoaEntry {
        flex-wrap: wrap;
    }
}

.krakoaEntryThumb {
    height: 300px;
    max-width: 250px;
    /* width: auto; */
    max-width: 100%;
    padding-right: 12px;

    margin-bottom: 5px;
}

.krakoaEntryInfo {
    background-color: rgb(159, 199, 211);
    padding: 15px;
    margin-bottom: 5px;
}

.krakoaEntryInfo p {
    font-size: small;
    text-align: justify;
}

.expandIssues {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgb(222, 222, 255);
    border: 1px solid black;
    width: 80%;

    padding-top: 10px;
    padding-bottom: 10px;

    /* Used for snapping scrollbar from expand/collapse anchors */
    scroll-margin-top: 100px;
}


.krakoaResponsiveList {
    display: flex;
    flex-wrap: wrap;
}

.krakoaResponsiveList li {
    /* flex: GROW SHRINK BASIS */
    flex: 1 0 50%;  /* Take up 50% width on normal screens */
    padding: 5px;
    padding-right: 30px; 
}

/* Adjust ul settings for smaller screens to be 1 column */
@media (max-width: 800px) {
    .krakoaResponsiveList li {
        flex: 1 0 100%; /* Take up 100% width on mobile */
    }
}

.krakoaDroppedTitle {
    color: rgb(165, 8, 8);
}

.krakoaDawnExpanded, .krakoaReignExpanded, .krakoaDestinyExpanded, .krakoaFallExpanded {
    display: none;
}


/* Stats section */

#krakoaCountImg {
    max-width: 70%;
    margin-top: 20px;
    margin-bottom: 30px;
}


#krakoaStatsList  {
    list-style: none;
    text-align: center;

}

.mostReadChars {
    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 90%;
    /* background-color: burlywood; */
    padding-top: 15px;
    text-align: center;
    background-color: rgb(159, 199, 211);


}

.krakoaCharContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;

    margin-top: 15px;
}

.krakoaChar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.krakoaCharImg {
    width: 110px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 100%;
}


/* Skipped Issues Section */

#skippedIssues {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;

    background-color: rgb(222, 222, 255);
    border: 1px solid black;
}

#skippedIssues p {
    text-align: justify;
}

#skippedIssues p, #skippedIssues h2, #skippedIssues ul {
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: 20px;
    margin-left: 20px;
}

#skippedIssues hr {
    width: 100%;
}
