/*****************************************
/**************** FONTS ******************
/*****************************************/
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  src: url("/static/fonts/roboto-v48-latin-100.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  src: url("/static/fonts/roboto-v48-latin-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  src: url("/static/fonts/roboto-v48-latin-500.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* roboto-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  src: url("/static/fonts/roboto-v48-latin-900.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/*****************************************
/**************** STYLE      *************
/*****************************************/
:root {
  --dark-color-25: hsl(0, 1%, 83%);
  --dark-color-50: hsl(0, 0%, 33%);

  --dark-color-100: #292929;
  --dark-color-200: rgb(38, 38, 38);
  --dark-color-300: rgb(34, 34, 34);
  --dark-color-400: rgb(28, 28, 28);

  --light-color-100: rgb(255, 255, 255);
  --light-color-150: rgb(245, 245, 245);
  --light-color-200: rgb(241, 241, 241);
  --light-color-300: hsl(0, 2%, 82%);
  --light-color-400: hsl(0, 1%, 61%);

  --heading-color-100: #262626;
  --text-color-100: rgb(86, 86, 86);
  --form-border-100: hsl(0, 0%, 81%);

  --accent-color-100: rgb(141, 194, 238);
  --accent-color-500: #227ec9;
  --accent-color-600: #1b65a1;

  --accent-color-strong: hsl(346, 58%, 56%);
  --accent-color-strong-overlay: hsl(346, 57%, 44%);

  --hamburger-color: var(--dark-color-300);
  --nav-menu-item-underline: var(--accent-color-500);
  --nav-submenu-hover-overlay: 7px;
  --nav-submenu-hover-overlay-corner: 7px;

  --max-width: 75%;
  --max-intro-width: 75%;

  --btn_primary_color: #227ec9;
  --btn_primary_color_hover: #1869ac;
  --btn_secondary_color: #ffffff;

  --section-contact-bg-color: #444444;
  --section-contact-about-bg-color: #efeeee;
  --wrapper-width: 1100px;
  --wrapper-width-mobile: 100%;
  --input-bg-color-gray: #e1e1e1;
  --label-color-100: #f1f1f1;
  --label-color-500: #797979;

  --hamburger-gap: 0.25rem;
  --hamburger-width: 1.75rem;
  --hamburger-height: 0.25rem;
  --hamburger-bar-transition: 300ms ease-in-out;
  --hamburger-container-width: 3rem;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  line-height: 1.5;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  font-size: 1rem;
  color: var(--text-color-100);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
  color: var(--heading-color-100);
  color: #323232;
}

#root,
#__next {
  isolation: isolate;
}

/************************************/
/********* BUTTONS *******************/
/************************************/

.btn_solid,
.btn-outline {
  padding: 1rem 1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  background-color: transparent;
  font-size: 1.3rem;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 2rem;
  font-weight: 600;
}

.btn_solid {
  background-color: var(--btn_primary_color);
  color: var(--btn_secondary_color);
}

.btn_solid:hover {
  background-color: var(--btn_primary_color_hover);
  border: 2px solid var(--btn_primary_color_hover);
}

.btn-outline {
  border: 2px solid var(--btn_primary_color);
  color: var(--btn_primary_color);
}

.btn-outline:hover {
  color: var(--btn_primary_color_hover);
  border: 2px solid var(--btn_primary_color_hover);
}

@media only screen and (max-width: 850px) {
  .btn_solid,
  .btn-outline {
    font-size: 1rem;
  }
}

/************************************/
/********* ABOUT *******************/
/************************************/

.card-about {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.card-about__content {
  padding: 1rem;
  background-color: #f1f1f1;
  flex: 0 0 60%;
}

.card-about__content h1 {
  font-size: 3rem;
  color: #323232;
  line-height: 1.2;
}

.card-about__content strong,
.card-about__content p {
  font-size: 1.2rem;
}

.card-about__img {
  flex: 0 0 40%;
  position: relative;
}

.card-about__img--wrapper {
  max-width: 60%;
  position: sticky;
  top: 300px;
  padding: 1rem;
  margin: 1rem;
}

@media only screen and (max-width: 850px) {
  .card-about {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .card-about__img--wrapper {
    max-width: 80%;
    margin: auto;
    margin-bottom: 2rem;
  }

  .card-about__content h1 {
    font-size: 2.2rem;
  }
}

/************************************/
/********* PORTFOLIO *******************/
/************************************/

.portfolio_wrapper {
  width: var(--max-intro-width, 75%);
  margin: auto;
  background-color: #ffffff;
  position: relative;

  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.portfolio_card {
  position: relative;
  box-shadow: 0 0 7px 1px rgb(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background-color: #fff;
  transition: opacity 0.6s ease;
}

.portfolio_card.hide {
  display: none;
}

.portfolio_card .portfolio_card__img {
  margin-bottom: 8px;
}

.portfolio_card .portfolio_card__img img {
  transition: transform 0.6s ease;
}

.portfolio_card:hover .portfolio_card__img img {
  transform: scale(1.05);
}

.portfolio_card .portfolio_card__date {
  font-size: 12px;
  padding: 12px;
  color: rgba(0, 0, 0, 0.307);
}

.portfolio_card .portfolio_card__title {
  font-size: 20px;
  color: rgba(0, 0, 0, 0.836);
  text-align: center;
  padding: 12px;
}

.portfolio_card .portfolio_card__description {
  padding-top: 1rem;
  padding-bottom: 1.5rem;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}

.portfolio_card .portfolio_card__content {
  padding: 12px;
  height: max-content;
  margin-bottom: 8px;
}

.portfolio_card .portfolio_card__action {
  text-decoration: none;
  background-color: rgb(223, 229, 238);
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 12px;
  transition: 0.6s ease;
}

.portfolio_card:hover .portfolio_card__action {
  background-color: rgb(146, 165, 194);
}

.portfolio_card .portfolio_card__action:hover {
  background-color: rgb(66, 83, 110);
}

.portfolio_card__lock_status {
  background-color: rgba(0, 0, 0, 0.312);
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom-left-radius: 12px;
}

.portfolio_intro_message {
  width: 100%;
}
.portfolio_intro_message_wrapper {
  margin: auto;
  background-color: #ffffff;
  position: relative;
  width: 75%;

  background-color: #ffffff;
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  top: -40px;
  filter: drop-shadow(1px 2px 8px hsl(60, 1%, 81%));
}

.portfolio_intro_message_wrapper h1 {
  font-size: 2rem;
  color: #323232;
  line-height: 1.2;
}

.portfolio_intro_message_wrapper p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #323232;
}

/******** SECTION FINAL MESSAGE *********/
.portfolio_final_message {
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.portfolio_final_message__wrapper {
  width: 75%;
  margin: auto;
}

.portfolio_final_message__wrapper p {
  font-style: italic;
  font-size: 1.3rem;
  margin-top: 1rem;
}

/********************/
.card-filter__wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  /* width: 75%; */
  margin: auto;
}

.card-filter__wrapper .filter-btn {
  padding: 0.25rem 1rem;
  border-radius: 5px;
  background-color: var(--light-color-100);
  color: var(--accent-color-500);
  border: 1px solid var(--dark-color-25);
  cursor: pointer;
  transition: 250ms ease;
}

.card-filter__wrapper .filter-btn.active,
.card-filter__wrapper .filter-btn:hover {
  background-color: var(--accent-color-500);
  color: var(--light-color-100);
  border: 1px solid var(--accent-color-500);
  position: relative;
}

.card-filter__wrapper .filter-btn.active::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--accent-color-500);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

@media only screen and (max-width: 850px) {
  .portfolio_wrapper {
    width: 100%;
    padding: 1rem;
  }

  .portfolio_card .portfolio_card__action {
    background-color: rgb(107, 123, 147);
  }

  .portfolio_intro_message_wrapper {
    width: 100%;
  }

  .portfolio_intro_message {
    padding: 1rem;
  }

  .portfolio_final_message__wrapper {
    width: 100%;
    padding: 32px;
  }
}

/************************************/
/********* CONTACTFORM *******************/
/************************************/

.section-contact {
  padding: 2rem 0;
  background-color: var(--section-contact-bg-color);
}

.section-contact.white-background {
  background-color: #fefefe;
}

.section-contact.contact {
  background-color: var(--section-contact-about-bg-color);
}

.section-contact .wrapper {
  position: relative;
  width: var(--wrapper-width);
  margin: auto;
  background-color: var(--section-contact-bg-color);

  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
  gap: 8px;

  h2 {
    font-size: 2rem;
    color: #fefefe;
    line-height: 1.3;
    text-align: center;
  }
}

.wrapper.white-background {
  background-color: #fefefe;
  h2 {
    color: #323232;
    margin-top: 12px;
  }
}

.section-contact .wrapper.contact {
  background-color: var(--section-contact-about-bg-color);
  filter: drop-shadow(1px 2px 8px hsl(60, 1%, 81%));
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  top: -100px;
}

.submit-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.input-details-container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  width: 100%;
}

.input-wrapper {
  --input-height: 60px;
  --svg-height: 24px;
  --wrapper-gap: 0.5rem;
  display: flex;
  flex-direction: column;
  margin: 0.2rem;
  gap: 0.5rem;
  width: 100%;
  position: relative;
}

.input-wrapper label {
  width: max-content;
}

.input-wrapper label.white {
  color: var(--label-color-500);
  font-weight: 500;
  font-size: 0.9rem;
}

.input-wrapper label.color-100 {
  color: var(--label-color-100);
}

.input-wrapper input {
  height: var(--input-height);
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  border: 1px solid var(--form-border-100);
  background-color: var(--light-color-200);
}

.input-wrapper input.gray {
  background-color: var(--input-bg-color-gray);
}

.input-wrapper input:focus-visible + svg {
  left: 140px;
  top: 12px;
}

.input-wrapper input[type="phone"]:focus-visible + svg {
  left: 30px;
  top: 12px;
}

.input-wrapper input[name="select_date"]:focus-visible + svg {
  left: 40px;
  top: 12px;
}

.input-wrapper svg {
  position: absolute;
  top: 55%;
  right: 7px;
  transform: translateY(-55%);
  fill: var(--accent-color-500);
  transition: left 0.3s ease, top 0.3s ease;
}

.input-wrapper textarea {
  background-color: var(--light-color-200);
  padding: 1rem;
  resize: vertical;
  border-radius: 5px;
  border: 1px solid var(--form-border-100);
}

.input-wrapper textarea.gray {
  background-color: var(--input-bg-color-gray);
}

.input-wrapper input:focus-visible,
.input-wrapper textarea:focus-visible {
  outline: none;
  border: 2px solid var(--accent-color-100);
}

.input-wrapper textarea:focus-visible + svg {
  left: 175px;
  top: 8px;
}

.input-wrapper.text svg {
  position: absolute;
  top: 50px;
  right: 7px;
  transform: translateY(-50%);
  fill: var(--accent-color-500);
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.contact-card__avatar {
  width: 250px;
  height: 250px;
  background-color: var(--accent-color-500);
  filter: drop-shadow(1px 2px 8px hsl(60, 1%, 81%));
  border-radius: 100%;
  margin-left: 24px;
}

.contact-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-card__about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 24px;
}

.contact-card__about h1 {
  font-size: 1.4rem;
}

@media only screen and (max-width: 1200px) {
  .section-contact .wrapper {
    --wrapper-width: 90%;
  }
}
@media only screen and (max-width: 850px) {
  .section-contact.contact {
    padding: 1rem;
  }
  .section-contact .wrapper {
    --wrapper-width: var(--wrapper-width-mobile);
  }

  .input-details-container {
    flex-direction: column;
  }

  .contact-card__avatar {
    display: none;
  }

  .section-contact .wrapper.contact {
    padding: 1rem;
  }

  .contact-card__about {
    padding-left: 0px;
  }
}

/************************************/
/********* ACCORDION *******************/
/************************************/

.accordion {
  flex: 1 1 50%;
}
.accordion,
.accordion__item {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  list-style: none;
}

.accordion__item-title {
  color: var(--title-color, #333333);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;

  display: flex;
  align-items: baseline;
  position: relative;
}

.accordion__item-title.font-size__medium {
  font-size: 1.25rem;
  padding-top: 1rem;
}

.accordion__item-title::before {
  content: "+";
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600;
}

.accordion__item-content {
  padding: 0 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s, padding 0.25s;
}

.accordion__item-exclusive[type="checkbox"] {
  display: none;
}

.accordion__item-exclusive[type="checkbox"]:checked + .accordion__item-title + .accordion__item-content {
  max-height: max-content;
  padding: 20px 10px;
  margin: 1rem 0rem;
  border-top: 1px solid var(--light-color-300);
  border-bottom: 1px solid var(--light-color-300);
}

.accordion__item-exclusive[type="checkbox"]:checked + .accordion__item-title.accordion__item-title.font-size__medium {
  color: var(--accent-color-500);
}

.accordion__item-exclusive[type="checkbox"]:checked + .accordion__item-title::before {
  content: "-";
}

.img-wrapper {
  flex: 0 1 50%;
  padding: 1rem;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 850px) {
  .accordion {
    flex: 1 1 100%;
  }

  .img-wrapper {
    flex: 0 1 100%;
  }

  .accordion__item {
    padding-top: 0.25rem;
  }

  .accordion__item-title.font-size__medium {
    font-size: 1.1rem;
    padding-top: 0.25rem;
  }
}

/************************************/
/********* CALENDAR *******************/
/************************************/

.calendar_vcc_month_select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.calendar_vcc_prev,
.calendar_vcc_next {
  font-size: 24px;
  font-weight: 100;
  cursor: pointer;
  padding: 0 12px;
  background-color: transparent;
  transition: 0.4s;
}

.calendar_vcc_prev:hover,
.calendar_vcc_next:hover {
  font-weight: 900;
  background-color: #ecebeb;
}

.calendar_vcc_prev {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.calendar_vcc_next {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.calendar_vcc {
  width: 332px;
  height: 332px;
  background-color: #f4f4f4;
  background-color: #d2d2d2;
  margin: 16px;
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;

  display: none;
  position: absolute;
  top: 100%;
  right: -24px;
  z-index: 999;
}

.calendar_vcc::before {
  --triangel-size: 10px;
  content: "";
  position: absolute;
  top: calc(var(--triangel-size) * -1);
  left: 50%;

  width: 0;
  height: 0;
  border-left: var(--triangel-size) solid transparent;
  border-right: var(--triangel-size) solid transparent;
  border-bottom: var(--triangel-size) solid #d2d2d2;
}

.calendar_vcc_days_header,
.calendar_vcc_days {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
  height: 40px;
  margin: auto;
}

.calendar_vcc_days_header {
  --border-color: #3285b9;
  border-bottom: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  background-color: #bee1f7;
}

.calendar_vcc_item {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  border-radius: 100vw;
  transition: 0.2s;
  color: #d3d2d2;
}

.calendar_vcc_days_header .calendar_vcc_item {
  color: rgb(0, 58, 175);
}

.calendar_vcc_days .calendar_vcc_item {
  cursor: e-none;
}

.calendar_vcc_days .calendar_vcc_item.visible.booked {
  color: red;
  text-decoration: line-through;
}

.calendar_vcc_days .calendar_vcc_item.visible.booked:hover {
  background-color: transparent;
  cursor: default;
}

.calendar_vcc_days .calendar_vcc_item.visible {
  cursor: pointer;
  color: #474747;
}

.calendar_vcc_days .calendar_vcc_item.hidden {
  opacity: 0;
}

.calendar_vcc_days .calendar_vcc_item.visible:hover {
  background-color: rgb(240, 240, 240);
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-color: #e6e6e6;
  border: 1px solid #ccc;
  padding: 8px 40px 8px 8px;
  font-size: 16px;
  border-radius: 4px;
  color: #333;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="16" viewBox="0 0 24 24" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;

  cursor: pointer;
  transition: border 0.3s, box-shadow 0.3s;
}

select:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 7px 2px rgba(0, 0, 0, 0.25);
}

@media only screen and (max-width: 850px) {
  .calendar_vcc {
    /* left: -20px; */
    right: -24px;
  }
}

.accent_message {
  --line-width: 15px;
  --line-height: 2px;
  --line-space: 5px;
  position: relative;
  display: inline-flex;
  align-self: center;
  color: var(--accent-color-500);
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  width: max-content;
  padding: 0 var(--line-space);
  margin-left: calc(var(--line-width) + var(--line-space) - var(--line-space));

  &::before,
  &::after {
    content: "";
    width: var(--line-width);
    height: var(--line-height);
    background-color: var(--accent-color-500);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  &::before {
    left: calc(var(--line-width) * -1);
  }
  &::after {
    right: calc(var(--line-width) * -1);
  }
}

.about,
.portfolio,
.contact {
  background-color: #ffffff;
}

.about__img,
.about__img picture {
  width: 100%;
  height: 550px;
}
.portfolio__img,
.portfolio__img picture,
.contact__img,
.contact__img picture {
  width: 100%;
  height: 600px;
}

.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.contact__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

@media only screen and (max-width: 850px) {
  /******* HERO SECTION ***********/
  .about__img,
  .about__img picture {
    height: 300px;
  }

  .contact__img,
  .contact__img picture {
    height: 320px;
  }

  .portfolio__img,
  .portfolio__img picture {
    height: 350px;
  }
}

.block-container {
  width: var(--block-container-width, 75%);
  margin: auto;
  padding-top: 2rem;
}

.title-background {
  --grid-width: 7px;
  --grid-rectangle: 40px;
  height: 300px;
  width: 100%;
  background-color: var(--dark-color-200);
  background-image: linear-gradient(to right, var(--dark-color-100) var(--grid-width), transparent 10px),
    linear-gradient(to bottom, var(--dark-color-100) var(--grid-width), transparent 10px);
  background-size: var(--grid-rectangle) var(--grid-rectangle);
  background-position: top left, top left;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

.h11-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.title-background h1 {
  font-size: 3.5rem;
  font-weight: 600;
  color: rgb(208, 76, 107);
  position: relative;
}

.title-background h1::after {
  content: "";
  width: 80%;
  height: 6px;
  background-color: var(--accent-color-500);

  position: absolute;
  top: 100%;
  left: 10%;
  border-radius: 90px;
}

.dotted-lines {
  --width-before: 30px;
  --width-after: 6px;
  --line-gap: 6px;
  --line-height: 4px;
  --line-padding: 10px;
  position: relative;
  padding-left: calc(var(--width-before) + var(--line-gap) + var(--width-after) + var(--line-padding));
  color: var(--accent-color-600);
  font-weight: 600;
}

.dotted-lines::before {
  content: "";
  width: var(--width-before);
  height: var(--line-height);
  background-color: var(--accent-color-600);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border-radius: calc(var(--line-height) / 2);
}

.dotted-lines::after {
  content: "";
  width: var(--width-after);
  height: var(--line-height);
  background-color: var(--accent-color-600);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(var(--width-before) + var(--line-gap));
  border-radius: calc(var(--line-height) / 2);
}

.faques-container {
  width: 100%;
  background-color: #ffffff;
  margin-top: -100px;
}

.faques-wrapper {
  width: 75%;
  margin: auto;
  padding: 2rem 0px;
  display: flex;
  flex-wrap: wrap;
}

.legal-notice-wrapper {
  width: 100%;
  background-color: var(--dark-color-400, red);
  background-color: #eaeaea;
}

.legal-notice {
  height: 50px;
  width: 75%;
  margin: auto;
  background-color: var(--dark-color-400);
  background-color: #eaeaea;

  display: flex;
  justify-content: space-between;
  align-items: center;

  p,
  a {
    color: var(--light-color-400);
  }
}

.about-section h1 {
  display: none;
}

@media only screen and (max-width: 1050px) {
  .legal-notice {
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 1rem;
    gap: 12px;
  }
}

@media only screen and (max-width: 850px) {
  .faques-wrapper {
    width: 100%;
    padding: 1rem;
  }

  .title-background {
    height: 200px;
  }

  .title-background h1 {
    font-size: 1.7rem;
  }

  .block-container {
    width: 100%;
    padding: 2rem 1rem 1rem 1rem;
  }

  .about-section h1 {
    display: inline-block;
    color: var(--dark-color-100);
  }

  .legal-notice {
    width: 100%;
    height: max-content;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 1rem;
  }

  .legal-notice p,
  .legal-notice a {
    font-size: 0.79rem;
  }

  .designed-by {
    font-weight: 600;
    /* align-self: right; */
  }

  .intro-section {
    height: 320px;
  }
}

/*****************************************
/**************** HAMBURGER *************
/*****************************************/

.hamburger-container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;

  justify-content: center;
  align-items: center;
  width: var(--hamburger-container-width);
  display: none;
}

.hamburger-container input {
  display: none;
}

.hamburger-bar-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--hamburger-gap);
  cursor: pointer;
}

.hamburger-bar {
  height: var(--hamburger-height);
  width: var(--hamburger-width);
  background-color: var(--hamburger-color);
  border-radius: 999px;
  transition: var(--hamburger-bar-transition);
}

.hamburger-bar__color {
  background-color: #333333;
}

/* rotate the hamburger*/
.hamburger-container:has(input:checked) .hamburger-bar:nth-child(1) {
  rotate: 45deg;
  margin-top: var(--hamburger-gap);
}
.hamburger-container:has(input:checked) .hamburger-bar:nth-child(2) {
  display: none;
}

.hamburger-container:has(input:checked) .hamburger-bar:nth-child(3) {
  rotate: -45deg;
  margin-top: calc((var(--hamburger-height) + var(--hamburger-gap)) * -1);
}

@media only screen and (max-width: 850px) {
  .hamburger-container {
    display: flex;
  }
}

/*****************************************
/**************** NAVIGATION *************
/*****************************************/
.navigation {
  display: flex;
  flex-direction: row;
  gap: var(--navigation-item-space, 0.5rem);
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height, 100px);
  background-color: var(--nav-bg-clr, #ffffff);
  max-width: var(--max-width);
  margin: auto;
}

.menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.menu-wrapper > div {
  height: 100%;
}

.menu-wrapper > div > ul {
  position: relative;
  display: flex;
  align-items: center;
  list-style: none;
  height: 100%;
  gap: var(--nav-menu-items-space, 1rem);
  transition: 0.3s ease-in-out;
}

.menu-wrapper > div > ul li {
  position: relative;
  height: 100%;
  display: flex;

  align-items: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  a {
    white-space: nowrap;
  }
}

.menu-wrapper > div > ul > a::after,
.menu-wrapper > div > ul > li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background-color: var(--nav-menu-item-underline, red);
  transition: width 0.3s ease;
}

.menu-wrapper > div > ul li:hover::after {
  width: 100%;
}

.menu-wrapper > div > ul a {
  text-decoration: none;
  color: var(--nav-menu-clr, #333333);
  font-weight: var(--nav-menu-ft-weight, 500);
  font-size: var(--nav-menu-ft-size, 1.12rem);
  display: inline-block;
  position: relative;
}

.menu-item:last-of-type a {
  padding: 8px 16px;
  border: 1px solid rgb(231, 231, 231);
  background-color: #494949;
  color: #efefef;
  border-radius: 8px;
}

.menu-item:last-of-type {
  margin-left: 16px;
}

.popular-service {
  position: absolute;
  top: 25%;
  right: -10%;
  transform: rotate(15deg);
  z-index: 4;
  padding: 5px 10px;
  border-radius: 15px;
  color: #f1f1f1;
  background-color: #227ec9;
  background-color: var(--accent-color-strong);
  font-size: 0.8rem;
}
.logo-mobile {
  width: 200px;
}

.logo-mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media only screen and (max-width: 1200px) {
  .navigation {
    max-width: 100%;
    padding: 1rem;
  }
}

@media only screen and (max-width: 850px) {
  .navigation {
    display: grid;
    grid-template-columns: 0px 1fr;

    height: 100%;
    padding: 1rem 0.5rem;
    gap: 0;
    max-width: 100%;
  }

  .navigation button {
    display: none;
  }

  .logo-mobile {
    margin-left: auto;
    margin-right: auto;
  }

  .menu-wrapper {
    display: grid;
    height: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 0fr;
    transition: 300ms ease-in-out;
  }

  .menu-wrapper > div > ul {
    display: block;
  }

  .menu-wrapper div ul li {
    width: 100%;
    height: max-content;

    padding: 0.5rem;
  }

  .menu-item {
    border-bottom: 1px solid #ddd;
  }

  .menu-item a {
    display: inline-block;
    width: 100%;
  }

  .menu-item:last-of-type {
    border: none;
  }

  .menu-item:last-of-type a {
    display: inline-block;
    width: 100%;
    padding: 1rem 0;
    background-color: #227ec9;
    color: #ffffff;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    margin-top: 0.5rem;

    margin-left: 0px;
    border: none;
    border-radius: 8px;
  }

  .menu-item:last-of-type {
    margin-left: 0px;
  }

  .menu-wrapper ul li:first-of-type {
    padding-top: 1rem;
  }

  .navigation ul li::after {
    left: 1rem;
  }

  .navigation ul li::after {
    display: none;
  }

  .navigation ul li:hover a::after {
    width: 100%;
  }

  .menu-wrapper.show {
    grid-template-rows: 1fr;
    grid-column: span 2;
    justify-content: left;
  }

  .menu-wrapper > div {
    overflow: hidden;
  }

  .menu-wrapper > div > ul li:has(.submenu) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .popular-service {
    position: absolute;
    top: 20px;
    /* right: 0px; */
    left: 130px;
    width: max-content;
    transform: rotate(15deg);
    z-index: 4;
    padding: 5px 10px;
    border-radius: 15px;
    color: #f1f1f1;
    background-color: #227ec9;
    background-color: var(--accent-color-strong);
    font-size: 0.8rem;
  }
}
/*****************************************
/**************** FOOTER ******************
/*****************************************/
.footer-content {
  /* height: 350px; */
  background-color: var(--dark-color-100);
  /* background-color: var(--footer-crl); */
  padding-bottom: 3rem;
  background-image: url(../../static/img/index/icons/service-bg.webp);
  background-repeat: repeat;
  background-position: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max-width);
  margin: auto;
}

.footer-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: left;
  gap: 0.5rem;
  padding: 5rem 0.5rem 1rem 0.5rem;
  width: 25%;

  h4 {
    color: var(--light-color-150);
  }

  p {
    color: var(--light-color-400);
  }
}

.private-policy {
  width: var(--max-width);
  min-height: 100vh;
  margin: auto;
  margin-bottom: 1rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 50%);
}

