/*GLOBAL*/
/*@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');*/
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --main-color: #0a0b32;
    --bg: #d8e2d0;
}

* {
    font-family: 'Oswald';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: none;
    transition: o.2s linear;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 0.8rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: #fff;
    border-radius: 5rem;
}

body {
    background: var(--bg);
}

section {
    padding: 2rem 7%;
}

.heading {
    text-align: center;
    color: #0a0b32;
    text-transform: uppercase;
    padding-bottom: 1.8rem;
    font-size: 4rem;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 0.9rem 3rem;
    font-size: 1.7rem;
    color: #fff;
    background-color: #007e11;
    cursor: pointer;
    border-radius: 1rem;
}

.btn:hover {
    letter-spacing: 0.2rem;
}

/*HEADER*/

/* HEADER PROFISSIONAL */
.header {
    background: rgba(10, 11, 50, 0.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 7%;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(34, 172, 0, 0.35);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.35);
}

.header .logo img {
    height: 8rem;
    display: block;
}

.header .navbar {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.header .navbar a {
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.06rem;
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 0;
    transition: .3s ease;
}

.header .navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, #00ff66, #22ac00);
    transition: .35s ease;
}

.header .navbar a:hover {
    color: #37ff00;
    text-shadow: 0 0 8px rgba(55,255,0,.6);
}

.header .navbar a:hover::after {
    width: 100%;
}
/*HOME*/
.home {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-image: url("img/placehoolders and drawings/FUNDO_TOPO1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 10rem; /* desce o conteúdo */
}

.home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    z-index: 1;
}

.home .content {
    position: relative;
    z-index: 2;
    max-width: 60rem;
    margin-top: 16rem; /* desce texto e botão */
}

.home .content h3 {
    font-size: 6rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1rem;
}

.home .content p {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
    color: #fff;
}

.home .content .btn {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 1rem 5rem;
    font-size: 1.7rem;
    color: #fff;
    background: #00b618;
    border: 2px solid #fff;
    border-radius: 1rem;
}

.home .content .btn:hover{
    background:#009c15;
}

