/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color:rgb(12, 12, 12);
    color: #ffffff;
    margin: 0;
    padding: 0;
}

header {
   
    padding:0px;                /* Add spacing around the title */
    margin:0px;
    text-align: center;           /* Center-align the title */
    }


.content {
    display: flex;               /* Enables flexbox layout */
    flex-wrap: wrap;             /* Allows items to wrap to the next row */
    justify-content: flex-start; /* Aligns items to the left */
    align-items: flex-start;     /* Aligns items to the top */
    gap: 20px;                   /* Adds space between containers */
    margin:0px; 
    padding:0px;      
}

.title {
    font-family: "Times new roman";
    font-size: 2rem;              /* Larger font size for the title */
    color: #ffffff;               /* White text for visibility */
    margin: 0;                    /* Remove default margins */
}

/* Form Styles */
.form-container {
    width: 13%;                /* Fixed width for each container, at 13% all masters show on one row rn */
    display: flex;               /* Flexbox for Master and Servant sections */
    flex-direction: column;      /* Ensures Master and Servant stack vertically */
    background-color:rgb(51, 27, 27);   /* Background color */
    padding: 5px 10px 5px 10px;
    border: 1px solid #ff4444;      /* Border around each container */
    border-radius: 10px;
    box-sizing: border-box;      /* Ensures padding is included in width */
}

label {
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
    margin-top: 15px;
}

.input {
    width: 80%;
    padding: 10px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color:rgb(23, 5, 5);
    color: #ffffff;
}


.hint {
    font-size: 0.875rem;
    color: #aaa;
}

/* Buttons */
.button {
    background-color:rgb(49, 14, 14);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #45a049;
}

/* Servant Display */
.servant-display {
    margin-top: 20px;
    text-align: left;
}

img {
    max-width: 150px;
    max-height: 200px;
}
#next-day,#simulation {
    position: absolute;
    left: 45%;
    margin-top: 10px;
    border: 1px solid white;
    background-color:rgb(49, 14, 14);
}
.event-container {
    width: 1000px;                /* Fixed width for each container */
    display: flex;               /* Flexbox for Master and Servant sections */
    flex-direction: column;      /* Ensures Master and Servant stack vertically */
    margin-left: auto;
    margin-right: auto;
    background-color:rgb(51, 27, 27);   /* Background color */
    padding: 10px;
    border: 1px solid #ff4444;      /* Border around each container */
    border-radius: 10px;
    box-sizing: border-box;      /* Ensures padding is included in width */
}