@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local("Lato Black"), local("Lato-Black"),
    url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh50XSwiPGQ.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Lato Bold"), local("Lato-Bold"),
    url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh6UVSwiPGQ.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Lato Regular"), local("Lato-Regular"),
    url(https://fonts.gstatic.com/s/lato/v16/S6uyw4BMUTPHjx4wXg.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Lato Light"), local("Lato-Light"),
    url(https://fonts.gstatic.com/s/lato/v16/S6u9w4BMUTPHh7USSwiPGQ.woff2)
      format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

* {
  font-family: "Lato", Verdana, sans-serif;
  box-sizing: border-box;
  scroll-margin-top: 80px;
}

body {
  margin: 0 auto;
}

.wrapper {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .wrapper {
    max-width: 768px;
    padding: 0 40px;
  }
  * {
    scroll-margin-top: 60px;
  }
}

@media (max-width: 375px) {
  .wrapper {
    max-width: 375px;
    /* margin: 0 20px; */
    padding: 0 24px;
  }
}

body,
html {
  scroll-behavior: smooth;
}

/*? Singolo1 */

/*! Header */

.header {
  background-color: #2d303a;
  border-bottom: 6px solid #323746;
  height: 89px;
  width: 100%;
  top: 0;
  z-index: 100;
  position: sticky;
  top: 0;
  left: 0;
}

/*? Stay or not */
.header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2d303a;
  box-shadow: 0px -40px 20px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.header__burger {
  display: none;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 30px;
  position: relative;
}

.singolo {
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 700;
  z-index: 5;
}

.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: inline;
  z-index: 3;
  position: relative;
}

li {
  display: inline;
  cursor: pointer;
}

.singolo_link {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 6px;
  font-weight: 700;
}

.nav_active {
  color: #f06c64;
}

.singolo_link:hover {
  color: #f06c64;
}

li + li:before {
  content: "⋅";
  color: #494e62;
  padding: 0 10px 0 10px;
  font-size: large;
}

@media (max-width: 767px) {
  body.lock {
    overflow: hidden;
  }
  .header__burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    z-index: 3;
  }

  .header__wrapper {
    position: relative;
    display: flex;
    padding: 0;
    top: 24px;
    align-items: center;
  }

  .header {
    height: 71px;
    border-bottom: none;
  }
  .singolo {
    position: absolute;
    font-size: 19.6875px;
    line-height: 24px;
    left: 42%;
    /* ?margin-top: 3%; */
  }

  .singolo.target {
    left: 20%;
    transition: all 0.7s ease 0s;
  }
  .header__burger span {
    position: absolute;
    background-color: #ffffff;
    left: 0;
    width: 30px;
    height: 2px;
    top: 9px;
    transition: all 0.3s ease 0s;
  }
  .header__burger:before,
  .header__burger:after {
    content: "";
    background-color: #ffffff;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
    transition: all 0.3s ease 0s;
  }
  .header__burger:before {
    top: 0;
  }
  .header__burger:after {
    bottom: 0;
  }

  .header__burger.target {
    transform: rotate(90deg);
  }

  .header-navigation {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    background-color: #2d303a;
    padding: 70px 10px 20px 10px;
    transition: all 0.7s ease 0s;
  }

  .header-navigation.target {
    left: 0;
    transition: all 0.3s ease 0s;
  }

  .menu li {
    display: block;
    margin: 10px 10px 20px 0px;
    text-align: left;
  }
  li + li:before {
    display: none;
  }
  .singolo_link {
    font-size: 24px;
  }
  .menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 50%;
    margin-left: 25%;
  }
}

/*! Slider */

.carousel {
  height: 585px;
  width: 100%;
  left: 0px;
  top: 78px;
  border-bottom: 4px solid #ea676b;
  background-color: #f06c64;
}

.slider-container {
  position: relative;
  /* width: 940px; */
  width: 100%;
}

