* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #004AAD;
}


#wrapper {
    position: relative;
    overflow-x: hidden;
    scrollbar-width: none;
}

#wrapper::-webkit-scrollbar{
    display: none;
}

/* BASE SUPERIOR - BARRA DE NAVEGAÇÃO */

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    min-height: 8vh;
    border-bottom: 2px solid #004AAD;
}

nav a{
    text-decoration: none;
}

.imglogo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.imglogo img {
    width: 65px;
    height: 65px;
}

h1 {
    font-family: 'Spartan', sans-serif;
    font-weight: bold;
    letter-spacing: -2px;
    color: #004AAD;
    padding-left: 10px;
    font-size: 28px;
}

.imglogo div {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.imglogo p {
    font-family: 'Spartan', sans-serif;
    color: #004AAD;
    font-weight: bold;
    font-size: 14px;
    margin-top: -10px;
}

.navlinks {
    display: flex;
    justify-content: space-around;
    width: 40%;
}

.navlinks li {
    list-style: none;
}

.navlinks a {
    text-decoration: none;
    color: #004AAD;
    text-transform: uppercase;
    font-size: 18px;
    cursor: pointer;
    transition: .5s;
    position: relative;
    letter-spacing: 1px;
}

ul li a:before {
	content: '';
	position: absolute;
	bottom: 3px;
	left: 0px;
	width: 8px;
	height: 8px;
	border: 1px solid #004AAD;
	border-width: 0 0 1px 1px;
	transition: .5s;
	opacity: 0;
}

ul li a:hover:before {
	bottom: -7px;
	left: -7px;
	opacity: 1;
}

ul li a:after {
	content: '';
	position: absolute;
	top: 1px;
	right: 1px;
	width: 8px;
	height: 8px;
	border: 1px solid #004AAD;
	border-width: 1px 1px 0 0;
	transition: .5s;
	opacity: 0;
}

ul li a:hover:after {
	top: -7px;
	right: -7px;
	opacity: 1;
}

.burger {
    display: none;
}

.burger div {
    width: 20px;
    height: 3px;
    margin: 3px;
    background-color: #004AAD;
}

@media screen and (max-width: 1024px){
    .navlinks {
        width: 60%;
    }
}

@media screen and (max-width: 768px){
    body {
        overflow-x: hidden;
    }
    .navlinks {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        z-index: 1;
        border-left: 1px solid #004AAD;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 30%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        background-color: white;
    }
    .burger {
        display: block;
        cursor: pointer;
    }
}

.navlinks-cel {
    transform: translateX(0%);
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-2px, 6px);
    transition: transform 0.5s ease;
}

.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-2px, -6px);
    transition: transform 0.5s ease;
}

/* FIM DA BASE SUPERIOR - BARRA DE NAVEGAÇÃO */

/* BOX DE CONTATO */

#vamola {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    animation: animatezoom 0.6s;
}

@-webkit-keyframes animatezoom { 
    from { 
        -webkit-transform: scale(0) 
    } 
    to { 
        -webkit-transform: scale(1) 
    } 
} 
  
@keyframes animatezoom { 
    from { 
        transform: scale(0) 
    } 
    to { 
        transform: scale(1) 
    } 
} 

/* BOX DE CONTATO */

.boxcontato {
    display: none;
    width: 700px;
    height: 410px;
    margin: auto;
    grid-template-columns: 0.1fr 0.5fr 2fr;
    grid-template-rows: 20% 15% 40% 15% 10%;
    grid-template-areas: 
        "box1 box1 box7"
        "box2 box2 box7"
        "box3 box4 box7"
        "box5 box5 box7"
        "box6 box6 box7";
    border: 2px solid #004aad;
    border-radius: 5px;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
    overflow: hidden;
}

.icone {
    width: 30px;
    height: 25px;
}

.logobranca {
    width: 65px;
    height: 65px;
}

