/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,700;1,400;1,700&family=Oswald:wght@400;700&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Serif:opsz,wght@8..144,600&display=swap');

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 1em;
    color: #500a30;
}

body {
    max-width: 1980px;
    max-height: 1080px;
    margin: auto;
}

a {
    cursor: pointer;
}

/* HEADER */

header {
    background-color: #b87c57;
    background-image: linear-gradient(rgba(202, 110, 4, 0.555), rgba(252, 133, 152, 0.452)), url(imgs/fondo.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 700px;
    padding: 2.5em;
}

.encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    font-weight: bold;
    margin-left: 2.5em;
    transition: 0.5s;
    color: #500a30;
}

nav a:hover,
.actual {
    color: white;
}

.intro {
    width: 62%;
    margin: auto;
    padding-top: 5em;
}

#achicar {
    width: 60%;
}

.intro p {
    margin-top: 1.5em;
}

h1 {
    font-size: 2.5em;
}

.boton a {
    display: inline-block;
    background-color: #500a30;
    color: white;
    font-weight: 600;
    padding: 0.8em 3em;
    margin-top: 1.5em;
}

.boton a:hover {
    display: inline-block;
    background-color: #8b3451;
    font-weight: 700;
    padding: 0.8em 3em;
    margin-top: 1.5em;
}


/* MOOD */

#mood div {
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: auto;
    transform: translateY(-50%);
}

#mood article {
    width: 33.2%;
    min-height: 250px;
    text-align: left;
    background-color: #500a30;
    color: white;
    padding: 2em;
    background-size: cover;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}


#mood article:nth-of-type(1) {
    background-image: linear-gradient(#500a319d, #500a31e1), url(imgs/mood1.webp);
}

#mood article:nth-of-type(2) {
    background-image: linear-gradient(#500a319d, #500a31e1), url(imgs/mood2.webp);
}

#mood article:nth-of-type(3) {
    background-image: linear-gradient(#500a319d, #500a31e1), url(imgs/mood3.webp);
}

#mood article h2 {
    padding-top: 1.5em;
    width: 100%;
}

#mood article p {
    margin-top: 1em;
    line-height: 1.5em;
    width: 100%;
}

#mood article a {
    display: inline-block;
    margin-top: 1.5em;
    color: white;
    font-weight: 600;
    width: 100%;
}

#mood a:hover {
    display: inline-block;
    margin-top: 1.5em;
    color: white;
    font-weight: 800;
}

/* GRILLA */

#grilla {
    margin: 2em 2em;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 400px);
    gap: 1.5em;
}

#grilla article {
    background-color: #500a30;
    background-size: cover;
    color: white;
    padding: 1.5em;
    background-position: center;
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    line-height: 1.5em;
}

#grilla h3,
#grilla p {
    width: 100%;
}

#grilla a {
    color: white;
    font-weight: 600;
}

#grilla a:hover {
    font-weight: 800;
}

#grilla article:nth-of-type(1) {
    grid-column: span 2;
    background-image: linear-gradient(#500a3142, #500a3167), url(imgs/instashop1.jpg);
}

#grilla article:nth-of-type(2) {
    grid-row: span 2;
    background-image: linear-gradient(#500a3142, #500a3167), url(imgs/instashop2.jpg);
}

#grilla article:nth-of-type(3) {
    background-image: linear-gradient(#500a3118, #500a3167), url(imgs/instashop3.jpg);
}

#grilla article:nth-of-type(4) {
    background-image: linear-gradient(#500a3118, #500a3167), url(imgs/instashop4.jpg);
}

#grilla article:nth-of-type(5) {
    background-image: linear-gradient(#500a3118, #500a3167), url(imgs/instashop5.jpg);
}

#grilla article:nth-of-type(6) {
    background-image: linear-gradient(#500a3118, #500a3167), url(imgs/instashop6.jpg);
}



/* ACTIVIDADES */

#masVendidos {
    background-color: #b87c57;
    background-image: linear-gradient(rgba(202, 110, 4, 0.521), rgba(252, 133, 153, 0.288)), url(imgs/fondo.jpg);
    background-size: cover;
    background-attachment: fixed;
    min-height: 50em;
}

#masVendidos h2 {
    width: 100%;
    font-size: 2.5em;
    padding: 1.5em;
    text-align: center;
}

#masVendidos .contenedor {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: auto;
}


#masVendidos article {
    width: 31%;
    position: relative;
}

#masVendidos img {
    width: 100%;
    max-height: 350px;
}

