* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  model-viewer#reveal {
    --poster-color: transparent;
  
  }
  
  #lazy-load-poster {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-image: url("../assets/poster-damagedhelmet.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }
  #button-load {
    background-image: url("../assets/ic_get_app_white_24dp.svg");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: 6% 50%;
    background-color: #000;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    display: inline-block;
    padding: 10px 18px 9px 40px;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(0,0,0,.2), 0 0 4px rgba(0,0,0,.25);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    z-index: 100;
  }

    
  /*====  VARIABLES ============================ */
  :root {
    --header-height: 4.5rem;
  
    /* colors */
    --hue: 350;
    /* HSL color mode */
    --base-color: hsl(var(--hue) 60% 60%);
    --base-color-second: hsl(var(--hue) 65% 88%);
    --base-color-alt: hsl(var(--hue) 57% 53%);
    --title-color: hsl(var(--hue) 99% 8%);
    --text-color: hsl(0 20% 40%);
    --text-color-light: hsl(0 30% 98%);
    --body-color: hsl(0 80% 98%);
  
    /* fonts */
    --title-font-size: 1.875rem;
    --subtitle-font-size: 2rem;
  
    --title-font: 'Zen Maru Gothic', sans-serif;
    --body-font: 'Zen Maru Gothic', sans-serif;
  }
  
  /*===  BASE ============================ */
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font: 400 1rem var(--body-font);
    color: var(--text-color);
    background: var(--body-color);
    -webkit-font-smoothing: antialiased;
  }
  
  .title {
    font: 700 var(--title-font-size) var(--title-font);
    color: var(--title-color);
    -webkit-font-smoothing: auto;
  }
  
  .button {
    background-color: var(--base-color);
    color: var(--text-color-light);
    height: 3.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0 2rem;
    border-radius: 0.25rem;
    font: 500 1rem var(--body-font);
    transition: background 0.3s;    
  }
  
  .button:hover {
    background: var(--base-color-alt);
  }
  
  .divider-1 {
    height: 1px;
    background: linear-gradient(
      270deg,
      hsla(var(--hue), 36%, 57%, 1),
      hsla(var(--hue), 65%, 88%, 0.34)
    );
  }
  
  .divider-2 {
    height: 1px;
    background: linear-gradient(
      270deg,
      hsla(var(--hue), 65%, 88%, 0.34),
      hsla(var(--hue), 36%, 57%, 1)
    );
  }

  body, ul{
    margin: 0px;
    padding: 0px;
  }

  a{
    color: black;
    text-decoration: none;

  }
  .a:hover{
    color: var(--base-color);
  }
  
  /*====  LAYOUT ============================ */
  .container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }
  
  .grid {
    display: grid;
    gap: 2rem;
  }
  
  .section {
    padding: calc(5rem + var(--header-height)) 0;
  }
  
  .section .title {
    margin-bottom: 1rem;
  }
  
  .section .subtitle {
    font-size: var(--subtitle-font-size);
  }
  
  .section header {
    margin-bottom: 4rem;
  }
  
  .section header strong {
    color: var(--base-color);
  }

  img{
    width:75%;
  }
  
/* header */

  #header {
    position: fixed;
    z-index: 999;
    box-sizing: border-box;
    height: 70px;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var( --text-color-light);
   
    
  }
  #menu{
    display: flex;
    list-style: none;
    gap:.5rem;
  }
  
  #menu a {
    display: block;
    padding: .5rem;
  }

  #btn-mobile{
    display: none;
  }


  
    
  /*====  LOGO ============================ */
  .logo {
    font: 700 1.31rem var(--title-font);
    color: var(--title-color);
  }
  
  .logo span {
    color: var(--base-color);
  }
  
  .logo-alt span {
    color: var(--body-color);
  }
  

  /*====  HOME ============================ */

.containergrid1{

    display: grid;
    

    grid-template-columns: 50% 30%;
    justify-content: space-evenly;
    
}
  
#home .text {    

  margin-left: 1.5rem;
  margin-right: 1.5rem;
  
  text-align: center;
  
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

#home .image{ 
  display: inline-flex;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    
    align-items: center;
    justify-content: center; 
}

#home img{
  border-radius: 1.5rem;
  box-shadow: 50px 50px 1px var(--base-color-second);
}

  /*====  ABOUT ============================ */
  #about {    
    background: white;
  }
  .gridAbout{
    display: grid;
    grid-template-columns: 40% 40%;
    justify-content: space-evenly;
  }
  
  #about .image{
    display: inline-flex;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    
    align-items: center;
    justify-content: center;
    
  }

  #about img{
    border-radius: 1.5rem;
    box-shadow: -50px -50px 1px var(--base-color-second);
  }
  
  #about .text {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 5%;
  }


  /*====  SERVICES ============================ */
  .cards{
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1.5rem;
    
  }
  
  .card {
    padding: 3.625rem 2rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 0.25rem solid var(--base-color);
    border-radius: 0.25rem 0.25rem 0 0;
    text-align: center;
    background: white;
  }
  
  .card i {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 5rem;
    color: var(--base-color);
  }
  
  .card .title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  #services{
    display: flex;
    
    justify-content: center;
    
  }
  /*  TESTIMONIALS  */