.sliders {
  display: none;
  position: relative;
  animation: 0.5s ease-in-out;
  height: 100%;
}

.active,
.next {
  display: block;
  position: absolute;
  width: 100%;
}

.to-left {
  animation-name: left;
}

.to-right {
  animation-name: right;
  animation-direction: reverse;
}

.from-left {
  animation-name: left;
  animation-direction: reverse;
}

.from-right {
  animation-name: right;
}

@keyframes left {
  from {
    left: 0;
  }
  to {
    left: -100%;
  }
}

@keyframes right {
  from {
    left: 100%;
  }
  to {
    left: 0;
  }
}

.iPhone_Vertical {
  position: absolute;
  left: 71px;
  top: 52.5px;
}

.iPhone_Horizontal {
  position: absolute;
  right: 71px;
  top: 173px;
}

.slider2 {
  position: absolute;
  top: 40px;
  left: 253px;
}

.chev_left {
  position: absolute;
  top: 282px;
  left: 0;
  background-image: url("assets/chev-left.jpg");
  /* display: inline-block; */
  width: 16px;
  height: 27px;
}

.chev_right {
  position: absolute;
  top: 282px;
  right: 0;
  background-image: url("assets/chev-right.jpg");
  /* display: inline-block; */
  width: 16px;
  height: 27px;
}

.arrows {
  position: relative;
  z-index: 1;
}

.home-button {
  position: absolute;
  border: 1px solid transparent;
  border-radius: 50%;
  height: 20px;
  width: 20px;
}

.Vertical-iPhone .home-button {
  height: 42px;
  width: 42px;
  top: 460px;
  left: 157px;
}

.Horizontal-iPhone .home-button {
  height: 42px;
  width: 42px;
  top: 259px;
  left: 393px;
}

.black-screen_vertical {
  position: absolute;
  background-color: black;
  width: 189px;
  height: 336px;
  top: 115px;
  left: 85px;
}

.black-screen_horizontal {
  position: absolute;
  transform: rotate(90deg);
  background-color: black;
  width: 189px;
  height: 336px;
  top: 113px;
  left: 516px;
}

@media (max-width: 1019px) {
  .chev_right,
  .chev_left {
    top: 27vw;
  }

  .carousel {
    height: 58vw;
  }

  .home-button {
    height: 4.1vw;
    width: 4.1vw;
  }

  .sliders .slider2 {
    width: 49.5vw;
    height: auto;
    top: 4vw;
    left: 25vw;
  }

  .Vertical-iPhone img {
    width: 23.53vw;
    height: auto;
  }
  .Vertical-iPhone .home-button {
    top: 46vw;
    left: 17vw;
    z-index: 1;
  }
  .black-screen_vertical {
    top: 13vw;
    left: 10.5vw;
    height: 33vw;
    width: 19vw;
  }

  .Horizontal-iPhone img {
    height: 23.53vw;
    width: auto;
    top: 18vw;
    left: 37vw;
  }
  .Horizontal-iPhone .home-button {
    top: 25.6vw;
    left: 37.3vw;
    z-index: 1;
  }
  .black-screen_horizontal {
    top: 12vw;
    left: 49.7vw;
    height: 33vw;
    width: 19vw;
  }
}

@media (max-width: 767px) {
  .arrows {
    margin: 0px -15px 0px -15px;
  }

  .home-button {
    height: 4.1vw;
    width: 4.1vw;
  }

  .sliders .slider2 {
    width: 49.5vw;
    height: auto;
    top: 4vw;
    left: 17vw;
  }

  .Vertical-iPhone img {
    width: 23.53vw;
    height: auto;
    top: 20px;
    left: 18px;
  }
  .Vertical-iPhone .home-button {
    top: 45vw;
    left: 12.5vw;
    z-index: 1;
    width: 5vw;
    height: 5vw;
  }
  .black-screen_vertical {
    top: 11.5vw;
    left: 5.9vw;
    height: 33vw;
    width: 19vw;
  }

  .Horizontal-iPhone img {
    height: 23.53vw;
    width: auto;
    top: 18vw;
    left: 35vw;
  }
  .Horizontal-iPhone .home-button {
    top: 26vw;
    left: 35.5vw;
    z-index: 1;
    width: 5vw;
    height: 5vw;
  }
  .black-screen_horizontal {
    top: 12vw;
    left: 47.6vw;
    height: 33vw;
    width: 19vw;
  }
}

