/*!****************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[0].use[3]!./style.scss ***!
  \****************************************************************************************************************************************************************************/
html, body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 1;
  --background: linear-gradient(90deg, #faf8f7, #f1eae5);
  background: var(--background);
  color: #333;
  --color1: #d3b093;
  --color2: #d3b093;
  --color3: #d2996a;
  --color4: #2c2016;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

header {
  display: grid;
  grid-template-columns: 1fr 300px 900px 1fr;
  position: sticky;
  left: 0;
  right: 0;
  top: -2.5em;
  z-index: 10;
  --hidden: 1;
  background: var(--background);
  box-shadow: 0 calc(-50px * var(--hidden) - 22px) 27px 20px var(--color1), 0 calc(-50px * var(--hidden) - 22px) 11px 20px var(--color3), 0 calc(-50px * var(--hidden) - 22px) 5px 20px var(--color4);
}
header .contact {
  grid-column: 1/5;
  background: var(--color2);
  grid-row: 1;
  display: flex;
  justify-content: end;
  padding-right: calc(50% - 600px);
}
header .contact a {
  display: block;
  padding: 1em;
  text-decoration: none;
  color: var(--color4);
  background: linear-gradient(180deg, var(--color2) 50%, #fff 50%);
  background-size: 200% 200%;
  transition: 200ms ease-in-out all;
}
header .contact a:hover, header .contact a:focus {
  color: var(--color4);
  background-position: 100% 100%;
}
header h1 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}
header nav {
  grid-column: 3;
  grid-row: 2;
}
header nav ul {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 0;
}
header nav ul li {
  display: block;
}
header nav ul li a {
  display: block;
  padding: 1em;
  text-decoration: none;
  color: var(--color4);
  background: linear-gradient(180deg, transparent 50%, var(--color3) 50%);
  background-size: 200% 200%;
  transition: 200ms ease-in-out all;
}
header nav ul li a:hover, header nav ul li a:focus {
  color: #fff;
  background-position: 100% 100%;
}
@media (max-width: 1264px) {
  header {
    grid-template-columns: 32px 300px 1fr 32px;
  }
  header .contact {
    padding: 0;
  }
}
@media (max-width: 700px) {
  header {
    grid-template-columns: 32px 1fr 32px;
  }
  header h1 {
    grid-column: 2;
    grid-row: 2;
  }
  header h1 img {
    margin: 16px auto;
    display: block;
    max-width: 50vw;
  }
  header nav {
    grid-column: 2;
    grid-row: 3;
  }
  header nav ul {
    padding: 0;
    justify-content: center;
  }
}

footer {
  position: sticky;
  bottom: -2em;
  left: 0;
  right: 0;
  background: var(--background);
  z-index: 10;
  box-shadow: 0 calc(50px * var(--hidden) + 22px) 27px 20px var(--color1), 0 calc(50px * var(--hidden) + 22px) 11px 20px var(--color3), 0 calc(50px * var(--hidden) + 22px) 5px 20px var(--color4);
}
footer a {
  color: var(--color4);
  padding: 0.5em;
  margin: -0.5em;
}
footer a:hover {
  color: var(--color1);
  background: var(--color4);
}
footer .copyright {
  padding: 0.5em calc(50% - 600px);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .copyright p {
  margin: 0;
}
footer .madeBy {
  padding: 0.5em calc(50% - 600px);
  background: var(--color2);
}
@media (max-width: 1264px) {
  footer .copyright {
    padding: 0.5em 32px;
  }
  footer .madeBy {
    padding: 0.5em 32px;
  }
}

section.mainPage {
  max-width: 1200px;
  margin: 64px auto;
}
@media (max-width: 1264px) {
  section.mainPage {
    margin: 64px 32px;
    max-width: none;
  }
}

.gallery {
  max-width: 1200px;
  margin: 32px auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fill, 208px);
  justify-content: space-between;
}
.gallery .gallery-item {
  width: 200px;
  height: 200px;
  box-shadow: 0 6.67587px 25.869px -1.66897px rgba(73, 141, 255, 0.3);
  border: 4px solid white;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: 300ms ease-out all;
}
.gallery .gallery-item img {
  width: 208px;
  height: 208px;
  border-radius: 8px;
  object-fit: cover;
  margin: -4px;
  transition: 300ms ease-out all;
}
.gallery .gallery-item:hover {
  width: 208px;
  height: 208px;
  margin: -4px;
}
.gallery .gallery-item:hover img {
  margin: 0;
}
@media (max-width: 1264px) {
  .gallery {
    margin: 64px 32px;
    width: auto;
    max-width: none;
    justify-content: space-around;
  }
}
@media (max-width: 700px) {
  .gallery {
    margin: 32px;
    grid-template-columns: repeat(auto-fill, 158px);
  }
  .gallery .gallery-item {
    width: 150px;
    height: 150px;
  }
  .gallery .gallery-item img {
    width: 158px;
    height: 158px;
  }
  .gallery .gallery-item:hover {
    width: 158px;
    height: 158px;
  }
}
@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery .gallery-item {
    width: 100%;
    height: calc(50vw - 32px - 16px - 8px);
  }
  .gallery .gallery-item img {
    width: calc(100% + 8px);
    height: calc(50vw - 32px - 16px);
  }
  .gallery .gallery-item:hover {
    width: calc(100% + 8px);
    height: calc(50vw - 32px - 16px);
  }
  .gallery .gallery-item:hover img {
    width: 100%;
  }
}

