/*
Theme Name: Intergalactic 2
Description: Used to style Gutenberg Blocks.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 General Block Styles
2.0 Blocks - Common Blocks
3.0 Blocks - Formatting
4.0 Blocks - Layout Elements
5.0 Blocks - Widgets
6.0 Blocks - Colors
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 General Block Styles
--------------------------------------------------------------*/

/* Alignments */

.singular .entry-content-wrapper {
	overflow-x: hidden;
}

/* Wide Width */

@media (min-width: 1024px) {
	.alignwide {
		width: auto;
		margin-left: -20%;
		margin-right: -20%;
		position: relative;
	}

	.wp-block-embed.is-type-video.alignwide iframe {
		width: 100% !important;
		height: 100% !important;
	}
}

/* Full Width */

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: 0;
	margin-right: 0;
	position: relative;
	left: 50%;
	transform: translateX( -50% );
}

/* Make non image-based blocks a bit narrower, so they don't get cut off. */

.wp-block-columns.alignfull,
.wp-block-audio.alignfull,
.wp-block-table.alignfull,
.wp-block-latest-comments.alignfull,
.wp-block-categories.alignfull,
.wp-block-latest-posts.alignfull {
	max-width: 96vw;
	transform: translateX( -50% );
	width: 96vw;
}

.wp-block-embed.is-type-video.alignfull iframe {
	width: 100% !important;
	height: 100% !important;
}

.wp-block-embed.is-type-video iframe {
	max-height: 100%;
}

.rtl .alignfull {
	left: auto;
	right: 50%;
	transform: translateX(50%);
}

/* Captions */

[class^="wp-block-"] figcaption {
	font-size: .778em;
}

/*--------------------------------------------------------------
2.0 Blocks - Common Blocks
--------------------------------------------------------------*/

/* Paragraph */

p.has-drop-cap:not(:focus)::first-letter {
	font-size: 124px;
}

/* Image */

.wp-block-image.alignwide {
	max-width: 1000%;
}

/* Gallery */

.wp-block-gallery {
	margin-bottom: 1.5em;
}

.wp-block-gallery:not(.alignwide):not(.alignfull) {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-gallery img.size-big,
.wp-block-image img.size-big {
	margin: 0;
	max-width: 100%;
}

/* Quote */

.wp-block-quote {
	margin-bottom: 1.5em;
}

.wp-block-quote.alignleft {
	margin-right: 1.5em;
}

.wp-block-quote.alignright {
	margin-left: 1.5em;
}

.wp-block-quote.is-large cite,
.wp-block-quote.is-large footer,
.wp-block-quote.is-style-large cite,
.wp-block-quote.is-style-large footer {
	font-size: 80%;
}

.wp-block-quote.is-large,
.wp-block-quote.is-style-large,
.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	font-size: 32px;
}

.wp-block-quote.is-large p,
.wp-block-quote.is-style-large p {
	margin-bottom: .8em;
}

.rtl .wp-block-quote {
	border: 0;
}

/* Audio */

.wp-block-audio {
	margin-bottom: 1.5em;
}

.wp-block-audio audio {
	display: block;
	width: 100%;
}

/* Cover */

.wp-block-cover,
.wp-block-cover.alignleft,
.wp-block-cover.alignright,
.wp-block-cover.aligncenter {
	display: flex;
}

/* File */

.wp-block-file a.wp-block-file__button,
.wp-block-file a.wp-block-file__button:visited {
	border-radius: 0;
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	padding: .75em;

	cursor: pointer;
	-webkit-transition: .3s all ease-in-out;
	   -moz-transition: .3s all ease-in-out;
			transition: .3s all ease-in-out;
	text-transform: uppercase;

	color: #222;
	border: 2px solid #222;
	background: transparent;
	box-shadow: none;
	text-shadow: none;
}

.wp-block-file a.wp-block-file__button:hover,
.wp-block-file a.wp-block-file__button:focus {
	-webkit-transition: .3s all ease-in-out;
	   -moz-transition: .3s all ease-in-out;
			transition: .3s all ease-in-out;
	color: #fff;
	border-color: #222;
	background: #222;
	box-shadow: none;
}

.rtl .wp-block-file * + .wp-block-file__button {
	margin-left: 0.75em;
	margin-right: 0;
}

/*--------------------------------------------------------------
3.0 Blocks - Formatting Blocks
--------------------------------------------------------------*/

/* Verse */

.wp-block-verse {
	background: transparent;
	color: inherit;
	font-family: inherit;
	font-size: inherit;
	font-style: italic;
	line-height: inherit;
	margin-bottom: 1.5em;
	max-width: 100%;
	overflow: auto;
	padding: 0;
}

/* Code */

.wp-block-code {
	background: #eee;
	font-family: 'Courier 10 Pitch', Courier, monospace;
	font-size: 15px;
	line-height: 1.6;
	max-width: 100%;
	margin-bottom: 1.6em;
	overflow: auto;
	padding: 1.6em;
}

/* Pullquote */

.wp-block-pullquote {
	border: 0;
	margin: 0;
	padding: 0;
}

.wp-block-pullquote blockquote {
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	font-style: italic;
	font-size: 24px;
	margin: 0 0 1.5em;
	padding: .75em 0;
	color: #767676;
}

.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
	font-size: 24px;
}

.wp-block-pullquote.alignleft {
	margin-right: 1.5em;
}

.wp-block-pullquote.alignright {
	margin-left: 1.5em;
}

.wp-block-pullquote.alignfull blockquote {
	padding-left: 1.5em;
	padding-right: 1.5em;
}

