/** {
  outline: 1px solid red;
}*/

::selection {
  color: white;     /* testo nero molto trasparente */
  background: rgba(0, 0, 0, 0.745); /* sfondo quasi invisibile */
}

/******************* ELEMENTI COMUNI NELLE PAGINE *******************/

/*NAVBAR*/
.navbar {
  background-color: black !important;
  padding: 10px 20px;
  align-items: center;
}

.navbar-toggler {
  border: 1px solid #ffffff;
  margin-left: 0;
}

#logoBrand {
  width: 6rem;
  cursor: pointer;
  border: 1px solid white;
  margin: 1.2rem;
}

.navbar-brand {
  color: #ffffff !important;
  font-weight: bold;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Navbar Links */
.navbar-nav {
  display: flex;
  justify-content: end;
  flex: 1;
}

.nav-link {
  border: 1px solid black;
  color: #ffffff !important;
  font-weight: 100;
  font-size: 1.5rem;
  margin: 0 60px;
  text-align: center;
  transition: border-color 0.3s ease, color 0.3s ease;
  padding-left: 0.7rem !important;
  padding-right: 0.7rem !important;
}

.nav-link:hover {
  color: #ced4da !important;
  border-color:white;
}

/* Offcanvas Menu */
.offcanvas {
  background-color: #343a40;
  color: #ffffff;
}

.offcanvas-title {
  color: #ffffff;
}

.numeroDiTelefono {
  color: black;
  border: 2px solid black;
  background-color: white;
  padding: 1rem;
}

.numeroDiTelefono:hover {
  color: white;
  border: 2px solid white;
  background-color: black;
  cursor: pointer;
}

/*FOOTER*/

.container-fluid {
  background-color: black;
  display: flex;
  justify-content: center;
}

footer div.row div {
  padding-right: 1rem;
}

.footer-logo {
  border: 2px solid white;
  margin-bottom: 1rem;
  height: 5rem;
}

footer {
  color: white;
  background-color: black;
}

footer li,
.footer-link {
  font-weight: 100;
}

.footer-link {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-link:hover {
  color: lightgray;
}

/******************* INDEX *******************/

/*video*/

.video {
  width: 100%;
  height: 52vh;
  object-fit: cover;
  display: block;
  filter: brightness(90%);
}

/*introduzione*/

@keyframes opacyEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.terzoLivello {
  margin: 2rem;
  animation: opacyEffect 1.5s;
}

.testoPresentazione {
  font-size: 1.2rem;
  margin: 2rem;
  color: black;
}

.linkScopri {
  display: inline-block;
  font-size: 1.2rem;
  border: 1px solid black;
  padding: 1.2rem 3rem;
  color: black;
  margin-bottom: 2rem;
  text-decoration: none;
  transition: all 0.5s ease;
}

.linkScopri:hover {
  background-color: black;
  color: white;
  border-color: white;
  transform: scale(1.1);
}

/*cards*/

@keyframes fromD {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

.cards-container {
  animation: fromD 1.5s ease;
}

.cards-container div.col-12 {
  margin-bottom: 4rem;
}

.card {
  border: 1px solid black;
  width: 100%;
  height: 100%;
  padding: 1rem;
  transition: 0.5s ease;
  box-shadow: 2.5px 5px 6px #888888;
}

.card:hover {
  background-color: rgba(211, 211, 211, 0.76);
  border-color: rgba(130, 130, 130, 0.76);
}

.logo,
.titoloCard,
.card-text {
  color: black;
}

.logo,
.titoloCard {
  justify-self: center;
  margin: 0.6rem;
}

.logo {
  font-size: 3rem;
  user-select: none;
}

.percheSceglierci {
  margin-bottom: 5rem;
}

.card-sx,
.card-dx {
  background-color: black;
  padding: 2rem;
  width: 100%;
  border-radius: 25px;
}

/******************* CHI SIAMO *******************/

div.titolo-pagina.row {
  --bs-gutter-x: 0;
}

.titolo-pagina {
  height: 25rem;
  background-color: black;
}

.href-home {
  color: black;
  transition: 0.3s ease;
}

.href-home:hover {
  color: gray;
}

.settori {
  padding-bottom: 4rem;
}

.paragrafo {
  padding-left: 20px;
  padding-right: 20px;
}

.immagine-settore {
  width: 6vw;
}

.elenco-strategie {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 40px;
  unicode-bidi: isolate;
}

@media (max-width: 768px) {
  .immagine-settore {
    width: 30%;
  }
}

.settore-civile,
.settore-industriale,
.settore-militare,
.settore-terziario {
  transition: all 0.5s ease;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.settore-civile:hover,
.settore-industriale:hover,
.settore-militare:hover,
.settore-terziario:hover {
  transform: scale(1.1);
}

.brochure {
  margin-bottom: 5rem;
}

.download-brochure {
  display: inline-block;
  font-size: 1.2rem;
  border: 1px solid black;
  padding: 1.2rem 3rem;
  color: black;
  text-decoration: none;
  border-radius: 0 0 35px 0;
  transition: all 0.5s ease;
}

.download-brochure:hover {
  background-color: black;
  color: white;
  border-color: white;
}

/******************* CERTIFICAZIONI *******************/

/*video e titolo*/

.contenitoreVideo {
  position: relative;
  width: 100%;
  height: auto;
}

.videoCertificazione {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  filter: brightness(30%);
}

/* TITOLO E PARAGRAFO */

.titolo {
  display: flex;
  flex-direction: column;
  margin-top: 6.5rem;
}

.titolo-certificazioni {
  width: 100%;
}

.paragrafo-certificazioni {
  font-size: 1.5rem;
}

/* certificazioni */
.containerCertificazioni {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 8rem;
  margin-bottom: 8rem;
  padding: 0 1rem;
}

.certificazione {
  position: relative;
  flex: 1 1 250px;
  max-width: 500px;
  margin: 0.5rem;
  transition: transform 0.3s ease;
  margin-top: 0;
}

.certificazionePNG {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  animation: slide-out 1s ease-in-out;
}

.certificazione:hover .certificazionePNG {
  transform: scale(1.01);
}

.nome-certificato {
  margin: 4rem;
  border-radius: 10px 0 10px 0;
  border: 1px solid white;
  background-color: black;
  color: white;
  transition: all 0.5s;
}

.nome-certificato:hover {
  background-color: white;
  border-color: black;
  color: black;
}

/* ANIMAZIONE */
@keyframes slide-out {
  from {
    opacity: 0;
    transform: translateY(15%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/******************* LAVORA CON NOI *******************/

.presentazione-lavoro {
  padding-bottom: 6.5rem;
  height: auto;
}

.titolo {
  margin-bottom: 2rem;
}

.contattaci {
  margin-bottom: 5rem;
}

.invio-mail {
  display: inline-block;
  font-size: 1.2rem;
  border: 1px solid black;
  padding: 1.2rem 3rem;
  color: black;
  text-decoration: none;
  border-radius: 0 0 0 35px;
  transition: all 0.5s ease;
}

.invio-mail:hover {
  background-color: black;
  color: white;
  border-color: white;
}