@charset "UTF-8";
html {
  font-size: 62.5;
  box-sizing: border-box;
  max-width: 120rem;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  font-family: "Lato", sans-serif;
  max-width: 120rem;
  color: #3D405B;
}

p {
  font-size: 2rem;
  color: black;
  line-height: 1.5;
}

.contenedor {
  margin: 0 auto;
  text-align: center;
}

a {
  text-decoration: none;
  color: black;
}

h1, h2, h3 {
  color: #3D405B;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.6rem;
}

h3 {
  font-size: 32px;
  text-decoration: underline;
}

h4 {
  margin: 0;
}

.margin {
  margin: 0 15% 0 15%;
}
@media (min-width: 768px) {
  .margin {
    margin: 0 70px 0 70px;
  }
}
@media (min-width: 992px) {
  .margin {
    margin: 0 90px 0 90px;
  }
}

.divisor {
  border-style: solid;
  border-color: #EBEDEF;
  margin: 2rem 0 0 0;
}

.button_principal {
  padding: 17px 40px;
  border-radius: 50px;
  cursor: pointer;
  border: 0;
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.05) 0 0 8px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 15px;
  transition: all 0.5s ease;
}
.button_principal:hover {
  letter-spacing: 3px;
  background-color: hsl(261, 80%, 48%);
  color: hsl(0, 0%, 100%);
  box-shadow: rgb(93, 24, 220) 0px 7px 29px 0px;
}
.button_principal:active {
  letter-spacing: 3px;
  background-color: hsl(261, 80%, 48%);
  color: hsl(0, 0%, 100%);
  box-shadow: rgb(93, 24, 220) 0px 0px 0px 0px;
  transform: translateY(10px);
  transition: 100ms;
}

