/* 1. Menu buttons */
/* 2. CTA buttons */
/* 3. Text buttons */
/* 4. Button groups */





/* 1. Menu buttons */

.menu-button {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: nowrap;
  background-color: transparent;
  border: none;
  font-weight: 700;
}

.menu-button img {
  margin-left: 8px;
}

#menu-button-overlay {
  color: lightgray;
}

.menu-overlay-navbutton {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 2px 0;
  margin-bottom: 0;
}

@media (min-height: 450px) {
  .menu-overlay-navbutton {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
}

.menu-overlay-navbutton img {
  height: 1.5rem;
  padding-right: 4px;
}

@media (min-width: 1000px) {
  .menu-button {
    display: none;
  }
}

#menu-overlay .downloadbutton {
  margin-top: 52%;
  margin-bottom: 34%;
}


/* 2. CTA buttons */

.cta {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  padding: 15px 30px;
  border-radius: 90px;
  background-color: black;
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.cta-overlay {
  font-size: 0.9rem;
  font-weight: 700;
  height: 40px;
  padding: 0 20px;
}

@media (min-height: 450px) {
  .cta-overlay {
    font-size: 1rem;
    font-weight: 700;
    height: 60px;
    padding: 0 30px;
  }
}

@media (min-width: 1000px) {
  .cta {
    height: 60px;
    padding: 0 30px;
  }
}

.cta:hover,
.cta:focus {
  opacity: 0.7;
  -webkit-transition: opacity 120ms ease-out;
  -moz-transition: opacity 120ms ease-out;
  -o-transition: opacity 120ms ease-out;
  transition: opacity 120ms ease-out;
}


.textbutton {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  border-radius: 5px;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  width: 100%;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  text-decoration-line: underline;
}

.textbutton:hover {
  color: #ba0d2e;
  transition: 0.3s;
}

/* .textbutton::after {
    font-family: 'Font Awesome\ 6 Free';
    content: '  \f061';
    font-weight: 900;
    font-size: 0.7rem;
    white-space: pre;
} */

.textbutton:hover::after {
  color: #ba0d2e;
  padding-left: 3px;
  transition: 0.3s;
}



/* 4. Button groups */

.button-group {
  display: flex;
  height: auto;
  min-height: 40px;
  justify-content: left;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.button-group .cta:first-child {
  margin-right: 20px;
}

.button-group-center {
  justify-content: center;
}


/* Download Buttons */

.downloadbutton {
  display: flex;
  align-items: center;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  padding: 15px 30px;
  border-radius: 90px;
  background-color: black;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 0 none;
}

.downloadbutton-overlay {
  font-size: 0.7rem;
  font-weight: 700;
  height: 40px;
  padding: 0 20px;
}

@media (min-height: 450px) {
  .downloadbutton-overlay {
    font-size: 0.7rem;
    font-weight: 700;
    height: 60px;
    padding: 0 30px;
  }
}

@media (min-width: 1000px) {
  .downloadbutton {
    height: 60px;
    padding: 0 30px;
    margin-right: 1rem;
  }
}

.downloadbutton:hover,
.downloadbutton:focus {
  opacity: 0.7;
  -webkit-transition: opacity 120ms ease-out;
  -moz-transition: opacity 120ms ease-out;
  -o-transition: opacity 120ms ease-out;
  transition: opacity 120ms ease-out;
}

.downloadbutton::after {
  font-family: 'Font Awesome\ 6 Free';
  content: '  \f019';
  font-weight: 900;
  padding-left: 0.2rem;
  font-size: 0.8rem;
  white-space: pre;
}

.light-button {
  border: solid;
  border-color: black;
  border-width: 2px;
  background-color: white;
  color: black;
}

.center-downloadbutton {
  align-self: center;
  position: relative;
  justify-self: center;
}

.center-initiativbutton {
  align-self: center;
  position: relative;
  justify-self: center;
}

.bewerben-button {
  margin-top: 1rem;
}

@media(max-width: 999px) {

  .button-group {
    justify-content: center;
    flex-direction: column;
  }

  .textbutton {
    margin-top: 1rem;
  }

  .downloadbutton,
  .light-button {
    justify-content: center;
  }
}

@media(max-width: 549px) {

  .downloadbutton,
  .light-button {
    width: 100%;
    justify-content: center;
  }
}