.vid video {
    width: 100%; 
    height: 62rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hist .content {
    align-items: center;
    padding-bottom: 8rem;
    padding-top: 5rem;
    padding-right: 12rem;
    padding-left: 12rem;
}

.hist .content h1 {
    font-size: 4.5rem;
    padding-top: 2rem;
}

.hist .content p {
    font-size: 1.8rem;
    color: #000000;
}

.hist .content .link {
    color:#000000;
    font-size: 2.5rem;
    padding-top: 15rem;
    text-decoration: none;
}

.hist .content .link:hover {
     color:#22ac00;
    border-bottom: 0.1rem solid #22ac00;
    padding-bottom: 0.5rem;
}

/*PARCEIROS*/

.parceiros .heading {
    font-size: 3rem;
}


/*ABOUT/SERVIÇOS*/  
.about .row {
    display: flex;
    align-items: center;
    background: #f2feff;
    flex-wrap: wrap;
    border: #173424;
}

.about .row .image {
    flex: 1 1 45rem;
}

.about .row .image .img {
    width: 100%;
}

.about .row .content {
    flex: 1 1 45rem;
    padding: 2rem;
}

.about .row .content h2 {
    font-size: 4.5rem;
}

.about .row .content h3 {
    font-size: 3.5rem;
    font-weight: lighter;
    color: black;
}

.about .row .content h4 {
    font-size: 2.5rem;
    font-weight: bold;
    text-decoration: underline;
    color: black;
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.about .row .content p {
    font-size: 1.8rem;
    color: black;
    padding: 1rem 0;
    line-height: 1.8;
}

.about .content .link {
    color:#000000;
    font-size: 2.8rem;
    padding-top: 15rem;
    text-decoration: none;
}

.about .content .link:hover {
    color:#22ac00;
    border-bottom: 0.1rem solid #22ac00;
    padding-bottom: 0.5rem;
}

/*CARDS-SERVIÇOS*/
.container .card {
    display: flex;
    width: fit-content;
    height: fit-content; 
    padding: 2rem, 2rem, 2rem, 2rem;
}

.container .card-body {
    color: gray;
}

.container .card-body .card-title {
    font-size: 2rem;
    color: #0a0b32;
}

.container .card-body .card-text {
    font-size: 1.6rem;
    color: #000000;
}


.link a {
    color: #22ac00;
    font-size: 2rem;
    text-decoration: none;
}

.link a:hover {
    color:#22ac00;
    border-bottom: 0.1rem solid #22ac00;
    padding-bottom: 0.5rem;
}

/*AUTOMAÇÃO*/

.automacao .heading {
    padding-top: 10rem;
}

.automacao p {
    font-size: 2.2rem;
    color: #000000;
    align-items: center;
    padding-bottom: 8rem;
    padding-right: 16rem;
    padding-left: 16rem;
}

.servicos .case h2 {
    font-size: 2.8rem;
    color: #0a0b32;
}

.servicos .case p {
    font-size: 1.8rem;
    color: #000000;
}

.servicos .case .row .column {
    height: 25rem;
    width: 38rem;
}

/*PROJETOS ELÉTRICOS*/
.proj_eletr .heading {
    padding-top: 10rem;
}

.proj_eletr p {
    font-size: 2.2rem;
    align-items: center;
    padding-bottom: 8rem;
    padding-right: 16rem;
    padding-left: 16rem;
}

/*SUPERVISÓRIOS*/
.supervisorios .heading {
    padding-top: 10rem;
}

.supervisorios p {
    font-size: 2.2rem;
    align-items: center;
    padding-bottom: 8rem;
    padding-right: 16rem;
    padding-left: 16rem;
}

/*CONSULTORIAS*/
.consultorias .heading {
    padding-top: 10rem;
}

.consultorias p {
    font-size: 2.2rem;
    align-items: center;
    padding-bottom: 8rem;
    padding-right: 16rem;
    padding-left: 16rem;
}

/*IMPRESSÃO 3D*/
.impressao .heading {
    padding-top: 10rem;
}

.impressao p {
    font-size: 2.2rem;
    align-items: center;
    padding-bottom: 8rem;
    padding-right: 16rem;
    padding-left: 16rem;
}


/*HISTÓRIA/QUEM SOMOS*/
.historia .content {
    align-items: center;
    padding-bottom: 8rem;
    padding-top: 5rem;
    padding-right: 12rem;
    padding-left: 12rem;
}

.historia .content h1 {
    font-size: 4.5rem;
}

.historia .content p {
    font-size: 2rem;
    font-weight: light;
}

/*CASES*/
.titulo h1 {
    align-self: center;
    padding-top: 15rem;
    padding-bottom: 2rem;
}

.servicos .case h3 {
    font-size: 2.8rem;
    color:#046e00;
}

.servicos .case video {
    width: 100%; 
    height: 40rem;
    padding-left: 21rem;
    padding-right: 21rem;
}

/*FOOTER*/
.heading-footer {
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-size: 4rem;
}

.footer {
    background: #0a0b32;
    text-align: center;
    padding: 4rem, 0;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 7%;
}

.footer-col {
    flex: 1 1 25rem;
    margin: 1rem;
}

.footer-col h4 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #b4b4b4;
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: green;
}

.footer .footer-col .social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.footer .footer-col .social-links a {
    color: #b4b4b4;
    font-size: 3rem;
    transition: color 0.3s;
}

.footer .footer-col .social-links a:hover {
    color: green;
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    font-size: 1.6rem;
    margin-top: 2rem;
    color: #b4b4b4;
}

/* medias queries - Responsividade */

/* @media (condição) {
Estilos que seram aplicados se a condição for verdadeira
} */

@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header {
        padding: 1.5rem 2rem;
    }

    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    #menu-btn {
        display: inline-block;
    }

    .home {
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3 {
        font-size: 4.5rem;
    }

    .home .content p {
        font-size: 1.5rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}