@import "layout.css";

.logo,
.text {
  position: fixed;
  top: -45px;
  left: -8px;
  height: 100%;
  width: 100%;
  display: grid;
  align-items: center;
  justify-content: center;
  align-content: center;
}

.text {
  height: 100%;
}

.textPhone {
  opacity: 0;
}

.textImg {
  width: auto;
}

.logo,
.logo img {
  z-index: 1;
}

.logoImg {
  width: 1000px;
}

.logoMask {
  z-index: 999999;
  position: relative;
  width: 500px;
  left: 26px;
  top: 0;
  height: 82vh;
  cursor: pointer;
  /* border: solid 2px yellow; */
}

/* click su bg icon */
.bgIconMask {
  z-index: 9999;
  width: 2rem;
  position: fixed;
  right: 10px;
  top: 10px;
  height: 100px;
  cursor: pointer;
}

@media only screen and (max-width: 730px) {
  .textImg {
    height: auto;
  }

  .logo,
  .text {
    height: 100%;
  }

  .logoImg,
  .textImg {
    width: 100%;
  }

  .bgIconImg {
    width: 4%;
  }

  .logoMask {
    z-index: 999999;
    position: relative;
    width: 60vw;
    left: 3.5vw;
    top: 3vh;
    height: 73vh;
    cursor: pointer;
}
}

 @media only screen and (max-width: 605px) { 
  .logo,
  .text {
    height: 100%;
    scale: 1.3;
  }
  .logoMask {
    width: 63vw;
    top: 12vh;
    height: 105vw;
    position: relative;
    left: 3vw;
}
}

@media only screen and (max-width: 460px) { 
  .logoMask {
    width: 63vw;
    top: 17vh;
    height: 96vw;
    position: relative;
    left: 3vw;
}
}

@media only screen and (max-width:407px) { 
  .logoMask {
    width: 63vw;
    top: 23vh;
    height: 100vw;
    position: relative;
    left: 3vw;
}
} 

/* height minore di 650  vista laptop con altezza sotto la media */ 
@media only screen and (max-height: 749px) and (min-width: 730px) {  
  .textImg, .logoImg {
    width: 800px;
  }
}


/* height minore di 868 */
@media only screen and (max-height: 800px) and (min-width: 730px) {  
  .logoMask {
    top: -3vh;
    height: 86vh;
}
}

@media only screen and (max-height: 800px) and (max-width: 730px) {  
.logoMask {
  z-index: 999999;
  position: relative;
  width: 60vw;
  left: 3.5vw;
  top: 2vh;
  height: 75vh;
  cursor: pointer;
}
}

@media only screen and (max-height: 800px) and (max-width: 550px) { 
  .logoMask {
    top: 8vh;
    height: 62vh;
}
} 
@media only screen and (max-height: 800px) and (max-width: 430px) {  
  .logoMask {
    top: 18vh;
    height: 43vh;
}
}
@media only screen and (max-height: 750px) and (max-width: 430px) { 
  .logoMask {
    width: 60vw;
    top: 12vh;
    height: 53vh;
}
} 

@media only screen and (max-height: 750px) and (max-width: 300px) { 
  .logoMask {
    top: 22vh;
    height: 33vh;
}
} 
@media only screen and (max-height: 645px) and (max-width: 600px) { 
  .logoMask {
    top: -4vh;
    height: 78vh;
}
} 


@media only screen and (max-height: 645px) and (max-width: 450px) { 
  .logoMask {
    top: 0;
    height: 74vh;
}
} 
@media only screen and (max-height: 645px) and (max-width: 340px) { 
  .logoMask {
    top: 9vh;
    height: 50vh;
}
} 
@media only screen and (max-height: 500px) and (max-width: 450px) { 
  .logoMask {
    top: -6vh;
    height: 80vh;
}
} 

@media only screen and (max-height: 500px) and (max-width: 340px) { 
  .logoMask {
    top: -3vh;
    height: 65vh;
}
} 



/* screen too short */

@media only screen and (max-height: 530px) { 

}