/* 
Theme Name: rein.computer old
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/



* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}


body {
	--column-width: 1200px;

	font-size: 18px;
	line-height: 1.5;
	margin: 0;
	color: black;

	font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}

header, footer, section {
	max-width: 1300px;
	margin: auto;
}


.pswp__scroll-wrap {
	max-width: 100vw !important;
}


section {
	image-rendering: pixelated;
}


img.heading {
	margin-bottom: 20px;
	image-rendering: pixelated;
}

img.hr {
	width: 100%;
	height: 9px;
}

a {
	color: black;
}



.center {
	max-width: 1400px;
	margin: auto;
	position: relative;
}



/*
|--------------------------------------------------------------------------
| Front page
|--------------------------------------------------------------------------
*/
.blog a.post h3 {
	margin-bottom: 0;
}



/*
|--------------------------------------------------------------------------
| 3D model
|--------------------------------------------------------------------------
*/
model-viewer {
	height: 701px;
	max-width: 246px !important;
	width: 50vw;
	z-index: 1;
	position: fixed;
	bottom: -239px;
	--progress-bar-color: transparent;
	--poster-color: transparent !important;
	pointer-events: none;
}

@media (max-width: 768px) {
	model-viewer {
		height: 300px;
		bottom: -85px;
		left: -80px;
	}
}




/*
|--------------------------------------------------------------------------
| Single posts
|--------------------------------------------------------------------------
*/
.single-post p {
	margin: 25px 0;
}

section.single-post {
	max-width: 800px;
}

.single-post .meta {
	margin-bottom: 50px;
}

.meta .hr {
	margin-top: 20px;
}

.single-post h1 {
	margin-bottom: 5px;
}


/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/
.grid {
	display: flex;
	flex-wrap: wrap;
}


.grid a {
	display: flex;
	width: 50%;
	padding-bottom: 20px;
}


@media (max-width: 500px) {
	.grid a {
		width: 100% !important;
	}
}

@media (min-width: 501px) {
	.grid a:nth-child(even) {
		padding-left: 10px;
	}
	.grid a:nth-child(odd) {
		padding-right: 10px;
	}
}





.grid a img {
	width: 100%;
/* 	border: 2px solid white; */
	transition: box-shadow .1s, transform .1s;
	object-fit: cover;
}

.grid a.website:first-child {
	/* 	grid-column: 1 / span 3; */
}

.grid a:hover {
	/* 	width: 100%; */
}

.grid a:hover img {
	transform: translate(-5px,-5px);
	box-shadow: 5px 5px 0px 0px black;
}



/* Games and Workshops */
.games img, .workshops img {
	image-rendering: pixelated;
}

.games .grid,
.fonts .grid,
.workshops .grid {
	grid-template-columns: repeat(4, 1fr);
}



/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/
header {
/* 	margin-top: 20px; */
	image-rendering: pixelated;
}



/*
|--------------------------------------------------------------------------
| Footer
|--------------------------------------------------------------------------
*/
footer {
	background-size: 43%;
	position: relative;
	image-rendering: pixelated;
	/*max-width: unset !important;*/
	padding-bottom: 0 !important;
	margin-top: 50px;
}

footer .logos {
	display: flex;
	align-items: center;
	grid-gap: 25px;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 30px;

}

footer .center {
	padding: 30px;
	padding-bottom: 250px;
}

footer .logos img {
	image-rendering: pixelated;
}


footer a {
	display: flex;
}


.mushroom-footer {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 0;
	margin-top: 100px;
	margin: auto;
	max-width: 720px;
}

/*
|--------------------------------------------------------------------------
| Mastodon
|--------------------------------------------------------------------------
*/



.grid .product {
	flex-direction: column;
}

.grid.products {
	grid-template-columns: repeat(4, 1fr);
}


.elementor-gallery-item__overlay {
	transition-duration: 0s !important;
}

.elementor-gallery-item__overlay:hover {
	background: rgba(255,255,255,0.5) !important;
}



/*
|--------------------------------------------------------------------------
| Shop
|--------------------------------------------------------------------------
*/
.shop * {
	--sc-product-price-font-size: 16px;
	--sc-product-price-text-color: #000000;
	border-style: none !important;
}


main.shop {
	max-width: 1300px;
	margin: auto;
	margin-top: 100px;
	margin-bottom: 100px;
	padding: 30px;
}

.shop .split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 60px;
}

.buy-and-add-to-cart {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 20px;
}

sc-product-buy-button a, sc-button {
	height: 45px;
	font-size: 16px !important;
	line-height: 1.5;
	padding: 0px !important;
	display: flex !important;
	justify-content: center;
	align-items: center;

	--sc-input-border-radius-medium: 0px 5.6px 5.6px 0px !important;
}


sc-product-buy-button a {
	border-radius: 5.6px 0px 0px 5.6px !important;
}

sc-button a.button--medium {
	border-radius: 0px 5.6px 0px 5.6px !important;
}

.wp-element-button {
	transition: all .3s !important;
}

.wp-element-button:hover {
	background-color: #545b63 !important;
}

.cart {
	display: none;
}


 
/**
 * Model viewer
 */
model-viewer {
	filter: drop-shadow(pink 0 10px 10px);
}