
@font-face {
    font-family: multicolore;
    src: url(fonts/multicolore.otf);
    font-display: swap;
}

@font-face {
    font-family: EXO;
    src: url(fonts/Exo-VariableFont_wght.ttf);
    font-display: swap;
}

@font-face {
    font-family: openSans;
    src: url(fonts/OpenSans-VariableFont_wdth\,wght.ttf);
    font-display: swap;
}



html {
    scroll-behavior: smooth;
    height: 100%;
}


body {
    margin: 0;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.stop-scrolling {
    height: 100%;
    overflow: hidden;
}


p{
    font-family: openSans;
}


#mainPage{
    padding: 0;
}

.parallax {
    background-image: url(imagens/17.1.avif);
    filter: brightness(95%) contrast(85%);
    font-family: multicolore;
    min-height: 100vh;
    background-position: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    width: 100%;
    height: 100%;
}

.skeleton{
    animation: skeleton-loading 1s linear infinite alternate;
    border-radius: 10px;
}

@keyframes skeleton-loading {
    0%{
        background-color: hsl(200, 20%, 70%);
    }
    100%{
        background-color: hsl(200, 20%, 95%);
    }
}


button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border-radius: 1.625rem;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more {
    width: 12rem;
    height: auto;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #17AC4B;
    opacity: 0.8;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: '';
    top: -0.25rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 1.85rem;
    color: white;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button:hover .circle {
    cursor: pointer;
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
    cursor: pointer;
}

button:hover .button-text {
    color: #fff;
    cursor: pointer;
}

.centered {
    margin: 0;
    position: absolute;
    top: 80%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

section {
    margin: auto 90px auto 90px;
    padding: 1em;
}


h3 {
    color: rgb(2, 99, 2);
    font-family: multicolore;
    text-align: center;
    margin-bottom: 60px;
}

h2 {
    text-align: center;
}

.texto {
    color: rgb(88, 88, 88);
    text-align: center;
}

.texto-servicos {
    color: rgb(88, 88, 88);
    text-align: center;
    font-size: medium;
}

span {
    color: black;
}

p {
    padding-bottom: 15px;
    border-bottom-width: 5px;
}


header {
    padding: 1em;
    background-color: #17AC4B;
    width: 100%;
    opacity: 0.9;
    position: fixed;
    font-family: multicolore;
    z-index: 10;
}

.header-on-scroll{
    background-color: #17AC4B;
    box-shadow: 0px 0px 15px 2px black;
    width: 100%;
    opacity: 1;
    position: fixed;
    font-family: multicolore;
    z-index: 10;
}


.lang{
    display: inline-block;
}


#mainPage{
    margin: 0;
}


h1 {
    text-align: center;
    font-size: x-large;
    font-family: multicolore;
}

header.img {
    display: flex;
}


nav {
    margin-left: 250px;
    overflow: hidden;
    padding: 1em;
    display: inline-block;
}

nav a {
    font-family: multicolore;
    position: relative;
    border-bottom: 2px;
    color: white;
    font-weight: bolder;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-size: 17px;
}


nav a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
}

nav a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom;
    transition: transform 0.2s ease-out;
    cursor: pointer;
}

.toggle-btn-menu{
    top: 40px;
    right: 65px;
    display: none;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all .5s ease-in-out;
}

.toggle-btn{
    height: 10px;
    right: 6px;
    width: 40px;
    height: 4px;
    position: absolute;
    background: white;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

.toggle-btn::before,
.toggle-btn::after{
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: white;
    border-radius: 5px;
    transition: all .5s ease-in-out;
}

.toggle-btn::before{
    transform: translateY(-14px);
}

.toggle-btn::after{
    transform: translateY(14px);
}

.toggle-btn-menu.open .toggle-btn{
    transform: translateX(-50px);
    background: transparent; 
}

.toggle-btn-menu.open .toggle-btn::before{
    transform: rotate(45deg) translate(35px, -35px);
}

.toggle-btn-menu.open .toggle-btn::after{
    transform: rotate(-45deg) translate(35px, 35px);
}


.links {
    display: inline-block;
}

.links a {
    color: black;
    text-decoration: none;
}

.links a:hover {
    color: gray;
    text-decoration: none;
    cursor: pointer;
}


hr {
    color: #17AC4B;
    width: 25%;
    margin-bottom: 30px;
}

#progress{
    background-color: #17AC4B;
    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0,2);
    transition: ease-in-out all 0.15s;
    transform: scale(1);   
    cursor: pointer;
    z-index: 999;
}

