.anton-regular {
    font-family: "Anton", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.anybody-reg {
    font-family: "Anybody", sans-serif;
    font-optical-sizing: auto;
}

#home {
    display: flex;
}

#headerimg {
    width: 40%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#horario {
    font-size: small;
    color: white;
    text-align: center;
}

.gold {
    text-align: center;
    color: #d4af37;
}

.navbar {
    width: 100%;
    margin-top: 0.5%;
    background-color: rgb(0, 0, 0);
    box-shadow: 0px -4px 4px rgba(0, 0, 0, 0.1);
    /* Sombra por encima de la navbar */
}

.navbar-nav {
    margin: auto;
    /* Centrar los enlaces */
    display: flex;
    align-items: center;
}

.nav-item {
    margin-top: -0.5%;
    margin-right: 10%;
    /* Espacio entre los elementos */
    flex-grow: 1;
    /* Hacer que los items flexibles ocupen todo el espacio disponible */
    text-align: center;
    /* Centrar el texto */
}

.nav-item:last-child {
    margin-right: 0;
    /* Quitar margen derecho del último elemento */
}

.nav-link {
    font-family: "Anybody";
    font-size: large;
    color: rgb(255, 255, 255);
    white-space: nowrap;
    /* Evitar que los enlaces se rompan */
}

.nav-link:hover {
    text-decoration: underline;
    color: rgb(193, 193, 193);
}

.nav-link.active {
    color: rgb(255, 255, 255) !important;
    text-decoration: underline rgb(193, 193, 193);
}


/* Estilos personalizados */
.navbar-custom {
    background-color: #000000;
    /* Fondo negro */
}

.navbar-custom .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.carousel-container {
    flex: 1;
    margin-left: 5%;
    width: 50%;
    height: auto;
}
#demo{
    margin: auto;
    width: 60%;
}
.overlay-text {
    flex: 1;
    margin-left: 5%;
    margin-right: 2%;
    align-self: center;
    width: auto;
    height: auto;
    color: white;
}

.flex-box {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    /* Añadir espacio entre los elementos */
}

@media (max-width: 768px) {
    body {
        font-size: 2vh !important;
    }

    .flex-box {
        flex-direction: column;
        /* Cambia la dirección de los elementos a columna */
    }

    #headerimg {
        margin-top: 2%;
        width: 90%;
        height: auto;
    }

    #horario {
        margin: auto;
        width: 80%;
        height: auto;
    }

    .carousel-container,
    .overlay-text {
        flex: 1;
        /* Ocupa todo el espacio disponible verticalmente */
        /* Márgenes en todos los lados */
    }

    .carousel-container {
        width: 95%;
        margin: auto;
    }

    .overlay-text {
        max-width: 80%;
        /* Ancho máximo del texto */
        margin: auto;
    }

    #contdnd {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        /* Cambia a apilamiento vertical */
    }

    #contacto,
    #dndestamos {
        float: inline-start;
        flex: 1 1 100%;
        /* Ocupa todo el ancho disponible */
        margin: 0 !important;
        /* Elimina los márgenes definidos para tamaños grandes */
        width: 90% !important;
        margin-left: 5% !important;
    }

    #contacto ul,
    #contacto li {
        height: auto;
        margin: 0 !important;
        padding: 0.2% !important;
    }

    iframe {
        width: 100%;
        height: auto;
        /* Asegura que el mapa de Google Maps ocupe todo el ancho */
    }
}

.overlay-text h2 {
    font-family: "Anton";
    text-align: center;
    color: #d4af37;
    font-size: xx-large;
}

.overlay-text p {
    text-align: left;
}

#servicios {
    background-color: black;
    width: 100%;
    padding: 1%;
    box-sizing: border-box;
}

.pricing-section {
    margin: 1%;
    color: white;
}

.pricing-section h3 {
    font-family: "Anton";
    text-align: center;
    margin-bottom: 1%;
    color: #d4af37;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1% 0;
    border-bottom: 1px solid #d4af37;
}

.pricing-item:last-child {
    border-bottom: none;
}

.pricing-item span:first-child {
    flex: 1;
}

.pricing-item span:last-child {
    color: #d4af37;
}

.flex-container {
    display: flex;
    justify-content: space-between;
    gap: 10%;
    /* Añadir espacio entre las secciones de Barba y Color */
}

.flex-container .pricing-section {
    flex: 1;
    margin: 0.5%;
}

header {
    background-color: white;
}

body {
    background-color: black;
    margin: 0;
    font-family: "Anybody";
    font-size: 2.5vh;
}

ul {
    list-style: none;
}

.contactimg {
    width: 5vh;
}

.title {
    text-align: center;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 1%;
}

#contdnd {
    width: 100%;
    height: auto;
    /* display: flex; */
}

#contacto {
    float: inline-start;
    text-align: center;
    font-size: larger;
    width: 50%;
    height: auto;
    margin: auto;

}

a {
    text-decoration: none;
    color: white;
}

#contacto ul {
    margin-left: 30%;
    text-align: left;
}

#contacto li {
    margin: 4%;
}

#dndestamos {
    float: inline-start;
    text-align: center;
    width: 50%;
    height: auto;
    margin: auto;
}

#clear {
    clear: both;
}

.form-container {
    max-width: 80%;
    margin: auto;
    padding: 1.5%;
    background-color: #000000;
    color: white;
    padding-top: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 1rem;
    border: solid #d4af37;
    z-index: -111111;
    /* border-image: repeating-linear-gradient(45deg, transparent, transparent 5px, #d4af37 6px, #d4af37 15px, transparent 16px, transparent 20px) 20/1rem; */
}

.form-control::placeholder {
    color: #848484;
}

.btn {
    width: auto;
    margin-left: 45%;
    border: 1% solid #d4af37;
    color: #d4af37;
    padding: 1.5% 2.5%;
    cursor: pointer;
}

.info {
    border-color: #d4af37;
    color: #d4af37;
}

.info:hover {
    background-color: #252525;
    border-color: #d4af37;
    color: #d4af37;
}
.error {
    color: red;
    font-size: 0.875em;
}