body{ 
    margin: 0;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
}

.hidden {
    display: none;
}

header {
    width: 100%;
    height: 10%;
    color: white;
    background-image: url("ComicReference-HeroImage.jpeg");
    background-color: grey;
    text-align: center;
}

header h1 {
    padding: 20px;
    padding-top: 100px;
    margin: 0px;
    background-color: rgb(73, 73, 73, 0.75);
    text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

header p {
    background-color: rgb(73, 73, 73, 0.75);
    padding: 20px;
    padding-bottom: 30px;
    margin: 0px;
    text-shadow:
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
}

#search-options {
    height: 20%;
    background-color: gainsboro;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-radio {
    margin-top: 15px;
}

.user-input-div {
    margin: 20px;
    text-align: center;
    display: inline;
}

.user-input-div h4 {
    margin-top: 0;
}

#search-by-input {
    border: 1px solid black;
}

#search-by-input-submit {
    border: 1px solid black;
}

#comic-search-list {
    background-image: url("ComicReference-HeroImage.jpeg");
    background-color: grey;
    height: 70vh;
    overflow-y: scroll;
}

#search-results {
    width: 90%;
    margin: 0;
    margin-right: 5%;
    margin-left: 5%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-content: space-around;
    text-align: left;
}

#search-results .hidden {
    display: none;
}

#search-results {
    width: 90%;
    background-color: gainsboro;
    padding: 0px;
    margin-top: 1px;
    margin-right: 5%;
    margin-left: 5%;
}

.search-item {
    list-style: none;
    display: flex;
    border: 1px solid grey;
}

.search-item:hover {
    border: 2px solid yellow;
}

.search-item img {
    size: 60%;
    border: 1px solid black;
    max-width: 80px;
    max-height: 80px;
    margin-left: 5px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-right: 5px;
}

.search-results-error {
    position: fixed; /* Sit on top of the page content */
    border: 1px solid black;
    width: 80%; /* Full width (cover the whole page) */
    height: 10%; /* Full height (cover the whole page) */
    top: 50%; 
    left: 10%;
    background-color: rgb(216, 216, 216); /* Black background with opacity */
    text-align: center;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

.search-results-error p {
    padding: 5px;
    padding-top: 20px;
}

.search-results-error .hidden {
    display: none;
}

.error-message-close { 
    width: 50px;
    padding: 5px;
    border: 1px solid black;
}

#comic-info-overlay {
    position: fixed; /* Sit on top of the page content */
    border: 1px solid black;
    width: 80%; /* Full width (cover the whole page) */
    margin-left: 10%;
    margin-right: 10%;
    height: 80%; /* Full height (cover the whole page) */
    margin-top: 10%;
    margin-bottom: 10%;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(216, 216, 216); /* Black background with opacity */
    text-align: center;
    z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
    overflow-y: scroll;      
}

.comic-info-overlay-content p {
    margin: 10px;
}

.disabled {
    pointer-events: none;
    color: inherit;
    text-decoration: inherit;
}

.blur {
    filter: blur(1px);
}

.comic-info-overlay-content img {
    max-width: 60%;
    border: 1px solid black;
}

.comic-info-overlay-content figure {
    max-width: 70%;
    margin-left: 15%;
    margin-right: 15%;
}

.comic-info-overlay-content .information-close-window {
    position: fixed;
    left: 12%;
    top: 3%;
    width: 50px;
    padding: 5px;
    border: 1px solid black;
}

@media screen and (min-width: 700px) {
    #search-results {
        width: 70%;
        background-color: gainsboro;
        padding: 0px;
        margin-top: 1px;
        margin-right: 15%;
        margin-left: 15%;
    }

    .comic-info-overlay-content {
        margin: 50px;
        margin-top: 20px;
    }

    .comic-info-overlay-content .information-close-window {
        position: fixed;
        left: 12%;
        top: 8%;
        width: 50px;
        padding: 5px;
        border: 1px solid black;
    }
}

@media screen and (min-width: 1000px) {
    #search-results {
        width: 50%;
        background-color: gainsboro;
        padding: 0px;
        margin-top: 1px;
        margin-right: 25%;
        margin-left: 25%;
    }

    .comic-info-overlay-content {
        margin: 100px;
        margin-top: 20px;
    }

    .comic-info-overlay-content .information-close-window {
        position: fixed;
        left: 12%;
        top: 10%;
        width: 50px;
        padding: 5px;
        border: 1px solid black;
    }
}

@media screen and (min-width: 1000px) {
    #search-results {
        width: 50%;
        background-color: gainsboro;
        padding: 0px;
        margin-top: 1px;
        margin-right: 25%;
        margin-left: 25%;
    }

    .comic-info-overlay-content {
        margin: 100px;
        margin-top: 20px;
    }

}

@media screen and (min-width: 1400px) {
    .comic-info-overlay-content .information-close-window {
        position: fixed;
        left: 12%;
        top: 15%;
        width: 50px;
        padding: 5px;
        border: 1px solid black;
    }

}
