@font-face {
  font-family: NuromBoldFont;
  src: url(../src/font/Nurom-Bold.otf);
}

body a {
  color: black;
}
body a:hover{
  color: #0000ff;
}
.carousel-item {
  overflow: hidden;
  height: 38rem;
}
.carousel-inner .carousel-item .carousel-item-child {
  background-position: center;
  background-size: cover;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
}
.my-carousel-h1-size {
  font-size:3.4rem;
}
.my-carousel-title {
  color:#000000;
  font-family: NuromBoldFont;
}
.carousel-caption {
  top: 5rem;
  z-index: 10;
}

.history {
  color: black;
  line-height:2;
}

.marketing {
  margin-top:3rem;
}
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: bold;
  color:black;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
  color:black;
  font-size:1.3rem;
}
.marketing svg{
  fill: black;
}

.my-row h1 {
  color:#ffffff;
  line-height:1;
  font-size:3rem;
}
.my-row h2 {
  color:#ffffff;
  margin-top:2rem;
  margin-bottom:4rem;
  font-size:1.5rem;
}
.row-history {
  padding: 4rem;
}
.my-row {
  padding: 4rem;
}

.img-div {
  display:grid;
  place-items:center;
}

.row-certifications {
  background-color:#000000;
}
.row-contact {
  background-color:#0000ff;
}

@media only screen and (max-width: 1024px) {
  .carousel-item {
    height: 32rem;
  }
  .row-history {
    padding: 1rem;
  }
  .history {
    line-height:1.5;
  }
  .my-row {
    padding: 2rem;
  }
  .my-row h1 {
    font-size:2.3rem;
  }
  .my-row h2 {
    font-size:1.3rem;
  }
  .carousel-caption {
    top: 3rem;
    z-index: 10;
  }
  .my-carousel-h1-size {
    font-size:2.8rem;
  }
}

@media only screen and (max-width: 768px) {
  .carousel-item {
    height: 25rem;
  }
  .row-history {
    padding-top: 1rem;
    text-align: center;
    background-color: inherit;
    background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('../src/azienda.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
  }
  .my-carousel-h1-size {
    font-size:2rem;
  }
  .img-div {
    display: none;
  }

  .row-certifications {
    background-color: inherit;
    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('../src/certificazioni_home.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
  }
  .row-contact {
    background-color: inherit;
    background-image: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('../src/contattaci.jpg');
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
  }
  .my-row {
    padding-top: 1rem;
    padding-bottom: 1rem;
    text-align: center;
  }
  .my-row h1 {
    font-size:2.2rem;
    color:#000000;
    line-height:1;
  }
  .my-row h2 {
    font-size:1.8rem;
    color:#000000;
    margin-top:2rem;
    margin-bottom:4rem;
  }
}

@media only screen and (max-width: 576px) {
  .my-row h1 {
    font-size:1.8rem;
  }
  .my-row h2 {
    font-size:1.3rem;
  }
  .sezione {
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center;
    height:32rem;
    width:100%;
  }
  .s-left {
    text-align: left;
    padding: 1.5rem;
    color:#000000;
  }
  .sezione h1 {
    font-family: NuromBoldFont;
    font-size:1.3rem;
  }
  .history {
    line-height:1.5;
    font-size: 1.3rem;
  }
  .marketing .col-lg-4 p {
    font-size:1.3rem;
  }
}
