/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f9;
    margin: 0;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 1px;
}

.nav a, .nav button {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

.nav a:hover, .nav button:hover {
    color: #ffce00;
    transition: color 0.3s;
}

.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    align-items: center;

}
.container video {
    display: none;
    position: absolute; /* Allows precise positioning */
    top: 52%; /* Center vertically */
    left: 50%; /* Center horizontally */
    bottom: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for the video’s size */
    width: 26%;
    max-width: 100%; /* Ensures it doesn’t exceed the container */
    height: auto;    /* Maintains aspect ratio */
    border: 10px solid transparent; /* Initial border */
    border-radius: 10px; /* Rounded corners for a modern look */
    background: linear-gradient(90deg, #ff7eb3, #ff758c, #ff7eb3);
    background-size: 200% 200%;
    animation: border-animation 4s linear infinite;
    
}

/* Keyframes for the border animation */
@keyframes border-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

#closeModal {
    position: absolute;
    scale: 3;
    top: 30%;
    right: 50%;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

#closeModal:hover {
    color: #ff0000;
}

h1, h2, h3 {
    text-align: center;
    color: #2575fc;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

label {
    display: block;
    margin: 20px 0 10px;
    font-weight: bold;
    color: #555;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1em;
    transition: border-color 0.3s;
}

input[type="number"]:focus {
    border-color: #2575fc;
    outline: none;
}


/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fafafa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

thead {
    background: #2575fc;
    color: #fff;
}

thead th {
    padding: 10px;
    text-align: left;
    font-size: 1em;
}

tbody tr {
    border-bottom: 1px solid #ddd;
    transition: background 0.3s;
}

tbody tr:hover {
    background: #f4f4f9;
}

td {
    padding: 10px;
    text-align: left;
    color: #555;
}

td:nth-child(odd) {
    background: #f9f9f9;
}

tfoot {
    background: #2575fc;
    color: #fff;
    font-weight: bold;
}

tfoot td {
    padding: 10px;
}

/* Hover and Animation Effects */
button, a {
    cursor: pointer;
    border: none;
    background: #6a11cb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover, a:hover {
    background: #ffce00;
    color: #333;
    transform: scale(1.05);
}

.section {
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: 15% auto;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s;
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #333;
    font-size: 1.5em;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff0000;
}

  /* Footer */
  .footer {
    margin-top: 2%;
    padding: 2rem;
    background: #222;
    color: #fff;
    text-align: center;
}

.footer .footer-content {
    margin-bottom: 1rem;
}

.footer .logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer .footer-nav a {
    background-color: #222;
    text-decoration: none;
    margin: 0 0.5rem;
    color: #ffd700;
    font-size: 0.9rem;
}

.footer .footer-nav a:hover {
    text-decoration: underline;
}

.footer-legal a {
    background-color: #222;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.8rem;
    color: #bbb;
}

.footer-legal a:hover {
    text-decoration: underline;
    color: #ffd700;
}