#progress:active{
    transform: scale(0.8);
}

#progress-value{
    font-family: 'Poppins', sans-serif;
    display: block;
    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 40px;
    color: #001a2e;
}   


#servicos1{
    margin: 0;
    background-color: lightgray;
    background-attachment: fixed;
    overflow: hidden;
}

footer {
    padding: 0.5em;
    background-color: #24242b;
    color: lightgray;
    text-align: center;
    font-size: x-small;
}

.gridSobre{
    display: grid; 
    grid-template-columns: 333px 333px 333px; 
    gap: 30px;
    justify-content: center;
    grid-auto-flow: row;
    grid-template-areas:
      "col1 col2 col3";
    font-size: larger;
    font-family: fantasy;
}



.col1{
    grid-area: col1;
}

.col2{
    grid-area: col2;
}

.col3{
    grid-area: col3;
}

.fade-in {
    opacity: 0;
    transition: opacity 250ms ease-in;
}

.fade-in.appear{
    opacity: 1;
}


.grid-container-services{  display: grid;
    grid-template-columns: 500px 500px;
    grid-template-rows: 50px 400px 400px 400px 400px;
    gap: 30px 80px;
    justify-content: center;
    grid-auto-flow: row;
    grid-template-areas:
      "subtitleServicos subtitleServicos"
      "text image"
      "image2 text2"
      "text3 image3"
      "image4 text4";
    font-size: large;
    margin-top: 40px;
    margin-bottom: 50px;
}
  
.subtitleServicos{
    grid-area: subtitleServicos;
    margin: 0;
}

.text { grid-area: text; 
    text-align: justify;
    margin: auto;
    font-family: fantasy;
    transform: translateX(-50%);
}
  
