/* ! Reset */
body,
html {
  font-family: "Intro", Arial, Helvetica, sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul {
  margin: 0 0 0 0;
  padding: 0;
}
ol,
ul {
  list-style-type: none;
}
img {
  height: auto;
}
h1 {
  font-size: 4rem;
}
h2 {
  font-size: 3rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1rem;
}
h5 {
  font-size: 0.8rem;
}
h6 {
  font-size: 0.6rem;
}
a {
  text-decoration: none;
}

/* ! Fonts */

body * {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  color: #ffffffdc;
}

/* ! Background color */

html,
body {
  background-color: #3f5556;
}

/* Menu */
:root {
  --menu-bg: #1a2525; /* !#3f5556  */
  --menu-color: #ffffffdc; /* ! #c9bcad */
}

.header {
  background-color: var(--menu-bg);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 10px 15px;
}
.header__content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.header__logo,
.header__quick {
  display: flex;
  align-items: center;
  color: var(--menu-color);
}

.header__menu {
  padding: 0;
  margin: 0;
}
.header__menu li {
  display: inline-block;
}
.header__menu li a {
  color: var(--menu-color);
  opacity: 0.8;
  display: block;
  padding: 16px;
  font-size: 15px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .header__logo {
    transform: scale(80%);
  }
  .header__menu {
    position: absolute;
    top: 60px;
    left: 0;
    background-color: var(--menu-bg);
    width: 100%;
    height: 100vh;
    height: 0vh;
    overflow: hidden;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .header__menu li {
    width: 100%;
  }
  .menu-open .header__menu {
    height: 100vh;
    padding: 3%;
  }

  .icon-hamburger {
    height: 50px;
    width: 40px;
    margin-left: 20px;
    padding-top: 5px;
  }
  .icon-hamburger span {
    height: 2px;
    width: 30px;
    background: var(--menu-color);
    position: relative;
    display: block;
    margin-top: 11px;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  .menu-open .icon-hamburger span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }
  .menu-open .icon-hamburger span:nth-child(2) {
    transform: rotate(-45deg) translateY(-9px);
  }

  .header__quick {
    display: flex;
    justify-content: flex-end;
    width: 50%;
  }
}

/* ! Cover */
.cover {
  text-align: center;
  padding: 10px;
  margin: 0px;
  min-height: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-position: center center;
  background-size: cover;
}
.cover * {
  color: #fff;
}

/* ! Panels */
.black-collar {
  background-color: #000000;
  color: #c9bcad;
  height: auto;
  width: 100%;
  padding: 20px;
  opacity: 0.9;
}

.img-bg-panel {
  width: 100%;
  height: auto;
  background-image: linear-gradient(
      to bottom,
      rgba(63, 85, 86, 0.3),
      rgba(63, 85, 86, 0.3)
    ),
    url("images/img-bg-panel.webp");
  background-position: center center;
  background-size: cover;
  padding: 20px;
  color: #fff;
}

/* ! Prospective Panels */
.prospective-img-dx {
  transform: matrix3d(1, 0, 0, 0.0009, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  z-index: -1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
}
.prospective-img-sx {
  transform: matrix3d(1, 0, 0, -0.0009, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  z-index: -1;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
}

#grid-prospective {
  flex-wrap: nowrap;
}
#col-img-prospective-sx {
  margin-right: 2%;
  margin-top: 100px;
}
#col-img-prospective-dx {
  margin-left: 2%;
  margin-top: 100px;
}
#central-panel-prospective {
  background-color: #000;
  opacity: 0.7;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
  z-index: 1;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .prospective-img-dx {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0.0009, 0, 0, 1, 0, 0, 0, 0, 1);
    z-index: -1;
    max-height: 300px;
    object-fit: cover;
    object-position: center bottom;
  }
  .prospective-img-sx {
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, -0.0009, 0, 0, 1, 0, 0, 0, 0, 1);
    z-index: -1;
    max-height: 300px;
    object-fit: cover;
  }
  #grid-prospective {
    flex-wrap: wrap;
  }
  #col-img-prospective-sx {
    margin-right: 0;
    margin-top: 0px;
    margin-bottom: 17%;
  }
  #col-img-prospective-dx {
    margin-top: 17%;
    margin-left: 0%;
  }
  #central-panel-prospective {
    background-color: #000;
    opacity: 0.7;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
    z-index: 1;
    margin-bottom: 0;
  }
}

