h1 {
    background-color: #7289da;
    color: black;
    text-align: center;

}

h2{
    color: black;
    text-shadow: 
    -1px -1px 0 white,
     0px -1px 0 white,
     1px -1px 0 white,
    -1px  0px 0 white,
     1px  0px 0 white,
    -1px  1px 0 white,
     0px  1px 0 white,
     1px  1px 0 white;
    
}
body {
    background-color: #424549;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    color: white;
    justify-content: center; /* horizontal centering */
    align-items: center;     /* vertical centering */
    height: 100vh; 
}
.button-container {
    display: flex;
    justify-content: center; /* Centers buttons horizontally */
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Makes it responsive */
    margin-top: 50px;
}

/* Button styling */
.box-button {
    flex: 1; /* Makes all buttons equal width */
    max-width: 200px; /* Ensures buttons are the same size */
    padding: 20px;
    background-color: white;
    color: white;
    font-size: 18px;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: black;
}

.box-button:hover {
    background-color: black;
    color: white;
}

/* Responsive design */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column; /* Stacks buttons on small screens */
        align-items: center;
    }
    .box-button {
        width: 80%; /* Makes buttons wider on small screens */
    }
}

/* Centering the container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align messages to top */
    min-height: auto;  /* Ensure it grows based on content */
    gap: 10px;  /* Space between messages */
    padding: 20px; /* Add padding to prevent content from touching edges */
    margin-top: 20px; /* Add margin to separate from other content */
}

/* Box styling */
.text-box {
    width: 60%;
    max-width: 600px;
    padding: 30px;
    background-color: #f4f4f4;
    color: #333;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    margin-bottom: 10px; /* Add margin to decrease the gap */
}

.text-box:hover {
    width: 60%;
    max-width: 600px;
    padding: 30px;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    margin-bottom: 10px; /* Add margin to decrease the gap */
}


@media (max-width: 768px) {
    .text-box {
        width: 80%;
    }
}


.countdown-container {
    margin-top: 20px;
    align-content: center;
}

#countdown {
    font-size: 40px;
    padding: 20px;
    background-color: #000000;
    color: white;
    border-radius: 10px;
    display: inline-block;
}

.footer {
    color: black;
    text-shadow: 
    -1px -1px 0 white,
     0px -1px 0 white,
     1px -1px 0 white,
    -1px  0px 0 white,
     1px  0px 0 white,
    -1px  1px 0 white,
     0px  1px 0 white,
     1px  1px 0 white;
    text-align: center;
    padding: 10px;
    position: relative;
    margin-top: 10px;
    bottom: 0;
    width: 100%;
    height: 40px;
    background-color: #7289da;
    font-weight: bolder;
    font-size: larger;
    box-shadow: 0 -3px 10px 3px rgba(250, 249, 249, 0.2);
}


h1.nav-bar {
    background: #7289da;
    color: black;
    text-shadow: 
      -1px -1px 0 white,
       0px -1px 0 white,
       1px -1px 0 white,
      -1px  0px 0 white,
       1px  0px 0 white,
      -1px  1px 0 white,
       0px  1px 0 white,
       1px  1px 0 white;
    padding: 20px;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center; /* Center the title */
    align-items: center;
    font-family: 'Times New Roman', Times, serif;
}

/* Move dropdown to the left side of the screen */
.dropdown {
    position: absolute;
    left: 10px; /* Pin it to the left */
    top: 50%;
    transform: translateY(-50%);
}

/* Dropdown button styling */
.dropbtn {
    background-color: #424549;
    color: rgb(0, 0, 0);
    text-shadow: 
    -1px -1px 0 white,
     0px -1px 0 white,
     1px -1px 0 white,
    -1px  0px 0 white,
     1px  0px 0 white,
    -1px  1px 0 white,
     0px  1px 0 white,
     1px  1px 0 white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bolder;
}

.dropbtn-1 {
    background-color: #424549;
    color: rgb(0, 0, 0);
    text-shadow: 
    -1px -1px 0 white,
     0px -1px 0 white,
     1px -1px 0 white,
    -1px  0px 0 white,
     1px  0px 0 white,
    -1px  1px 0 white,
     0px  1px 0 white,
     1px  1px 0 white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bolder;
    position: absolute;
    right: 10px; /* Pin it to the left */
    top: 50%;
    transform: translateY(-50%);
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #424549;
    min-width: 120px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Dropdown links */
.dropdown-content a {
    color: black;
    padding: 10px 12px;
    display: block;
    text-decoration: none;
}

/* Show the dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Style adjustments on hover */
.dropdown-content a:hover {
    background-color: #7289da;
    color: black;
}

.input-container {
    width: 90%;
    max-width: 600px;
    padding: 30px;
    background-color: #7289da;
    color: black;
    text-shadow: 
    -1px -1px 0 white,
     0px -1px 0 white,
     1px -1px 0 white,
    -1px  0px 0 white,
     1px  0px 0 white,
    -1px  1px 0 white,
     0px  1px 0 white,
     1px  1px 0 white;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin: 50px auto;
}

textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    resize: none;
    color: black;
    font-family: 'Times New Roman', Times, serif;
}

.message-box strong {
    color: #000;
}

.message-box {
    background-color: #424549;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
}

#contentDisplay {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    margin-top: 20px;
}

        /* Case card styling */
/* Case card styling */
.case-card {
    background-color: #7289da;
    color: black;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    margin: 10px auto;
    width: 80%;
    max-width: 600px;
    text-align: left;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* Hover effect */
.case-card:hover {
    transform: scale(1.05);
    background-color: #000;
    color: #fff;
}

/* Card headings */
.case-card h3 {
    margin: 0;
    font-size: 22px;
    color: #ffffff;
}

/* Case details */
.case-card p {
    margin: 5px 0;
    line-height: 1.4;
    font-size: 16px;
}

/* Timestamp styling */
.case-card .case-meta {
    font-size: 12px;
    color: #7289da;
}

/* Case separator line */
.case-card::after {
    content: "";
    display: block;
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, #ffffff, #ffffff);
    margin: 20px auto;
    border-radius: 2px;
}

/* Remove separator from last case card */
.case-card:last-child::after {
    display: none;
}


label {
    display: block;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

select,
input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 14px;
}

textarea {
    resize: vertical;
    height: 100px;
}

.box-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 3px rgba(0,0,0,0.3);
    cursor: pointer;
    font-weight: bold;
}

.box-button:hover {
    background-color: black;
    color: white;
}

#fileName {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}