.image { grid-area: image;
    border-radius: 15px;
    filter: drop-shadow(0.2rem 0.2rem 0.5rem #000000);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(50%);
}
  
.image2 { grid-area: image2; 
    border-radius: 15px;
    filter: drop-shadow(0.2rem 0.2rem 0.5rem #000000);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}
  
.text2 { grid-area: text2; 
    text-align: justify;
    margin: auto;
    font-family: fantasy;
    transform: translateX(50%);
}

.text3 { grid-area: text3; 
    text-align: justify;
    margin: auto;
    font-family: fantasy;
    transform: translateX(-50%);
}

.image3 { grid-area: image3; 
    border-radius: 15px;
    filter: drop-shadow(0.2rem 0.2rem 0.5rem #000000);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(50%);
}

.image4 { grid-area: image4; 
    border-radius: 15px;
    filter: drop-shadow(0.2rem 0.2rem 0.5rem #000000);
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateX(-50%);
}
  
.text4 { grid-area: text4; 
    text-align: justify;
    margin: auto;
    font-family: fantasy;
    transform: translateX(50%);
}


.text, 
.text2,
.text3,
.text4,
.image,
.image2,
.image3,
.image4{
    transition: opacity 250ms ease-in, transform 450ms ease-in;
    opacity: 0;
}

.text.appear, 
.text2.appear,
.text3.appear,
.text4.appear,
.image.appear,
.image2.appear,
.image3.appear,
.image4.appear{
    transform: translateX(0);
    opacity: 1;
}

.nomeServicos{
    font-family: exo;
    font-size: 40px;
    color: rgb(114, 111, 111);
}

.verMaisServicos{
    font-family: multicolore;
    background-color: #17AC4B;
    border-radius: 10px;
    border: 4px double #cccccc;
    color: #eeeeee;
    text-align: center;
    font-size: 20px;
    padding: 20px;
    width: 200px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: ease-in-out all 0.15s;
    transform: scale(1);    
    cursor: pointer;
    margin: 0;

}

.verMaisServicos:hover {
    background-color: #19be53;
  }

.verMaisServicos:active{
    transform: scale(0.8);
}


.h3-servicos {
    text-align: center;
}


.textoCentrado {
    text-align: center;
    display: inline-block;
    width: 80%;
}

.grid-container-contact {
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-areas:
    "col1 col2 col3"
    "links links links";
    grid-gap: 30px;
    padding: 1em;
    justify-content: center;
}

.links{
    grid-area: links;
    width: 94%;
}

.links a{
    padding: 1em;
    
}   

.grid-container-contact>.container-contact {
    text-align: center;
    padding: 1em;
    font-size: 15px;
}


.email:link {
    color: rgb(88, 88, 88);
    text-decoration: none;
}

.email:hover {
    color: green;
    text-decoration: underline;
    cursor: pointer;
}

.email:visited {
    color: rgb(88, 88, 88);
}

.mapa:link {
    color: rgb(88, 88, 88);
    text-decoration: none;
}

.mapa:hover {
    color: green;
    text-decoration: underline;
    cursor: pointer;
}

.mapa:visited {
    color: rgb(88, 88, 88);
}

.mapa:visited:hover {
    color: green;
    cursor: pointer;
}



@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}


.gallery{
    position: relative;
    width: 75%;
    margin: auto auto 100px auto ;
    display: grid;
    grid-template-columns: 335px 335px 335px;
    grid-auto-rows: 270px 270px;
    grid-gap: 35px;
    grid-auto-flow: dense;
    justify-content: center;
}

.gallery-item{
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    animation: fadeIn .5s;
    border-radius: 10px;
}

.popup-image{
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    height: 100%;
    width: 100%;
    z-index: 1000;
    display: none;
}

.popup-image span{
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
}

.popup-image span:hover{
    color: rgb(131, 131, 131);
}

.popup-image img{
    position: absolute;
    max-width: 950px;
    max-height: 700px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    object-fit:contain;
    animation: fadeIn .5s;
}

.slide-left,
.slide-right{
    padding: 1em;
    font-size: 50px;
    border-radius: 0;
    top: 45%;
    color: #fff;
}

.slide-left{
    right: 500px;
    border-radius: 5px 0 0 5px;
}

.slide-right{
    left: 500px;
    border-radius: 0 5px 5px 0;
}

.slide-left:hover,
.slide-right:hover{
   color: rgb(131, 131, 131);
}



.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-family: EXO;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    border-radius: 10px;
    transition: opacity 0.2s;
}

.overlay > *{
    transform: translateY(20px);
    transition: transform 0.2s;
}

.overlay:hover{
    opacity: 1;
}

.overlay:hover > *{
    transform: translateY(0);
}

.overlay--blur{
    backdrop-filter: blur(2px);
}

.title{
    font-size: 2em;
    cursor: pointer;
}

.title:after{
    content: '';
    position: absolute;
    width: 65%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 18%;
    background-color: white;
}

.title:hover:after {
    transform: scaleX(1);
    transform-origin: bottom;
    transition: transform 0.2s ease-out;
    cursor: pointer;
}


.filters{
    margin-bottom: 40px;
}

.filter-btn{
    font-family: multicolore;
    background-color: white;
    border-radius: 15px;
    border: 2px solid #17AC4B;
    color: #17AC4B;
    text-align: center;
    font-size: 15px;
    padding: 15px;
    width: 215px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: ease-in-out 0.15s;
    transform: scale(1);
    cursor: pointer;
    margin-bottom: 5px;
}

.filters button:hover {
    background-color: #17AC4B;
    color: white;
}

.filters button:active {
    transform: scale(0.8);
}

.highlight{
    font-family: multicolore;
    background-color: #17AC4B;
    border-radius: 15px;
    border: 2px solid #17AC4B;
    color: white;
    text-align: center;
    font-size: 15px;
    padding: 15px;
    width: 215px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: ease-in 0.15s;
    transform: scale(1);
    cursor: pointer;
    margin-bottom: 5px;
}

.quote-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    margin: auto auto 4vh;
}

.quote-text {
    width: 100%;
    height: 100%;
    background: radial-gradient(
      ellipse at center,
      #03ac43 0%,
      #03ac43 70%,
      rgba(0, 128, 172, 0) 70.3%
    );
    position: relative;
    margin: 0;
    color: white;
}
  
.quote-text p {
    height: 100%;
    font-size: 18px;
    line-height: 1.25;
    padding: 0;
    text-align: center;
    font-style: italic;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.3);
  }
  
.quote-text::before {
    content: "";
    width: 50%;
    height: 100%;
    float: left;
    shape-outside: polygon(
      0 0,
      98% 0,
      50% 6%,
      23.4% 17.3%,
      6% 32.6%,
      0 50%,
      6% 65.6%,
      23.4% 82.7%,
      50% 94%,
      98% 100%,
      0 100%
    );
    shape-margin: 7%;
}
  
.quote-text p::before {
    content: "";
    width: 50%;
    height: 100%;
    float: right;
    shape-outside: polygon(
        2% 0%,
        100% 0%,
        100% 100%,
        2% 100%,
        50% 94%,
        76.6% 82.7%,
        94% 65.6%,
        100% 50%,
        94% 32.6%,
        76.6% 17.3%,
        50% 6%
    );
    shape-margin: 7%;
}
  
.quote-author {
    width: 100%;
    position: absolute;
    bottom: 25px;
    font-size: 14px;
    text-align: center;
    font-style: italic;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.3);
  }
  