gallery-viewer {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
  --show: 0;
  transition: all 300ms ease-out, opacity 100ms ease-out;
  backdrop-filter: blur(calc(16px * var(--show))) grayscale(calc(0.5 * var(--show)));
}
gallery-viewer.opened {
  --show: 1;
}
gallery-viewer.opened.closing {
  --show: 0;
}
gallery-viewer img {
  z-index: 1100;
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 8px;
  object-fit: cover;
  transition: all 300ms ease-out;
  box-shadow: 0 6.67587px 25.869px -1.66897px rgba(73, 141, 255, 0.3);
  border: 4px solid white;
  box-sizing: border-box;
  opacity: calc(var(--o) * 10);
}

.slider {
  width: 1200px;
  height: 500px;
  overflow: hidden;
  position: relative;
  margin: 64px auto;
  border-radius: 8px;
  box-shadow: 0 6.67587px 25.869px -1.66897px rgba(73, 141, 255, 0.3);
  border: 4px solid white;
}
.slider .slider-item {
  position: absolute;
  left: calc(var(--relativePosition) * 1200px);
  top: 0;
  transition: ease-in-out 1000ms left;
  --o:0;
  opacity: var(--o);
  z-index: var(--o);
  --relativePosition: 1;
}
.slider .slider-item:first-child {
  --relativePosition: 0;
  --o:1;
}
.slider .slider-item img {
  width: 1200px;
  height: 500px;
  display: block;
  object-fit: cover;
}
@media (max-width: 1264px) {
  .slider {
    margin: 64px 32px;
    width: calc(100% - 64px - 8px);
    height: 41.6666666667vw;
  }
  .slider .slider-item {
    width: 100%;
  }
  .slider .slider-item img {
    width: 100%;
    height: 41.6666666667vw;
  }
}

section.contact {
  margin: 64px auto;
  width: 1200px;
}
section.contact a {
  text-decoration: none;
  color: inherit;
}
@media (max-width: 1264px) {
  section.contact {
    margin: 64px 32px;
    width: auto;
  }
}

.map {
  border-radius: 8px;
  box-shadow: 0 6.67587px 25.869px -1.66897px rgba(73, 141, 255, 0.3);
  border: 4px solid white;
  margin: 64px auto;
  display: block;
  width: 1200px;
  height: 744px;
  object-fit: cover;
}
@media (max-width: 1264px) {
  .map {
    width: calc(100% - 64px - 8px);
    height: 62vw;
  }
}

section.text {
  margin: 64px auto;
  width: 1200px;
}
section.text a {
  text-decoration: none;
  color: inherit;
}
@media (max-width: 1264px) {
  section.text {
    margin: 64px 32px;
    width: auto;
  }
}