.private-policy h1,
.private-policy h2,
.private-policy h3 {
  padding-top: 1rem;
  padding-left: 1rem;
  color: var(--dark-color-500);
}

.private-policy h1 {
  color: var(--accent-color-500);
}

.private-policy p,
.private-policy a {
  padding-left: 1rem;
  color: var(--dark-color-200);
}

@media only screen and (max-width: 850px) {
  .footer-content {
    height: 100%;
    background-color: var(--dark-color-100);
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0rem;
    max-width: 100%;
    padding: 1.2rem;
  }

  .footer-item {
    margin-top: 0rem;
    min-width: 100%;
    max-width: 100%;

    padding: 1.5rem 0.5rem;
  }

  .private-policy {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .private-policy h1,
  .private-policy h2,
  .private-policy h3 {
    font-size: var(--font-size-1000);
  }

  .private-policy h1 {
    font-size: var(--font-size-1300);
  }
}

/*****************************************
/**************** ABOUT ******************
/*****************************************/
.card-about {
  width: 80%;
  margin: auto;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.card-about__content {
  padding: 1rem;
  background-color: #f1f1f1;
  flex: 0 0 60%;
}

.card-about__content h1 {
  font-size: 3rem;
  color: #323232;
  line-height: 1.2;
}

.card-about__content strong,
.card-about__content p {
  font-size: 1.2rem;
}

.card-about__img {
  flex: 0 0 40%;
  position: relative;
}

.card-about__img--wrapper {
  max-width: 60%;
  position: sticky;
  top: 300px;
  padding: 1rem;
  margin: 1rem;
}

@media only screen and (max-width: 850px) {
  .card-about {
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .card-about__img--wrapper {
    max-width: 80%;
    margin: auto;
    margin-bottom: 2rem;
  }

  .card-about__content h1 {
    font-size: 2.2rem;
  }
}

/******* INDEX PAGE ***********/

/******* HERO SECTION ***********/
.hero {
  background-color: #ffffff;
}

.hero__img {
  width: 100%;
  height: 550px;
}

.hero__img img,
.hero__img picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  width: var(--max-width);

  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-top: 6rem;
  margin-bottom: 6rem;
}

.hero__content h1 {
  font-size: 3rem;
  color: #323232;
  line-height: 1.2;
}

.hero__content p {
  font-size: 1.5rem;
  color: #323232;
}

.hero__action {
  display: flex;
  gap: 1.5rem;
}

.styled-quote {
  font-family: "Georgia", serif;
  line-height: 1.5;
  font-style: italic;
  position: relative;
  text-align: left;
}

.quote {
  font-size: 2.5rem;
  font-weight: bold;
  position: relative;
  top: 5px;
}

.quote.left {
  margin-right: 1rem;
}
.quote.right {
  margin-left: 1rem;
}

/*******  Portfolio Section ***********/
.main-portfolio {
  background-color: #f2f2f2;
}

.main-portfolio__wrapper {
  width: var(--max-width);
  margin: auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2rem;
}

.main-portfolio__item.landscape {
  grid-column: span 2;
  grid-row: span 2;
  object-fit: cover;
}

.main-portfolio__item.portrait {
  grid-row: span 2;
}

.main-portfolio__item.landscape-max {
  grid-column: span 4;
}

.main-portfolio__item,
.main-portfolio__item picture {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.main-portfolio__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-portfolio {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.main-portfolio__intro {
  width: var(--max-width);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-portfolio__intro h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  color: #323232;
}

.main-portfolio__intro p {
  font-size: 1.3rem;
  color: #323232;
}

/******** CALL TO ACTION ********/
.section_call_to_action {
  background-color: #f7f7f7;
}
.call_to_action__wrapper {
  width: 75%;
  margin: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.call_to_action__wrapper .accent_message {
  margin-top: 24px;
  margin-bottom: 24px;
}

.call_to_action__wrapper h2 {
  padding-bottom: 28px;
  text-align: center;
}

.call_to_action__wrapper p {
  font-size: 20px;
  text-align: center;
}
.call_to_action__wrapper p:nth-of-type(1),
.call_to_action__wrapper p:nth-of-type(2) {
  padding-bottom: 16px;
}

.call_to_action__wrapper p:nth-of-type(3) {
  font-style: italic;
}

.call_to_action__wrapper .btn_solid {
  margin-bottom: 32px;
}

@media only screen and (max-width: 850px) {
  /******* HERO SECTION ***********/
  .hero__img {
    height: 300px;
    background-position: 50% 50%;
  }

  .hero__content {
    width: 100%;
    padding: 1rem;
  }

  .hero__content h1 {
    font-size: 2rem;
  }

  .hero__content p {
    font-size: 1.1rem;
  }

  .quote {
    font-size: 1.5rem;
  }

  /*******  Portfolio Section ***********/
  .main-portfolio {
    padding-top: 0rem;
    padding-bottom: 3rem;
  }

  .main-portfolio__wrapper {
    width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .main-portfolio__intro {
    width: 100%;
    padding: 1rem;
  }

  .main-portfolio__intro h2 {
    font-size: 1.5rem;
  }

  .main-portfolio__intro p {
    font-size: 1.1rem;
  }

  /******** CALL TO ACTION ********/
  .call_to_action__wrapper {
    width: 100%;
    padding: 16px;
  }
}

/*****************************************
/**************** REVIEWS ****************
/*****************************************/
.review-container {
  background-color: #fefefe;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.card-review-wrapper {
  width: var(--max-width);
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  h1 {
    text-align: center;
  }
}

.card-review-wrapper h2 {
  color: #323232;
}

.review-scrol-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 33.33%;
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2rem;
  max-width: 100%;
}

.review-scrol-item {
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.136);
  padding: 1rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;

  p {
    font-style: italic;
    color: rgba(16, 16, 16, 0.504);
  }
}

.card-review__stars {
  margin-top: 1.2rem;
  display: inline-block;
}

.card-review__stars .star {
  font-size: 18px;
  color: rgb(255, 179, 0);
}

.snaps-inline {
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 1rem;
}

/* > * select all direct children */
.snaps-inline > * {
  scroll-snap-align: start;
}

.review-scroll-buttons {
  align-self: flex-end; /* override default centering */
  margin-top: 1rem; /* optional spacing */
}

.review-scroll-buttons button {
  padding: 0.25rem 1rem;
  background-color: var(--light-color-100);
  border: 1px solid rgba(0, 0, 0, 0.27);
  border-radius: 8px;
  color: rgba(0, 0, 0, 0.627);
  cursor: pointer;
  transition: 300ms ease;

  &:hover {
    background-color: var(--accent-color-500);
    border: 1px solid var(--accent-color-500);
    color: var(--light-color-100);
  }
}

@media only screen and (max-width: 850px) {
  .review-scrol-container {
    grid-auto-columns: 100%;
  }

  .card-review-wrapper {
    width: 100%;
    padding: 1rem;
    text-align: center;
    h1 {
      font-size: 1.8rem;
    }
  }

  .review-scrol-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .review-scroll-buttons {
    display: none;
  }

  .review-container {
    padding-top: 0rem;
    padding-bottom: 0rem;
  }
}

/*****************************************
/**************** PRICEING ****************
/*****************************************/
.pricecard-container {
  width: 100%;
  background-color: #f2f2f2;
}
.pricecard-container-wrapper {
  width: var(--max-width);
  margin: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 3rem;

  h2 {
    text-align: center;
  }
}

.pricecard-wrapper {
  width: 100%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 5rem;
}

.card-price {
  position: relative;
  width: 290px;
  height: max-content;
  background-color: var(--light-color-100);
  filter: drop-shadow(1px 2px 8px hsl(60, 1%, 81%));
  padding: 1rem;
  border-radius: 1rem;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.card-price.border {
  border: 5px solid var(--accent-color-500);
}

.card-price h3 {
  color: var(--accent-color-500);
  font-size: 1.5em;
}
.card-price h4 {
  text-align: center;
  font-size: 1rem;
}

.card-price h5 {
  color: rgba(0, 0, 0, 0.652);
  font-style: italic;
  font-weight: 300;
}

.card-price ul {
  padding-left: 2rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.237);
  border-bottom: 1px solid rgba(0, 0, 0, 0.237);
}

.card-price span {
  text-align: center;
}

.card-price span:nth-of-type(2) {
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(0, 0, 0, 0.464);
}

.card-price__price span {
  font-size: 2rem;
  color: var(--accent-color-500);
  font-weight: 600;
}

.card-price .card-price__touch {
  position: absolute;
  height: 30px;
  width: max-content;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-color-500);
  color: var(--light-color-100);
  display: flex;
  justify-content: center;
  align-items: center;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
  padding: 0rem 1rem;
}

@media only screen and (max-width: 850px) {
  .pricecard-container-wrapper {
    width: 100%;
    h2 {
      font-size: 1.8rem;
    }
  }

  .pricecard-wrapper {
    width: 100%;
  }

  .card-price {
    width: 100%;
    margin: 1rem;
  }
}