.quote-wrapper::before {
    content: "\201C";
    font-size: 270px;
    height: 82px;
    line-height: 0.78;
    line-height: 1;
    position: absolute;
    top: -48px;
    left: 0;
    z-index: 1;
    font-family: sans-serif, serif;
    color: lightgray;
    opacity: 0.9;
}

h2{
    font-size: x-large;
    font-family: multicolore;
}


@keyframes fade{
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}

#contactos1{
    background-color: lightgrey;
    margin: 0;
}


/* ============================================================================================= */

.loader {
  display: inline-block;
  width: 120px;
  height: 100px;
  position: relative;
  top: 50%;
  animation: loader 2s linear;
}

.loader-wrapper {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 100;
    background-color: white;
}

@keyframes loader {
  0% {
    transform: scale(0.1);
  }

  50% {
    transform: scale(0.5);
  }

  100%{
    transform: scale(1);
  }

}

@keyframes rotate {
    0% {
      transform: rotate(0deg)
    }
    25% {
      transform: rotate(45deg)
    }
    50% {
      transform: rotate(90deg)
    }
    75% {
      transform: rotate(135deg)
    }
    100% {
        transform: rotate(180deg)
      }
}


.nav-toggle, .nav-toggle-label{
    display: none;
}

/* ============================================================================================= */