/*! Services */

.services {
  /* height: 494px; */
  background-color: #f2f2f2;
  border-bottom: 6px solid #ffffff;
}

.our-services {
  margin: 0;
  padding-top: 68px;
  padding-bottom: 27px;
  font-weight: 900;
  color: #666d89;
  font-size: 29.6188px;
  line-height: 18px;
}

.text_our-services {
  margin: 0;
  color: #767e9e;
  font-style: normal;
  font-size: 18px;
  line-height: 30px;
  font-weight: 300;
  text-align: justify;
  margin-bottom: 47px;
  /* height: 57px; */
  overflow: hidden;
}

.services__title {
  margin-bottom: 11px;
}

h3 {
  color: #666d89;
  font-weight: 900;
  font-size: 18px;
  line-height: 16px;
  text-align: left;
  margin: 0;
}

.services__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.services__text {
  width: 220px;
  font-size: 12px;
  line-height: 22px;
  color: #767e9e;
  font-weight: 400;
  text-align: justify;
  overflow: hidden;
  height: 65px;
  margin-bottom: 36.7px;
}

.services__item {
  display: inline-block;
  position: relative;
}

.services__image {
  position: absolute;
}

.services__column {
  padding-left: 79px;
}

/*? Singolo2 */

/*! Portfolio */

.portfolio {
  background-color: #2d303a;
  border-bottom: 6px solid #323746;
}

h1 {
  margin: 0;
  padding: 0;
}

.portfolio__title {
  font-size: 30px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  padding-top: 69px;
}

p {
  margin: 0;
  padding: 0;
}

.text__portfolio {
  font-size: 18px;
  line-height: 30px;
  color: #767e9e;
  font-weight: 300;
  padding-top: 28px;
}

/* ! Buttons */
.btn__group {
  display: flex;
  margin-top: 11px;
  padding-left: 1px;
  padding-bottom: 17px;
}

.button-portfolio {
  text-decoration: none;
  height: 20px;
  border-radius: 5px;
  background-color: #2d303a;
  border: 1px solid #666d89;
  font-size: 11px;
  line-height: 20px;
  color: #767e9e;
  font-weight: 400;
  letter-spacing: 0.27px;
  cursor: pointer;
}

.button-portfolio_item {
  padding: 0 7px;
  margin-right: 10px;
}

.button_active,
.button-portfolio:hover {
  color: #dedede;
  border: 1px solid #c5c5c5;
  outline: none;
}

.box__image.selected {
  outline: 5px solid #f06c64;
  outline-offset: -5px;
}

@media (max-width: 374px) {
  .button-portfolio {
    font-size: 2.9vw;
  }
  .services__text {
    width: 190px;
  }
}

/* ! Gallery */
/* !new */

#gallery {
  display: flex;
  flex-wrap: wrap;
  margin: -10px;
  margin-bottom: 68px;
}

#gallery img {
  margin: 10px;
  flex: 1 0 20%;
  max-width: 220px;
  max-height: 180px;
}

#gallery img::before {
  content: "";
  float: left;
  padding-top: 100%;
}

.box__image {
  width: 100%;
  height: 100%;
}

@media (min-width: 768px) and (max-width: 1019px) {
  #image img {
    margin: 9px;
    flex: 1 0 25%;
  }
}

