body {
  margin: 0;
  min-height: 100%;
}

.ad .hr {
  margin-top: 20px;
  margin-bottom: 20px;
}

.second_body {
  width: 100%;
  background-color: #2121219c;
  height: 100%;
  background-attachment: fixed;
}

body * {
  color: #e2e2e2;
}

hr {
  margin: 4vh;
}

.header {
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: 0.5s;
}

.header ul {
  margin: 0;
  transition: 0.5s;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #00000000;
}

.header ul a {
  transition: 0.5s;
  display: block;
  padding: 10px;
  text-decoration: none;
}

.header ul a:hover {
  transition: 0.5s;
  background-color: var(--text-secondary);
  color: var(--text-inverted);
}

.header .logo {
  font-size: 15px;
  padding: 10px 20px;
}

.header .menu-icon {
  padding: 30px 30px;
  position: relative;
  float: right;
  cursor: pointer;
}

.header .menu-icon .nav-icon {
  background-color: var(--text-secondary);
  display: block;
  width: 18px;
  height: 2px;
  position: relative;
  transition: background-color 0.2s ease-out;
}

.header .menu-icon .nav-icon::before {
  background-color: var(--text-secondary);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transition: all 0.2s ease-out;
  position: absolute;
  top: 5px;
}

.header .menu-icon .nav-icon::after {
  background-color: var(--text-secondary);
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transition: all 0.2s ease-out;
  position: absolute;
  bottom: 5px;
}

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked~.menu {
  max-height: 300px;
}

.header .menu-btn:checked~.menu-icon .nav-icon {
  background-color: transparent;
}

.header .menu-btn:checked~.menu-icon .nav-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.header .menu-btn:checked~.menu-icon .nav-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (min-width: 48em) {
  .header li {
    margin: 10px;
    float: right;
  }

  .header li a {
    padding: 20px 30px;
  }

  .header .menu {
    clear: none;
    float: right;
    max-height: 0;
  }

  .header .menu-icon {
    display: none;
  }
}

/* Per schermi di larghezza inferiore a 768px */
@media (max-width: 767px) {

  .header .menu {
    clear: both;
    max-height: 0;
    transition: max-height .2s ease-out;
  }

  .logo img {
    width: 15%;
    margin-top: 0px;
    margin-left: -10px;
  }

  .card {
    width: 80%;
  }

  .row,
  .card {
    margin-left: auto;
    margin-right: auto;
  }

  .card1 {
    margin-top: 4vh;
    margin-left: 1vh;
  }

  .header ul {
    text-align: center;
  }

  .ca {
    margin-top: 15%;
  }

  .ca h3 {
    color: rgba(255, 255, 255, 0.741);
    margin-top: -6vh;
    font-size: 40px;
  }

  .ca h1 {
    margin-top: -8vh;
    font-size: 80px;
    color: #fff;
  }

  .one {
    width: 20vh;
    border-radius: 20px;
  }

  .two {
    width: 17vh;
    margin-left: -60px;
    border-radius: 20px;
  }
}

/* Per schermi di larghezza superiore o uguale a 768px */
@media (min-width: 768px) {
  .ad .caro {
    display: flex;
    justify-content: space-between;
  }

  .ad .hr {
    display: none;
  }

  .header .menu {
    clear: both;
    transition: max-height .2s ease-out;
    display: contents;
    float: inline-end;
  }

  .logo img {
    width: 6%;
    margin-top: 0px;
  }

  .card {
    margin-left: 7vh;
  }

  .card1 {
    margin-top: 4vh;
    margin-left: 7vh;
  }

  .ca {
    margin-top: 10%;
    width: 60%;
  }

  .ca h3 {
    color: rgb(107, 107, 107);
    margin-top: -8vh;
    font-size: 70px;
  }

  .ca h1 {
    margin-top: -10vh;
    font-size: 100px;
    color: #fff;
  }

  .one {
    width: 40vh;
    border-radius: 20px;
  }

  .two {
    width: 34vh;
    margin-left: -60px;
    border-radius: 20px;
  }
}

:root {
  /* Primary Colors */
  --bg-primary: #1b1b1b;
  /* Black for main background */
  --bg-secondary: #1E1E1E;
  /* Dark gray for panels and cards */
  --text-primary: #FFFFFF;
  /* White for text on dark background */
  --text-secondary: #cfcfcf;
  /* Lighter gray for secondary text */
  --text-tertiary: #cccccc;
  /* Tertiary text color */
  --text-highlight: #84eb8f;
  /* Highlighted text color */
  --text-inverted: #000000;
  /* Inverted text color */

  /* Accent Colors */
  --accent-color-1: #31489c;
  /* Turquoise for buttons and highlights */
  --accent-color-1b: #405fcd;
  /* Turquoise for buttons and highlights */
  --accent-color-2: #c90f0f;
  /* Red for alerts or notifications */
  --accent-color-2b: #c93737;
  /* Red for alerts or notifications */
  --accent-color-3: #cd9c2c;
  /* Yellow for warnings or call-to-action */
  --accent-color-3c: #FFD166;
  /* Yellow for warnings or call-to-action */

  /* Shades */
  --shade-1: #d7d7d782;
  /* Lighter shade for depth */
  --shade-2: #ffffff;
  /* Slightly darker shade for separation */

  /* Hover State */
  --hover-state: #444444;
  /* Slightly lighter than primary background */
  --hover-state-lighter: #666666;
  /* Even lighter hover state */
}

.hr {
  filter: none;
}