#masVendidos h3 {
    font-size: 1em;
    margin-top: 1em;
    font-weight: 400;
}

#masVendidos h4 {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 0.3em;
}

#masVendidos p {
    font-size: 1.2em;
    margin-top: 1em;
}


#masVendidos span {
    display: inline-block;
    background-color: #8b3451;
    color: white;
    font-size: 1em;
    font-weight: bold;
    padding: 0.5em 1.5em;
    position: absolute;
    top: 2em;
    right: -1em;
}


/* FORMULARIO */

#contacto {
    background-color: #500a31e7;
    background-image: linear-gradient(rgba(202, 110, 4, 0.13), rgba(202, 110, 4, 0.096));
    background-size: cover;
    color: white;
}

#contacto .contenedor {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
}

#contacto h2 {
    width: 100%;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 1em;
    margin-top: 1.5em;
}

#contacto form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    margin-bottom: 5em;
}

#contacto form label {
    font-weight: bold;
    display: block;
    margin-bottom: 0.4em;
}

#contacto input {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

select {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

.campo,
select {
    border: none;
    border-bottom: 0.5em solid #b13d64;
    height: 4em;
    width: 100%;
}

.campo::placeholder,
select {
    color: #500a30;
}

form div:nth-of-type(1),
form div:nth-of-type(2) {
    width: 49%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form div:nth-of-type(1) div {
    width: 48%;
}

form div:nth-of-type(1) div label:first-child,
form div:nth-of-type(2) div label:first-child {
    width: 100%;
    height: 1.2em;
}

form div:nth-of-type(1) div:nth-of-type(4) {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: baseline;
    text-align: center;
}

form div:nth-of-type(1) div:nth-of-type(4) div {
    width: 20%;
}

form div:nth-of-type(2) div:nth-of-type(1) {
    width: 100%;
}

input#mensaje {
    padding-top: 2em;
    padding-bottom: 4em;
}

form div:nth-of-type(2) div:nth-of-type(2) {
    width: 70%;
    display: flex;
    justify-content: space-evenly;
    align-items: baseline;
}

form div:nth-of-type(2) div:nth-of-type(2) input {
    width: 5%;
}

form div:nth-of-type(2) div:nth-of-type(2) label {
    width: 90%;
}


#contacto button {
    width: 25%;
    background-color: #500a30;
    color: white;
    font-weight: bold;
    border: none;
    height: 4em;
}

#contacto button:hover {
    background-color: #8b3451;
}

.acepto {
    font-size: 1em;
}

.acepto a {
    color: #b13d64;
}

.acepto a:hover {
    text-decoration: underline;
}

/* FOOTER */

footer {
    min-height: 200px;
    background-color: #500a30;
    color: white;
}

/* CHAT */

@keyframes popUp {
    0% {
        transform: translateY(100%)
    }

    100% {
        transform: translateY(0);
    }
}

#chat a {
    position: fixed;
    bottom: -0.2em;
    right: 4em;
    animation: popUp 2.2s 2s both;
}

#chat a img {
    max-width: 90px;
    animation: flotar 2s infinite alternate;
}

#piePagina {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
    padding: 5em;
}

#piePagina a:nth-of-type(1) {
    width: 20%;
    text-align: left;
}

#piePagina p {
    font-size: 0.7em;
    width: 60%;
    text-align: center;
}

#piePagina nav {
    width: 20%;
    text-align: right;
}

#piePagina a {
    margin-left: 0.5em;
}

/* SEGUNDA PÁGINA */

#headerVestido {
    max-height: 8em;
}

#vestido {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 5em auto;
}

#miniGrilla {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(4, 8em);
    gap: 0.5em;
}

#miniGrilla div {
    background-color: #500a30;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-wrap: wrap;
}

#miniGrilla div:nth-of-type(1) {
    grid-column: span 3;
    grid-row: span 3;
    background-image: url(imgs/vestido.jpg);
    min-height: 200px;
}

#miniGrilla div:nth-of-type(2) {
    background-image: url(imgs/vestido1.jpg);
}

#miniGrilla div:nth-of-type(3) {
    background-image: url(imgs/vestido2.jpg);
}

#miniGrilla div:nth-of-type(4) {
    background-image: url(imgs/vestido3.jpg);
}

#info h1,
#info h2 {
    width: 100%;
}

#info h2 {
    font-size: 1em;
    font-weight: normal;
    margin-top: 1em;
}

#info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: 2em;
}

#tallas {
    width: 40%;
}

#tallas h3 {
    margin-top: 2em;
    width: 100%;
}