.profile{
  border-radius: 100%;
  width: 70px;
  margin-top: 2%;

  margin-right: 25px;
}

  #testimonial {
    background: white;
  }
  
  #testimonials .container {
    margin-left: 0;
    margin-right: 0;
  }
  
  #testimonials header {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    margin-bottom: 0;
  }
  
  #testimonials blockquote {
    padding: 2rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
  }
  
  #testimonials blockquote p {
    position: relative;
    text-indent: 1.875rem;
    margin-bottom: 1.5rem;
    color: var(--title-color);
  }
  
  #testimonials blockquote p span {
    font: 700 2.5rem serif;
    position: absolute;
    top: -0.375rem;
    left: -1.875rem;
    color: var(--base-color);
  }
  
  #testimonials cite {
    display: flex;
    align-items: center;
    font-style: normal;
  }
  
  #testimonials cite img {
    width: 2rem;
    height: 2rem;
    object-fit: cover;
    clip-path: circle();
    margin-right: 0.5rem;
  }
  
  /* swiper */
  .swiper-slide {
    height: auto;
    padding: 4rem 1rem;
  }
  
  .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .swiper-pagination-bullet-active {
    background: var(--base-color);
  }
  
  /*====  CONTACT ============================ */
  #contact .grid {
    gap: 4rem;
  }
  
  #contact .text p {
    margin-bottom: 2rem;
  }
  
  #contact .button i,
  #contact ul li i {
    font-size: 1.5rem;
    margin-right: 0.625rem;
  }
  
  #contact ul.grid {
    gap: 2rem;
  }
  
  #contact ul li {
    display: flex;
    align-items: center;
  }
  
  #contact ul li i {
    color: var(--base-color);
  }
  .maps {
    border-radius: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 0,5rem;
  }
  
  /*====  FOOTER ============================ */
  footer {
    background: var(--base-color);
  }
  
  footer.section {
    padding: 4rem 0;
  }
  
  footer .logo {
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  
  footer .brand p {
    color: var(--text-color-light);
    margin-bottom: 0.75rem;
  }
  
  footer i {  
    display: flex;
    flex-direction: row;
    justify-content: end;

    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--text-color-light);
  }
  
  footer .social {
    grid-auto-flow: column;
    width: fit-content;
  }
  
  footer .social a {
    transition: 0.3s;
    display: inline-block;
  }
  
  footer .social a:hover {
    transform: translateY(-8px);
  }
  
  /* Back to top */

  
  
/* MEDIA QUERIES */

@media (max-width: 700px){

  #btn-mobile{
    display: block;
  }

  #menu{
    display: block;
    position: absolute;
    width: 100%;
    top: 70px;
    right: 0px;
    background:var(--text-color-light);
    height: 0px;
    transition: .6s;
    visibility: hidden;
    overflow: hidden;
    z-index: 1000;

  }
  #nav.active #menu{
    height:calc(100vh - 70px);
    visibility: visible;
    overflow: auto;
  }
  #menu a {
    padding: 1rem 0;
    margin: 0 3rem;
    border-bottom: 2px solid var(--base-color);
  }
  #btn-mobile{
    display: flex;
    padding: .5rem 1rem;
    font-size: 1rem;
    border: none;
    background: none;
    cursor: pointer; 
    gap:.5rem;

  }
  #hamburger{
    color: var(--base-color);
    border-top: 2px solid;
    width: 20px;
  }
  #hamburger::after, #hamburger::before{
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin-top: 5px;
    transition: .3s;
    position: relative;
  }

  nav.active #hamburger{
    border-top-color: transparent;
  }

  nav.active #hamburger::after{
    transform: rotate(135deg);
    top: -7px;
  }

  nav.active #hamburger::before{
    transform: rotate(-135deg);    
  }


  
  .containergrid1{
  
    grid-template-columns: 400px;
    grid-template-rows: 50% 50%;

  }

 #home img{
    margin-top: 3rem;
  }
  
  .gridAbout{
    
    grid-template-columns: 400px;
    grid-template-rows: 50% 50%;
  
  }
  
@media (max-width: 1000px){

.cards{
  display: block;
}
.card{
  margin-bottom: 25px;
}

.section .subtitle {
  font-size: 1.5rem;
}
}
}

  
