@charset "UTF-8";

/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Main styles */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Sometype+Mono:ital,wght@0,400..700;1,400..700&display=swap");

:root {
  --black: #000;
  --white: #fff;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--black);
}

h1,
h2 {
  font-size: 4rem;
}

.sottotitolo {
  font-size: 1.5rem;
}

.border-radius {
  border-radius: 50px;
}

a,
button {
  text-decoration: none;
  color: var(--black) !important;
  -webkit-appearance: none;
}

.mono-font {
  font-family: "Sometype Mono", monospace;
  text-transform: uppercase;
  font-size: 1rem;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
a {
  margin: 0;
}

.col,
.col-lg,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12 {
  padding-top: calc(var(--bs-gutter-x) * 0.5);
  padding-bottom: calc(var(--bs-gutter-x) * 0.5);
}

.container {
  padding-bottom: 5%;
  max-width: 95vw;
}

.grecaptcha-badge {
  visibility: hidden !important;
}

.arrow {
  border: solid black;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 10px;
}

.up {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.down {
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.desktop-none {
  display: none;
}

/* hero */

.center-hero {
  align-items: center;
  position: relative;
}

.titolo-logo {
  display: flex;
  justify-content: space-between;
  font-size: 6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -6px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.5s linear;
}

.hamburger.open {
  font-size: 3rem;
  transition: all 0.5s linear;
}

.nav-links {
  flex-direction: column;
  text-align: right;
  width: fit-content;
}

.nav-links li a {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s linear;
}

.nav-links li a:hover {
  font-size: 6.2rem;
  transition: all 0.3s linear;
}

.menu-menu-primario-container {
  justify-content: end;
  display: flex;
  padding: 0;
}

.menu-item {
  margin-top: -50px;
}

.site-nav {
  position: absolute;
  background: var(--white);
  display: none;
  justify-content: end;
  align-items: center;
  top: 0;
  right: 0;
  padding: 20px;
  height: 100%;
  z-index: 999999;
}

.site-nav .row {
  justify-content: end;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.site-nav.active {
  display: flex;
}

.site-nav-col {
  padding: 0;
}

.hero2 {
  position: relative;
  height: 65vh;
  width: 100%;
  overflow: hidden;
}

.hero2 .bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0; 
  transition: opacity 1s ease;
}

.contatta {
  text-align: right;
  z-index: 9;
}

.professione h2,
.nome h1 {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.something {
  font-family: "Inter", sans-serif;
}

.something span {
  font-weight: lighter;
}

.end-header-container {
  padding-top: 30px;
}

.end-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

/* portfolio */

.titolo-sezione {
  text-transform: uppercase;
  font-size: 1rem;
  padding: 40px 0 10px;
}

.accordion-item {
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
  color: inherit;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item h3 button {
  border-bottom: 2px solid var(--black);
  font-size: 2rem;
  text-transform: uppercase;
  padding: 0;
  font-weight: bold;
}

.accordion-body p {
  padding: 20px 0;
}

.accordion-body {
  padding: 0 0 20px;
}

.galleria {
  column-count: 4;
  column-gap: 5px;
}

.galleria .elemento img {
  width: 100%;
  margin-bottom: 5px;
  display: block;
}

@media (max-width: 1200px) {
  .galleria {
    column-count: 3;
  }
}
@media (max-width: 768px) {
  .galleria {
    column-count: 2;
  }
}
@media (max-width: 480px) {
  .galleria {
    column-count: 1;
  }
}

.elemento {
  position: relative;
  display: block;
}

.copertina {
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  opacity: 0;
  z-index: 9;
  transition: opacity 0.3s linear;
  color: var(--white);
}

.titolo {
  font-size: 1.2rem;
  text-transform: uppercase;
  position: absolute;
}

.brand {
  font-size: 0.7rem;
  text-transform: uppercase;
  position: absolute;
  bottom: 20px;
}

.elemento:hover .copertina {
  opacity: 1;
  transition: opacity 0.3s linear;
}

/* footer */

.social {
  text-align: center;
  font-size: 36px;
}

.email {
  text-align: right;
}

.titolo-fascia {
  text-transform: uppercase;
  padding-top: 60px;
}

footer {
  border-top: 1px solid #000;
  padding-top: 15px;
}

#contatti .row {
  align-items: center;
}

/* Lightbox full screen popup */
#lightbox {
    display: none; /* nascosto inizialmente */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(225,225,225,0.95); /* overlay scuro */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#lightbox.show {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#lightbox .close, #lightbox .prev, #lightbox .next {
    position: absolute;
    color: #ffa500;
    font-size: 2rem;
    user-select: none;
    transition: all 0.2s ease;
    z-index: 9999999;
}

#lightbox .close:hover,
#lightbox .prev:hover,
#lightbox .next:hover {
    color: #d58c06;
}

#lightbox .close {
    top: 20px;
    right: 30px;
}

#lightbox .prev {
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}

#lightbox .next {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}

body.no-scroll {
    overflow: hidden;
}

/* responsive */
@media (max-width: 768px) {
  .mobile-none {
    display: none;
  }

  .desktop-none {
    display: block;
  }

  .end-header {
    flex-direction: column;
  }

  .something {
    padding-top: 20px;
  }

  .cursor {
    display: none;
  }

  .nav-links li a {
    font-size: 3rem;
  }

  .mono-font {
    font-size: 0.8rem;
  }

  .hamburger.open {
    font-size: 1rem;
  }

  .titolo-logo {
    font-size: 4rem;
  }

  #contatti .row {
    flex-direction: column-reverse;
  }

  .social, .email {
    text-align: left;
  }

  .end-header-container {
  padding-top: 0;
}

}

/* cursor */

body {
  cursor: none; /* nascondi cursore default */
}

a,
button,
[role="button"],
.clickable {
  cursor: none !important; /* elimina la manina */
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999999999999999999;
}

/* croce */
.cursor::before,
.cursor::after {
  content: "";
  position: absolute;
  background: #ffa500;
  transition: transform 0.2s ease;
}
.cursor::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.cursor::after {
  height: 100%;
  width: 2px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* spigoli mirino */
.corners {
  position: absolute;
  inset: 0;
  opacity: 0; /* nascosti di default */
}
.corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid black;
}
.tl {
  top: 0;
  left: 0;
  border-right: none;
  border-bottom: none;
}
.tr {
  top: 0;
  right: 0;
  border-left: none;
  border-bottom: none;
}
.bl {
  bottom: 0;
  left: 0;
  border-right: none;
  border-top: none;
}
.br {
  bottom: 0;
  right: 0;
  border-left: none;
  border-top: none;
}

/* croce ingrandita per hover su elementi cliccabili */
.cursor.pointer-hover::before,
.cursor.pointer-hover::after {
  transform: scale(1.5);
}
