@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

.anton-regular {
  font-family: "Anton", sans-serif;
  font-weight: bold;
  font-style: normal;
}

* {
   
    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;
}

body {

    margin: 0;
    padding: 0;
    background-color: whitesmoke;
    color: #2c3345;
    font-family: 'Roboto', sans-serif;
}


.hidden {

  transform: translateY(2rem);
  transition: all 1s;
  opacity: 0;
}

.show {

  transform: translateY(0rem);
  opacity: 1;
  
}

.delay100 {

  transition-delay: 0.1s;
}

.delay200 {

  transition-delay: 0.2s;
}

.delay300 {

  transition-delay: 0.3s;
}

.delay400 {

  transition-delay: 0.4s;
}

nav {

    background-color: #b40d1e;
    height: 5rem;
    position: fixed;
    /*box shadow under the nvabar*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.336);
    justify-content: space-between;
    align-items: center;
    width: 100%;
    top: 0;
    z-index: 999999999999999999;
    display: flex;
}

.logo {

    margin-left: 1rem;
    width: 13rem;   

}

.nav-links {

  display: flex;
    flex-direction: row;
    list-style-type: none;
    margin: 0;
    padding: 0;
    margin-right: 1rem;
}




.nav-links a {

    text-decoration: none;
    color: white;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin: 1rem;
}

nav li::after {

    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width .3s;
}

nav li:hover::after {

    width: 100%;
    transition: width .3s;
}



.hero-section {

  background-image: url("img/img_negozio.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100%;
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  
  
}


.emerson {

  /* man photo on the right of the hero section*/

  margin-top: 1rem;
  z-index: 0;
  filter: brightness(1.1);
  filter: saturate(1.1);
}

.hero-section {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}

.hero-section-text{
  padding: 1rem 1rem 1rem 3rem;
  color: inherit;
  text-align: left;
  border-radius: 0rem 1rem 1rem 0rem;
  opacity: 0.97; 
  background-color: whitesmoke;
  max-width: 50rem;
  width: fit-content;
  height: fit-content;
}
.hero-section-text h1{
    font-size: 3rem;
    letter-spacing: 0.2rem;
    font-family: "Anton", sans-serif; 
  
}
.hero-section-text p{
    font-size: 1.2rem;
    line-height: 1.3;
    text-align: left;
    margin-top: -1.6rem;
    margin-bottom: 2rem;
}

/*  3d BUTTON*/


.button-arrow {

  display: flex;
}

.button-arrow img {

  margin-left: 1rem;
  margin-top: -1rem;
  rotate: -10deg;
  max-width: 100%;
  width: 10rem;
  height: auto;
}


/* CSS */
.button-1 {
  background: hsl(345deg 100% 47%);
  color: whitesmoke;
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem 0.5rem 1rem;
  height: fit-content;
  transition: 0.3s;
}

.button-1:hover {
  background: hsl(345, 100%, 42%);
  transition: 0.3s;
}



.call-now {

  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-weight: 600;
  color: whitesmoke;

}

.call-now a {

  text-decoration: none;
  color: whitesmoke;
  font-weight: 600;
  display: flex;
  transition: 0.3s;
}


@keyframes wavy {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(0.5rem);
  }
  100% {
    transform: translateY(0);
  }
}

/* make the icon (i tag) move in a wavy transition when the anchor tag is pressed*/
.call-now a:hover i {
  animation: wavy 0.5s infinite;
}


.call-now.phone {

  text-align: center;
  display: flex;
  flex-direction: column;
  background-color: #b40d1e;
  width: 100%;
  border-right: 2px solid #ffffff;
}

.call-now.phone a {

  font-size: 1.3rem;
}


.call-now.mail {

  text-align: center;
  display: flex;
  flex-direction: column;
  background-color: #b40d1e;
  width: 100%;
}

.call-now.mail a {

  font-size: 1.3rem;
}

i {

 background-color: rgba(255, 255, 255, 0.144);
 padding: 0.7rem;
 border-radius: 0.5rem;
 margin: 0.5rem;
 height: fit-content;
}