#grid-orari-indicazioni {
  margin-top: 100px;
}
@media (max-width: 768px) {
  #grid-orari-indicazioni {
    margin-top: 40px;
  }
}

#col-4img {
  margin-top: 0;
  filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.9));
}
@media (max-width: 768px) {
  #col-4img {
    margin-top: 20px;
  }
}

#br-service {
  display: none;
}

@media (max-width: 768px) {
  #br-service {
    display: inline;
  }
}

#last-service {
  margin: 20px 37.5% 0 37.5%;
}
@media (max-width: 768px) {
  #last-service {
    margin: 10px 25% 0 25% !important;
  }
}

footer {
  margin-top: 100px;
  padding: 20px;
  border-top: 2px solid #c9bcad;
  background-color: #1a2525;
}
footer a {
  color: #ffffffdc;
  font-weight: 400;
  text-decoration: underline;
  font-size: 16px;
}
footer i {
  color: #ffffffdc !important;
}

/* ! Grid System */
.grid {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1250px;
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}
.grid--center {
  justify-content: center;
}
.col {
  flex: 1;
}

[class*="col-"] {
  position: relative;
  padding: 0 15px;
}
.grid .grid [class*="col-"] {
  padding: 0px;
}

.col-10 {
  width: 10%;
}
.col-40 {
  width: 40%;
}
.col-20 {
  width: 20%;
}
.col-25 {
  width: 25%;
}
.col-30 {
  width: 30%;
}
.col-33 {
  width: 33.33%;
}
.col-50 {
  width: 50%;
}
.col-70 {
  width: 70%;
}
.col-80 {
  width: 80%;
}
.col-100 {
  width: 100%;
}

@media (max-width: 991px) {
  .tab-20 {
    width: 20%;
  }
  .tab-25 {
    width: 25%;
  }
  .tab-33 {
    width: 33.33%;
  }
  .tab-50 {
    width: 50%;
  }
  .tab-100 {
    width: 100%;
  }
}

@media (max-width: 768px) {
  [class*="col-"] {
    width: 100%;
  }
  .sma-10 {
    width: 15%;
  }
  .sma-90 {
    width: 85%;
  }

  .sma-20 {
    width: 20%;
  }
  .sma-25 {
    width: 25%;
  }
  .sma-33 {
    width: 33.33%;
  }
  .sma-50 {
    width: 50%;
  }
  .sma-100 {
    width: 100%;
  }
}

/* ! Title System */
h1,
.text-1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}
h2,
.text-2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
h3,
.text-3 {
  font-size: 1.8rem;
}
h4,
p,
.text-4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
a {
  color: #a19485;
  font-weight: 700;
}

.button {
  font-size: 1rem;
  text-transform: uppercase;
  background: #1a25257a;
  border: 2px solid #c9bcad;
  color: #fff;
  text-decoration: none;
  padding: 14px 25px;
  display: inline-block;
  border-radius: 4px;
  font-weight: 700;
}
.button:hover {
  background: #1a2525;
}

/* ! Helpers  */
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 10px;
}
.mt-2 {
  margin-top: 20px;
}
.mt-3 {
  margin-top: 40px;
}
.mt-4 {
  margin-top: 100px;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 10px;
}
.mb-2 {
  margin-bottom: 20px;
}
.mb-3 {
  margin-bottom: 40px;
}
.mb-4 {
  margin-bottom: 100px;
}

.p-0 {
  padding: 0;
}
.p-1 {
  padding: 10px;
}
.p-2 {
  padding: 20px;
}
.p-3 {
  padding: 40px;
}
.p-4 {
  padding: 100px;
}

.pt-1 {
  padding-top: 10px;
}
.pt-3 {
  padding-top: 20px;
}
.pt-3 {
  padding-top: 40px;
}
.pt-4 {
  padding-top: 15vh;
}

.pb-1 {
  padding-bottom: 10px;
}
.pb-2 {
  padding-bottom: 20px;
}
.pb-3 {
  padding-bottom: 40px;
}
.pb-4 {
  padding-bottom: 15vh;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.text-left {
  text-align: left;
}
.img-res {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.fw-200 {
  font-weight: 200;
}

.text-shadow {
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.7);
}
.bold {
  font-weight: 900;
}

.img-menu {
  margin: 10px 0 25px 0;
  box-shadow: 5px 5px 0px #a19485;
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .img-menu {
    max-width: 300px;
    max-height: 200px;
  }
}