.wp-block-pullquote p {
	margin: 0;
}

/* Table */

@media (min-width: 964px) {
	.wp-block-table.alignwide {
		width: 924px;
	}
}

.wp-block-table.alignfull {
	width: 96vw;
}

/*--------------------------------------------------------------
4.0 Blocks - Layout Elements
--------------------------------------------------------------*/

/* Buttons */

.wp-block-button .wp-block-button__link {
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	padding: .75em 1.25em;
	cursor: pointer;
	-webkit-transition: .3s all ease-in-out;
	   -moz-transition: .3s all ease-in-out;
			transition: .3s all ease-in-out;
	text-transform: uppercase;
}

.wp-block-button__link,
.wp-block-button__link:visited {
	background: #222;
	color: #fff;
}

.is-style-outline .wp-block-button__link {
	background-color: transparent;
	border-color: currentColor;
}

.is-style-outline .wp-block-button__link:not(.has-text-color) {
	color: #222;
}

.wp-block-button__link:active,
.wp-block-button__link:focus,
.wp-block-button__link:hover {
	opacity: 0.8;
}


/* Seperator */

hr.wp-block-separator {
	border: 0;
}

.wp-block-separator {
	height: 1px;
	margin-bottom: 1.5em;
	border: 0;
	background-color: #ccc;
	max-width: 100%;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 100px;
}

/* Media & Text */

.wp-block-media-text {
	margin-bottom: 1.5em;
}

.wp-block-media-text *:last-child {
	margin-bottom: 0;
}

/*--------------------------------------------------------------
5.0 Blocks - Widget Blocks
--------------------------------------------------------------*/

/* General Widget styles */

.wp-block-categories.aligncenter,
.wp-block-categories.aligncenter ul,
.wp-block-archives.aligncenter,
.wp-block-latest-posts.aligncenter,
.wp-block-latest-comments.aligncenter {
	list-style-position: inside;
	text-align: center;
}

/* Categories */

.wp-block-categories-list.alignleft {
	margin-left: 1.5em;
}

/* Latest Comments */

.wp-block-latest-comments {
	margin-left: 0;
	margin-right: 0;
}

.wp-block-latest-comments__comment-meta,
.wp-block-latest-comments__comment-excerpt p {
	font-size: 18px;
}

.wp-block-latest-comments__comment-meta a {
	color: #222;
	text-transform: uppercase;
}

.wp-block-latest-comments__comment-date {
	color: #767676;
	font-size: 14px;
	font-weight: bold;
}

.wp-block-latest-comments .wp-block-latest-comments__comment {
	border-top: 1px solid #ccc;
	margin-bottom: 0;
	padding: 1.75em 0 .75em;
}

/*--------------------------------------------------------------
6.0 Blocks - Colors
--------------------------------------------------------------*/

.has-dark-gray-color,
.has-dark-gray-color:hover,
.has-dark-gray-color:focus,
.has-dark-gray-color:active,
.has-dark-gray-color:visited {
	color: #333333;
}

.has-dark-gray-background-color,
.has-dark-gray-background-color:hover,
.has-dark-gray-background-color:focus,
.has-dark-gray-background-color:active,
.has-dark-gray-background-color:visited {
	background-color: #333333;
}

.has-dark-green-color,
.has-dark-green-color:hover,
.has-dark-green-color:focus,
.has-dark-green-color:active,
.has-dark-green-color:visited {
	color: #557d73;
}

.has-dark-green-background-color,
.has-dark-green-background-color:hover,
.has-dark-green-background-color:focus,
.has-dark-green-background-color:active,
.has-dark-green-background-color:visited {
	background-color: #557d73;
}

.has-light-gray-color,
.has-light-gray-color:hover,
.has-light-gray-color:focus,
.has-light-gray-color:active,
.has-light-gray-color:visited {
	color: #cccccc;
}

.has-light-gray-background-color,
.has-light-gray-background-color:hover,
.has-light-gray-background-color:focus,
.has-light-gray-background-color:active,
.has-light-gray-background-color:visited {
	background-color: #cccccc;
}

.has-white-color,
.has-white-color:hover,
.has-white-color:focus,
.has-white-color:active,
.has-white-color:visited {
	color: #fff;
}

.has-white-background-color,
.has-white-background-color:hover,
.has-white-background-color:focus,
.has-white-background-color:active,
.has-white-background-color:visited {
	background-color: #fff;
}

.has-purple-color,
.has-purple-color:hover,
.has-purple-color:focus,
.has-purple-color:active,
.has-purple-color:visited {
	color: #81699b;
}

.has-purple-background-color,
.has-purple-background-color:hover,
.has-purple-background-color:focus,
.has-purple-background-color:active,
.has-purple-background-color:visited {
	background-color: #81699b;
}

.has-dark-purple-color,
.has-dark-purple-color:hover,
.has-dark-purple-color:focus,
.has-dark-purple-color:active,
.has-dark-purple-color:visited {
	color: #553a72;
}

.has-dark-purple-background-color,
.has-dark-purple-background-color:hover,
.has-dark-purple-background-color:focus,
.has-dark-purple-background-color:active,
.has-dark-purple-background-color:visited {
	background-color: #553a72;
}

.has-black-color,
.has-black-color:hover,
.has-black-color:focus,
.has-black-color:active,
.has-black-color:visited {
	color: #222222;
}

.has-black-background-color,
.has-black-background-color:hover,
.has-black-background-color:focus,
.has-black-background-color:active,
.has-black-background-color:visited {
	background-color: #222222;
}

