@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Pacifico');

*,::before,::after{
    box-sizing: border-box;
}

span:empty, div:empty{
  margin: 0;
  padding: 0;
}

body{
    font-family: "Fira Sans", sans-serif;
    margin: 0;
}



main{
  padding: 0.4em;
}

body, main{
  background: #fff8f0;
}

#logo{
    max-width: 400px;
}

.sommerschule {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1em, 13vw, 4rem);
  color: #ff7e5f;
  background: linear-gradient(to right, #ffecd2, #fcb69f);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(255, 174, 120, 0.4);
  padding: 10px 20px;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
}

#danke{
  text-align: center;
}

h1{
  text-align: center;
  font-size: 2rem;
}

.intro{
    text-align: center;
}

#formular{
    margin: 30px auto;
    width: 80%;
    padding: 20px 10px;
}

label{
    font-weight: 500;
}

input[type="text"], input[type="submit"], select, button{
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 40px;
  padding: 8px;
  width: 97%;
  margin: 10px 0 25px 3%;
}

#submit{
  background-color: #fcb69f;
  border: 1px solid #ff7e5f;
}

#submit:hover{
  cursor: pointer;
  background-color: #dea18d;
}

footer{
    font-size: smaller;
    text-align: center;
}

.error{
  color: #c00c00;
  background: #fff1f2;
  border-radius: 4px;
  font-weight: bolder;
  font-size: 0.9em;
  margin: 10px 0;
  padding: 5px;
  text-align: center;
}

.error-hint{
  color: #c00c00;
  text-align: center;
  font-weight: bolder;
  margin: 10px auto;
}



.datenschutz{
  margin-left: 10px;
  font-size: 0.8em;
}

.datenschutz a{
  text-decoration: none;
  font-weight: bolder;
}

.datenschutz input[type='checkbox']{
  margin-left: 0;
}

.datenschutz a:link, .datenschutz a:visited{
  color: cadetblue;
}

.datenschutz a:hover, .datenschutz a:active{
  color: dodgerblue;
}

.right{
  float: right;
}

.formular{
  margin: 30px 0;
  margin-bottom: 0;
}

.formular input[type="text"], .formular input[type="password"], .formular button{
  display: block;
  border: 1px solid #ccc;
  border-radius: 4px;
  height: 40px;
  padding: 8px;
  width: 100%;
  margin: 20px 0;
}

#admin-login {
  padding: 2em;
  border-radius: 1em;
  margin: 2em auto;
  max-width: 800px;
  box-shadow: 2px 2px 4px #222;
}

table {
  border-collapse: collapse;
}

#result_table tbody{
  background-color: #e8e8e8;
}

#result_table td, #result_table th{
  padding: 4px;
	color: #282828;
	border: 1px solid #aaa;
}

tr:nth-child(even) {
  background-color: #f6f6f6 !important;
}

@media (min-width: 800px){
  body{
    background-color: inherit;
  }
  header{
    margin: 30px;
  }
  main{
    max-width: 1000px;
    margin: 1em auto;
    border: 1px solid #999;
    border-radius: 0.5em;
    padding: 1em;
    box-shadow: 0px 0px 4px #bbb;
  }
}