.map {

  width: 100%;
  height: 50vh;
}



/* footer */

footer {

  background-color: #b40d1e;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

a i {

  color: white;
  transition: 0.3s;
  font-size: 1.2rem;
}

a i:hover {

  transform: scale(0.9);
  transition: 0.3s;
}




/**/

/* form contattaci */

form {

  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  border-radius: 0.5rem;
  padding: 2rem;
  max-width: 50rem;
  align-items: center;

}


input, textarea {

  padding: 0.5rem;
  margin: 0.5rem;
  width: 100%;

}

/* input for the files */

input[type="file"] {

  padding: 0.5rem;
  width: 100%;
  border: none;
  background-color: #f1f1f1;
  border-radius: 0.2rem;
}

form button {

  padding: 0.5rem 2rem 0.5rem 2rem;
  background-color: #b40d1e;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 0.2rem;
  transition: 0.3s;
  font-size: 1rem;
  text-transform: uppercase;
  text-align: center;
  width: 100%;

}



form button:hover {

  border: 1px solid #b40d1e;
  background-color: white;
  color: #b40d1e;
  transition: 0.3s;
  
}


/* file upload watermark */
.uploadcare--powered-by {

  display: none;
}

.uploadcare--widget {

  border: 1px dotted #2c3345;
  width: 100%;
  padding: 1rem;
 margin-bottom: 1rem;

}

.uploadcare--widget__button_type_open {

  background-color: transparent;
  color: #2c3345;
  font-weight: bold;
  margin: 0 auto !important;
  display: block;
  width: 100%;
  cursor: pointer;
  visibility: hidden;

}

.uploadcare--widget__button_type_open::after {

  visibility: visible;
  content: "Allega file ⬇️";
  margin: 0 auto;
  display: block;

}

.uploadcare--widget__button_type_open:hover {

  background-color: transparent;
  color: #2c3345;
  font-weight: bold;
  border: none;
}

.uploadcare--widget__button_type_open:focus {

  background-color: transparent;
  color: #2c3345;
  font-weight: bold;
  border: none;
}

/* store hours */
table {
  width: 100%;
  max-width: 50rem;
  margin: 0 auto;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 10rem;
}
th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
th {
  background-color: #f2f2f2;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}
.open {
  background-color: lightgreen !important;
  font-weight: bold;
}
.closed {
  background-color: lightcoral !important;
  font-weight: bold;
}

/* contact form section */

.contact-form {

  background-image: url("../img/Pattern.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  height: 120vh;
  width: 100%;
  align-content: center;
  align-items: center;
 
}

h2 {

  font-size: 2rem;
  padding-top: 7rem !important;
}

/* stili recensioni */

div.WidgetTitle__Header-sc-ruy1gu-2.huflDf {

   /* change the text of the header to "ciao"*/
  display: none;
}

/* fine */

.competenze h2{

  text-align: center;
  font-size: 2rem;
  padding-top: 2rem;
  display: block; 
  width: fit-content; 
  margin: 0 auto;
}



.competenze-container {

  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem;
}

.competenze-container div {

  max-width: 18rem;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  margin: 0.5rem;
  padding: 1rem;
  border-radius: 0.2rem;
   box-sizing: border-box;
   min-height: 20rem;
}

.competenze-container h3,p {

  text-align: center;
  line-height: 1.3rem;
}



.competenze i {

  font-size: 2.5rem;
  text-align: center;
  display: block;
  margin: 1rem;
  color: #b40d1e;
}




/* underline marker*/
h2 {
  padding: 30px 0 10px ;
  position: relative;
  text-align: center;
}

h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0px;
  max-width: 20rem;
  width: 17rem;
  height: 8px;
  transform: skew(-12deg) translateX(-50%);
  background: #b40d1e;
  z-index: 999;
}

.hamburger {

  display: none;
  border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;

}


/* logo carousel */


.logo-slider img {
  width: 10rem;
  height: auto;
  animation: scroll 15s linear infinite;

}

.slide {

  padding-right: 3rem;
}

.slide img {
  min-width: 10rem;
  max-width: 30rem;
  height: 100%;

}

.logo-slide-track {
  width: 100%;
  display: flex;
  gap: 0.5rem;
  align-content: center;
  align-items: center;
  overflow: hidden;
}

.logo-slider {
  margin-top: 20px;
  background-color: whitesmoke;
  padding: 4em 0em;
}

/* instagram feed */

.instagram-feed {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
}

.eapps-instagram-feed-posts-item-image-wrapper {
  
  min-height: 26rem !important;
}

#eapps-instagram-feed-1 .eapps-instagram-feed-header {

  background: transparent !important;
}

.copri {

  background-color: whitesmoke;
  padding: 1.5rem;
  width: 100%;
  margin: 0;
  margin-top: -5rem;
  z-index: 999999999;
}

@keyframes scroll {
  0% {transform: translateX(1300px);}
  100% {transform: translateX(-1000px);}
}

/* media queries */
@media screen and (max-width: 770px) {
  


  .emerson {

    display: none;
  }

  form {

    height: 100%;
    border-radius: 0;
    align-items: center;

  }

  .contact-form {

    height: 100%;
  }

  .hero-section-text {

    max-width: 100%;
    padding: 1rem;
  }

  .call-now p {

    font-size: 1rem;
  }

  .slide img {

    width: 10rem !important;

  }

  @keyframes scroll {
    0% {transform: translateX(500px);}
    100% {transform: translateX(-2000px);}
  }


 
}

@media screen and (max-width: 600px) {

  .hero-section-text h1 {

    font-size: 3rem;
  }

  
   .call-now {
  
      flex-direction: column;
    }

    .call-now.phone {

      border-right: none;
      border-bottom: 2px solid #ffffff;
    }


    .eapps-instagram-feed-posts-item-image-wrapper {
  
      min-height: 30rem !important;
    }
    
  }

  @media screen and (max-width: 550px) {
    
    .hero-section {

      justify-content: center;
      align-items: center;
      
      
    }

    .button-arrow img {

      display: none;
    }

    .button-1 {

      padding: 1rem 5rem 1rem 5rem;
      font-size: 1.1rem;
    }

    

    .hero-section-text h1 {

      text-align: center;
      font-size: 1.55rem;
      margin-bottom: 2rem;
    }

    .hero-section-text p {

      text-align: justify;
      font-size: 1rem;
      max-width: 17.8rem;
      margin-left: auto;
      margin-right: auto;
      
    }

   div.hero-section-text {

      max-width: 22rem;
      border-radius: 1rem;
      padding: 0.5rem 1rem 1rem 1rem;
    }

    .button-arrow {

      display: flex;
      justify-content: center;
      align-items: center;
    }

    form > div {

     flex-direction: column;
     width: 100%;
     overflow: hidden;
    }

  .contact-form {

    display: flex;
    flex-wrap: wrap;
    height: 40rem !important;
  }
   

    .nav-links {
      display: flex;
        flex-direction: column;
        width: 100%;
        background-color: #b40d1e;
        position: absolute;
        top: 5rem;
        left: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
       
  }


  h2 {

    font-size: 1.5rem !important;

  }

    .hamburger {

      display: block;
      border: 0;
      background-color: transparent;
      color: white;
      font-size: 1.5rem;

    }

    .nav-links.active {
    
      max-height: 500px;
      
    }

    .nav-links li {
      margin: 1rem 0;
      border-top: 1px solid whitesmoke;
    }

    .hamburger {
      display: block;
    }

  
    .slide img {

      width: 20rem;

    }

    /* form style */

    .row {

      max-width: 100%;
      padding: 1rem;
   
    }

    .contact-form {

      height: 30rem;
    }
    
  }

  @media screen and (max-width: 400px) {
    
   footer p {
    display: flex;
    flex-direction: row;
      width: 100%;
    }
  }