@charset "utf-8";

@font-face {
  font-family: 'Self Modern';
  src: url('../font/SelfModern-Regular.woff2') format('woff2'),
       url('../font/SelfModern-Regular.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT-America-Expanded-medium';
  src: url('../font/GTAmerica-ExpandedMedium.woff2') format('woff2'),
       url('../font/GTAmerica-ExpandedMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT-America-Expanded-regular';
  src: url('../font/GTAmerica-ExpandedRegular.woff2') format('woff2'),
       url('../font/GTAmerica-ExpandedRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
  font-family: 'GT-America-Expanded-medium';
}
.dekstop{
  position: fixed;
  display: flex;
  align-items: center;
  top: 0px;
  z-index: 999;
  height: 100px;
 
}

.white{
  background-color: #fff;
}

.logo-home{
  padding: 45px  35px 35px 35px;
}
p{
  color: #000;
  font-size: 22px;
}
a{
  font-family: 'GT-America-Expanded-medium';
  text-decoration: none;
  color: #000;
}
img{
  width: 100%;
  border-radius: 0.8rem;
}
.dekstop ul{
  display: flex;
  flex-direction: row;
  width: 95vw;
  justify-content: flex-end;
}
.menu {
  margin: 6rem;
} 
.left{
  float: right;
  width: 80%;
}
li{
  list-style-type: none;
}

/* ------------------------------- */
body {
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow-x: clip; /* Evita lo scroll orizzontale */
}
.gallery {
  margin-top: 7%;
  position: absolute;
  width: 100%;
  height: calc(100vh - 5vh);
  overflow: hidden;
}
.galleriastudio {
  margin-top: 70px;
  position: relative; /* Cambiato da absolute a relative */
  width: 100%;
  min-height: calc(100vh - 100px); /* Aggiunta altezza minima */
  overflow: visible; /* Cambiato da hidden a visible */
}
.gallery-work {
  margin-top: 110px;
  width: 100%;
  height: 100%;
}
.cards {
  position: absolute;
  width: 97%;
  height: 70%;
  top: 7%;
  left: 50%;
  transform: translate(-50% );
}
.cards li {
  list-style: none;
  padding: 0;
  margin: 0;
  width: calc(70vw - 100px);
  height: 100%;
  position: absolute;
  top: 0;
  left: 12%;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cards img{
  border-radius: 1rem;
}
.intro{
  display: flex;
  width: 100%;
  padding:0 5px
}
.text-left{ 
  text-align: end;
  width: 50%;
}
.text-rigth{
  width: 50%;
}
.text-left, .text-rigth{
  font-family: 'Self Modern';
}
/*footer*/
footer{ 
  width: 100vw;
  position: fixed;
  bottom: 5px;
  z-index: 5; /* Assicura che il footer sia sopra altri elementi */
}
section {
  position:relative;
  width: 100%;
  overflow:hidden;
}

section .scroll {
  width: 100%;
  display: flex; 
}
section .scroll div{
  color: #000; 
  font-size: 14px;   
  white-space: nowrap; 
  text-transform: uppercase;
  animation: animate 80s linear infinite;
  animation-delay: -20s;
}
section .scroll div span{ 
  color: #000;
}
section .scroll div:nth-child(2){
  animation: animate2 80s linear infinite;
  animation-delay: -60s;
}
section .scrollt .text2{
  transform: rotate (30deg) translateY(200px) translateX(-200px);     
}

.footermenu{
  display: flex;
}

@keyframes animate 
{
  0%
  {transform:translatex(100%);
  }
  100%
  { transform:translatex(-100%)
  }
}
@keyframes animate2
{
  0%{transform:translatex(0%);}
  100%{ transform:translatex(-200%)}
}
.menufooter{
  margin-right: 10rem;
}


/*finefooter*/
.menufooter {
  margin-right: 5rem;
}

/*contatti*/
.testata,
.titolo{
  font-size: 7em;
  padding-left: 2%;
  width: 100%;
}
.testatac{
  padding: 10px;
}
.flex{
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
}
.contatti, .contattib{
  padding-right: 3em;
  font-size: 14px;
  font-family: 'GT-America-Expanded-regular';
  margin-top: -40px;
}
.contatti{
  width: 50%;
}
.contattib{
  width: 100%;
  margin-top: 5%;
}

/*span{
  font-family: 'Self Modern';
   
}*/
.self{
  font-family: 'Self Modern';
  width: 30%;
}
hr{
  border: 2px solid #000;
  margin-top: 20px;
}
#centow{
  height: 100vh;
  overflow: hidden;
}
.flexa{
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 40%;
  top:300px;
  left: 2%;
  position: sticky;
}
.selfa{
  font-family: 'Self Modern';
  width: 100%;
  font-size: 1.5rem;
}
.selfb{
  font-family: 'Self Modern';
  width: 100%;
  font-size: 2rem;
}
.work{
  display: flex;
  align-items: flex-start;
}
.progetto{
  width: 100%;
  padding: 0 2% 0 10%;
}
.col2{
  display: flex;
}
.flexb{
  width: 50%;
  margin:0 2%
}
.video{
  border-radius:  1rem 1rem 0 0; 
  display: flex;
}
video{
  border-radius: 1rem 1rem 0 0 ;
  height: 100%; 
  width:100%;
  display: flex;
}
.box-video{
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: auto; /* Cambiato da 95vh a auto */
  max-height: 95vh; /* Aggiunto max-height */
}
.selfc{
  font-family: 'Self Modern';
  width: 100%;
  font-size: 3rem;
}
.box{
  display: flex;
  flex-wrap: nowrap;
  min-height: calc(100vh - 70px); /* Altezza minima */
}
.box-galleria{
  display: flex;
  flex-direction: column;
}
.titolo-pagina-progetti{
  line-height: 0;
  width: calc(100vw - 50%);
}
.box-testi{
  position: fixed;
  width: 50%;
  align-self: flex-start;
}
.box-testi-stu{
  width: 60%;
  padding-right: 5rem;
  padding-top: 30px;
}
.verdino{
  background-color: #f5f6f1;
}
.bordino{
  border: 1px solid #d9d8d8;
}

/******STUDIO*********/
.menu-studio{

}

.scroll-verticale{
  display: none;
}

.sticky {
  position: sticky;
  top: 110px; /* Aggiusta in base all'altezza dell'header */
  z-index: 10;
}