@media (prefers-color-scheme: light) {
  .hr {
    filter: invert();
  }

  :root {
    /* Primary Colors */
    --bg-primary: #FFFFFF;
    /* White for main background */
    --bg-secondary: #EEEEEE;
    /* Light gray for panels and cards */
    --bg-tertiary: #dbdbdb;
    /* Much lighter for panels and cards */
    --text-primary: #333333;
    /* Dark gray for text on light background */
    --text-secondary: #555555;
    /* Secondary text color */
    --text-tertiary: #777777;
    /* Tertiary text color */
    --text-highlight: #58d664;
    /* Highlighted text color */
    --text-inverted: #EEEEEE;
    /* Inverted text color */

    /* Accent Colors */
    --accent-color-1: #31489c;
    /* Turquoise for buttons and highlights */
    --accent-color-1b: #242838;
    /* Turquoise for buttons and highlights */
    --accent-color-2: #c90f0f;
    /* Red for alerts or notifications */
    --accent-color-2b: #c93737;
    /* Red for alerts or notifications */
    --accent-color-3: #cd9c2c;
    /* Yellow for warnings or call-to-action */
    --accent-color-3c: #FFD166;
    /* Yellow for warnings or call-to-action */

    /* Links */
    --link-color: #6C5CE7;
    /* Purple for hyperlinks */

    /* Shades */
    --shade-1: #13121282;
    /* Lighter shade for depth */
    --shade-2: #000000;
    /* Slightly darker shade for separation */

    /* Hover State */
    --hover-state: #F5F5F5;
    /* Slightly darker than primary background */
  }
}

.orari .lateral {
  width: 45vh;
  display: flex;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
}

.orari {
  width: 100%;
  text-align: center;
}

.immagini {
  box-sizing: border-box;
  margin-top: 25%;
  opacity: 0;
  transform: translate3d(60px, 60px, 0);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  background-color: var(--bg-tertiary);
}

.immagini img {
  background: radial-gradient(var(--hover-state-lighter) 0, var(--hover-state), var(--hover-state-lighter) 100%);
  opacity: 0;
  transform: translate3d(110px, 110px, 0);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.immagini.visible img {
  opacity: 1;
  transform: translate3d(60px, 60px, 0);
}

.immagini.visible {
  opacity: 1;
  transform: translate(0);
}

.logo {
  filter: drop-shadow(0px 0px 8px var(--text-secondary));
}

body {
  background-color: var(--bg-secondary);
}

body * {
  color: var(--text-secondary);
}

.treatments {
  margin-left: 40px;
}

.treatments a {
  margin-left: 2vh;
}

.treatments a {
  margin-left: 2vh;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  padding: 20px;
  max-width: 150px;
  height: 40px;
  background-image: linear-gradient(to top, var(--shade-1) 0%, var(--shade-2) 80%, var(--shade-1) 100%);
  border-radius: 30px;
  border: 1px solid var(--bg-tertiary);
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverted);
  text-shadow: 0 1px var(--shade-2);
}

.side {
  display: flex;
  max-width: 90%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .side {
    display: block;
    margin-left: 50px;
    margin-top: 100px;
    text-align: center;
    width: 100%;
  }

  .card2::after {
    margin-bottom: -110px;
  }

  .side * {
    text-align: center;
  }

  .immagini {
    width: 40%;
    margin-left: auto;
    margin-right: auto;
  }

  .treatments {
    margin-top: 100px;
  }
}

@media (min-width: 768px) {
  .side {
    transform: translate3d(140px, 80px, 0);
  }
}

.second_body a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  padding: 20px;
  max-width: 22vw;
  height: 40px;
  background-image: linear-gradient(to top, #d7d7d782 0%, #ffffff 80%, #d7d7d782 100%);
  border-radius: 30px;
  border: 1px solid #8F9092;
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
}

.second_body a:hover {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
}

.second_body a:active {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}

.second_body a:focus {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}


.iaco,
.ale {
  display: inline-block;
  align-items: center;
  max-width: 45vh;
  padding-left: auto;
  padding-right: auto;
}

.iaco img,
.ale img {
  width: 50%;
  border-radius: 25%;
  background-color: #31489cb7;
  box-shadow: 0px 0px 15px 2px #223370d3;
}

.caro a {
  width: 50%;
}

@media (max-width: 768px) {
  .caro a {
    width: 100%;
  }

  .caro {
    text-align: center;
    align-items: center;
    margin-left: auto;
  }

  .second_body a {
    margin-left: auto;
    margin-right: auto;
  }
}

.second_body a {
  margin-bottom: 12px;
}

.ca a {
  margin-left: 2vh;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  cursor: pointer;
  padding: 20px;
  max-width: 150px;
  height: 40px;
  background-image: linear-gradient(to top, var(--shade-1) 0%, var(--shade-2) 80%, var(--shade-1) 100%);
  border-radius: 30px;
  border: 1px solid var(--bg-tertiary);
  transition: all 0.2s ease;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-inverted);
  text-shadow: 0 1px var(--shade-2);
}

.ca a:hover {
  box-shadow: 0 4px 3px 1px var(--shade-1), 0 6px 8px var(--shade-2), 0 -4px 4px var(--shade-1), 0 -6px 4px var(--shade-2), inset 0 0 3px 3px var(--shade-1);
}

.ca a:active {
  box-shadow: 0 4px 3px 1px var(--shade-1), 0 6px 8px #D6D7D9, 0 -4px 4px var(--shade-1), 0 -6px 4px var(--shade-2), inset 0 0 5px 3px var(--text-tertiary), inset 0 0 30px var(--text-tertiary);
}

.ca a:focus {
  box-shadow: 0 4px 3px 1px var(--shade-1), 0 6px 8px #D6D7D9, 0 -4px 4px var(--shade-1), 0 -6px 4px var(--shade-2), inset 0 0 5px 3px var(--text-tertiary), inset 0 0 30px var(--text-tertiary);
}

.container *,
.second_body * {
  color: #fff;
}