/*
Theme Name: Mac Anywhere
Theme URI: https://macanywhere.com.br
Author: Jaqueline Martins
Description: Tema criado para Mac Anywhere em 2024
Version: 1.0
*/

/* RESET */

*, *::before, *::after {
box-sizing: border-box;
}

* {
margin: 0;
}

body {
line-height: 1.5;
-webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
display: block;
max-width: 100%;
}

input, button, textarea, select {
font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
}

p {
text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
}

#root, #__next {
isolation: isolate;
}

html{
    scroll-behavior: smooth; 
}

body{
    margin: 0;
    padding: 0;
    background-color: #EFEFEF;
    font-family: 'Open Sans', Helvetica sans-serif;
    color: #231F20;
}

a{
    color: inherit;
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.container{
    margin: 0 auto;
    width: 1200px
}

nav{
    display: flex;
    padding: 30px 0;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #C4C4C4;
}

nav ul{
    display: flex;
    list-style: none;
    font-size: 16px;
    gap: 80px;
    color: #231F20;
}

nav a:hover{
    color: #F38020;
}


.main-banner{
    background-color: #231F20;
    height: 600px;
    width: 1300px;
    box-sizing: border-box;
    margin: 0 auto;
    border-radius: 25px;
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    filter: drop-shadow(0px 6px 10px #a3a3a3);
}

h1{
    font-size: 48px;
    line-height: 1.2em;
    font-weight: 600;
}

.banner-conteudo{
    display: flex;
    flex-direction: column;
    height: 600px;
    width: 60%;
    justify-content: center;
    align-items: flex-start;
    color: white;
}

.banner-conteudo p{
    font-size: 24px;
    margin-top: 20px;
}

.btn{
    display:inline-block;
    color: white;
    background-color: #F38020;
    padding: 10px 25px;
    border-radius: 25px;
    margin-top: 40px;
    font-size: 20px;
    border: 1px solid #F38020;
    transition: all .5s ease-out;
}

.sobre h1{
    margin-top: 100px;
    text-align: center;
}

.sobre-itens{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.sobre a{
    text-align: center;
}

.item{
    background-color: white;
    padding: 40px;
    border-radius: 25px;
}

.item p{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: 20px;
}

.item img{
    margin: 0 auto;
}

footer{
    background-color: white;
    margin-top: 70px;
}

.footer-itens{
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 200px;
    position: relative;
}

.footer-itens p{
    margin-top: 20px;
    font-size: 16px;
}

.linha{
    position: relative;
}

.linha::before{
    content: " ";
    width: 1px;
    position: absolute;
    height: 150px;
    background-color: #C4C4C4;
    right: -100px;
    top: -20px;
}

.link{
    color: #F38020;
}

.sobre > .container > a{
    text-align: center;
}

.background-produto{
    position: relative;
}

.background-produto img{
    position: absolute;
    top: 25%;
    left: 50%;
    -webkit-transform: translate(-50%, -20%);
    -moz-transform: translate(-50%, -20%);
    -ms-transform: translate(-50%, -20%);
    -o-transform: translate(-50%, -20%);
    transform: translate(-50%, -20%);
    z-index: -1;
}

.produto-texto{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 400px;
    width: 50%;
}

.produto-texto p{
    margin-top: 20px;
    font-size: 22px;
}

.produto-itens{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.produto-itens div{
    background-color: white;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 15px;
    margin-top: 180px;
    align-content: center;
}

.produto-itens h3{
    color: #F38020;
    font-weight: 700;
    font-size: 22px;
}

.produto-itens p{
    font-size: 20px;
}

.current_page_item{
    color: #F38020;
}

.contato-banner{
    padding: 200px 0;
    display: grid;
    gap: 50px;
    justify-items: center;
}

.contato-banner h1{
    text-align: center;
}

.contato-banner p{
    font-size: 24px;
    margin-top: -20px;
    width: 400px;
    text-align: center;
}

.contato-banner img{
    width: 250px;
}

.btn:hover{
    background-color: initial;
    border: 1px solid #F38020;
    color: #F38020;
}

.menu-mobile{
    display: none;
}

#menuToggle {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}
  
#menuToggle input{
    display: flex;
    width: 40px;
    height: 32px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}
  
#menuToggle span{
    display: flex;
    width: 35px;
    height: 3px;
    margin-bottom: 8px;
    position: relative;
    background: #F38020;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 5px 0px;
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
}

#menuToggle span:first-child{
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2){
    transform-origin: 0% 100%;
}

#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-11px, -11px);
    background: #F38020;
}

#menuToggle input:checked ~ span:nth-last-child(3){
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2){
    transform: rotate(-45deg) translate(-11px, 11px);
}

#mobile-itens{
    display: none;
}

.menu-mobile-content{
    position: absolute;
    width: 100%;
    height: 100vh;
    justify-items: center;
    padding: 0 0 40px 0;
    z-index: 2;
    background-color: #231F20;
}

