@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-image: url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.design-login_card {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Ändert die vertikale Ausrichtung auf den Anfang */
    padding: 80px 20px 20px 20px; /* Fügt Polsterung oben hinzu */
    width: 100%;
    box-sizing: border-box;
}

.top-spacing {
    margin-top: 20px; /* Passt den oberen Abstand an */
}

.login_card {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 10px;
    width: 380px;
    background: rgba(79, 78, 78, 0.8);
    border-radius: 5px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.05);
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    max-width: 380px;
    width: 100%;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.main-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}
 
#logo{
    width: 100px;
    height: auto;
    position: relative;
    margin: 5px 0 0 35%;
}

.login_card h1 {
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding: 20px 0;
    margin-bottom: 5px;
}

.login_card form{
    padding: 0 40px;
    box-sizing: border-box;
}

.input_field{
    position: relative;
    margin: 30px 0;
    border-bottom: 2px solid rgb(255, 0, 0);
    text-transform: uppercase;
}

.input_field input {
    width: 100%;
    padding: 0 5px;
    height: 40px;
    font-size: 14px;
    color: #fff;
    border: none;
    background: none;
    outline: none;
}

.input_field label {
    position: absolute;
    top: 30%;
    left: 5px;
    color: #fff;
    transform: translateY(-50%);
    font-size: 16px;
    pointer-events: none;
    transition: 0.5s;
}

.input_field span::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #3498db; /* ändert die Farbe des Unterstrichs beim klicken ins jeweilige Feld rot -> hellblau */
    transition: 0.5s;
}

.input_field input.focused ~label,
.input_field input.filled ~label {
    top: -5px;
    color: #3498db; /* ändert die Farbe des Textes beim klicken ins jeweilige Feld rot -> hellblau */
}

.input_field input.focused ~ span::before,
.input_field input.filled  ~ span::before {
    width: 100%;
}

input[type="submit"],
.button {
    margin-left: 10%;
    width: 80%;
    height: 40px;
    background: #363636ca;
    border: solid 1px white;
    border-radius: 10px;
    font-size: 18px;
    color: #fff;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    cursor: pointer;
    outline: none;
}

input[type="submit"]:hover,
.button:hover{
    border-color: #363636ca;
}

.button{
    margin-left: 20%;
    width: 60%;
    height: 40px;
    margin-bottom: 10px;
    margin-top: 0;
}

@media screen and (max-width: 600px) {
 .design-login_card {float: none;
    }
}
@media screen and (max-width: 768px) {
    body {
        background-position: top center;
    }
    
    .design-login_card {
        padding-top: 100px; /* Erhöht den oberen Abstand auf kleineren Bildschirmen */
    }
}

/*Abgrenzung zwischen Login und Registierung*/
.content__or-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  font-size: 13px;
  column-gap: 18px;
  padding: 10px;
  margin: 20px;
  color: white;
}

.content__or-text span:nth-child(3),
.content__or-text span:nth-child(1) {
  display: block;
  width: 100%;
  height: 1px;
  background-color: white;
}

/*CSS-Code für die Benachrichtigungen (Account erstellen)*/
.notification-settings {
    position: absolute;
    top: 3vh;
    left: 3vw;
    font-family: 'Varela Round', sans-serif;
    font-size: 1.25em;
}

.checkbox {
    border-radius: 5px;
    width: 300px;
    height: 70px;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #2B3246;
    cursor: pointer;
    border: #0ad406 solid 1px;
    color: #0ad406;
    margin-top: 100px;
    transition: opacity 1s ease-in-out; /* Animation für das Ausblenden */
}

.checkbox.fade-out{
    opacity: 0;
}

.errorbox {
    border-radius: 5px;
    width: 300px;
    height: 70px;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #2B3246;
    cursor: pointer;
    border: #fa1900 solid 1px;
    color: #fa1900;
    margin-top: 70px;
    transition: opacity 1s ease-in-out; /* Animation für das Ausblenden */
}


.errorbox.fade-out{
    opacity: 0;
}


