/* Reset */

:root {

  /* Colors */

  --text-primary: var(--color-brown-dark);
  --text-secondary: var(--color-brown-medium);
  --text-tertiary: var(--color-brown-light);

  --text-secondary-transparent: #6A4f5150;

  --accent: var(--color-teal);

  --accent-transparent: #1B969615;

  --background: var(--color-white);


  --color-brown-dark: #362c2c;
  --color-brown-medium: #6A4f51;
  --color-brown-light: #928283;
  --color-teal: #1B9696;
  --color-white: #fff;
  --color-headinglinks: #2F2F2F;
  
  --header-height: 150px;
	
}

@font-face {
    font-family: 'Text';
	 src: url('NiceText2.ttf') format('truetype');    
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'TextItalic';
	 src: url('NiceText_Italic.ttf') format('truetype');    
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Heading';
	 src: url('CreteRound-Regular.ttf') format('truetype');    
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Text';
}
 
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
 
 p,ul {
	padding-top: 20px; 
	padding-botton: 15px;
 }
 li {
	margin-left: 0px; 
 }
header {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 24px;
    font-weight: bolder;
    padding-bottom: 30px;
	 color: var(--header-fontColor);
}

fieldset {
	margin: 5px;
	padding: 5px;
	
}
.hero {
    height: calc(100vh - var(--header-height));
    min-height: 400px;
    background: url('../images/cover.jpg') center/cover no-repeat;
    display: flex;
    justify-content: left;
    padding-left: 40px;
    align-items: center;
    position: relative;
    overflow-y: auto;
}

.herotext {
	color: #d0d0d0ee;
	max-width: 450px;
	font-size: 24px;
}
 
.hero-link {
   /* position: absolute;*/
   margin-left: auto;
    bottom: 40px; /* Abstand vom unteren Rand */
    left: 100%;
 
	background-color: rgb(157, 66, 58);
	border-top-color: rgb(197, 66, 58);
	border-right-color: rgb(157, 66, 58);
	border-bottom-color: rgb(157, 66, 58);
	border-left-color: rgb(197, 66, 58);
 

    background: rgb(242, 101, 89);
    color: white;
    padding: 15px 25px;

    text-decoration: none;
    font-size: 32px;
    border-radius: 25px;cursor: pointer;
} 

.hero-link_secondary {
   /* position: absolute;*/
   margin-left: auto;
    bottom: 40px; /* Abstand vom unteren Rand */
    left: 100%;
 
	background-color:rgba(76, 27, 22, 0.56);
	 border-color: #ffffff;
    border-width: 5px;
    color: white;
    padding: 15px 25px;

    text-decoration: none;
    font-size: 32px;
    border-radius: 25px;cursor: pointer;
} 
.logo {
    font-size: 24px;
    font-weight: bold;
    max-height: 150px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

a {
   color: var( --color-headinglinks);
    text-decoration: underline;
    text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

a:hover {
    color: var( --color-headinglinks);
    text-decoration: none ;
} 

.inverseA:hover {
   
   
    color: var( --color-headinglinks);
  
  
}

.inverseA {
      color: var(--accent);
      
    cursor: pointer;
    text-decoration: none ;
} 

h1, h2, h3, h4, h5
{
	font-family: "Heading";
	color: var(--text-secondary);
	line-height: 1.1;
	font-weight: bold;
	text-wrap: balance;
	   text-align: left;
	   font-size: 32px;
}

h5 {
	font-family: "TextItalic";
	font-style: italic;
	font-weight: normal;
	font-size: 20px;
}



textarea {
  width: 90%;
  min-height: 220px; /* ersetzt rows */
  padding: 10px;

  font-family: inherit;
  font-size: 1rem;

  border: 1px solid #ccc;
  border-radius: 6px;

  resize: vertical; /* erlaubt nur Höhe ändern */
  box-sizing: border-box;
}
textarea:focus {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"] {
  width: 90%;
  padding: 10px 12px;

  font-size: 1rem;
  font-family: inherit;

  border: 1px solid #ccc;
  border-radius: 6px;

  background: rgba(255, 255, 255, 0.7);
  color: #1a1a1a;

  box-sizing: border-box;
}

input:focus,
textarea:focus,
  {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  font-family: inherit;
  font-size:32px;
  padding: 2px;
}
.greyOut
  {
  background-color: lightgray !important;
}
select:focus,select {
  outline: none;
  border-color: #666;
  box-shadow: 0 0 6px rgba(0,0,0,0.2);
  font-family: inherit;
  font-size:16px;
  padding: 2px;
}

/* Home Section */
.home {
    padding: 40px;
    padding-top:10px;
}

article {
    margin-bottom: 30px;
    padding: 20px;
    background: #f4f4f4;
}
.featured-event {
  margin-top: 1.5rem;

  padding: 1.25rem;
  background-color: var(--accent-transparent);

  display: flex;
  align-items: center;
  gap: 2rem;

  text-decoration: none;
  transition: 0.25s ease-out;

}

.italicText {
  font-family: TextItalic ;
}

a.featured-event:hover {
  color: currentColor;
  text-decoration: none;
  background-color: rgba(27, 150, 150, 0.2);
  transition: none;
}
.featured-event > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.featured-event > span {
  color: var(--accent);
}
 

.featured-event div div span  {
 
  color: var(--text-primary);
}
/* Responsive */
@media (max-width: 650px) {
	  :root {
        --header-height: 124px;
    }
    .featured-event {
 
  display: grid;
  }
  
header {
        flex-direction: column;
        height: auto;
        padding: 0px;
        padding-top: 10px;
        padding-bottom:20px;
        font-size: 22px;
    }

    nav ul {
      /*  flex-direction: column;*/
        align-items: center;
        margin-top: 10px;
    }
    
    h1, h2, h3, h4, h5
{
	font-family: "Heading";
	color: var(--text-secondary);
	line-height: 1.1;
	font-weight: bold;
	text-wrap: balance;
	   text-align: left;
	   font-size: 28px;
}

h5 {
	 
	font-size: 21px;
}
.hero { font-size: 18px;}
.herotext {	font-size: 18px; }
.hero-link { font-size:22px;}
.hero-link_secondary { font-size:22px;}
} /* media */
@media (min-width: 1500px) {
	  :root {
        --header-height: 124px;
    }
    .featured-event {
 
  display: grid;
  }
  
header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        padding-top: 10px;
        padding-bottom:20px;

		  align-items: center; font-size: 32px;
    }
.hero { padding: 150px;font-size:35px;}
.herotext {	max-width: 750px;font-size:35px !important; }

    nav ul {
      /*  flex-direction: column;*/
        align-items: center;
        margin-top: 10px;}
    
    h1, h2, h3, h4, h5 {font-size: 42px; }
h5 { font-size: 32px; }
p { font-size: 28px;}
select:focus,select { font-size:28px; }
textarea {   font-size:28px; }
textarea:focus {   font-size:28px; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"] {   font-size:28px; }
article {font-size:28px; margin-top:100px; }
.hero-link { font-size:44px; text-align: right;}
.hero-link_secondary { font-size:44px;}
} /* media */