body {
    font-family: Arial, sans-serif;
    font-size: 100%;
    background-color: #416C3D;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
}

a {
    text-decoration: none;
}

header {
    padding: 25px 0;
    background-color: #4DA50D;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

h1,
h2 {
    color: #ffffff;
    text-align: center;
}

nav {
    background-color: #1F6409;
    min-height: 64px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
}

nav li {
    width: 140px;
}

nav a {
    display: block;
    color: #ffffff;
    line-height: 4em;
    font-weight: bold;
    text-align: center;
}

nav li a:hover {
    color: #ffffff;
    background-color: #4DA50D;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
}

p {
    font-size: 16px;
    line-height: 1.3;
    margin-top: 0.1em;
    margin-bottom: 12px;
    color: #ffffff;
}

footer {
    background-color: #4DA50D;
    color: #ffffff;
    padding: 20px 0 20px 30px;
    margin-top: 30px;
    border-radius: 25px;
}

.content {
    background-color: #396CDD;
    border-radius: 25px;
    padding: 25px;
    margin: 30px auto;
    max-width: 900px;
    text-align: justify;
}

.content img {
    border-radius: 25px;
    transform: scale(0.95);
    transition: transform 0.3s;
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.content img:hover {
    transform: scale(1);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.video-gallery video {
    width: 100%;
    border-radius: 15px;
    display: block;
}

.auth-panel {
    display: none;
}

#login {
    display: block;
}

#register:target {
    display: block;
}

#register:target ~ #login {
    display: none;
}

#login:target {
    display: block;
}

#login:target ~ #register {
    display: none;
}

.auth-box {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
}

.auth-box h3 {
    color: #ffffff;
    text-align: center;
    margin-top: 0;
}

.auth-box label {
    display: block;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 8px;
}

.auth-box input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: none;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 16px;
}

.auth-box button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #4DA50D;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.auth-box button:hover {
    background-color: #1F6409;
}

.auth-text {
    text-align: center;
    margin-top: 18px;
    margin-bottom: 10px;
}

.auth-link {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #1F6409;
    color: #ffffff;
    border-radius: 14px;
    font-weight: bold;
}

.auth-link:hover {
    background-color: #4DA50D;
}
