@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oxygen:wght@300;400;700&display=swap');

@font-face {
    font-family: "Super Gossip";
    src: url("super-gossip.otf");
}

body {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    height: 100vh;
    max-height: 100vh;
    width: 100vw;
    box-sizing: border-box;
    flex-direction: row;
    justify-content: stretch;
    padding: 0;
    margin: 0;
    background-color: #222222;
    font-family: "Oxygen", sans-serif;
}

div.header {
    width: 100%;
    height: fit-content;
    min-height: 40rem;
    background-image: url("images/header.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

div.header .title {
    margin-top: 0;
    padding-top: 8rem;
}

div.header p {
    text-align: center;
    width: 33%;
    margin-left: 4rem;
    font-family: "Super Gossip";
}

/* SIDEBAR */

.sidebar {
    width: 20%;
    min-width: 300px;
    max-width: 360px;
    max-height: inherit;
    height: 100vh;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: transparent;
    background-image: url("images/bgs/paint-top.png"), url("images/bgs/paint-bottom.png"), url("images/bgs/concrete.png");
    background-position: center top, center bottom, top right;
    background-size: contain, contain, default;
    background-repeat: no-repeat, no-repeat, repeat;
    background-blend-mode: soft-light;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: stretch;
    text-align: center;
    position: relative;
}

.sidebar .logo {
    max-width: 75%;
    height: auto;
    margin: 2rem auto;
    object-fit: contain;
    filter: drop-shadow(0.3rem 0.3rem 0.3rem #00000088);
}

.sidebar > span, span.button {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    justify-content: space-around;
}

.sidebar > span a, span.button a, span.button input {
    display: block;
    margin: 1vh auto;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5em 0;
    font-family: "Ubuntu", sans-serif;
    transition: all 0.25s;
    max-width: auto;
    padding: 0.5em;
    box-sizing: border-box;
    color: #222222;
    background: #ff5900;
    filter:  drop-shadow(0.3rem 0.3rem 0.3rem #00000088);
    border-style: hidden;
}

.sidebar > span a:hover, span.button a:hover, span.button input:hover {
    color: whitesmoke;
    transition: all 0.5s;
}

.sidebar > span a:hover, span.button a:hover, span.button input:hover {
    color: whitesmoke;
    background: #121212;
}

.sidebar .socials {
    display: absolute;
    margin-top: auto;
    bottom: 2rem;
    width: 100%;
    height: auto;
    text-align: center;
    flex-direction: row;
    color: white;
    filter: drop-shadow(0.2rem 0.2rem 0.2rem #00000066);
}

.sidebar .socials a {
    height: 2rem;
    width: 2rem;
}

.sidebar .socials a img {
    display: inline-block;
    height: inherit;
    width: auto;
    margin: 0.5rem;
}

.sidebar .socials a:hover {
    opacity: 0.66;
}

/* BODY */

.bodycontent {
    scroll-behavior: smooth;
    scroll-padding-top: 4rem;
    max-height: inherit;
    overflow-x: hidden;
    margin-left: auto;
    padding: 1rem;
    background-color: #111111;
    background-image:  linear-gradient(to right, #000000a0, #00000010), var(--background-image, url("images/bgs/checkers.png"));
    font-size: 20px;
    color: white;
    flex-grow: 1;
}

.bodycontent .title, .bodycontent h1 {
    display: block;
    margin: 1rem;
    margin-left: 5vw;
    margin-top: 8rem;
    height: 64px;
    width: auto;
    font-family: "Ubuntu", sans-serif;
    color: #ff5900;
    font-weight: 700;
}

.bodycontent h2 {
    margin: 3rem 5rem 0.5rem;
    color: whitesmoke;
    font-weight: 500;
    margin-left: 3rem;
}

.bodycontent p {
    max-width: 640px;
    margin: 1rem auto;
}

.bodycontent > img {
    display: block;
    margin: 1em auto;
}

.bodycontent .caption {
    display: block;
    font-size: 16px;
    font-weight: lighter;
    color: gray;
    padding: 0.1em 0;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
    text-align: center;
}

.showcase, .galleryContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: space-evenly;
    width: auto;
    padding: 1rem;
    margin: 2rem;
    background-color: #222222;
    background-image: linear-gradient(to right, #00000088, transparent, #00000088), url("images/bgs/triangles.png");
    border-radius: 0.5em;
    overflow-x: auto;
    overflow-y: hidden;
}

.comic {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 1em;
    margin: 1em;
    border-radius: 0.5em;
    max-height: 20em;
    text-decoration: none;
    overflow: hidden;
    filter:  drop-shadow(0.3rem 0.3rem 0.3rem #00000088);
    position: relative;
}

.comic > p {
    padding: 0.5em;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
    flex-grow: 1;
}

.comic .overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 2em;
    background-color: #111111;
    background-blend-mode: soft-light;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.comic .overlay p {
    font-size: 16px;
    font-weight: normal;
    color: white;
}

.comic .overlay b {
    color: #ff5900;
    font-weight: bolder;
}

.comic:hover .overlay {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.comic img {
    width: fit-content;
    max-width: 100%;
    height: auto;
    margin: auto;
    border-radius: 0.5em;
    pointer-events: none;
}

.comic p {
    width: 100%;
    text-align: center;
    font-weight: bold;
}

hr {
    border: none;
    height: 24em;
}

:root {
    font-size: 16px;
}

@media screen and (max-height: 512px) {
    :root {
        font-size: 12px;
    }
}

/* CONTACT FORM */
form {
    max-width: 50%;
    margin: auto;
    display: flex;
	flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
	align-items: center;
}

form label {
    display: inline-block;
    margin: 0.5vh 2rem 0.5vh auto;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5em;
    font-family: "Ubuntu", sans-serif;
    max-width: auto;
    box-sizing: border-box;
    color: whitesmoke;
    background: #121212;
    filter:  drop-shadow(0.3rem 0.3rem 0.3rem #00000088);
    border-style: hidden;
    border-radius: 1rem;
}

form input[type=text], form input[type=email], form textarea {
    margin: 0.5vh 2rem 0.5vh auto;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: normal;
    padding: 0.5em;
    font-family: "Ubuntu", sans-serif;
    color: whitesmoke;
    background: #121212;
    filter:  drop-shadow(0.3rem 0.3rem 0.3rem #00000088);
    border: solid 0.25rem whitesmoke;
    border-radius: 1rem;
    background-image: url(images/bgs/triangles.png);
}

/* GALLERY */
/* IMAGE GALLERY (NEW) */

.galleryContainer {
    display: flex;
	flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
	align-items: center;
}

.galleryThumb {
	display: flex;
    height: auto;
    width: auto;
    flex-grow: 1;
    max-height: 16rem;
	max-width: 16rem;
	margin: 0.1rem;
	background: #00000088;
	overflow: hidden;
	pointer-events: all;
	filter: drop-shadow(0.2rem 0.2rem 0.2rem #00000088);
	background-position: center;
	background-repeat: no-repeat;
	background-color: #121212;
	background-image: url(../images/loader.svg);
	transition: background 0.5s;
}

.galleryThumb[loaded] {
	background: none;
}

.galleryThumb[loaded]:hover {
	cursor: pointer;
}

.galleryThumb[loaded] img {
	opacity: 1;
}

.galleryThumb img {
	opacity: 0;
	height: auto;
	width: 100%;
	transform: scale(1.1);
	object-fit: scale-down;
	transition: opacity 0.5s, transform 0.2s, filter 0.2s;
	filter: saturate(0.75);
}

.galleryThumb:hover img {
	transform: scale(1.25);
	filter: blur(0) saturate(1);
}

.galleryThumb .overlay {
	opacity: 0;
	transition: opacity 0.5s;
}

.galleryThumb[loaded] .overlay {
	mix-blend-mode: darken;
	opacity: 0.75;
}

.galleryThumb[loaded]:hover .overlay {
	opacity: 0;
}

.modalContainer {
	display:flex;
	flex-direction: column;
	position: fixed;
	left: 0;
	top: 0;
	height: 100vh;
	width: 100vw;
	background: #000000aa;
	opacity: 0;
	transition: opacity 0.5s;
    z-index: 100;
    pointer-events: none;
}

.modalContainer[fade="in"] {
	opacity: 1;
	pointer-events: all;
}

.modalContainer[fade="out"] {
	opacity: 0;
	pointer-events: none;
}

.modalContainer img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	pointer-events: none;
}

.modalContainer p {
    position: relative;
    width: auto;
    margin: auto;
    padding: 0.1rem 1rem;
    padding-top: 0;
    top: -3rem;
    background-image: linear-gradient(to right, #00000044, #00000088, #00000088, #00000044);
	text-align: center;
	font-size: 24px;
    color: whitesmoke;
    border-radius: 0.5rem;
	filter: drop-shadow(2px 2px 2px #00000088);
}

.modalContainer a {
    color: #ff5900;
}

@media (max-width: 9in) and (hover: none) {
	.modalContainer p {
		font-size: 24px;
	}
}