@font-face {
    font-family: 'Futura';
    src: url(../fonts/FuturaStdBook.otf);
}

* {
    font-family: 'Futura';
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: rgb(255, 255, 255);
}


.Navegador {
    height: 80px;
    background-color: rgb(255, 255, 255);
    color: rgb(11, 16, 29);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid black;
}

.Navegador ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
}

.Navegador a {
    text-decoration: none;
    color: rgb(11, 16, 29);
    font-size: 15px;
    transition: color 0.3s ease;
}

.Navegador a:hover {
    color: rgb(9, 96, 137);
}

.Navegador img {
    height: 40px;
    cursor: pointer;
}

.slider {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    width: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.99;
}

.slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/ayuntamiento_banner.jpg);
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 0.6;
}


.slider a button {
    background-color: rgb(9, 96, 137);
    border: 2px solid rgb(255,255,255);
    font-size: 20px;
    border-radius: 3px;
    padding: 10px;
    z-index: 1;
    color: rgb(255,255,255);
}

.slider a button:hover {
    background-color: rgb(9, 98, 105);
    transition: 0.5s ease;
    cursor: pointer;
}

.slider p {
    font-size: 50px;
    font-weight: bold;
    color: rgb(255,255,255);
    z-index: 1;
}

.formulario {
    display: flex;
    flex-direction: column;
    padding: 100px;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(255, 255, 255);
    border: 1px solid black;
}     

.formulario button {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid black;
    font-size: 15px;
    cursor: pointer;
}

.formulario button:hover {
    background-color: rgb(9, 96, 137);
    transition: 0.2s ease;
}

.formulario textarea {
    resize: none;
    padding: 0px 40px 0px 40px;
}

.formulario input::placeholder,
.formulario textarea::placeholder {
    text-align: center;
    font-size: 15px;
}

.formulario form label {
    font-size: 20px;
}

.formulario input {
    padding: 10px 110px 10px 110px;
    border-radius: 10px;
    border: 1px solid black;
}

.formulario form {
    background-color:rgb(9, 98, 105);
    padding: 50px;
}
    

.footer {
    background-color: black;
    color: rgb(11, 16, 29);
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 2;
    text-align: center;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-logo {
    height: 40px;
}

.footer-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin: 0 10px;
    font-size: 16px;
}

.footer-link:hover {
    text-decoration: underline;
    transition: 0.5s ease;
}

.input_buscador {
    background-color: white;
    border-bottom: 2px solid rgb(11, 16, 29) ;
    width: 200px;
    float: 70%;
}

.buscador {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    flex-direction: column;
    padding: 200px;
}

.buscador aside {
    margin-top: 50px;
    float: 30%;
}

option {
    padding: 10px;
}

select {
    padding: 3px;
    margin-left: 10px;
    margin-right: 10px;
    border-radius: 10px;
}
 .submit {
    padding: 10px;
    border-radius: 10px;
    border: none;
 }

 .submit:hover {
    background-color: rgb(9, 96, 137);
    border: solid 1px black;
    transition: 0.5s ease;
    cursor: pointer;

 }

 .slider_contacto {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    opacity: 0.99;
    background-image: url(../images/ayuntamiento_banner.jpg);
    height: 300px;
}

.slider_contacto a button {
    background-color: rgb(9, 96, 137);
    border: 2px solid rgb(255,255,255);
    font-size: 20px;
    border-radius: 3px;
    padding: 10px;
    z-index: 1;
    color: rgb(255,255,255);
}

.slider_contacto a button:hover {
    background-color: rgb(9, 98, 105);
    transition: 0.5s ease;
    cursor: pointer;
}

.slider_contacto p {
    font-size: 50px;
    font-weight: bold;
    color: rgb(255,255,255);
    z-index: 1;
}

.productos_base {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 10px 200px 10px 200px;
}

.producto_comercio {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: black;
    margin-bottom: 10px;
    border: 1px solid black;
}

.imagen_producto {
    margin-right: 20px;
    align-items: center;
}

.imagen_producto img {
    margin: 20px 10px
}

.producto_comercio:hover {
    background-color: rgb(9, 98, 105);
    transition: 0.2s ease;
    cursor: pointer;
    color: rgb(255, 255, 255);
    border: 1px solid black;
    text-decoration: underline rgb(11, 16, 29);
    padding: 5px;
}

.div_listas {
    display: flex;
    justify-content: center;
    font-size: 30px;
    text-decoration: underline;
}

