@import url('css/basic.css');
@import url('css/style.css');
@import url('css/menu.css');
@import url('fonts/lora.css');

body {
	font-family: 'Lora', 'Times New Roman', serif;
	font-size: 1.15rem}

h1, h2 {
	color: rgba(147,193,31,1);}

header h1 {
	line-height: 100%;
	font-size: 3rem; 
	margin: 1rem 0;}

@media screen and (max-width: 60rem) {
	header h1 {
	font-size: 1.5rem; 
	margin: 1rem 0;}

    h1 {
	font-size: 2rem; 
	margin: 1rem 0;}

    h6 { 
	font-size: 0.5rem;}
}

header h2 {
	line-height: 100%;
	margin-bottom: 1rem;}

header img {
	display: block;
	object-fit: cover; 
	width: 100%;
	height: 100%;}

/* ------------------------- */
.banner_text {
	position: absolute;
	text-align: center;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff; 
	background: rgba(0,0,0,0.5);
	padding: 1rem;}

.banner_text h1 {
	font-size: 2rem;
	color: #fff;} 

@media screen and (min-width: 60.01rem) {
	.banner_text {
		opacity:0;}

	.banner_text:hover {
		opacity:1;}
}

/* ------------------------- */
.teaserbox {
    display: flex;
	flex-wrap: wrap;}

.teaser {
    padding: 0.5%;
	width: 99%;}

.teaser img {
    width: 100%; 
    height: auto;}

.teaser h6 {
	font-size: 0.9rem;}

@media screen and (min-width: 60.01rem) {
    .teaser {
        width: 50%;}
}

/* ------------------------- */
.cardbox {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  gap: 1rem;
  padding: 2rem;
  letter-spacing: -0.02rem;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  gap: 0.25rem;
  background: #fff;
  max-width: 100%;
  width: 100%;
  border: 0.15rem solid #e7e7e7;
  #box-shadow: 0px 0.5rem 1.25rem rgba(147,193,31,0.25);
  #border-radius: 0.75rem;
}

.card img {
  width: 8rem;
  height: auto;
  #border-radius: 50%;
}

.card .name {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0;
  color: #94c11f;
}

@media screen and (min-width: 60.01rem) {
	.cardbox {
	  flex-direction: column;
	  align-items: flex-start;}

	.card {
 	 flex-direction: row;
 	 justify-content: space-between; }

}

@media screen and (max-width: 60rem) {	
	.card .name {
	font-size: 0.8rem;}
}


