body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
header {
    background: #333;
    color: white;
    padding: 2%;
    font-size: 24px;
}
section {
    opacity: 0.8;
    margin: 1%;
    padding: 1%;
    background: #333;
    width: 60%;
    border-radius: 1%;
    margin: auto;
}

nav {
    background: #444;
    padding: 10px;
}
nav a {
    color: white;
    text-decoration: none;
    list-style-type: none;
    margin: 0 15px;
    font-size: 18px;
}
a:hover{
    animation-name: guz;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    transition: all 0.5s;
    font-size: 24px;
}

section li {
    list-style: none;
    color: white;
    font-size: 20px;
}
nav li{
    padding: 10px;
    display: inline;
}
footer {
    background: #222;
    color: white;
    padding: 10px;
    margin-top: 20px;
    text-align: left;
    position: absolute; bottom: 0;
    width: 100%;
}
section p {
    color: white;
    font-size: 20px;
}
h3 {
    color: white;
    font-size: 25px;
}

video {
    animation-name: media;
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.back-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.nButton:hover {
    animation-name: pulse;
    animation-duration: 1s;
    animation-iteration-count: 1;
}
@keyframes pulse{
    0% {transform: scale(1);}
    100% {transform: scale(1.3);}
}
#galeria{
    width: 100%;
    height: 100%;
    opacity: 1;
}

section img{
    height: 250px;
    width: 350px;
    object-fit: cover;

}

section li{
    display: inline;
}

figcaption {
    text-align: center;
    margin-top: 5px;
    display:inline;
}
#galeria ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    justify-content: center;
}
section#galeria{
    border-radius: 0%;
}
#galeria li {
    width: 500px;
    height: 370px; 
}

#galeria figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0;
}

#galeria img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#galeria figcaption {
    margin-top: 5px;
    font-weight: bold;
}
.formulaz {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
label {
    display: block;
    margin-top: 10px;
}
input, textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
button {
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.clear-btn {
    background: #ccc;
}
.send-btn {
    background: #28a745;
    color: white;
}

section.rari p h3{
    opacity: 0;
    margin: 1%;
    padding: 1%;
    background: none;
    width: 100%;
    border-radius: 1%;
    margin: auto;
    color: black;
}
iframe {
    position: absolute;
    top: 250px;
    left: 20px;
}
iframe.bgf{
    position:absolute;
    top: 0px;
    left: 0px;
}

audio{
    width: 300px;
    filter: brightness(1.2);
    position: absolute;
    top: 550px;
    left: 20px;
}