@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  font-size: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  min-height: 100%;
}

body {
  color: #000;
  font: 1.5em 'PT Sans', sans-serif;
  line-height: 1.2;
}

#wrapper {
  position: relative;
  max-width: 440px;
  margin: 1rem auto;
  background: #fff;
  overflow: hidden;
  padding: 0rem;
  text-align: center;
}

a {
  color: #000;
  text-decoration: none;
}

p {
  padding-bottom: 0.5rem;
}

h1 {
  margin: 0.8rem -0.5rem 0.8rem;
  padding: 2.5rem 0.5rem 0.25em;
  font-size: 1.7em;
  line-height: 1em;
  background: #ACAF53 url('bg.jpg') no-repeat top;
  color: #fff;
  font-weight: normal;
}

h1 span {
  font-size: 0.7em;
}

h2 {
  font-size: 1.45em;
  line-height: 1em;
  margin-bottom: 0.35rem;
  color: #ACAF53;
  font-weight: normal;
  position: relative;
}

h2 img {
  position: absolute;
  right: 0;
  bottom: 0;
}
h2:last-of-type{
  margin-bottom: 0.1rem;
}
h3 {
  font-size: 1.4em;
  line-height: 1.1em;
  margin: 0.5rem 0 0 5.5rem;
  color: #ACAF53;
  font-weight: normal;
  font-family: 'Kalam', cursive;
  text-align: left;
}

i {
  font-style: normal;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  visibility: hidden;
  height: 0px;
}

main {
  display: block;
  border: 2px solid #ACAF53;
  border-bottom: 10px solid #ACAF53;
  border-radius: 20px 20px 0 0;
  padding: 1.5rem 0.5rem 0.1rem;
}

/* Header */
header {
  padding: 0rem;
}

/* Ende Header */

/* Article */
article {
  padding: 0rem;
}

/* Ende Article */

/* Footer */
footer {
  padding: 0rem;
}

footer img {
  position: absolute;
  left: -1px;
  bottom: 0px;
}

/* Ende Footer */
@media only screen and (max-width:439px) {
  #wrapper {
    border: none;
    margin: 0 auto;
    font-size: 0.750em;
    line-height: 1.3;
  }

  i br, article br {
    display: none;
  }

  main {
    border: none;
  }

  h2 img {
    position: static;
    width: 29px;
  }

  h3 {
    margin-left: 0;
  }

  footer img {
    position: static;
  }

}
