* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /*? 1rem = 10px ?*/
    font-size: 62.5%;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.5;
    font-size: 1.6rem;

    background: #0D1321;
    color: #fff;

    display: flex;
    flex-direction: column;
    height: 100vh;
}

main {
    width: 80%;
    margin: auto;
    padding-bottom: 2rem;

    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10rem;
}

h1 {
    font-family: "Space Mono", monospace;
    color: #fff;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1.5;
}

h2 {
    font-family: "Space Mono", monospace;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.5;
}

h3 {
    font-family: "Space Mono", monospace;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.5;
}

p {
    font-family: "Noto Sans", sans-serif;
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.5;
}


/*?                     INICIO BOTÓN EXTERNO                !*/


button {
    font-size: 2rem;
    color: #748CAB;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    border: none;
    background: none;
    text-transform: uppercase;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: color;
}

button:focus,
button:hover {
    color: #fff;  
}

button:focus:after,
button:hover:after {
    width: 100%;
    left: 0%;
}

button:after {
    content: "";
    pointer-events: none;
    bottom: -0.5rem;
    left: 50%;
    position: absolute;
    width: 0%;
    height: 0.6rem;
    background-color: #fff;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 400ms;
    transition-property: width, left;
}

/*?                     FIN BOTÓN EXTERNO                   !*/


header, footer {
    background: #0D1321;
    color: #fff;
    width: 100%;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/*! ------------------------------------------------------- **/
/*!                         HEADER                          **/
/*! ------------------------------------------------------- **/


.div-logo{
    font-family: "Noto Sans", sans-serif;
    margin-left: 2rem;
    font-size: 3rem;
    font-weight: bold;
}

.logo,
.header-nav ul li a {
    text-decoration: none;
    font-size: 3rem;
    
    width: 100%;
    max-width: 15rem;
    color: inherit;
    display: inline-block;
    padding: 1rem;
}


.header-nav {
    margin-right: 2rem;
}

.header-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem;
}


/*! ------------------------------------------------------- **/
/*!                         MAIN                            **/
/*! ------------------------------------------------------- **/


.titulo-home {
    margin: 3rem, 0;
}

.titulo-productos {
    text-align: center;
    margin: 3rem, 0;
    margin-bottom: 2rem;
}

.parrafo-home {
    width: 80%;
    text-align: center;
    font-size: 2rem;
    padding: 3rem;
}

.contenedor-productos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem
}

.product-card {
    width: 40rem;
    padding-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.product-card img {
    width: 100%;
}

/*! ------------------------------------------------------- **/
/*!                         FOOTER                          **/
/*! ------------------------------------------------------- **/


.footer-nav ul li {
    text-decoration: none;
    list-style: none;
    align-items: center;
    display: inline;
}

.footer-nav img {
    width: 4rem;
    height: 4rem;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-right: 2rem;
}


.footer-p {
    margin-bottom: 2rem;
    margin-left: 2rem;
}


/*! ------------------------------------------------------- **/
/*!                         MEDIA                           **/
/*! ------------------------------------------------------- **/

@media (max-width:667px){
    header {
        display: flex;
        flex-direction: column;
        align-items: space-between;
    }

    header .div-logo,
    .header-nav {
        margin: 0;
    }

    .contenedor-productos{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .footer-nav {
        display: flex;
        flex-direction: column;
        align-items: right;
        width: 10%;
        height: 50%;
    }
    
    footer .footer-p{
        flex-direction: row;
        max-width: 60%;
        max-height: 50%;
        text-align: left;
    }
}