body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    position: relative;
    height: 100px;
    background: url('./animated_background.gif') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    color: white;
}

header .logo {
    width: 220px;
    display: block;
    margin-top: 50px;
    height: 250px;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
    padding: 0 15px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover {
    background-color: #4CAF50;
    color: white;
}

.slideshow-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 10px 0;
}

.slideshow-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slideshow-container img {
    width: 100%;
    height: 650px;
    flex: 0 0 100%;
    object-fit: cover;
}

.slideshow-caption {
    position: absolute;
    bottom: 10px;
    left: 20px;
    color: white;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    z-index: 2;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    z-index: 1;
}


.prev {
    left: 10px;
}

.next {
    right: 10px;
}

main {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

form {
    display: block;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: white;
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

form fieldset {
    margin-bottom: 1.5em;
    border: 1px solid #ccc;
    padding: 1em;
    border-radius: 8px;
}

form label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

form input, form select, form button {
    width: 100%;
    padding: 0.5em;
    margin-bottom: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #4CAF50;
    color: white;
    font-size: 1em;
    cursor: pointer;
    border: none;
}

form button:hover {
    background-color: #45a049;
}

footer {
    text-align: center;
    padding: 1em;
    background-color: #333;
    color: white;
    margin-top: 2em;
}
