:root {
  --accent: 190, 23, 148;
  --bg-dark: #000040;
  --bg-light: #111c46;
}

body {
  margin: 0 auto 0 auto;
  max-width: 100%;
  background-color: #000040;
  font-family: "Montserrat", sans-serif;
  color: #000040;
}

#logo::after,
#minilogo::after {
  content: "valentinasanna.com";
}

hr {
  border: 1px solid #be1794;
}

.hero {
  text-align: center;
  color: #ffffff;
  margin: auto;
  width: 90%;
  max-width: 600px;
}

.hero h1 {
  font-size: 3vh;
  font-weight: normal;
}

.hero h2 {
  font-size: 3.5vh;
}

.hero p {
  font-size: 2vh;
}

.links {
  text-align: center;
  width: 90%;
  max-width: 1024px;
  margin: auto;
}

#sm-main {
  width: 90%;
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: justify;
  border-radius: 0px 0px 10px 10px;
}

.sm-title {
  margin: auto;
  padding: 10px;
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: #ffffff;
  background-color: #be1794;
  border-radius: 10px 10px 0px 0px;
}

.sitemap {
  width: 90%;
  max-width: 500px;
  margin: auto;
  padding: 20px;
}

.sitemap * {
  font-size: 14px;
}

.sitemap li p {
  padding-left: 20px;
}

.sitemap li li ul {
  padding-left: 20px;
}

.sitemap ul {
  padding-left: 60px;
}

.sm-link {
  font-size: 16px;
}

.pink {
  color: #be1794;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #cccccc;
}

.nmContainer {
  font-family: "Montserrat", sans-serif !important;
  color: #000040 !important;
}

#foto {
  text-align: center;
  width: 30%;
  float: left;
}

.foto {
  border: 5px solid #be1794;
  border-radius: 100%;
  max-width: 200px;
}

#text {
  width: 70%;
  float: right;
}

#left_post {
  margin: 0px auto 20px auto;
  width: 40%;
  float: left;
  text-align: center;
}

#right_post {
  width: 60%;
  float: right;
}

#cleaner {
  clear: both;
  width: 100%;
  display: block;
}

#searchbar {
  width: 80%;
  font-size: 18px;
  padding: 18px;
  font-family: "Montserrat", sans-serif;
  color: #000040;
  background-color: #ffffff;
  border: 2px solid #be1794;
  border-radius: 10px;
  outline: none;
}

#searchbar:focus {
  border: 2px solid #000040;
}

.search svg {
  width: 20px;
  fill: #be1794;
}

.search {
  text-align: center;
}

#list {
  list-style-type: none;
  padding-left: 0px;
  margin-left: 0px;
}

.display-none {
  display: none;
}

.article {
  margin: 0px;
  padding: 20px;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  border-bottom: 2px solid #cccccc;
  border-radius: 0px;
}

.article:hover {
  background-color: #be1794;
  color: #ffffff;
  border-radius: 10px;
}

.article a {
  color: #000040;
}

.article:hover a {
  color: #ffffff;
}

.artpic {
  border: 2px solid #be1794;
  width: 100%;
}

.column {
  float: left;
  padding: 10px;
}

.left {
  width: 25%;
}

.right {
  width: 75%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

#bg-fixed {
  position: fixed;
  max-width: 100%;
  width: 100%;
  height: 100%;
  margin: 0 auto 0 auto;
  background:
    radial-gradient(circle at 30% 30%,
      rgba(var(--accent), .18) 0%,
      rgba(var(--accent), .14) 20%,
      rgba(var(--accent), .09) 40%,
      rgba(var(--accent), .04) 60%,
      transparent 80%),

    radial-gradient(circle at 70% 30%,
      rgba(var(--accent), .18) 0%,
      rgba(var(--accent), .14) 20%,
      rgba(var(--accent), .09) 40%,
      rgba(var(--accent), .04) 60%,
      transparent 80%),

    radial-gradient(circle at 50% 90%,
      rgba(var(--accent), .18) 0%,
      rgba(var(--accent), .14) 20%,
      rgba(var(--accent), .09) 40%,
      rgba(var(--accent), .04) 60%,
      transparent 80%),

    radial-gradient(circle at 50% 45%,
      rgba(var(--accent), .12),
      transparent 45%),

    linear-gradient(180deg,
      var(--bg-dark),
      var(--bg-light) 45%,
      var(--bg-dark));
  background-color: #000040;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}

#container {
  padding: 180px 0 50px 0;
}

