body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #199092;
  background: linear-gradient(#3f78c2, #689596);
  font-family: Arial, Helvetica, sans-serif;
}
.gridM {
  margin: 40px;
}
h1,
h2,
h3 {
  color: #1469a5;
  letter-spacing: 2px;
}
p {
  /* color: #408848; */
  text-align: justify;
  font-size: clamp(1.4em, 1.6em, 1.8em);
  /* text-indent: 20px; */
  letter-spacing: 0.5px;
  line-height: 1.4;
}
header,
/* .grid1, */
.grid2,
.grid3,
footer {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}
header {
  align-items: center;
}

.hero {
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
position: relative;
}
.hero::before {
  content: ' ';
  background-image: url(img/ship.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.4;
}
h1 {
  font-size: 7vh;
  text-align: center;
  color: white;
}

/* .hero {
  background-image: url(img/ship.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
  /* height: 20vw; */
  height: auto;
  align-items: center;
  color: white;
  padding-top: 250px;
  padding-bottom: 250px;
  padding-right: 300px;
  padding: 20%;
} */

.hero h1,
h2 {
  color: white;
}

/* .hero h1:hover {
  color: #408848;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}
.hero h2:hover {
  color: #408848;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
} */
header a {
  grid-column: span 6;
  padding: 10px;
  color: #884040;
}

header img {
  height: 50px;
  align-self: center;
  border-radius: 40%;
}
header nav {
  grid-column: 7 / span 6;
  justify-self: end;
  padding: 10px 40px;
  font-weight: bold;
}
header nav a:hover {
  color: #408848;
}

header nav a {
  color: #333;
  margin-left: 10px;
  text-decoration: none;
}

header h1 {
  grid-column: span 12;
  width: 100%;
  height: auto;
  height: calc(100vh - 0px);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5rem, 3rem, 4rem);
}
header #pictograma {
  grid-column: span 12;
  /* width: 15%; */
  height: auto;
  justify-self: end;
  padding: 0 20% 30% 0;
}
/* Hero section */

.intro {
  margin: 60px;
}
.intro p {
  text-indent: 0px;
}
main > h2 {
  grid-column: 3 / span 6;
  /* text-align: center; */
  font-size: 2.5em;
  padding-top: 20px;
  padding-left: 30px;
  font-size: clamp(1.5rem, 2.8rem, 3.5rem);
}
.video {
  margin: auto;
  width: 60%;
  height: auto;
 
}
/* main img {
  grid-column: span 4;
  width: 100%;
  border-radius: 10%;
} */

main .img1 {
  grid-column: span 4;
  width: 60%;
  height: auto;
  border-radius: 45%;
  cursor: pointer;
  transition: opacity 0.15s;
}

main .img2 {
  grid-column: 5 / span 4;
  width: 60%;
  border-radius: 45%;
  cursor: pointer;
  transition: opacity 0.15s;
}
main .img3 {
  grid-column: 9 / span 4;
  width: 60%;
  border-radius: 45%;
  cursor: pointer;
  transition: opacity 0.15s;
}
.img1:hover {
  opacity: 0.8;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}
.img1:active {
  opacity: 0.3;
}
.img2:hover {
  opacity: 0.8;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}
.img2:active {
  opacity: 0.3;
}
.img3:hover {
  opacity: 0.8;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}
.img3:active {
  opacity: 0.3;
}
/* main .device {
  grid-column: 7 / span 6;
  margin: auto;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
} */

.card11 {
  grid-column: span 4;
  background: #fff;
  padding: 10px 20px;
  border-radius: 25%;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
}
.card22 {
  grid-column: 5 / span 4;
  background: #fff;
  padding: 10px 20px;
  border-radius: 25%;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
}
.card33 {
  grid-column: 9 / span 4;
  background: #fff;
  padding: 10px 20px;
  border-radius: 25%;
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.05);
}

main .prod2 {
  margin: 40px 0px 0px 0px;
}
/* Footer  */

footer {
  margin-top: 20px;
  background-color: black;
}
footer #foot1 {
  grid-column: 2 / span 5;
  padding: 10px;
  background-color: black;
}

footer #foot2 {
  grid-column: 7 / span 5;
  justify-self: end;
  padding: 10px;
  background-color: black;
}

footer a {
  text-decoration: none;
  color: #1469a5;
  letter-spacing: 0.5px;
  line-height: 2;
}
footer a:hover {
  color: #ffffff;
}
@media screen and (max-width: 960px) {
  .gridM {
    margin: 0px;
  }
  header {
    /* background-image: url(img/electric-field.jpg); */
  }
  main .intro {
    grid-column: 2 / span 10;
  }
  main > h2 {
    grid-column: 3 / span 9;
    font-size: 2em;
    padding-top: 5px;
    padding-left: 50px;
    /* font-size: clamp(1em, 1.6em, 2.5em); */
  }
  main img {
    grid-column: 2 / span 10;
  }

  main .device {
    grid-column: 1 / span 12;
    /* margin: 10px; */
  }

  main .card1 {
    grid-column: 2 / span 10;
    margin: 10px;
  }
  main .card2 {
    grid-column: 2 / span 10;
    margin: 10px;
  }

  footer #foot1 {
    grid-column: 2 / span 5;
    justify-self: start;
    /* padding: 10px; */
  }

  footer #foot2 {
    grid-column: 7 / span 5;
    justify-self: end;
  }
  @media screen and (max-width: 450px) {
    header h1 {
      font-size: 2.5em;
    }
  }
}
