/* IMPORTS */

/* fonts */
@import 'fonts/fonts.css';

/* CSS components */
@import 'components/article-news.css';
@import 'components/avatar.css';
@import 'components/banner.css';
@import 'components/button.css';
@import 'components/cookie-notice.css';
@import 'components/footer.css';
@import 'components/icons.css';
@import 'components/main.css';
@import 'components/navbar.css';
@import 'components/section.css';
/* CSS pages */
@import 'pages/subpages.css';

/* GENERAL */

body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* PAGE */

.container {
  width: 80%;
  margin: 0 auto;
}

/* SCREENSIZE */

@media (max-width: 1024px) {
  .leftside > .wrapper, .rightside > .wrapper {
    display: block;
  }
}

@media (max-width: 960px) {

  h1 {
    font-size: 40px;
  }
  .subheader {
    font-size: 18px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 28px;
  }
  .map-background, .map-container, .map-text-container, .map-img {
    width: 360px;
    height: 300px;
    background-size: 360px 300px;
  }
  .avatar {
    width: 240px;
    height: 240px;
  }
  .avatar-vita {
    width: 200px;
    height: 240px;
  }
}

@media (max-width: 720px) {

  h1 {
    font-size: 2.4em;
  }
  .subheader {
    font-size: 1.4em;
  }
  h2 {
    font-size: 18px;
  }
  h3 {
    font-size: 26px;
  }
  
  .map-background, .map-container, .map-text-container, .map-img {
    width: 300px;
    height: 250px;
    background-size: 300px 250px;
  }
  
  .wrapper-vita, .wrapper-event {
    display: block;
  }
  .wrapper-datenschutz {
    padding: 32px;
  }
  .date-box {
    border-right: none;
    border-bottom: 1px solid rgba(13, 19, 35, 0.7);
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
  }
  .bottomborder {
    border-bottom: none;
    padding-bottom: none;
  }
  
  .cookie-text {
    display: block;
  }
}
@media (max-width: 540px) {
  .avatar {
    width: 240px;
    height: 240px;
  }
  .container {
    width: 86%;
  }
  
  h1 {
    font-size: 2.0em;
    line-height: 1.3em;
  }
  p {
    line-height: 1.4em;
    letter-spacing: 0.02em;
  }
  .subheader {
    font-size: 1.1em;
  }
  .subsubheader {
    font-size: 1.2em;
    line-height: 1.6rem;
  }
  h2 {
    font-size: 16px;
  }
  h3 {
    font-size: 24px;
  }
  .text-bright h3 {
    text-shadow:2px 2px 0px rgba(13, 19, 35, 1);
  }
  h4 {
    font-size: 20px;
  }
  .text-bright h4 {
    text-shadow:1px 1px 0px rgba(13, 19, 35, 1);
  }
  .btn-big {
    font-size: 20px;
  }
  .btn-small {
    font-size: 16px;
  }
  
  .wrapper {
    display: block;
  }
  
  article, section {
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .map-background, .map-container, .map-text-container, .map-img {
    width: 240px;
    height: 200px;
    background-size: 240px 200px;
  }
}

@media (max-width: 400px) {
  .container {
    width: 88%;
  }
  .news-box {
    max-width: 92%;
    padding-left: 16px;
    padding-right: 16px;
  }
  h1 {
    font-size: 1.6em;
  }
  #cookie-notice p {
    font-size: 0.8em;
  }
  .wrapper-datenschutz {
    padding: 24px;
  }
}