#main {
  width: 90%;
  max-width: 1024px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  text-align: justify;
  border-radius: 0px 0px 10px 10px;
}

.container {
  width: 100%;
  margin: auto;
}

.title {
  margin: auto;
  padding: 10px;
  width: 90%;
  max-width: 1024px;
  text-align: center;
  color: #ffffff;
  background-color: #be1794;
  border-radius: 10px 10px 0px 0px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: start;
}

.box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #cccccc;
}

.box:hover {
  border-color: #be1794;
}

.box:has(.service-details[open]) {
  grid-column: 1 / -1;
}

.service-summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 0;
  position: relative;
  padding-right: 5px;
}

.service-summary::-webkit-details-marker {
  display: none;
}

.service-summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
}

.service-details[open] .service-summary::after {
  content: "−";
}

.prezzo {
  color: #00c853;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

.service-content {
  overflow: hidden;
}

.service-content p {
  margin-bottom: 10px;
  line-height: 1.5;
}

.service-content ul {
  padding-left: 18px;
}

.service-content li {
  margin-bottom: 5px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq details summary {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid #cccccc;
  text-align: left;
  transition: 0.3s;
}

.faq details summary:hover {
  background-color: #be1794;
  color: #ffffff;
}

.faq details p {
  padding: 20px;
}

.iconbox {
  height: 60px;
}

.icon {
  vertical-align: middle;
  width: 50px;
  border: 1px solid #cccccc;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  transition: 0.3s;
}

.icon:hover,
.icon:active {
  width: 60px;
}

.center {
  text-align: center;
}

h1 {
  text-align: center;
  font-size: 20px;
}

h2 {
  text-align: center;
  font-size: 18px;
}

h3 {
  margin-top: 0;
}

p {
  margin: 0px;
  font-size: 16px;
}

a {
  color: #be1794;
  text-decoration: none;
}

.button {
  background-color: #be1794;
  color: #ffffff;
  border: 3px solid #be1794;
  padding: 15px 25px;
  margin: 5px;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
}

.button:hover {
  background-color: #000040;
  color: #ffffff;
}

.nmPublishedDate {
  background-color: #be1794 !important;
}

.nmFullNews:HOVER,
.nmNewsURL:HOVER {
  background: #be1794 url(app/web/img/frontend/layout_1/no.png) right center no-repeat !important;
  border-radius: 10px;
}

.nmContainer a {
  color: #be1794 !important;
}

#cookie {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  width: 100%;
  padding: 20px;
}

* {
  box-sizing: border-box;
}

#navbar {
  overflow: hidden;
  background-color: transparent;
  padding: 50px 10px;
  transition: 0.4s;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 99;
}

#navbar a {
  float: left;
  color: #ffffff;
  text-align: center;
  padding: 12px;
  margin: 0 2px 0 2px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  transition: 0.3s;
}

#navbar #logo {
  font-size: 30px;
  transition: 0.4s;
}

#navbar a:hover {
  background-color: #be1794;
  color: #000040;
}

#navbar a.active {
  background-color: #be1794;
  color: #ffffff;
}

#mobile a.active {
  color: #be1794;
}

#navbar-right {
  float: right;
}

footer {
  position: fixed;
  max-width: 100%;
  width: 100%;
  bottom: 0;
}

#foot {
  background-color: #be1794;
  padding: 20px;
  display: none;
}

#footer {
  background-color: #000040;
  padding: 10px;
  color: #ffffff;
  font-size: 12px;
  display: flex;
}

#copyright {
  width: 50%;
  float: left;
}

#privacy {
  width: 50%;
  float: right;
  text-align: right;
}

#privacy a {
  color: #ffffff;
}

#main-tabs {
  width: 90%;
  max-width: 1024px;
  margin: auto;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 3px solid #be1794;
  text-align: justify;
  border-radius: 0px 10px 10px 10px;
}

.title-tabs {
  color: #be1794;
  padding-bottom: 20px;
}

#tabs {
  margin: auto;
  width: 90%;
  max-width: 1024px;
  text-align: left;
  font-size: 18px;
  color: #ffffff;
}

.tabcontent {
  display: none;
}

.tabcontent.tab-active {
  display: block;
}