@media (max-width: 1300px) {

    .gallery{
        width: 80%;
    }

    .grid-container-services{  display: grid;
        grid-template-columns: 500px 500px;
        grid-template-rows: 50px 400px 400px 400px 400px;
        gap: 30px 80px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "subtitleServicos subtitleServicos"
          "text image"
          "image2 text2"
          "text3 image3"
          "image4 text4";
        font-size: large;
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .nomeServicos{
        font-family: exo;
        font-size: 30px;
        color: rgb(114, 111, 111);
    }
    
    .verMaisServicos{
        font-family: multicolore;
        background-color: #17AC4B;
        border-radius: 10px;
        border: 4px double #cccccc;
        color: #eeeeee;
        text-align: center;
        font-size: 20px;
        padding: 20px;
        width: 200px;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: ease-in-out all 0.15s;
        transform: scale(1);    cursor: pointer;
        margin: 0;
    
    }
}

@media (max-width: 1200px) {


    nav {
        margin-left: 10px;
        overflow: hidden;
        padding: 1em;
        display: inline-block;
    }


    .grid-container-services{  display: grid;
        grid-template-columns: 450px 450px;
        grid-template-rows: 50px 300px 300px 300px 300px;
        gap: 100px 80px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "subtitleServicos subtitleServicos"
          "text image"
          "image2 text2"
          "text3 image3"
          "image4 text4";
        font-size: large;
        margin-top: 40px;
        margin-bottom: 50px;
    }
    
    .verMaisServicos{
        font-family: multicolore;
        background-color: #17AC4B;
        border-radius: 10px;
        border: 4px double #cccccc;
        color: #eeeeee;
        text-align: center;
        font-size: 15px;
        padding: 15px;
        width: 150px;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: ease-in-out all 0.15s;
        transform: scale(1);    cursor: pointer;
        margin: 0;
    }

    .nomeServicos{
        font-size: 30px;
    }

    .text,
    .text2,
    .text3,
    .text4{
        font-size: large;
    }

    .popup-image img{
        max-width: 700px;
    }

    .slide-left{
        right: 350px;
        border-radius: 5px 0 0 5px;
    }
    
    .slide-right{
        left: 350px;
        border-radius: 0 5px 5px 0;
    }



}

@media (max-width: 1000px) {

    .gallery{
        grid-template-columns: 400px 400px;
    }

    .centered{
        top: 80%;
        left: 54%;
    }

    nav{
        display: none;
        align-items: center;
    }
    
    nav.active{
        display: flex;
        animation: fadeIn .7s;
    }
    
    nav{
        flex-direction: column;
        margin-top: 10px;
    }

    nav a{
        padding: 1rem;
    }

    .toggle-btn{
        display: flex;
        margin-left: 3em;
        cursor: pointer;
    }

    .toggle-btn-menu{
        display: flex;
    }


    .gridSobre{
        display: grid; 
        grid-template-columns: 300px 300px; 
        gap: 30px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "col1 col2"
          "col3 col3";
        font-size: larger;
        font-family: fantasy;
        margin-bottom: 50px;
    }

    
    .col1{
        grid-area: col1;
    }
    
    .col2{
        grid-area: col2;
    }
    
    .col3{
        grid-area: col3;
    }


    .grid-container-contact {
        display: grid;
        width: 95%;
        align-items: center;
        grid-template-columns: 250px 250px 250px;
        grid-template-areas:
        "col1 col2 col3"
        "links links links";
        grid-gap: 50px;
        row-gap: 5px;
        padding: 1em;
        justify-content: center;
    }


    .links{
        width: 100%;
    }

    .grid-container-services{  display: grid;
        grid-template-columns: 300px 300px;
        grid-template-rows: 50px 250px 250px 250px 250px;
        gap: 100px 80px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "subtitleServicos subtitleServicos"
          "text image"
          "image2 text2"
          "text3 image3"
          "image4 text4";
        font-size: large;
        margin-top: 40px;
        margin-bottom: 100px;
    }

    .verMaisServicos{
        font-family: multicolore;
        background-color: #17AC4B;
        border-radius: 10px;
        border: 4px double #cccccc;
        color: #eeeeee;
        text-align: center;
        font-size: 15px;
        padding: 10px;
        width: 150px;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: ease-in-out all 0.15s;
        transform: scale(1);    cursor: pointer;
        margin: 0;
    }

    .nomeServicos{
        font-size: 20px;
    }

    .text,
    .text2,
    .text3,
    .text4{
        font-size: large;
    }

}

@media (max-width: 920px) {
    .popup-image img{
        max-width: 500px;
    }

    .slide-left{
        right: 250px;
        border-radius: 5px 0 0 5px;
    }
    
    .slide-right{
        left: 250px;
        border-radius: 0 5px 5px 0;
    }

}

@media (max-width: 820px) {

    hr{
        width: 50%;
    }

    .centered .slogan{
        font-size: 35px;
    }

    .gallery{
        grid-template-columns: 500px;
        grid-auto-rows: 350px 350px;
    }


    .gridSobre{
        display: grid; 
        grid-template-columns: 300px; 
        gap: 30px;
        row-gap: 1px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "col1"
          "col2"
          "col3";
        font-size: larger;
        font-family: fantasy;
        margin-bottom: 50px;
    }
    
    .col1{
        grid-area: col1;
    }
    
    .col2{
        grid-area: col2;
    }
    
    .col3{
        grid-area: col3;
    }

    .grid-container-services{  display: grid;
        grid-template-columns: 450px;
        grid-template-rows: 150px 300px 350px 300px 350px 300px 350px 300px 350px;
        gap: 10px 80px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "subtitleServicos"
          "image" 
          "text"
          "image2" 
          "text2"
          "image3" 
          "text3"
          "image4" 
          "text4";
        font-size: large;
        margin-top: 40px;
        margin-bottom: 50px;
    }
    
    .verMaisServicos{
        font-family: multicolore;
        background-color: #17AC4B;
        border-radius: 10px;
        border: 4px double #cccccc;
        color: #eeeeee;
        text-align: center;
        font-size: 15px;
        padding: 15px;
        width: 150px;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: ease-in-out all 0.15s;
        transform: scale(1);    cursor: pointer;
        margin: 0;
    }

    .nomeServicos{
        font-size: 20px;
    }

    .text,
    .text2,
    .text3,
    .text4{
        font-size: large;
    }

    .grid-container-contact {
        display: grid;
        align-items: center;
        grid-template-columns: 300px;
        grid-template-areas:
        "col1" 
        "col2" 
        "col3"
        "links";
        grid-gap: 50px;
        row-gap: 5px;
        padding: 1em;
        justify-content: center;
    }

    .gallery{
        grid-template-columns: 400px;
        grid-auto-rows: 300px;
    }
    
}

@media (max-width: 700px) {
    
    .popup-image img{
        max-width: 400px;
        max-height: 500px;
    }

    .slide-left{
        top: 80%;
        right: 100px;
        border-radius: 5px 0 0 5px;
    }
    
    .slide-right{
        top: 80%;
        left: 100px;
        border-radius: 0 5px 5px 0;
    }
}


@media (max-width: 500px) {

    .centered .slogan{  
        font-size: 30px;
    }

    header{
        text-align: left;
    }

    nav{
        z-index: 1000;
    }

    nav.active{
        position: relative;
        min-height: 100vh;
    }

    header{
        opacity: 1;
    }

    nav a{
        padding: 2rem;
        right: 15px;
    }

    section{
        margin: auto;
        padding: 1em;
    }

    .popup-image img{
        width: 85%;
    }
}

@media (max-width: 430px) {


    .centered .slogan{
        font-size: 25px;
    }

    nav a:after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: white;
    }
    
    
    nav a:hover:after {
        transform: scaleX(1);
        transform-origin: bottom;
        transition: transform 0.2s ease-out;
        cursor: pointer;
    }

    section {
        margin: auto;
        padding: 1em;
    }


    .gridSobre{
        display: grid; 
        grid-template-columns: 300px; 
        gap: 30px;
        row-gap: 1px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "col1"
          "col2"
          "col3";
        font-size: larger;
        font-family: fantasy;
        margin-bottom: 50px;
    }
    
    .col1{
        grid-area: col1;
    }
    
    .col2{
        grid-area: col2;
    }
    
    .col3{
        grid-area: col3;
    }

    .grid-container-services{  display: grid;
        grid-template-columns: 300px;
        grid-template-rows: 200px 230px 400px 230px 400px 230px 400px 230px 400px;  
        gap: 10px 80px;
        justify-content: center;
        grid-auto-flow: row;
        grid-template-areas:
          "subtitleServicos"
          "image" 
          "text"
          "image2" 
          "text2"
          "image3" 
          "text3"
          "image4" 
          "text4";
        font-size: large;
        margin-top: 40px;
        margin-bottom: 50px;
    }
    
    .verMaisServicos{
        font-family: multicolore;
        background-color: #17AC4B;
        border-radius: 10px;
        border: 4px double #cccccc;
        color: #eeeeee;
        text-align: center;
        font-size: 15px;
        padding: 15px;
        width: 150px;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: ease-in-out all 0.15s;
        transform: scale(1);    cursor: pointer;
        margin: 0;
    }

    .nomeServicos{
        font-size: 20px;
    }

    .text,
    .text2,
    .text3,
    .text4{
        font-size: large;
    }
}

@media (max-width: 400px) {
    section {
        margin: auto;
        padding: 1em;
    }

    .centered .slogan{
        font-size: 23px;
    }

    .gallery{
        grid-template-columns: 300px;
        grid-auto-rows: 230px;
    }

    .slide-left{
        top: 75%;
        right: 40px;
        border-radius: 5px 0 0 5px;
    }
    
    .slide-right{
        top: 75%;
        left: 40px;
        border-radius: 0 5px 5px 0;
    }

}


@media (max-width: 330px) {
    section {
        margin: auto;
        padding: 1em;
    }

    .grid-container-contact{
        width: 90%;
    }

    .gridSobre p{
        font-size: smaller;
    }

    .gallery{
        grid-template-columns: 300px;
        grid-auto-rows: 250px;
    }
}