/* Mobile first (phones/tablets, 0 and up) */
html {
  font-size: 16px; /* valore consigliato 16px, 1rem è uguale a questo valore */
}

body {
  background-color: black;
  font-family: 'Poppins', sans-serif;
  color: white;
}

h1 {
  font-weight: 300;
  font-size: 2rem;
}

h2 {
  font-weight: 500;
  font-size: 1.5rem;
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
}


.body-text {
  font-weight:200;
  font-size: 1rem;
}

.small-text{
  position:relative;
  top: 10px;
  font-size: .8rem;
}

.sub-title{
  font-weight: 200;
}

.subtitle-bio {
  font-weight: 200;
  font-size: 1.2rem;
}

.spacer-bottom{
    height: 10vh;
}

.spacer{
    height: 200px;
}

.spacer-contact{
    height: 4vh;
}

.spacer-title{
    height: 8vh;
}

.link-hover-red:hover{
  color:red;

}

.link-hover-red{
  color: black;
}

.text-align {
  text-align:center;
}

.grey-img {
  filter: grayscale(100%);
}

.segnaposto {
  background-color: grey;
}


/* menu tab */

#hr-ombra {
  height: 1px;
  width: 100vw;
  position:relative;
  top:-1px;
  box-shadow: 0px 12px 16px 60px #000000;
  z-index: 0;
}


.sps #nav1 {
  position: relative;
  z-index: 2;
}

.sps #nav2 {
  position: relative;
  z-index: 1;
  transition: all 250ms ease;
}

.sps--blw #nav2 {
  /* top: -40px; */
  transform: translateY(-110px);
  /* opacity:0; */
}

.sps #name-title {
  position: relative;
  z-index: 1;
  transition: all 250ms ease;
}

.sps--blw #name-title {
  /* top: -40px; */
  transform: translateY(-80px);
  /* opacity:0; */
}


.sps #project-title {
  position: relative;
  z-index: 1;
  transition: all 250ms ease;
}

.sps--blw #project-title {
  /* top: -40px; */
  transform: translateY(-110px);
  /* opacity:0; */

}

.sps--blw #project-subtitle{
  opacity:0;
  transition: opacity 0.3s;
}

.pag-selected{
  font-weight: 600;
  color:red;
}

.pag-link{
  font-weight: 200;
  color:white;
}

.pag-link:hover{
  text-decoration: underline;
}

.line {
 height: 2px;
 width: 15px;
 color:red;
 background-color: red;
 margin-left: 64px;
 position: relative;
 top:-16px;
}

.line-about {
 height: 2px;
 width: 15px;
 color:red;
 background-color: red;
 margin-left: 66px;
 position: relative;
 top:-16px;
}

.mail-icon {
  position: fixed;
  bottom: 5px;
  right: 5px;
}

.arrow-icon {
  position: fixed;
  top: 12px;
  left: 5px;
  z-index: 1000;
}

#mail-button{
  width:43px;
  height:43px;
  background-color: white;
  opacity: 0;
  border-style: none;
  border-radius: 30px;
  position: fixed;
  bottom: 5px;
  right: 5px;
}



/* Overlay effect */

.image {
  display: block;
  width: 100%;
  height: auto;
}



.container-image:hover .overlay {
  opacity: 1;
}

.line-image {
 height: 3px;
 width: 15px;
 color:red;
 background-color: white;
 position: relative;
 bottom:0px;
 margin: 1rem;
 margin-left: 130px;
}

.image-text{
  font-weight: 600;
  font-size: 1.25rem;
}

.image-subtext{
  font-weight: 300;
  font-size: 1.25rem;
}



/* overlay contatti */

#overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color: white;
  z-index: 2;
  cursor: pointer;
  border: 10px solid black;
  box-shadow: inset 0px 0px 0px 10px black;
  box-sizing: border-box;
}




    .scrollable-place {
        height: 1000px;
    }

    .stop-scrolling {
        height: 100%;
        overflow: hidden;
    }


/* .tabstyle {
  position:fixed;
  top: 95px;
 left: 35%;
  margin: auto;
  width: 30%;
  padding: 10px;

}

.nav-link {
  color:white;
}

.nav-link:hover{
  text-decoration: underline;
}

#tab-works {
  background-color: black;
}

.nav-link .active {
  color:red;
}

#tab-about {
  background-color: black;
} */


.text-link{
  color:red;
}
/* Large devices (desktops, 992px and up) -
Questa risoluzione si gestisce in HTML con le colonne con classe "col-lg...""  */
@media (min-width: 992px) {

  h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 2.5rem;
  }

  h3 {
    font-weight: 600;
    font-size: 3rem;
  }

  .text-align {
    text-align:left;
  }



  .spacer{
      height: 300px;
  }

  .spacer-contact{
      height: 8vh;
  }

  .spacer-title{
      height: 12vh;
  }

  .spacer-4{
      height: 4vh;
  }

  .sub-title{
    position: relative;
    top:-20px;
  }




  .sps #nav1 {
    position: relative;
    z-index: 2;
  }

  .sps #nav2 {
    position: relative;
    z-index: 1;
    transition: all 250ms ease;
  }

  .sps #name-title {
    position: relative;
    z-index: 1;
    transition: all 250ms ease;
  }

  .sps--blw #nav2 {
    /* top: -40px; */
    transform: translateY(-130px);
    /* opacity:0; */
  }

  .sps--blw #name-title {
    /* top: -40px; */
    transform: translateY(-100px);
    /* opacity:0; */
  }

  .sps--blw #project-title {
    /* top: -40px; */
    transform: translateY(-164px);
    /* opacity:0; */
  }

  .mail-icon {
    position: fixed;
    bottom: 40px;
    right: 40px;
  }

  .arrow-icon {
    position: fixed;
    top: 12px;
    left: 40px;
    z-index: 1000;
  }


  #mail-button{
    width:43px;
    height:43px;
    background-color: white;
    opacity: 0;
    border-style: none;
    border-radius: 30px;
    position: fixed;
    bottom: 40px;
    right: 40px;
  }

  #overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color: white;
    z-index: 2;
    cursor: pointer;
    border: 20px solid black;
    box-shadow: inset 0px 0px 0px 10px black;
    box-sizing: border-box;
  }

  .overlay {
    position: absolute;
    top: 8px;
    left: 8px;
    height: 94.7%;
    width: 94.7%;
    opacity: 0;
    transition: .5s ease;
    background-color: red;
    z-index: 1000;
  }

  .text-link{
    color:red;
  }

  /* body {
    background-color: orange;
  } */

}
