/* FONT FAMILY */
@font-face {
  font-family: "etna-font";
  src: url("/font/etna-free-font.otf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* Generale ----------------- */

body {
  background-color: #1e1e1e;
  
}

                      /*logo-----*/

header {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

                      /* scala logo */

header img {
  height: auto;
  display: block;
  height: auto;
}

@media (max-width: 768px) {
  header img {
    width: 90%;
  }
}

@media (max-width: 480px) {
  header img {
    width: 100%;
  }
}

.main-container {
  position: relative;
  z-index: 1;
  background-color: #1e1e1e;
  padding: 10px;
}

.parallax {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 1%;
    /* overflow: hidden; */
}

.bg {
  position: fixed;
  /* top: 0; */
  /* left: 0; */
  width: 110%;
  height: 110%;
  transform: translate(-5%, -5%) scale(1.2);
  background-size: cover;
  background-position: center;
  will-change: transform;
  pointer-events: none;
}

#bg1 { background-image: url("/images/Backgroun-line/Background\ line\ lv.1.png");  }
#bg2 { background-image: url("/images/Backgroun-line/Background\ line\ lv.2.png");  }
#bg3 { background-image: url("/images/Backgroun-line/Background\ line\ lv.3.png");  }




                    /*forme angoli -----------*/

/*

.circle-tl {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 20px;
  height: 20px;
  border: 3px solid crimson;
  border-color: crimson;
  border-radius: 50%;
  z-index: 10;
}
 */
/* .square-tr{
  position: fixed;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 3px solid crimson;
  border-radius: 5px;
  z-index: 10;
}

.square-bl{
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 20px;
  height: 20px;
  border: 3px solid crimson;
  border-radius: 5px;
  z-index: 10;
}

.circle-br {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border: 3px solid crimson;
  border-color: crimson;
  border-radius: 50%;
  z-index: 10;
} */

/* ---------------TASTO HOMEPAGE */
.btn-home {
  display: inline-block;
  background: #555;
  color: white;
  text-decoration: none;
  text-align: center;
  padding: 10px 20px;
  margin: 20px 20px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.btn-home:hover {
  border-radius: 60px;
  background-color: #b3ff00;
  transition: all 0.3s ease;
  margin: 20px 40px;
}

.home-img {
  transform: scale(0.6);

}


                      /* paragrafi ----------------------- */

h3 {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  font-size: 1rem;
  color: #b3ff00;
}

                      /* video YOUTUBE --------------------*/ 

.video-yt {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin-left: auto;
  margin-right: auto;
}

.video-yt iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  border-radius: 30px;
}

                    /*--------------- CONTATTAMI BOTTONE */
.contact-me {
  display: flex;
  justify-content: center; 
  align-items: center;  
  font-size: 24px;

  border: 3px solid crimson;
  border-radius: 20px;
  /* background-color: #b3ff00; */

  width: 50%;
  height: 40px;

  margin: 50px;
  margin-left: auto;
  margin-right: auto;
  transition: all 0.5s ease-in-out;
}

.contact-me a {
  display: flex;
  justify-content: center;
  align-items: center;
  
  width: 100%;
  height: 100%;

  font-size: 25px;
  font-weight: bolder;
  font-family: "orbitron";

  text-align: center; 
  color: crimson ;
  text-decoration: none;
  transition: all 0.5s ease-in-out;
  
}

.contact-me:hover {
  background-color: crimson;
  border-radius: 30px;
  border:3px solid #b3ff00;
    width: 45%;

}

.contact-me:hover a {
  color: #000000;
}

                    /*-------------------------- LISTA IMMAGINI */

.img-list {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.img-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
}

                       /*---------------------- RENDER + FOTO*/

.img-1 {          /* CONTENITORE PERSONAGGIO */
  position: relative;
  width: 100%;
  padding-top: 6em;
  margin-left: auto;
  margin-right: auto;
}
                      /* IMAGINE PERSONAGGIO DENTRO DIV*/

.img-1 img {                  
  position: relative;
  width: 100%;
  height: 100%;
}

.img-2 {
  position: relative;
  width: 100%;
  padding-top: 6em;
  margin-left: auto;
  margin-right: auto;
}

.img-2 img {
  position: relative;
  width: 100%;
  height: 100%;
}

                           /*---------CONTATTO MAIL */
                           
.contact-mail {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;

  background-color: none;
  border: 3px solid #1e1e1e;
  border-radius: 20px;
  
  width: 50%;
  height: 60px;
  margin: 50px auto;

  text-align: center;
  transition: all 0.5s ease-in-out;

}

.contact-mail a {
  font-size: 20px;
  font-family:"orbitron";
  text-decoration: underline;
  font-weight: bold;

  color: #1e1e1e;
  width: 100%;
  height: 100%;

  display: flex;              
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.contact-mail:hover {
  background-color: crimson;
  border-radius: 30px;
  width: 45%;

}

.contact-mail a:hover {
  font-size: 25px;
  font-weight: bolder;
  color: #000000;
  text-decoration: none;


}

                  /*---------------------ICONE LINK SOCIAL*/

.link-social {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  /* padding: 10px; */
  margin: 20px auto;
}

.link-social img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  cursor: pointer;
  margin-top: 30px;
  opacity: 75%;
  transition: all 0.5s ease-in-out;
}

.link-social img:hover {
  width: 60px;
  height: 60px;
  gap: 30px;
  opacity: 100%;
}

                      /* FOOTER */


.corsi-footer {
  background-image: url("/images/FOOTER.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center; 
  /* background-color: aliceblue; */

  text-align: center;
  font-family: "etna-font";
  font-size: 17px;
  color: rgb(0, 0, 0);

  margin-top: 2em;
  min-height: 30vh; 
  max-height: 40vh;
  
  position: sticky;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.copy-footer {
  display: flexbox;
  text-align: center;
  align-items: center;
  justify-content: center;
}