/*
  Theme Name: Hamilton Child - Beates Theme
  Theme URI: https://beategarcia.com/impressum
  description: Dieses Theme wurde individuell für beategarcia.com erstellt. Es basiert auf dem Hamilton-Theme (https: //andersnoren.se/themes/hamilton/).
  Author: Janis Büse, Till Kämmerer
  Author URI: mailto:janisbuese@gmail.com
  Template: hamilton
  Version: 1.0.0
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
  Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
  Text Domain: hamilton-child
*/

/* ------ custom styles ----- */


/* Galerie-Darstellung der Bilder mit boxshadow */
.preview-image {
  	background: rgba(0, 0, 0, 0.1) no-repeat center;
  	background-size: cover;
  	position: relative;
  	border: 10px solid white;
  	/* box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2), 0 0px 10px 0 rgba(0, 0, 0, 0.19) !important; */
	box-shadow: 0 0.2em 10px rgba(61,48,41,0.2)!important;
}

/* Button */
.btn-styles a{
	text-decoration: none;
	border: 1px solid #b3b3b3;
	border-radius: 1em;
	padding: 1em 2em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: inherit;
	display: inline-block;
}

.btn-styles a:hover {
	transition: transform .1s;
	transform: scale(1.1);
}


/* Biografie */
@media (min-width:1150px) {
  	.resume-template .featured-image img {
  	  	padding-right: 10px;
  	  	width: auto;
  	  	float: left;
  	  	height: auto;
  	}
}

@media (max-width:1150px) {
  	.resume-template .featured-image img {
  	  	width: auto;
  	  	height: auto;
  	}
}


/* Styles für Einzelseite */
.single-post .entry-content {
  	text-align: center;
}

.featured-image img {
  	max-height: 80vh;
  	height: auto;
  	width: auto;
  	margin: auto;
}

tbody > tr:nth-child(odd) {
    background: rgba( 0, 0, 0, 0.02 );
}