table {
    width: 100%;
    margin-top: 0.7em;
    text-align: center;
    border-collapse: collapse;
}

th {
    color: #500a30;
    font-size: 1.2em;
}

td {
    font-size: 1em;
    border-bottom: 0.2em solid #500a30;
    padding: 0.5em 0.3em;
}

td span {
    font-weight: 600;
    width: 100%;
    display: block;
    margin-bottom: 0.2em;
}

td:nth-of-type(1) {
    font-weight: bold;
}

tr:nth-of-type(1) td:nth-of-type(1) {
    padding-top: 1.9em;
}


#tallas a {
    margin-top: 7em;
}

.lista h3 {
    margin-top: 2em;
    margin-bottom: 0.7em;
    width: 100%;
}

.lista div {
    width: 15%;
}

.lista div {
    width: 50%;
}

.lista ul {
    width: 100%;
    line-height: 1.5em;
}

#descuentos {
    display: flex;
    flex-wrap: wrap;
}

#descuentos div {
    width: 50%;
    background-color: #b87c57;
    max-height: 450px;
    color: white;
    padding: 6em;
    transition: 0.5s;
}

#descuentos div:nth-of-type(1) {
    background-image: linear-gradient(rgba(25, 15, 61, 0.466), rgba(252, 133, 153, 0.329)), url(imgs/descuentos1.jpg);
    background-size: cover;
}

#descuentos div:nth-of-type(2),
#descuentos div:nth-of-type(3) {
    background-size: cover;
    background-attachment: fixed;
}

#descuentos div:nth-of-type(2) {
    background-image: linear-gradient(rgba(202, 110, 4, 0.623), rgba(252, 133, 153, 0.568)), url(imgs/fondo.jpg);
    text-align: center;
    position: relative;
}

#descuentos div:nth-of-type(2) h2,
#descuentos div:nth-of-type(3) h3 {
    font-size: 2.3em;
}

#descuentos div:nth-of-type(2) p,
#descuentos div:nth-of-type(3) p {
    font-size: 1em;
    font-weight: 500;
    margin-top: 1em;
}

#descuentos div:nth-of-type(3) h2 {
    font-size: 1em;
}

#descuentos div:nth-of-type(3) {
    background-image: linear-gradient(rgba(202, 110, 4, 0.623), rgba(252, 133, 153, 0.568)), url(imgs/fondo.jpg);
    overflow: hidden;
}

#descuentos div:nth-of-type(4) {
    background-image: linear-gradient(rgba(25, 15, 61, 0.466), rgba(252, 133, 153, 0.329)), url(imgs/descuentos2.jpg);
    background-size: cover;
}

@keyframes qr {
    from {
        transform: translate(700px, 40px);
    }

    to {
        transform: translate(100px, 40px);
    }
}

#descuentos div:nth-of-type(3) img {
    max-width: 150px;
    opacity: 0;
}

#descuentos div:nth-of-type(3) a:hover+img {
    animation: qr 1s both;
    opacity: 1;
}

/* ERROR 404 */

#error {
    min-height: 700px;
    background-color: #500a30;
    background-image: url(imgs/tailor.png), url(imgs/fabric.jpg);
    background-size: cover;
    color: white;
    position: relative;
    overflow: hidden;
}

@keyframes rotate-scale-down {
    0% {
        transform: scale(3) rotateZ(0)
    }

    25% {
        transform: scale(1.5) rotateZ(180deg)
    }

    50% {
        transform: scale(.8) rotateZ(360deg)
    }

    100% {
        transform: scale(1) rotateZ(360deg)
    }
}

#error img {
    position: absolute;
    top: 10%;
    left: 35%;
    animation: rotate-scale-down 4s both;
}

@keyframes aparecer {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#error h1 {
    position: absolute;
    top: 30%;
    left: 7%;
    line-height: 1.7em;
    font-size: 6em;
    font-weight: 900;
    animation: aparecer 4s both;
}

#error h2:nth-of-type(1) {
    width: 30%;
    position: absolute;
    top: 50%;
    left: 7%;
    font-size: 1.5em;
    font-weight: 700;
    animation: aparecer 4s;
}

@keyframes aparecer2 {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#error h2:nth-of-type(2) {
    position: absolute;
    width: 20%;
    top: 30%;
    right: 5%;
    font-size: 2em;
    font-weight: 700;
    opacity: 0;
    animation: aparecer2 4s both;
    opacity: 1;
    text-align: center;
}

#error h2 span {
    font-size: 1.6em;
    font-weight: 800;
}

#error h1 span {
    font-size: 0.5em;
}