.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.notshow {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal {
  position: fixed; /* Posición fija */
  z-index: 100; /* Se situará por encima de otros elementos de la página*/
  left: 0;
  top: 0;
  width: 100%; /* Ancho completo */
  height: 100%; /* Algura completa */
  overflow: auto; /* Se activará el scroll si es necesario */
  background-color: rgba(0, 0, 0, 0.5);
}
.modal .modal-msg {
  font-size: 1.2rem;
  background-color: white;
}

hr {
  margin: 0;
  border: 1.5px solid #EBEDEF;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
/*
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.header {
  display: flex;
  align-items: center;
  background-color: #F2CC8F;
}
.header img {
  width: 100%;
}
.header .header-nav {
  display: none;
}
@media (min-width: 768px) {
  .header .header-nav {
    display: block;
    width: 100%;
    font-size: 1.5rem;
  }
  .header .header-nav ul {
    display: flex;
    justify-content: space-evenly;
  }
  .header .header-nav ul li a:hover {
    color: #E07A5F;
    text-decoration: underline;
    font-weight: 500;
    font-size: 1.6rem;
    transition: all 0.3s ease-in-out;
    transition-delay: 0.1s;
  }
}

.servicios {
  margin: 2%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .servicios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    margin-left: 5%;
    margin-right: 5%;
  }
}
.servicios .servicio {
  border-style: solid;
  border-color: #EBEDEF;
  padding: 0.2rem;
  border-radius: 0.3rem;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .servicios .servicio {
    position: relative;
    overflow: hidden;
  }
  .servicios .servicio:hover .servicio-content {
    background-color: rgba(0, 0, 0, 0.5);
    transition: 0.5s ease-in-out;
    cursor: pointer;
  }
  .servicios .servicio:hover h2 {
    left: 0;
    transition-delay: 0.2s;
    filter: blur(0);
  }
  .servicios .servicio:hover p {
    left: 0;
    transition-delay: 0.4s;
    filter: blur(0);
  }
  .servicios .servicio:hover ul {
    left: 0;
    transition-delay: 0.4s;
    filter: blur(0);
  }
}
.servicios .servicio h2 {
  color: white;
  font-size: 2rem;
  margin: 0;
  padding: 5px;
}
.servicios .servicio p, .servicios .servicio ul {
  background-color: rgba(0, 0, 0, 0.5);
  color: #F2CC8F;
  font-size: 1.2rem;
  border-radius: 10px;
  padding: 0.2rem;
}
@media (min-width: 768px) {
  .servicios .servicio p, .servicios .servicio ul {
    background-color: transparent;
    margin-left: 3%;
    padding: 0;
  }
}
.servicios .servicio ul {
  list-style: circle;
  padding: 1rem;
}
.servicios .servicio img {
  width: 100%;
  object-fit: cover;
}
.servicios .servicio h2, .servicios .servicio p, .servicios .servicio ul {
  text-shadow: 2px 2px #3D405B;
}
@media (min-width: 768px) {
  .servicios .servicio h2, .servicios .servicio p, .servicios .servicio ul {
    position: relative;
    left: -100%;
    transition: left 0.5s ease-in-out, filter 0.5s ease-in-out;
    filter: blur(5px);
    text-shadow: none;
  }
}
@media (min-width: 768px) {
  .servicios .servicio .servicio-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
  }
}
.servicios .servicio:nth-child(2) {
  background-image: url("../img/ajustes.avif");
  background-size: cover;
}
.servicios .servicio:nth-child(3) {
  background-image: url("../img/bastas.avif");
  background-size: cover;
}
.servicios .servicio:nth-child(4) {
  background-image: url("../img/cierres.avif");
  background-size: cover;
}
.servicios .servicio:nth-child(5) {
  background-image: url("../img/prendas.avif");
  background-size: cover;
}
.servicios .servicio:nth-child(6) {
  background-image: url("../img/roturas.avif");
  background-size: cover;
}

.div1 {
  grid-area: 2/2/3/3;
}

.div2 {
  grid-area: 1/1/2/3;
}

.div3 {
  grid-area: 3/2/4/4;
}

.div4 {
  grid-area: 1/3/2/4;
}

.div5 {
  grid-area: 2/1/4/2;
}

.div6 {
  grid-area: 2/3/3/4;
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #F2CC8F;
}
.footer .footer-info p {
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  .footer {
    flex-direction: row;
  }
}

.whatsapp-btn {
  position: fixed;
  bottom: 5%;
  right: 20%;
  background-color: #25d366;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 380px) {
  .whatsapp-btn {
    bottom: 5%;
    right: 15%;
  }
}
@media (min-width: 768px) {
  .whatsapp-btn {
    bottom: 2%;
    right: 2%;
  }
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.sellos {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border-style: solid;
  border-color: #F2CC8F;
  border-radius: 1rem;
  padding: 1rem;
  margin: 2%;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .sellos {
    margin: 5%;
  }
}
.sellos .sello {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}
.sellos .sello h4 {
  font-size: 2rem;
  color: #3D405B;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.sellos .sello p {
  font-size: 1.2rem;
  color: #5d6d7e;
  font-weight: 400;
  text-align: center;
}
@media (min-width: 768px) {
  .sellos .sello p {
    font-size: 1.5rem;
  }
}

.contacto {
  text-align: center;
}
.contacto p {
  font-size: 1.2rem;
}
@media (min-width: 768px) {
  .contacto p {
    font-size: 1.8rem;
  }
}
@media (min-width: 768px) {
  .contacto .contacto-whatsapp a:hover svg {
    transform: scale(1.1);
  }
}

.palette-content {
  width: 90%;
  border-radius: 1em;
  box-shadow: 0 10px 20px #dbdbdb;
  font-family: sans-serif;
  margin-left: 5%;
  margin-bottom: 5%;
  overflow: hidden;
}
@media (min-width: 768px) {
  .palette-content {
    height: 200px;
  }
}
.palette-content h4 {
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
  padding: 0.1rem;
}
.palette-content .palettes {
  display: flex;
  flex-direction: column;
  height: 86%;
  width: 100%;
}
@media (min-width: 768px) {
  .palette-content .palettes {
    flex-direction: row;
  }
}
.palette-content .palette {
  height: 300px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  letter-spacing: 1px;
  transition: flex 0.1s linear;
}
.palette-content .palette svg {
  width: 120px;
  height: 120px;
}
@media (min-width: 768px) {
  .palette-content .palette span {
    opacity: 0;
    transition: opacity 0.1s linear;
  }
}
.palette-content .palette:nth-child(1) {
  background: #264653;
}
.palette-content .palette:nth-child(2) {
  background: #2a9d8f;
}
.palette-content .palette:nth-child(3) {
  background: #e9c46a;
}
.palette-content .palette:nth-child(4) {
  background: #f4a261;
}
.palette-content .palette:nth-child(5) {
  background: #e76f51;
}
.palette-content .palette:hover {
  flex: 2;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}
.palette-content .palette:hover span {
  opacity: 1;
}