body {
    font-family: var(--font-body, 'Segoe UI', sans-serif);
    margin: 0;
    padding: 0;
    background-color: #111111;
    color: #181818;
}


header {
    background-image: url('Imagenes/fos.jpg'); 
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    padding: 20px 10px;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 70px;
    font-family: var(--font-titles, 'Segoe UI', sans-serif);
}
header h1:hover {
    transform: scale(1.1);
}
header h1 {
    display: inline-block;
    margin: 0 15px;
    transition: all 0.3s ease;
}


nav {
    background-color: rgba(0, 0, 0, 0.7); 
    color: #000000;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7); 
    position: relative; 
    z-index: 1000; 
}
nav a {
    color: #fff;
    text-decoration: none;
    padding: 0 15px;
    transition: all 0.3s ease;
}
nav a:hover {
    background-color: #444;
}

section {
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.76);
    transition: box-shadow 0.3s ease;
}
section h2 {
    margin-top: 0;
    font-size: 28px;
    font-family: var(--font-titles, 'Segoe UI', sans-serif);
}


.welcome-section {
    height: 60vh; 
    background-color: #1d1d1d;
    background-size: cover;
    background-attachment: fixed;
    color: rgb(0, 0, 0); 
    border: 1px solid #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-section {
    background-image: url('Imagenes/2E.jpeg'); 
    background-color: #222222;
    background-size: cover;
    background-attachment: fixed;
    color: rgb(255, 255, 255); 
}
.social-section {
    background-color: #222222;
    background-image: url('Imagenes/5137843.jpg');
    background-size: cover;
    background-attachment: fixed;
    color: rgb(255, 255, 255); 
}
.contact-section {
    background-color: #000000;
    background-image: url('Imagenes/contact-bg.jpg'); 
    background-size: cover;
    background-attachment: fixed;
    color: rgb(255, 255, 255); 
}


.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.contact-info p {
    margin: 0 15px;
}


.social-icons a {
    display: inline-block;
    margin: 0 15px;
    transition: all 0.3s ease;
}
.social-icons a img {
    width: 50px;
    height: 50px;
}
.social-icons a:hover {
    transform: scale(1.1);
}


footer {
    background-color: rgba(0, 0, 0, 0.7); 
    color: #fff;
    padding: 20px 0;
    text-align: center;
}



.image-gallery {
    position: relative;
    width: 100%;
    max-width: 800px; 
    margin: 0 auto; 
    height: auto; 
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column; 
}

.image-gallery img {
    width: 80%; 
    height: auto;
    object-fit: cover; 
    transition: opacity 0.5s ease-in-out; 
    box-shadow: 0 4px 8px rgb(0, 0, 0);
}

.image-gallery img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}
.dots-container {
    position: relative; 
    margin-top: 20px; 
    text-align: center;
}
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid white; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5); 
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease; 
}
.dot:hover, .dot.active {
    background-color: rgba(49, 49, 49, 0.7);
    transform: scale(1.2); 
}

.font-selector {
    display: none;
    margin: 20px 0;
    text-align: center;
}
.font-selector label {
    font-size: 18px;
    margin-right: 10px;
}
.font-selector select {
    font-size: 16px;
    padding: 5px;
}


.admin .font-selector {
    display: block;
}
@media (max-width: 768px) {
    nav {
        display: flex;
        flex-direction: column;
    }
    nav a {
        padding: 5px;
    }
    .contact-info {
        flex-direction: column;
    }
    .social-icons a img {
        width: 30px;
        height: 30px;
    }
    header h1 {
        font-size: 8vw;
    }
}
