* {
    font-size: 1.2rem;
    color: black;
}

header img {
    max-width: 5rem;
    height: auto;
    width: 5rem;
    margin-right: 3rem;
}

nav ul {
    display: flex;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding-left: 4rem;
}

.enlaces a {
    color: black;
    text-decoration: none;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(235, 233, 233);
    border: 2px solid black;
}

.enlaces button {
    font-size: 1.5rem;
    padding: 0.8rem;
    border: 0px;
    background-color: rgb(235, 233, 233);
}

.enlaces button:hover {
    background-color: rgb(179, 178, 178);
}

#portada {
    width: 100%;
    min-height: 25rem;
    height: auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("../images/index_portada.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    background-attachment: fixed;
    gap: 1.5rem;
}

#portada h1 {
    font-family: "Outfit", sans-serif;
    color: white;
    font-size: 2.5rem;
    text-align: center;
    z-index: 2;
    margin: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#portada p {
    font-family: "Outfit", sans-serif;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    z-index: 3;
    margin: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#portada button a {
    color: white;
    background-color: rgb(244, 131, 51);
    font-family: "Sekuya", system-ui;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
    z-index: 4;
}

#portada button {
    background-color: rgb(244, 131, 51);
}

#footer {
    background-color: black;
    color: white;
    padding: 1rem 1rem;
    gap: 0.5rem;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.footer-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
}

.footer-box p,
a,
h3 {
    font-size: 1rem;
    color: white;
    text-decoration: none;
}

.footer-box a {
    text-decoration: underline;
}

#servicios h2 {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border: 2px solid black;
    display: block;
    width: fit-content;
}

.articulos {
    background-color: rgb(199, 197, 197);
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.articulos h3 {
    font-family: "Roboto Condensed", sans-serif;
    color: black;
    font-size: 1.2rem;
    margin: 1rem auto;
    justify-content: flex-start;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    display: block;
    width: fit-content;
}

.servicio {
    background-color: rgb(244, 243, 243);
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.servicio p {
    margin: 0rem 0.5rem 0.5rem;
    font-family: "Outfit", sans-serif;
}

.producto-estrella {
    display: flex;
    align-items: stretch;
}

.producto-estrella main {
    font-family: "Outfit", sans-serif;
    background-color: rgb(241, 241, 241);
    flex-grow: 1;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
    padding: 0.7rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}

.producto-estrella h2 {
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    width: fit-content;
}

#aside {
    font-family: "Outfit", sans-serif;
    background-color: rgb(241, 241, 241);
    flex: 1;
    margin: 0rem auto;
    margin-left: 1rem;
    margin-right: 0.5rem; 
    margin-bottom: 0.5rem;
}

#aside ul {
    margin-top: 0rem;
    margin-bottom: 0rem;
}

.producto-estrella ul li {
    color: black;
    list-style:none;
}

.producto-estrella ul li::after {
    content: "✅";
}

.producto-estrella ul li h3 {
    display: inline;
    color: black;
}

#prod_estrella {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    border: 2px solid black;
    width: fit-content;
    margin: 1rem auto;
    text-align: center;
    padding: 0.5rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
}

.tabla {
    display: grid;
    flex-direction: column;
    display: block;
    border: 2px solid black;
    margin: 1rem;
    padding: 0.5rem;
}

.tabla tr:nth-child(2) {
background-color: rgb(215, 213, 213);
}

.tabla tr:nth-child(4) {
background-color: rgb(215, 213, 213);
}

.tabla tr:last-child {
    background-color: rgb(242, 242, 77);
}

.tabla th {
    font-family: "Outfit", sans-serif;
    font-size: 1.8rem;
    padding: 0.5rem;
}

.tabla td {
    font-family: "Roboto Condensed", sans-serif;
    font-size: 1.4rem;
    padding: 0.5rem;
    width: 100%;
}

.tabla th, td {
    border: 2px solid black;
}

#formulario {
    display: block;
    flex-direction: column;
}

#nombre:hover {
    background-color: rgb(247, 247, 99);
}

#email:hover {
    background-color: rgb(247, 247, 99);
}

#formulario legend {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2rem;
    background-color: white;
    border: 2px solid black;
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.25rem;
}

#formulario fieldset {
    font-family: "Outfit", sans-serif;
    margin-top: 1rem;
    margin-bottom: 1rem;
    background-color: rgb(241, 241, 241);
}

#boton {
    font-family: "Bebas Neue", sans-serif;
    font-size: 2.5rem;
    background-color: white;
}

#boton:hover {
    background-color: black;
    color: white;
    transition: 0.2s;
}

.espaciado {
    display: flex;
}

#privacidad {
    margin-bottom: 1rem;
}

#aside ul {
    padding: 0.5rem;
}

@media (max-width:940px) {
    .enlaces {
        margin: auto;
        flex-direction: row;
        padding-left: 0rem;
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
        gap: 2rem;
    }

    header img {
        margin-right: 0rem;
        max-width: 8rem;
        max-height: 8rem;
        margin-top: 0.7rem;
    }

    nav ul {
        flex-direction: column;
    }

    header {
        max-width: auto;
        flex-direction: column;
    }

    .enlaces button {
        max-width: auto;
        display: flex;
        flex-direction: column;
    }

    .articulos {
        flex-direction: column;
        padding: 0.8rem;
    }

    .servicio {
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }
}

@media(max-width:580px) {
    .enlaces {
        flex-direction: column;
        gap: 1rem;
    }

     #footer {
        flex-direction: column;
    }

    #portada button {
        margin: 0;
    }

    #portada {
        justify-content: flex-start;
        min-height: auto;
    }

    .tabla th {
    font-size: 1.2rem;
    }

    .tabla td {
    font-size: 1rem;
    }
}






