/* styles.css */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Set the background color to dark blue */
body {
    background-color: #000000;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;

    font-family: 'Anta', sans-serif;
}

body {
    background-image: url('materials/7200logopatch.png');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: contain; /* Ensure the background image covers the entire viewport */
    height: 100vh; /* Ensure the body covers the entire viewport height */
    width: 100%; /* Ensure the body covers the entire viewport width */
    display: flex; /* Use flexbox for layout */
    flex-direction: column; /* Stack flex items vertically */
    justify-content: center; /* Center flex items vertically */
    align-items: center; /* Center flex items horizontally */
}

/* Style the container */
.container {
    text-align: center;
}

/* Style the password container */
.password-container {
    position: relative;
}

/* Style the heading */
h1 {
    color: #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Style the buttons container */
#buttonContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Style the buttons */
button {
    padding: 10px; /* Keep the padding as needed */
    border: none;
    border-radius: 50px;
    font-size: 28px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
    animation: appear 0.5s ease;
    opacity: 0;
    animation-fill-mode: forwards;
    width: 100%; /* Set width to 100% */
    display: inline-block; /* Set display to inline-block */
    font-family: 'Anta', sans-serif;
}

/* Change button style on hover */
#loginButton:hover {
    background-color: #FF5722;
}

/* Login button style */
#loginButton {
    background-color: #00ADB5;
    color: #FFFFFF;
}

/* Change button style on hover */
#loginButton2:hover {
    background-color: #FF5722;
}

/* Login button style */
#loginButton2 {
    background-color: #00ADB5;
    color: #FFFFFF;
    margin-top: 5px; /* Adjust margin-top to position the button */
}

/* Change button style on hover */
#abortButton:hover {
    background-color: #FF5722;
}

/* Abort button style */
#abortButton {
    background-color: #00ADB5;
    color: #FFFFFF;
    margin-top: 5px; /* Adjust margin-top to position the button */
}

/* Style the login input fields */
input[type="text"],
input[type="password"] {
    width: 100%; /* Set the width to 100% */
    padding: 8px; /* Adjust padding */
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #333;
    color: #FFFFFF;
    font-size: 28px; /* Adjust font size */
    display: block; /* Make input fields block elements */
    transition: background-color 0.3s ease;
    animation: appear 0.5s ease;
    opacity: 0;
    animation-fill-mode: forwards;
    font-family: 'Anta', sans-serif;
}

/* Style the eye icon */
.toggle-password {
    position: absolute;
    top: 30%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background-color 0.3s ease;
    animation: appear 0.5s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Center-align elements */
.center {
    display: flex;
    justify-content: center;
}

/* Animation */
@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Square buttons */
.button-container {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 10px;
    margin-top: 20px;
}

.square-button {
    width: 150px; /* Make all buttons the same width */
    height: 150px; /* Set the height of each button */
    border: none;
    border-radius: 40px;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    transition: width 0.2s, height 0.2s, box-shadow 0.3s;
    margin: 0; /* Add this to ensure fixed position */
}

.square-button:hover {
    width: 160px;
    height: 160px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5); /* Add a slight glow effect */
}

/* Button 1 background image */
.button1 {
    background: none;
    background-image: url('materials/7200_camoglass.png');
    background-size: cover;
    padding: 0;
}

/* Button 2 background image */
.button2 {
    background: none;
    background-image: url('materials/7200_usersettings.png');
    background-size: cover;
    padding: 0;
}

/* Button 3 background image */
.button3 {
    background: none;
    background-image: url('materials/7200_money.png');
    background-size: cover;
    padding: 0;
}

/* Button 4 background image */
.button4 {
    background: none;
    background-image: url('materials/7200_logout.png');
    background-size: cover;
    padding: 0;
}

/* Button 5 background image */
.button5 {
    background: none;
    background-image: url('materials/7200_adduser.png');
    background-size: cover;
    padding: 0;
}

/* Button 6 background image */
.button6 {
    background: none;
    background-image: url('materials/7200_edituser.png');
    background-size: cover;
    padding: 0;
}

/* Button 7 background image */
.button7 {
    background: none;
    background-image: url('materials/7200_camoback.png');
    background-size: cover;
    padding: 0;
}

.add-user-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 10px;
}

#usernameInput {
    width: 295px; /* Adjust the width of the input field as needed */
    padding: 8px; /* Adjust padding for better appearance */
}

.buttons-row {
    position: absolute;
    top: calc(100% + 70px);
    left: 50%;
    transform: translateX(-50%);
    display: flex; /* Display buttons next to each other */
}

.user-list-container {
    position: fixed; /* Ändern Sie die Position auf absolut */
    top: 0; /* Platzieren Sie die Liste unterhalb des Eingabefelds */
    left: calc(100%-50%); /* Platzieren Sie die Liste am linken Rand des Containers */
    width: 100%; /* Breite auf 100% setzen */
    margin-top: 600px;
    overflow: auto;
    max-height: 300px;
    
}

.user-box {
    background-color: #747964; /* Hintergrundfarbe der Kästchen */
    border: 1px solid #000000; /* Randfarbe und -stil der Kästchen */
    border-radius: 5px; /* Abrundung der Kanten der Kästchen */
    padding: 10px; /* Innenabstand der Kästchen */
    margin-bottom: 10px; /* Abstand zwischen den Kästchen */
    width: 310px; /* Breite der Kästchen */
    text-align: left; /* Zentrierte Ausrichtung des Textes in den Kästchen */
    color: white;
}

/* Button 7 background image */
.button12 {
    background: none;
    background-image: url('materials/7200_camoback.png');
    background-size: cover;
    padding: 0;
    margin-top: 0px;
    margin-left:50%;
}