.menu-mobile-content ul{
    list-style: none;
    font-size: 22px;
    text-align: center;
    padding: 0;
    color: #EFEFEF;
    text-align: left;
}

.menu-mobile-content li{
    margin: 20px 0;
    border-bottom: 1px solid #a3a3a3;
    padding: 10px 0;
}

.produto-banner{
    position: relative;
}

.produto-banner::before{
    z-index: -1;
    height: 100%;
    width: 100%;
    top: -200px;
    background-position: center;
    background-repeat: no-repeat;
}

.produto-banner-mobile{
    display: none;
}

@media (max-width: 1300px) {
    .container{
        width: 1000px;
    }

    .main-banner{
        width: 1100px;
    }

    .produto-itens div {
        margin-top: 150px;
    }

    .produto-banner::before{
        background-position-x: 70%;
    }
}

@media (max-width: 1100px) {
    .container{
        width: 800px;
    }

    .main-banner{
        width: 900px;
    }

    h1 {
        font-size: 42px;
    }

    .footer-itens {
        gap: 100px
    }

    .linha::before {
        height: 180px;
        right: -50px;
    }

    .produto-banner::before {
        top: -250px;
        background-size: 1400px;
    }

}

@media (max-width: 900px) {
    .container{
        width: 700px;
    }

    .main-banner{
        width: 800px;
    }

    .produto-itens {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 50px;
    }

    .produto-texto {
        width: 100%;
        height: auto;
        padding: 100px 0 0 0;
        text-align: center;
        align-items: center
    }

    .produto-banner::before{
        display: none;
    }

    .produto-banner-mobile{
        display: block;
        margin-top: -60px;
        z-index: -1;
        position: relative;
    }

    .produto-itens div{
        margin-top: 0;
    }

    .produto-itens div:nth-of-type(3){
        grid-column: span 2;
    }
    
}

@media (max-width: 800px) {
    .container{
        width: 600px;
    }

    .main-banner{
        width: 700px;
        height: 500px;
    }
    
    .banner-conteudo{
        height: 500px;

    }

    .banner-conteudo h1{
        text-shadow: 2px 2px 4px #231F20;
    }

    h1 {
        font-size: 38px;
    }

    .banner-conteudo p {
        font-size: 22px;
        text-shadow: 2px 2px 4px #231F20;
    }

    .item p {
        font-size: 18px;
    }

    .footer-itens {
        gap: 60px;
    }

    .linha::before {
        right: -25px;
    }

    .produto-itens p {
        font-size: 18px;
    }

    .produto-itens h3 {
        font-size: 20px;
    }
}

@media (max-width: 700px) {
    .container{
        width: 500px;
    }

    .main-banner{
        width: 600px;
    }

    .banner-conteudo{
        width: 80%;
    }

    .sobre-itens {
        gap: 40px;
    }

    .footer-itens{
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }

    .footer-itens > div:first-child{
        grid-column: span 2;
    }

    .btn {
        font-size: 18px;
    }

    .linha::before{
        display: none;
    }

    .linha > .logo{
        margin: auto;
    }
}

@media (max-width: 600px) {
    .container{
        width: 400px;
    }

    .main-banner{
        width: 500px;
    }

    .sobre-itens {
        grid-template-columns: 1fr;
    }

    .banner-conteudo {
        width: 100%;
        text-align: center;
    }

    .menu-desktop{
        display: none;
    }

    .menu-mobile, .menu-mobile-nav{
        margin: 0 auto;
        display: flex;
        padding: 20px 0 20px 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 4;
    }

    .footer-itens {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-itens > div:first-child{
        grid-column: span 1;
    }

    .footer-itens > div:nth-child(2){
        border-top: 1px solid #a3a3a3;
        border-bottom: 1px solid #a3a3a3;
        padding: 20px 0;
    }

    #logo-mobile{
        width: 105px;
    }

    .produto-itens{
        grid-template-columns: 1fr;
    }

    .produto-itens div:nth-of-type(3){
        grid-column: span 1;
    }

    .produto-texto {
        padding: 50px 0 50px 0;
    }

    .contato-banner {
        padding: 100px 0;
    }

}

@media (max-width: 500px) {
    .container{
        width: 300px;
    }

    .main-banner{
        width: 400px;
    }

    h1 {
        font-size: 34px;
    }

    .contato-banner img{
        width: 80%;
    }

    .contato-banner p {
        width: auto;
		font-size: 20px;
    }
}

@media (max-width: 400px) {
    .container{
        width: 300px;
    }

    .main-banner{
        width: 320px;
    }

    h1 {
        font-size: 34px;
    }
}

@media (max-width: 320px) {
    .container{
        width: 100%;
    }

    .main-banner{
        width: 100%;
    }
}