@import url('https://fonts.googleapis.com/css2?family=Quicksand&family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  height: 100vh;
  justify-content: center;
  align-items: center;
  background: #2C2D31;
}

main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 60px 1em;
  min-height: 100vh; /*calc(100vh - 60px);  Höhe des Bildschirms minus Höhe der Navigation */
  width: 100%;
  background: #2C2D31;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #8D8D8F;
  padding-top: 6em;
  padding-left: 2em; /* Gesamte main-content etwas nach rechts verschieben */
}

.main-content h1 {
  font-size: 60px;
  color: #FDFDFD;
  margin-left: 1.5em; /* Zusätzliche Verschiebung nur für Überschrift */
  margin-bottom: 0.3em;
}

.main-content p {
  margin-top: 0.5em;
  margin-left: 5.7em; /* Zusätzliche Verschiebung nur für Text */
}

.main-content a {
  margin-top: 0.5em;
  margin-left: 5.7em; /* Zusätzliche Verschiebung nur für Text */
  color: #007bff;
}

.main-content p a {
  margin-left: 0; /* Entfernt margin-left für Links innerhalb von p */
}

nav {
  background: #2C2D31;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FDFDFD;
  padding: 10px 20px; /* Anpassung des Paddings für mehr Platz um den Inhalt */
}

.nav-logo {
  flex: 1; /* Nimmt so viel Platz wie möglich ein, um links auszurichten */
}

.nav-logo a {
  font-size: 35px;
  text-decoration: none;
  color: #FDFDFD;
}

.nav-mid {
  flex: 1; /* Nimmt so viel Platz wie möglich ein, um in der Mitte auszurichten */
  text-align: center;
}

.nav-mid ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Zentriert die Links horizontal */
}

.nav-mid a {
  color: #8D8D8F;
  text-decoration: none;
  padding: 5px 20px;
}

.nav-mid a:hover {
  color: #FDFDFD;
}

.nav-login {
  flex: 1; /* Nimmt so viel Platz wie möglich ein, um rechts auszurichten */
  display: flex;
  justify-content: flex-end; /* Rechtsbündige Ausrichtung */
  align-items: center;
}

.nav-login .nav-login-text {
  color: #8D8D8F;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-login .nav-login-text:hover {
  color: #FDFDFD;
}

.nav-login .nav-login-text:hover i{
  color: #FDFDFD;
}

.nav-login .nav-login-text i {
  color: #8D8D8F;
  font-size: 25px;
  margin-right: 5px; /* Platz zwischen Icon und Text */
}

.nav-mid a.active {
  color: #FDFDFD; /* Farbe der aktiven Seite */
  /*font-weight: bold;  Optional: Fettdruck für die aktive Seite */
}

.nav-login .nav-login-text.active {
  color: #FDFDFD; /* Farbe der aktiven Seite */
}

.nav-login .nav-login-text.active i {
  color: #FDFDFD; /* Farbe des Icons der aktiven Seite */
}

.notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #8D8D8F;
  padding-top: 6em;
  padding-left: 2em; /* Gesamte main-content etwas nach rechts verschieben */
}

.notice p {
  margin-top: 0.5em;
  margin-left: 5.7em; /* Zusätzliche Verschiebung nur für Text */
}

.notice h1 {
  font-size: 40px;
  color: #FDFDFD;
  margin-left: 2.3em; /* Zusätzliche Verschiebung nur für Überschrift */
  margin-bottom: 0.3em;
}

i {
  color: #FDFDFD;
}

.formular {
  width: 420px;
  background: #2C2D31;
  border: 2px solid #8D8D8F;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /*color: #333; keine ahnung*/
  padding: 30px 40px;
  margin-top: 4em;
  margin-left: auto; /* Horizontal zentrieren */
  margin-right: auto; /* Horizontal zentrieren */
}

.formular h1 {
  font-size: 36px;
  text-align: center;
  color: #FDFDFD;
}

.formular p {
  font-size: 16px;
  text-align: center;
  color: #8D8D8F;
}

.btn-close {
  position: fixed;
  background-color: transparent;
  right: 30px;
  top: 60px;
  border: none;
  font-size: 57px;
  color: #8D8D8F;
  cursor: pointer;
  border-radius: 10%;
  transition: all 0.2s ease-in;
  z-index: 1001; /* über anderen Elementen angezeigen */
}

.btn-close:hover {
  opacity: 0.7;
  color: #FDFDFD;
}

.formular .passwordreset {
  font-size: 14.5px;
  margin: 0 0 15px;
  text-align: center;
}

.formular .register-link {
  font-size: 14.5px;
  margin: 10px 0 2px;
  text-align: center;
}

.formular 
.passwordreset a,
.register-link p a {
  color: #8D8D8F; /* Hellerer Link-Text */
  text-decoration: none;
}

.passwordreset a:hover,
.register-link p a:hover {
  text-decoration: underline;
}

.input-box {
  position: relative;
  width: 100%;
  height: 50px;
  margin: 30px 0;
}

.input-box input {
  width: 100%;
  height: 100%;
  background: #2C2D31; /* Weißes Eingabefeld */
  border: 2px solid #FDFDFD; /* Hellerer Rahmen */
  border-radius: 40px;
  font-size: 16px;
  color: #fdfdfd;
  padding: 20px 45px 20px 20px;
  outline: none; /* Entfernt den standardmäßigen Umrandungsstil im Fokus */
}

.input-box input:focus {
  border-color: #4E43CD; /* Farbe der Umrandung im Fokus */
}

.input-box input::placeholder {
  color: #FDFDFD; /* Hellerer Platzhaltertext */
}

.input-box i {
  color: #FDFDFD;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.btn {
  width: 100%;
  height: 45px;
  background: #4E42CC; /* Schwarzer Button */
  border: none;
  outline: none;
  border-radius: 40px;
  box-shadow: 0 0 15px rgba(0, 0, 0, .1);
  cursor: pointer;
  font-size: 16px;
  color: #fff; /* Weißer Text */
  font-weight: 600;
  transition: all 0.2s ease-in;
}

.btn:hover {
  background-color: #352d8d; /* Dunklerer Hintergrund beim Hover */
}