.tablinks {
  background-color: rgba(204, 204, 204, 0.9) !important;
  width: 30%;
  cursor: pointer;
  padding: 10px 5px 15px 5px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  color: #333333;
  font-weight: bold;
  border-radius: 10px 10px 0px 0px;
  border: 1px solid #cccccc;
  border-bottom: 0px;
}

.tablinks.tab-active {
  background-color: #be1794 !important;
  color: #ffffff;
  border: 0;
  padding: 15px 5px 15px 5px;
}

.tabs {
  overflow: hidden;
}

/* Form contatti */
.contact-form {
  background: transparent;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #cccccc;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  max-width: 700px;
  margin: auto;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 6px;
  color: #000040;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #cccccc;
  font-size: 15px;
  transition: 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #be1794;
  box-shadow: 0 0 5px rgba(255, 47, 163, 0.3);
}

.submit-btn {
  display: block;
  margin: 0 auto;
  background-color: #be1794;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  transition: 0.2s;
}

.submit-btn:hover {
  background: #be1794;
  transform: translateY(-1px);
}

.honeypot {
  display: none;
}

#char-count {
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

#form-message {
  text-align: center;
  border-radius: 6px;
  font-size: 0.95rem;
}

#form-message.success {
  background: #e6f7ec;
  color: #1a7f37;
  border: 1px solid #a6e3b8;
  margin: 20px 0px;
  padding: 12px 16px;
}

#form-message.error,
#form-message.ratelimit,
#form-message.toosoon,
#form-message.spam,
#form-message.invalid {
  background: #fdecea;
  color: #b42318;
  border: 1px solid #f5c2c7;
  margin: 20px 0px;
  padding: 12px 16px;
}

.version {
  font-size: 10px;
  color: #333333;
}

/* Fine form contatti */

#mobile {
  display: none;
}

@media all and (max-width: 900px) {
  .left {
    width: 100%;
  }

  .right {
    width: 100%;
  }

  .artpic {
    width: 50%;
  }

  #container {
    padding: 110px 0 50px 0;
  }

  #foto,
  #text {
    width: 100%;
  }

  #left_post,
  #right_post {
    width: 100%;
  }

  #copyright,
  #privacy {
    width: 100%;
  }

  #navbar {
    display: none;
  }

  #mobile {
    display: block;
  }

  #bar {
    overflow: hidden;
    background-color: #000040;
    color: #ffffff;
    padding: 30px 10px;
    transition: 0.4s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
  }

  #bar #minilogo {
    font-size: 25px;
    float: left;
    transition: 0.4s;
    margin: 0px;
    padding: 0px;
    color: #ffffff;
  }

  #toggle {
    font-size: 30px;
    float: right;
    transition: 0.4s;
    margin: 0px;
    padding: 0px;
  }

  .sidenav {
    position: fixed;
    z-index: 100;
    top: 0;
    right: -100%;
    /* inizialmente nascosto fuori dallo schermo */
    width: 100%;
    height: 100%;
    background-color: #000040;
    color: white;
    transition: right 0.3s ease;
    /* animazione */
    padding: 20px;
  }

  /* Quando il menu è aperto */
  .sidenav.open {
    right: 0;
  }

  #closeBtn {
    float: right;
    padding: 0 20px 0 20px;
    font-size: 8vw;
  }

  ul#mobile-menu {
    margin-top: 20%;
    list-style-type: none;
    text-align: center;
    margin-left: 0;
    padding-left: 0;
  }

  #mobile-menu li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 8vw;
  }

  #sm-main {
    padding: 5px;
  }

  .sitemap li p {
    padding-left: 0px;
  }

  .sitemap ul {
    padding-left: 20px;
  }

  .links .button {
    width: 90%;
    max-width: 400px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px 5px;
    border: none;
    box-shadow: none;
  }

  .form-row {
    flex-direction: column;
    gap: 0px;
  }
}

@media only screen and (orientation: landscape) {
  #closeBtn {
    font-size: 8vh;
  }

  ul#mobile-menu {
    margin-top: 10%;
  }

  #mobile-menu li a {
    font-size: 8vh;
  }
}

@media print {

  #navbar,
  #bar {
    display: none !important;
  }

  #container {
    padding: 0;
  }

  #main-tabs {
    border: 0;
  }

  #tabs {
    display: none;
  }

  .tabcontent {
    display: block;
  }

  footer {
    display: none !important;
  }
}