@media (max-width: 767px) {
  #gallery img {
    margin: 5px;
    width: 46%;
  }
  #gallery {
    margin: 0 -5px;
    padding: 0px 0px 40px 0px;
    /* overflow: hidden; */
  }

  .box__image:nth-child(n + 9) {
    display: none;
  }
}

@media (max-width: 374px) {
  #gallery img {
    margin: 5px;
    width: 40%;
  }
  #gallery {
    margin: -5px;
    margin-bottom: 42px;
  }

  .box__image:nth-child(n + 9) {
    display: none;
  }
}

/* ! About Us  */

.about-us {
  background-color: #f2f2f2;
  border-bottom: 6px solid #ffffff;
}

.about-us__title {
  font-size: 30px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  padding-top: 68px;
}

.about-us__text {
  font-size: 18px;
  line-height: 30px;
  color: #767e9e;
  font-weight: 300;
  padding-top: 28px;
  padding-bottom: 20px;
  text-align: justify;
  overflow: hidden;
}

/*! About Us Img Face */

.about-us__face {
  width: 100%;
  height: auto;
}

.info {
  margin-bottom: 20px;
  margin-left: -10px;
}

.info__column {
  box-sizing: border-box;
  width: 33%;
  display: inline-block;
  padding-right: 10px;
}

/* ! Info three column  */

h2 {
  margin: 0;
  padding: 0;
}

.name {
  font-size: 18px;
  line-height: 18px;
  color: #666d89;
  font-weight: 900;
  margin-top: 17px;
  letter-spacing: -0.25px;
}

.name__info {
  /* height: 40px; */
  font-size: 12px;
  line-height: 20px;
  color: #767e9e;
  font-weight: 400;
  letter-spacing: -0.075px;
  margin-top: 11px;
  text-align: justify;
  overflow: hidden;
}

.about-us_info__social-media {
  width: 153px;
  margin-top: 25px;
  display: flex;
  justify-content: space-between;
}

.about-us_info__social-media_link {
  margin-right: 5px;
  cursor: pointer;
}

.about-us_info__social-media_link:hover {
  background-color: #d6564f;
}