.um {
    background-color: #004aad;
    grid-area: box1;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.dois {
    background-color: #004aad;
    grid-area: box2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.tres {
    background-color: #004aad;
    grid-area: box3;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2px;
}

.quatro {
    background-color: #004aad;
    grid-area: box4;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2px;
}

.cinco {
    background-color: #004aad;
    grid-area: box5;
    color: white;
    border-bottom: 1px solid white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.seis {
    background-color: #004aad;
    grid-area: box6;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.formulario {
    background-color: white;
    height: auto;
    grid-area: box7;
    padding: 10px;
}

label {
    font-size: 14px;
    color: #004aad;
}

input, textarea {
    color: white;
    font-family: 'Poppins', sans-serif;
	font-weight: 300;
	padding: 3pt 8pt;
	box-sizing: border-box;
    margin: 5pt 0;
    font-size: 12px;
}

input {
	width: 100%;
	border: 1px solid #004AAD;
	border-radius: 5px;
	background-color: #004bad63;
}

input:focus {
	outline: none;
	border: 2px solid #004AAD;
}

textarea {
	resize: none;
	width: 100%;
	border: 1px solid #004AAD;
	border-radius: 5px;
	background-color: #004bad63;
}

textarea:focus {
	outline: none;
	border: 2px solid #004AAD;
}

button {
	outline: none;
	border: 1px solid #004AAD;
	border-radius: 10px;
	background-color: #004bad;
	width: 120px;
	height: 30px;
    color: white;
    font-family: 'Poppins', sans-serif;
	cursor: pointer;
	transition: 0.3s ease;
}

button:hover {
	background-color: #004bad63;
    border: 1px solid #004AAD;
}

.buttonbox {
    display: flex;
    justify-content: center;
}

.formulario span{
    display: flex;
    justify-content: flex-end;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

.formulario span:hover {
    font-weight: bold;
}

.testandobotao {
    position: fixed;
    bottom: 0;
}

.boxcontatoMob {
    display: grid;
    max-width: 410px;
    width: 90%;
    height: 570px;
    margin: auto;
    grid-template-columns: 1.5fr 2fr;
    grid-template-rows: 15% 75% 10%;
    grid-template-areas: 
        "box1 box2"
        "box3 box3"
        "box4 box5";
    border: 2px solid #004aad;
    border-radius: 5px;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
    background-color: white;
    overflow: hidden;
    padding: 10px;
    animation: animatezoom 0.6s;
}
.umMob {
    background-color: #004aad;
    grid-area: box1;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.doisMob {
    background-color: #004AAD;
    color: white;
    grid-area: box2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.doisMob p {
    display: none;
}
.formularioMob {
    background-color: white;
    grid-area: box3;
    padding-top: 5px;
}
.quatroMob {
    display: none;
}
.cincoMob {
    display: none;
}
.tresMob {
    background-color: #004AAD;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.seisMob {
    background-color: #004AAD;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.formularioMob span{
    display: flex;
    justify-content: flex-end;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    -webkit-user-select: none;  
    -moz-user-select: none;    
    -ms-user-select: none;      
    user-select: none;
}

.formularioMob span:hover {
    font-weight: bold;
}

/* FIM DO BOX DE CONTATO */

/* PARTE PRINCIPAL DA PAGINA INICIAL */

main {
    display: inline-block;
    background-image: url('./images/fundo1.png');
    background-size: 2923px 2172px;
    padding-top: 20px;
    padding-bottom: 20px;
    height: auto;
    width: 100%;
    min-height: 84vh;
}

.slideimg {
    display: flex;
    height: auto;
    width: 80%;
    min-width: 300px;
    border: 2px solid #004AAD;
    border-radius: 10px;
    margin: auto;
    overflow: hidden;
    position: relative;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
}

@media screen and (max-width: 768px){
    .slideimg {
        width: 100%;
    }
}

.slideimg img {
    height: 100%;
    width: 100%;
    display: none;
}

.slideimg img.ativa {
    display: block;
    animation: slide 1s ease-in-out;
}

@keyframes slide {
    0% {opacity: 0; transform: scale(0.8);}
    100% {opacity: 1; transform: scale(1);}
}

.cards {
    width: 60%;
    margin: auto;
    display: flex;
    margin-top: 20px;
    justify-content: space-around;
}

.card1 {
    background-color: white;
    width: 250px;
    height: 200px;
    border: 2px solid #004AAD;
    border-radius: 10px;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card2 {
    background-color: white;
    width: 250px;
    height: 200px;
    border: 2px solid #004AAD;
    border-radius: 10px;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 768px){
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .card1 {
        font-size: 14px;
        height: 150px;
    }
    .card2 {
        font-size: 14px;
        margin-top: 20px;
        height: 150px;
    }
}

.controleE, .controleD {
    background-color: #03999ea4;
    color: white;
    font-family: sans-serif;
    font-weight: 700;
    font-size: 22px;
    width: 30px;
    height: 40px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controleE:hover, .controleD:hover{
    background-color: #03999e;
    transition: 0.5s ease;
}

.controleE {
    left: 0;
    border-radius: 0 15% 15% 0;
}

.controleD {
    right: 0;
    border-radius: 15% 0 0 15%;
}


/* FIM DA PAGINA INICIAL */

/* BASE INFERIOR DA PAGINA */

footer {
    bottom: 0;
    align-self: center;
    border-top: 2px solid #004AAD;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 100%;
    height: 40px;
    background-color: white;
    padding-left: 10%;
    padding-right: 10%;
}

.iconesfooter{
    display: flex;
    justify-content: space-around;
}

.iconesredessociais {
    width: 30px;
    height: 30px;
    border-radius: 10%;
}

.direitos{
    font-size: 12px;
    display: flex;
    justify-content: center;
    width: 50%;
    margin: 0 auto;
}

.direitos p {
    text-align: center;
}

/* INICIO PAGINA DE PORTFÓLIO */

.galeria {
    column-count: 4;
    margin: auto;
    width: 90%;
}

@media (max-width: 1300px){
    .galeria{
        column-count: 3;
    }
}

@media (max-width: 900px){
    .galeria{
        column-count: 2;
    }
}

@media (max-width: 600px){
    .galeria{
        column-count: 1;
    }
    .galeria img{
        min-width: 400px;
    }
}
.galeria img{
    width: 100%;
    height: 100%;
    transition: .5s ease-out;
}

.galeria img:hover {
    transform: scale(1.03);
}

.boximagem {
    position: relative;
    overflow: hidden;
    margin: 10px;
    border-radius: 2%;
}

.descricao {
    background-color: rgba(3, 153, 158, 0.603);
    color: white;
    position: absolute;
    bottom: 0%;
    width: 100%;
    text-align: center;
    transition: .5s ease-out;
}

.boximagem:hover > .descricao {
    transform: translateY(100%);
}

#zoom {
    display: none;
}

.imagemampliada {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    animation: zoomgaleria .5s ease-in-out;
    overflow-x: auto;
}

@-webkit-keyframes zoomgaleria { 
    from { 
        -webkit-transform: scale(0) 
    } 
    to { 
        -webkit-transform: scale(1) 
    } 
} 
  
@keyframes zoomgaleria { 
    from { 
        transform: scale(0) 
    } 
    to { 
        transform: scale(1) 
    } 
} 

.imagemampliada img {
    width: auto;
    max-height: 98vh;
    margin: auto;
    margin-top: 10px;
    display: block;
}

.imganterior, .imgproxima {
    z-index: 2;
    background-color: rgba(139, 139, 139, 0.534);
    position: fixed;
    top: 50%;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s ease;
}

.imganterior:hover, .imgproxima:hover {
    background-color: rgba(0, 0, 0, 0);
}

.imganterior p, .imgproxima p {
    color: white;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    user-select: none;
    transform: translate(0%, 10%);
}

.imganterior {
    left: 10%;
}

.imgproxima {
    left: 90%;
}

.closebtn {
    position: fixed;
    top: 10px;
    right: 10px;
}

.closebtn p {
    color: rgba(72, 80, 87, 0.692);
    font-family: sans-serif;
    font-size: xx-large;
    font-weight: bolder;
    cursor: pointer;
    user-select: none;
}

/* FIM DA PAGINA DE PORTFÓLIO */

/* INÍCIO DA PAGINA DE SOBRE */

.sobrebox {
    background-color: white;
    border: 2px solid #004AAD;
    border-radius: 0.5%;
    width: 40%;
    margin: auto;
    margin-top: 7%;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
}

@media screen and (max-width: 1200px){
    .sobrebox {
        width: 70%;
    }
}

@media screen and (max-width: 780px){
    .sobrebox {
        width: 90%;
    }
}

.sobrebox h2 {
    font-size: 32px;
}

.sobrebox p{
    font-size: 18px;
    padding-top: 0.5rem;
    line-height: 1.6;
}

.sobrebox img{
    opacity: 0.1;
    position: absolute;
    height: 450px;
    width: 450px;
    top: 40%;
    left: 75%;
}

/* FIM DA PAGINA DE SOBRE */

/* INÍCIO DA PAGINA DE SERVIÇOS */

.servicos1, .servicos2, .servicos3 {
    display: flex;
    background-color: white;
    width: 90%;
    margin: auto;
    border-radius: 10px;
    box-shadow: -10px 10px 10px rgb(112, 112, 112);
}

.imgservicos img {
    height: 350px;
    width: auto;
    border-radius: 10px;
}

@media screen and (max-width: 768px){
    .servicos1, .servicos2, .servicos3 {
        flex-direction: column;
        align-items: center;
        min-width: 383px;
    }

    .imgservicos img {
        max-width: 383px;
    }

}

.servicos2, .servicos3 {
    margin-top: 20px;
}

.textoservicos {
    padding: 20px;
}

.textoservicos ul {
    list-style: none;
    font-size: 18px;
    line-height: 1.6;
}

.textoservicos h2 {
    font-size: 32px;
}

.textoservicos p {
    font-size: 18px;
    padding-top: 0.5rem;
    line-height: 1.6;
}

/* FIM DA PAGINA DE SERVIÇOS */
