@font-face {
    font-family: "HelveticaNeue-Medium";
    src: url("../fonts/HelveticaNeue-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "HelveticaNeue-Thin";
    src: url("../fonts/HelveticaNeue-Thin.ttf") format("truetype");
}

html{
  scroll-behavior: smooth;
}

body {
  margin: 0px 0px 0px 0px;
}

.azienda-container{
  width: 100%;
  padding: 1%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.azienda{
  width: 96%;
  height: 500px;
  margin: 1%;
  display: flex;
  flex-wrap: wrap;
  background-color: #171717;
  color: white;
  border-radius: 2px;
  justify-content: center;
  padding: 0;
}

.azienda-icona{
  color: #fec40e;
  font-family: MIcons;
  font-size: 8em;
  width: 100%;
  height: 100%;
  background: #171717;
  transition: 0.5s;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.azienda-testo{
  display: none;
}

.azienda:hover .azienda-icona{
  height: 8%;
  font-size: 1.5em;
  margin: 0;
  background-color: #777777;
}

.azienda:hover .azienda-testo{
  display: flex;
  flex-wrap: wrap;
  font-family: HelveticaNeue-Thin;
  align-items: center;
  justify-content: center;
  height: 92%;
}

.azienda-testo span{
  width: 100%;
  font-size: 3em;
  height: 22%;
  font-family: HelveticaNeue-Medium;
  color: #fec40e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.azienda-testo p{
  width: 100%;
  text-align: center;
  padding: 5%;
  margin: 0;
  line-height: 2em;
}


#chisiamo p{
  text-align: justify;
}

#map{
  width: 100%;
  height: 60%;
}











.cookies-popup{
  display: block;
}

.form-popup {
  border: none;
  margin: none;
  padding: none;
  z-index: 1;
}

.form-container {
  text-align: center;
  position: fixed;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: auto;
  padding: 10px;
  background-color: white;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0, 0.9);
  color: #ffff;
  font-size: 13px;
}

.form-container span{
  display: inline;
  width: auto;
  margin: none;
  padding-right: 10px;
}

.form-container .popup-btn {
  display: inline block;
  width: auto;
  right: 20px;
  text-align: center;
  font-family: HelveticaNeue-Medium;
  font-size: 15px;
  color: #ffff;
  background-color: #E5E5E570;
  border: none;
  margin: auto 10px;
  padding: 10px 20px;
  cursor: pointer;
}

.form-container .popup-btn:hover {
  background-color: #E5E5E5D5;
}