@media (max-width: 1019px) {
  .about-us_info__social-media {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .info {
    flex-wrap: wrap;
  }
  .info__column {
    width: 100%;
  }

  .about-us_info__social-media {
    margin-top: 10px;
  }
  .info__column {
    margin-bottom: 3vw;
  }
}

/*? Singolo3 */

.get-a-quote {
  /* height: 648px; */
  background-color: #f06c64;
  border-bottom: 6px solid #ea676b;
}

h1 {
  margin: 0;
  padding: 0;
}

.get-a-quote__title {
  font-size: 30px;
  line-height: 18px;
  color: #f0d8d9;
  font-weight: 900;
  padding-top: 69px;
}

p {
  margin: 0;
  padding: 0;
}

.text__get-a-quote {
  font-size: 18px;
  line-height: 30px;
  color: #f0d8d9;
  font-weight: 300;
  margin-top: 27px;
  /* margin-bottom: 84px; */
  text-align: justify;
  /* height: 25px; */
}

.all-info {
  display: flex;
  /* display: inline-block; */
  justify-content: space-between;
  position: relative;
  padding-top: 30px;
  padding-bottom: 20px;
  /* box-sizing: border-box; */
}

.get-a-quote__form {
  /* width: 619px; */
  width: 66%;
  flex-grow: 3;

  /* flex-shrink: 1; */
}

input,
textarea {
  width: 100%;
  border: none;
  border-radius: 5px;
  background-color: #d6564f;
}

.get-a-quote__form_email,
.get-a-quote__form_name,
.get-a-quote__form_subject {
  margin-bottom: 16px;
  padding: 10px 14px 12px;
}

.get-a-quote__form_message {
  margin-bottom: 16px;
  height: 183px;
  resize: none;
  padding: 7px 14px 12px;
}

::placeholder {
  font-size: 12px;
  line-height: 22px;
  color: #f48c8f;
  font-weight: 400;
  text-align: left;
}

.form_button {
  width: 100px;
  background-color: #d6564f;
  color: #f48c8f;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

h2 {
  margin: 0;
  padding: 0;
}

.Contact-Information {
  padding-left: 20px;
  width: 33%;
  flex-grow: 1;
  /* flex-shrink: 1; */
}

.Contact-Information__title {
  font-size: 18px;
  line-height: 18px;
  color: #f0d8d9;
  font-weight: 900;
  padding-bottom: 10px;
}

.text__contact-information {
  /* width: 300px; */
  width: 100%;
  font-size: 12px;
  line-height: 22px;
  color: #f0d8d9;
  font-weight: 400;
  text-align: justify;
  padding-bottom: 19px;
  letter-spacing: -0.09px;
}

.link-email,
.telepone-number {
  text-decoration: none;
  font-size: 12px;
  line-height: 22px;
  color: #f0d8d9;
  font-weight: 400;
  padding-left: 8px;
  letter-spacing: -0.09px;
}

.address {
  font-size: 12px;
  line-height: 22px;
  color: #f0d8d9;
  font-weight: 400;
  padding-left: 8px;
  letter-spacing: -0.09px;
}

.contact__image_location {
  padding-left: 4px;
}

.contact__image_phone {
  padding-left: 2px;
}

footer {
  height: 76px;
  background-color: #2d303a;
}

.footer__content {
  display: flex;
  justify-content: space-between;
}

.Copyright {
  font-size: 12px;
  font-weight: 400;
  color: #767e9e;
  padding-top: 30px;
}

.info__social-media {
  padding-top: 22px;
}

.info__social-media_link {
  margin-left: 5px;
  cursor: pointer;
}

.info__social-media_link:hover {
  background-color: #d6564f;
}

@media (max-width: 1019px) {
  .Contact-Information {
    padding-left: 19px;
  }

  .all-info {
    width: 100%;
  }

  .get-a-quote__form_name,
  .get-a-quote__form_email,
  .get-a-quote__form_subject,
  .get-a-quote__form_message {
    margin-bottom: 10px;
  }

  /* .message-block{
    width: 100%;
  } */
}

@media (max-width: 767px) {
  .form_button {
    width: 100%;
  }

  .all-info {
    flex-wrap: wrap;
  }

  .get-a-quote__form {
    width: 100%;
  }
  .Contact-Information {
    width: 100%;
    padding-top: 44px;
    padding-left: 0px;
  }

  .Copyright {
    display: none;
  }
  footer .footer__content {
    justify-content: center;
  }
}

/*!! Message Block !!*/

#message-block {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  background: #45426436;
  display: flex;
  justify-content: center;
  z-index: 1000;
}
#message-block.hidden {
  display: none;
}

.modal_block {
  max-width: 600px;
  max-height: 250px;
  overflow: auto;
}

#message {
  position: fixed;
  top: 25%;
  margin: 0 auto;
  width: 600px;
  height: 300px;
  border: 2px solid #d6564f;
  border-radius: 10px;
  background-color: #f06c64;
  text-align: center;
  word-wrap: break-word;
}

#p_message {
  font-size: large;
  color: #e64848;
  font-weight: 900;
}

#subj_result,
#description_result {
  overflow: hidden;
  max-width: 200px;
  max-height: 100px;
  color: #f0d8d9;
}

#close-button {
  font-size: 20px;
  font-weight: 400;
  color: #f48c8f;
  text-shadow: 0 -1px #0000001a;
  text-decoration: none;
  user-select: none;
  padding: 3px 45px;
  outline: none;
  border: none;
  border-radius: 5px;
  background: #d6564f linear-gradient(#ce413a, #e44d4581);
  box-shadow: inset #d6564f 0 -1px 1px, inset 0 1px 1px #ce413a,
    #e44d4581 0 0 0 1px, #4e02024d 0 2px 5px;
}