/* --------------------------------------------------------------------------------- */
/* Styles für "Zum Shop" auf der Homepage */
.cta-shop {
	width: 100%;
	background-image: url( https://beategarcia.com/wp-content/uploads/2020/11/image21.png );
	background-size: cover;
	background-position: center center;
	padding: 20px;
	margin-top: 50px;
}

.cta-container h1 {
	color: white;
	margin: 0px 0 15px;
}

.cta-shop .cta-container {
	position: relative;	
	margin: 25px;
	text-align: center;
}

.cta-shop .cta-container h2 {
	color: white;
	font-size: 18px;
}

.cta-btn a {	
	color: black !important;
	text-transform: uppercase;
	text-decoration: none;
	background: #ffffff;
	padding: 20px;
	border: 4px solid grey !important;
	display: inline-block;
	transition: all 0.4s ease 0s;
}

.cta-btn a:hover {
	color: #ffffff !important;
	background: #f6b93b;
	border-color: #f6b93b !important;
	transition: all 0.4s ease 0s;
}


/* --------------------------------------------------------------------------------- */
/* Styles für "About-Card" auf der Homepage */
.about-card {
	padding-top: 60px;	
	padding-left: 10px;
	padding-right: 10px;
}

.about-card {
	--box-x-padding: 1.5rem;
  	--box-y-padding: 1.0rem;
}

@media (min-width: 40em) {
  	.about-card {
  	 	--box-y-padding: 4rem;
  	}
}

@media (min-width: 60em) {
  	.about-card {
  	  	--box-x-padding: 3rem;
  	  	--box-y-padding: 4rem;
  	}
}

@media (min-width: 40em) {
  	.about-card section {
  	  	display: grid;
  	  	grid-template-rows: 150px 450px 15px;
  	  	grid-template-columns: 3fr 3fr 6fr;
  	  	grid-template-areas: '. . title' 'img img content' 'img img .';
  	  	max-width: 1000px;
  	  	margin-right: auto;
  	  	margin-left: auto;
  	}
  	.about-card section::after {
  	  	content: '';
  	  	grid-column: 2/-1;
  	  	grid-row: 1/3;
  	  	position: relative;
  	  	z-index: -1;
  	  	background: #fff;
  	  	box-shadow: 0 0.2em 1em rgba(61,48,41,0.2);
		border-radius: 10px;
  	}
  	.about-card h2 {
  	  	grid-area: title;
  	  	padding-top: var(--box-y-padding);
  	  	padding-left: var(--box-x-padding);
  	}
  	.about-card .content {
  	  	grid-area: content;
  	  	padding-bottom: var(--box-y-padding);
  	  	padding-left: var(--box-x-padding);
  	  	padding-right: var(--box-x-padding);
  	}
  	.about-card .img {
  	  	grid-area: img;
  	}
}

@media screen and (max-width: 1000px) {	
	.about-card .content p {
		font-size: 87%;
	}
	
	.about-card h2 {
		margin: 0 0 1rem;
		font-family: serif;
		position: relative;
		line-height: 1.5;
		padding-left: 25px;
		padding-right: 15px;
		font-size: 25px;
	}
}

@media screen and (max-width: 760px) {	
	.about-card .content p {
		font-size: 80%;
	}
}

.about-card html {
  	background-color: #f5f5f5;
}
.about-card body {
  	padding: 1em;
}
.about-card h2 {
  	margin: 0 0 1rem;
  	font-family: serif;
  	position: relative;
  	line-height: 1.5;
  	padding-left: 25px;
  	padding-right: 15px;
}
.about-card h2::after {
  	content: '';
  	position: absolute;
  	width: 6rem;
  	background-color: #ccc;
  	height: 2px;
  	top: 0;
  	left: 25px;
}

@media (min-width: 40em) {
  	.about-card h2::after {
  	  left: 25px;
  	  top: var(--box-y-padding);
  	}
}

.about-card .content {
  	color: #4d4d4d;
  	margin-bottom: var(--box-y-padding);
  	padding-left: 25px;
  	padding-right: 15px;
}

@media (min-width: 40em) {
  	.about-card .content {
  	  margin-bottom: 0;
  	}
}

.about-card p {
  	margin-top: 0;
  	margin-bottom: 1rem;
  	line-height: 1.5;
}

.about-card .content a {
  	text-decoration: none;
  	border: 1px solid #b3b3b3;
  	border-radius: 1em;
  	padding: 1em 2em;
  	text-transform: uppercase;
  	font-size: 11px;
  	font-weight: 700;
  	letter-spacing: 0.05em;
  	color: inherit;
  	display: inline-block;
  	background-color: #fff;
}

.about-card .img {
  	position: relative;
}

.about-card .img a {
  	position: absolute;
  	left: 0;
  	bottom: 0;
}

.about-card img {
  	max-width: 100%;
  	vertical-align: middle;
  	box-shadow: 0 0.2em 1.2em rgba(61,48,41,0.1);
}


/* --------------------------------------------------------------------------------- */
/* Styles für "Event-Card" auf der Homepage */

.event-box {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 0.2em 10px rgba(61,48,41,0.2);
	display: flex;
	max-width: 100%;
	margin: 20px;
	overflow: hidden;
	min-width: 600px;
	text-align: center !important;
}

.time-image::before {    
	content: "";
	margin: -5px -5px -10px -5px;
	background-image: url("https://beategarcia.com/wp-content/uploads/2021/02/Cover-Photo-Pensel-og-poesi.png");
	background-size: cover;
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	opacity: 0.8; 
	filter: brightness(40%) blur(1px);
}

.title-info {
	font-size: 30px;
	padding: 10px 0px 5px 0px;
	color: black;
}

.place-info { 
	color: grey;
	font-size: 15px;
}

.desc-info {
	color: grey;
	font-size: 15px;
	text-align: justify;
}

.info-block span {
	display: block;
}

.info-block {
	padding-right: 5px;
	margin-block-start: 0px;
}

.event-box-info {
	padding: 30px;
	min-width: 65%;
	text-align: justify;
}

.event-box-info a {
	text-decoration: none;
	border: 1px solid #b3b3b3;
	border-radius: 1em;
	padding: 1em 2em;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
	color: inherit;
	display: inline-block;
	background-color: #fff;
}

.event-box-info a:hover {
	transition: transform .1s;
	transform: scale(1.1);
}

.page-header {
	display: flex;
	flex-direction: column;
	margin: 0 auto 100px auto;
	max-width: 100%;
	min-height: 250px;
	text-align: center;
	width: 900px;
}

.event-box-time {
	color: white;
	position: relative;
	text-align: center;
	padding: 30px;
}

.time-block span {
	display: block;
}

.time-reason {
  font-size: 15px;
  color: lightgrey;
}

.time-month {
	font-size: 15px;
	color: white;
}

.time-year {
	padding-top: 10px;
	font-size: 40px;
	color: white;
}

.time-image {
	float:left;
	position: relative;
	overflow: hidden;
	vertical-align: center;
	min-width: 240px;
}

@media screen and (max-width: 1650px) {	
	.time-month {
		font-size: 15px;
	}
	
	.time-year {
		font-size: 30px;
	}
}

@media screen and (max-width: 750px) {
	.event-box {
		width: 100%;
		margin: 0px;
		min-width: 100px;
		display: flex;
   		flex-wrap: wrap;
   		flex-direction: column;
	}
	
	.event-box p {
    	margin-top: 5px !important;
	}	
	
	.event-box-info {
		text-align: center;
	}
	
	.time-month {
		font-size: 10px;
	}
	
	.time-year {
		font-size: 15px;
	}
	
	.title-info {
		padding: 5px 0px 5px 0px;
		font-size: 20px;
	}
	
	.desc-info {
		font-size: 12px;
	}
	
	.place-info {
		font-size: 12px;
	}
}

