:root {
  --swiper-pagination-bullet-inactive-color: #000000;
  --swiper-pagination-color: #513e35;
  --swiper-navigation-color: #d1c1b8;
}

html {
  scroll-behavior: smooth;
}

body {
    margin:0;
    font-family: sans-serif;
    background: rgb(255, 249, 237);

    font-family: "DM Serif Display", serif;
    font-weight: 400;
    font-style: normal;
    color: #513e35;

    overflow-x: hidden;

}

.material-symbols-outlined{
  color: white;
  font-variation-settings:
  'FILL' 0,
  'wght' 900,
  'GRAD' 0,
  'opsz' 64;
}

.material-symbols-outlined.md-48 { font-size: 48px; }

header {
    width: 100vw;
    height: 100vh;
    max-width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    background-image: url("../img/hero.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    
}

.logo {
  width: 80vw;
  
  margin-left: auto;
  margin-right: auto;
}

.hero-inner {
  height: 95vh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

}

nav {
  width: 100vw;

  display: flex;
  justify-content: space-around;

}

nav a {
  font-size: 1.3em;
  color: white;
  
  text-decoration: none;
}

blockquote {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  font-weight: 400;
  text-align: center;

  width: 65vw;

  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  padding-bottom: 30px;
}

section {
  text-align: center;
  font-size: 2em;
}

.trattamenti {
  display: flex;
  width: 100vw;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 10px;

  margin-left: auto;
  margin-right: auto;
}

.treatmentOverlay {
  width: 100%;
  height: 100%;
  border-radius: 15%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;

  color: white;
}

.treatmentOverlay:hover{
  transition: all 0.5s;
  opacity: 100%;
}

.treatment {
  aspect-ratio: 1/1;
  width: 100%;
  border-radius: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aNoStyle{
  width: 29.33%;
  min-width: 200px;
  aspect-ratio: 1/1;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: inherit;
}

.aNoStyle:hover {
  padding: 0;
  margin: 0;
}


#minimal_tattoo {
  background-image: url(../img/minimal%20tattoo.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#estetica_base {
  background-image: url(../img/base.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#estetica_avanzata {
  background-image: url(../img/avanzata.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#trucco_permanente {
  background-image: url(../img/trucco.png);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.card {
  width: 65vw;
  max-width: 900px;
  min-width: 0;

  background: #e1d0c6;

  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;

  padding: 1.5em;

  display: flex;
  justify-content: end;
  align-items: center;
  column-gap: 1em;

  border-radius: 25px;

  -webkit-box-shadow: 1px 0px 21px -7px #000000; 
  box-shadow: 1px 0px 21px -7px #000000;
}

#sue {
  width: 100%;

  margin: none;
}

figure {

  width: 40%;

  padding: 0;
  margin: 0;
}

aside {
  width: 60%;
  text-align: right;
}

p {
  font-size: 0.6em;
  padding-bottom: 1em;
}

button {
  border: none;
  border-radius: 50px;

  font-size: 0.8em;
  font-family: inherit;
  text-decoration: underline;
  text-align: center;
  color: inherit;

  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;

  background: rgb(255, 249, 237);
}

.contacts-inner {

  width: 65vw;
  max-width: 900px;

  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;

  display: flex;
  justify-content: center;
  align-items: center;

}


.aside-left {
  text-align: left;

  margin-right: 0;
  margin-left: 1em;

  width: fit-content;
  min-height: 0;
  height: fit-content;

}

.aside-left p {
  margin-top: -1.8em;
}

footer {
  background: #d1c1b8;

  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;

  font-size: 1rem;

  width: 100%;
  height: fit-content;
  position: absolute;
  bottom: 0;
}

.contentWrap {
  position: relative;
  min-height: 100vh;
  padding-bottom: 3em;
}

.revWrapper {
  padding-bottom: 2em;
}
footer p {
  text-align: center;

  margin: 0;
  padding: 0;
}

.test {
  padding-bottom: 0;
  width: 100%;
}

#star {
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24;

  color: rgb(255, 187, 0);
}

#novaLogo {
  width: 2em;
  height: auto;
}

.text_center {
  text-align: center;
}

.no_decor {
  list-style-type: none;
  text-decoration: none;
}

ul {
  position: relative;
  list-style: none;
  padding: none;
}

li {
  opacity: 25%;
  width: 100%;
}

#myList{
  font-size: 1.5em;

  display: flex;
  flex-direction: column;

}

.dark_brown {
  background-color: #4e3c32;
}

.bg_text {
  color: rgb(255, 249, 237);
}

.underlined {
  text-decoration: underline;
}

.row_reverse {
  flex-direction: row-reverse;
  justify-items: start;
  justify-content: start;
  align-items: start;
}

#contattami {
 
  font-size: 1.5em;

  text-align: center;

  margin-left: auto;
  margin-right: auto;

  display: block;

  padding: none;
  
}

.flex {
  display: flex;
  flex-direction: row;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

.flex_row_center {
  justify-content: center;
  align-items: center;
}

#single_review blockquote {

  font-size: 1rem;

  margin: 0;
  padding: 0;
}

#single_review p {

  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.space_evenly {
  justify-content: space-evenly;
  align-items: center;
}

#single_review {
  padding-top: 5em;
  padding-bottom: 5em;

  border: none;
  outline: none;

}

.rem {
  font-size: 1rem;
}

.certWrapper {
  margin-top: 3em;
  margin-bottom: 1em;
}
.touch_only {
  width: 80%;
  
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  margin-top: 0.2em;

  display: none;
}

.treatbox {
  display: flex;
  flex-direction: column;
  width: 20%;
}

.tile {
  background: #d1c1b8;
  max-width: 10em;
  min-width: 8em;
  width: 90%;
  border-radius: 25px;

  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3em;

  height: 22em;

}

.tile figure, .tile figure img {
  width: 100%;
  border-radius: 25px 25px 0px 0px;
}

.tile h6, .tile p {
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 0.2em;
}

#info_article {
  font-size: 1.2rem;
  text-align: left;
  width: 40%;
}

@media (max-width: 1100px) {
  #card2 {
    display: flex;
    flex-direction: column-reverse;
  }

  #card2 figure {
    margin-left: auto;
    margin-right: auto;

    width: fit-content;
  }

  #info_article {
    text-align: center;
    width: 100%;
  }
}
@media (max-width: 560px) {

  iframe {
    width: 90%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
  
  .contacts-inner {
    display: flex;
    flex-direction: column;

    width: 100%;
  }

  .aside-left {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
  }

  #card , #card2 {
    display: flex;
    flex-direction: column-reverse;
  }

  #card2 figure {
    margin-left: auto;
    margin-right: auto;

    width: fit-content;
  }

  aside {
    text-align: center;
    width: fit-content;
  }

  aside button {
    margin-left: auto;
    margin-right: auto;
  }

  figure {
    width: 8em;
  }
}

@media (max-width: 590px) {

  iframe {
    width: 60%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

}

@media (hover: none) {
  .touch_only {
    display: block;
  }

  .treatmentOverlay:hover{
    display: none;
  }
}
