:root {
  --footerHeight: 300px;
  --bodyPadding: 500px;
  --footerLogoHeight: 100px;
  --footerRightsHeight: var(--footerHeight);
  --footerPartsHeight: var(--footerHeight);
  --footerRightsWidth: 30%;
  --footerNotRightsWidth: 70%;
  --footerImportantWidth: 65%;
  --footerOfficialWidth: 35%;
}

body {
  min-height: 100vh;
  position: relative;
  padding-bottom: var(--bodyPadding) !important;
}

#cookieInfo {
  width: calc(100% - 50px);
  max-width: 500px;
  position: fixed;
  left: 25px;
  bottom: 25px;
  background-color: var(--backgroundcolor);
  border: 3px double var(--maincolor-blue);
  padding: 30px;
  box-sizing: border-box;
  z-index: 10000;
  box-shadow: 1px 1px 6px 4px black;
  display: none;
  opacity: 0;
  transition: 0.5s;
  margin: 0;
}

#cookieHeadline {
  font-size: 1.5em;
  margin-top: 0px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

#cookieText {
  margin-top: 0px;
}

#cookieClose {
  margin: 0px;
  margin-top: 10px;
  float: right;
  background-color: var(--backgroundcolor);
}

#footer {
  width: 100%;
  height: var(--footerHeight);
  background-color: var(--forthbackgroundcolor);
  margin-top: 200px;
  position: absolute;
  bottom: 0px;
  box-shadow: -1px -1px 4px 2px black;
  background-color: var(--contrastcolor);
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  color: black;
}

#footerRightsArea {
  width: var(--footerRightsWidth);
  height: var(--footerRightsHeight);
  padding: 20px 2% 15px 5%;
  box-sizing: border-box;
}

#footerLogo {
  height: var(--footerLogoHeight);
}

#footerRightsLine {
  margin-top: 20px;
  margin-bottom: 15px;
  border: none;
  height: 2px;
  border-radius: 2px;
  background: var(--maincolor-gradient);
}

#footerRights {
  margin-left: 5%;
  cursor: default;
}

#footerRightsText {
  font-size: 1.2em;
  letter-spacing: 0.5px;
}

#footerRightsYearAndName {
  font-size: 1.6em;
  letter-spacing: 1px;
}

#footerNotRightsArea {
  display: flex;
  width: var(--footerNotRightsWidth);
}

#footerImportantLinks {
  width: var(--footerImportantWidth);
  height: var(--footerPartsHeight);
  padding: 20px 2.5% 30px 2.5%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-evenly;
}

.footerImportant {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  box-sizing: border-box;
  margin-left: 1px;
}

.footerHeadline {
  font-size: 1.25em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 5px;
  width: max-content;
}

.footerLink {
  font-size: 1em;
  margin-top: 7.5px;
  margin-left: 2.5%;
  text-decoration: none;
  color: inherit;
  width: max-content;
}
.footerLink:hover {
  text-decoration: underline;
}

#footerOfficialArea {
  width: var(--footerOfficialWidth);
  height: var(--footerPartsHeight);
  padding: 20px 2.5% 30px 2.5%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: start;
}

.externalURL {
  color: var(--maincolor-purple);
  margin-bottom: 1px;
}

/* must stay down */
@media (max-width: 950px) {
  :root {
    --footerHeight: 400px;
    --bodyPadding: 550px;
    --footerImportantWidth: 100%;
    --footerOfficialWidth: 100%;
    --footerPartsHeight: 200px;
    --footerRightsWidth: 50%;
    --footerNotRightsWidth: 50%;
  }

  #footerNotRightsArea {
    flex-direction: column;
  }

  #footerOfficialArea {
    padding-right: 10%;
  }
}

@media (max-width: 630px) {
  :root {
    --footerHeight: 700px;
    --bodyPadding: 800px;
    --footerRightsHeight: 250px;
    --footerRightsWidth: 100%;
    --footerImportantWidth: 100%;
    --footerOfficialWidth: 100%;
    --footerPartsHeight: 200px;
    --footerNotRightsWidth: 100%;
  }

  #footer {
    flex-direction: column;
  }

  #footerImportantLinks {
    padding-left: 5%;
    justify-content: start;
  }

  .footerImportant {
    margin-left: 10%;
  }

  #footerOfficialArea {
    align-items: start;
    margin-left: 10%;
    padding-right: 2.5%;
    width: calc(var(--footerOfficialWidth) - 10%);
  }
}

@media (max-width: 450px) {
  :root {
    --footerHeight: 850px;
    --bodyPadding: 950px;
  }

  #footerImportantLinks {
    height: calc(2 * var(--footerPartsHeight));
    flex-direction: column;
  }

  .footerImportant {
    margin-top: 10px;
  }
}
