html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
body {
    background-color: #ECF0F3;
    box-sizing: border-box;
}
/*---TITLE---*/
.title-container h1 {
    font-family: 'Montserrat';
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 3.5rem;
    max-width: 850px;
}
.title-container p{
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 1.1rem;
    max-width: 680px;
}
.title-container{
    height: 100vh;
    background-color: #212121;
    color: #fff;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    padding: 20px;
}

/*----Descargar Lista de Precios-----*/
.title-container .botton-lista-precios p{
    font-size: .9rem;
    max-width: 340px;
}
.link-button{
    width: 120px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.link-button img{
    width: 25px;
    height: 25px;
}
.icon{
    box-sizing: content-box;
    border-radius: 8px;
    padding: 8px 48px;
    filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(73deg) brightness(102%) contrast(101%);
}

.link-button:hover{
    background-color: #ff6f00;
    border: 2px solid #ff6f00;
    transition: all .2s ease;

}
.icon:hover{
    filter: invert(0%) sepia(6%) saturate(3466%) hue-rotate(344deg) brightness(98%) contrast(74%);
}
.link-button img:hover{
    width: 30px;
    height: 30px;
    transition: all .2s ease;
}

/*-----Seccion Unica-----*/
#unique-section{
    margin: 40px 0px;
}

/*-----Card Product----*/
.products-container{
    width: 100%;
    display: inline-flex;
    justify-content:flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 10px 10px;
}
.card-product{
    border-radius: 15px;
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    min-width: 250px;
    max-width: 300px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 10px 0 10px;
    margin: 10px;
    flex: 1 3 150px;
    box-shadow: 3px 3px 10px 0px #212121BF;
}
.pre-h2 {
    font-weight: 500;
    font-size: .8rem;
    text-transform:none;
    letter-spacing: 0px;
}
.img-container{
    max-height: 100%;
    flex-basis: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}
.img-container img{
    max-width: 95%;
    max-height: 200px;
}
.nombre-producto{
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    flex-basis: 300px;
}
.especificaciones{
    margin: 5px 0;
    min-height: 55px;
}
.especificaciones p{
    font-weight: 500;
    font-size: .8rem;
}
.datos{
text-transform: uppercase;
font-weight: 700;
font-size: .8rem;
letter-spacing: 2px;
margin-top: 10px;
margin-bottom: 5px;
}
.center-img {
    width: 100%;
    display: flex;
    justify-content: space-around;
}
.center-img.left-align {
    justify-content: flex-start;
}
.boton-seccion {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: space-between;
}
.boton-masinfo {
    width: 150px;
    height: 50px;
    text-align: center;
    background-color: #212121;
    color: #ECF0F3;
    margin: 10px 0px 18px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: .9rem;
    border-radius: 18px;
}
.boton-masinfo:hover {
    font-weight: 700;
    color: #212121;
    background-color: #ff6f00;
    border: 2px solid #ff6f00;
    transition: all .5s ease;
}
.center-element {
    width: 100%;
    display: flex;
    justify-content: space-around;
    margin: 10px 0px;
}
/*   Categorias Relacionadas   */
/*  Subtitulo   */
.subtitle-catrel {
    font-family: 'Montserrat', sans-serif;
    height: 150px;
    display: flex;
    align-items: center;
    background-color: #ffa040;
    color: #212121;
}
.subtitle-catrel h2{
    font-weight: 700;
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 3px;
    padding-left: 50px;
}


/*   CARDS   */
.container-catrel {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 15px 30px 70px 30px;
    background-color: #ffa040;
    text-align: center;
    
}

.card-catrel {
    display: grid;
    gap: 10px;
    justify-items: center;
    border-radius: 23px;
    font-family: 'Montserrat', sans-serif;
    border: 3px solid #212121;
    cursor: pointer;
    text-decoration: none;
    color: #212121;
    padding: 15px;
    margin: 10px;
}
.card-catrel:hover {
    background-color: #212121;
    transition: all .3s ease-in-out;
    color: #fff;
    max-width: 43%;
}
.card-catrel img {
    max-width: 200px;
    max-height: 150px;
    padding-bottom: 20px;
}
.card-catrel .title-catrel {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    max-width: 230px;
}
.card-catrel p {
    font-size: 14px;
    max-width: 250px;
    font-weight: 500;
}
.card-catrel .destacado {
    padding-top: 15px;
    font-weight: 700;
    text-decoration: underline;
}

/*----Tablet para abajo----*/
@media only screen and (max-width: 767.98px){
    .title-container h1 {
    font-size: 2rem;
    }
    .title-container p{
    font-size: 1rem;
}
    .products-container{
        padding: 0 5px 50px 5px;
        justify-content: space-evenly;
    }
    .card-product{
        display: flex;
        flex-wrap: wrap;
        padding: 0 10px 0 10px;
        margin: 5px;
        flex: 1 3 150px;
        box-shadow: 1px 1px 5px 0px #212121BF;
    }
    .subtitle {
        text-align: center;
        height: 320px;
    }
    /*   subtitulo de categoria relacionadas   */
    .subtitle-catrel {
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #ffa040;
        color: #212121;
    }
    .subtitle-catrel h2{
        font-size: 1.5rem;
        letter-spacing: 3px;
        padding-left: 0px;
        text-align: center;
    }

    /*   Cartas de categoria relacionadas   */
    .card-catrel .descripcion-catrel {
        display: none;
    }
    .card-catrel {
        width: 275px;
        height: 275px;
    }
}

/*---LAPTOP---*/
@media only screen and (min-width: 768px){
    .title-container p {
        font-size: 1.1rem;
        max-width: 680px;
    }
    .products-container{
        justify-content: space-evenly;
    }
}

/*---LAPTOP Full HD y QHD---*/
@media only screen and (min-width: 1920px){
    .products-container{
        justify-content: flex-start;
    }
}