.aside_listas {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.asociacion {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: black;
    margin-bottom: 10px;
    border: 1px solid black;
}

.asociacion:hover {
    background-color: rgb(9, 96, 137);
    transition: 0.2s ease;
    cursor: pointer;
    color: rgb(255, 255, 255);
    border: 1px solid black;
    text-decoration: underline rgb(11, 16, 29);
    padding: 5px;
}

.provincia_list {
    display: flex;
    flex-direction: row;
    border: 1px solid black;
    padding: 20px;
    justify-content: space-between;
    align-items: center;
    margin: 10px 30px 10px 30px
}

.provincia_list div h4 {
    text-decoration: none;
}

.editar {
    padding: 10px;
    background-color: rgb(9, 96, 137);
    border: 1px solid black;
}

.eliminar {
    padding: 10px;
    background-color: red;
    border: 1px solid black;
}

.editar:hover {
    padding: 11px;
    background-color:rgb(4, 68, 97);
    cursor: pointer;
    transition: 0.1s ease;
    color: white;
}

.eliminar:hover{
    padding: 11px;
    background-color: rgb(117, 0, 0);
    cursor: pointer;
    transition: 0.1s ease;
    color: white;
}

.nav_secundario {
    display: flex;
    justify-content: end; 
    border-bottom: 1px solid black;
    align-items: center;
    height: 100%;
    padding: 10px;
}

.nav_secundario ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.nav_secundario li {
    margin: 0 10px;
}

.nav_secundario a {
    text-decoration: none;
    color: rgb(11, 16, 29);
    font-size: 15px;
    transition: color 0.3s ease;
    margin-right: 10px;
}

.nav_secundario a:hover {
    color: rgb(9, 96, 137);
}

.nav_secundario img {
    width: 50px;
    height: 30px;
}

.confirm_delete {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 20px;
    margin-bottom: 20px;
}

.comercio_detail {
    display: flex;
    flex-direction: row;
    padding: 50px;
}

.comercio_detail img {
    width: 100%;
    height: 100%;
}

.texto_detail {
    margin-left: 50px;
}

.texto_detail h3 {
    font-size: 25px;
}

.texto_detail button {
    padding: 10px;
    border-radius: 3px;
    background-color: rgb(9, 96, 137);
}

.volver button {
    padding: 10px;
    border-radius: 3px;
    background-color: rgb(9, 96, 137);
}

.volver button:hover {
    background-color:rgb(6, 72, 102) ;
    transition: 0.1s ease;
    cursor: pointer;
    border: 1px solid black;
}

.edicion {
    display: flex;
    justify-content: center;
}

.botones_productos {
    margin:20px 0px 20px 0px;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid black;
    background-color: white;
    color: black;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.5s ease;
}

.button:hover {
    background-color: rgb(9, 96, 137);
    border: solid 1px black;
    cursor: pointer;
}


@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .Navegador {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .Navegador ul {
        flex-direction: column;
        gap: 10px;
    }

    .Navegador img {
        height: 30px;
    }

    .slider {
        height: max-content;
        text-align: center;
        padding-bottom:20px;       
        overflow: hidden;
    }

    .slider p {
        font-size: 24px;
    }

    .slider a button {
        font-size: 16px;
        padding: 8px;
    }

    .formulario {
        padding: 20px;
        text-align: center;
    }

    .formulario input {
        padding: 10px;
        width: 100%;
    }

    .formulario textarea {
        padding: 10px;
        width: 100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-link {
        font-size: 14px;
    }

    .buscador {
        padding: 50px 20px;
    }

    .buscador aside {
        margin-top: 20px;
    }

    .input_buscador {
        width: 100%;
    }

    .slider_contacto {
        height: auto;
        padding: 20px;
        text-align: center;
    }

    .slider_contacto a button {
        font-size: 16px;
        padding: 8px;
    }
    .slider_contacto p {
        font-size: 24px;
        text-align: center;
        padding: 10px;
    }

    .productos_base {
        margin: 10px;
    }

    .producto_comercio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .imagen_producto {
        margin: 0;
    }

    .imagen_producto img {
        margin: 10px 0;
        width: 100%;
        max-width: 200px;
    }

    .div_listas {
        font-size: 18px;
        text-align: center;
    }

    .aside_listas {
        margin-bottom: 20px;
        flex-direction: column;
        align-items: center;
    }

    .asociacion {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .provincia_list {
        flex-direction: column;
        padding: 10px;
        margin: 10px;
        align-items: stretch;
    }

    .provincia_list div h4 {
        font-size: 16px;
    }

    .editar,
    .eliminar {
        padding: 8px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .nav_secundario {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 5px;
    }

    .nav_secundario ul {
        flex-direction: column;
        gap: 10px;
    }

    .nav_secundario li {
        margin: 5px 0;
    }

    .nav_secundario a {
        font-size: 14px;
        margin: 5px 0;
    }

    .nav_secundario img {
        width: 40px;
        height: 25px;
    }

    .confirm_delete {
        margin: 10px;
        align-items: center;
        text-align: center;
    }

    .comercio_detail {
        flex-direction: column;
        padding: 20px;
    }

    .comercio_detail img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .texto_detail {
        margin: 0;
        text-align: center;
    }

    .texto_detail h3 {
        font-size: 20px;
    }

    .texto_detail button {
        font-size: 14px;
        padding: 8px;
    }

    .volver button {
        font-size: 14px;
        padding: 8px;
        width: 100%;
    }

    .edicion {
        flex-direction: column;
        padding: 10px;
    }

    .botones_productos {
        margin: 10px 0;
        text-align: center;
    }
}