body, h1, h2, p, ul, li, a {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "Nunito", Helvetica, Arial, sans-serif;
    color: #222222;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

* {
    box-sizing: border-box;
    outline: none;
}

.page-not-found {
    height: 100vh;
    background: #6C7A89;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.menu-bg {
    background: #d0d0d3;
    box-shadow: 0px 6px 9px 0px rgba(0, 0, 0, 0.06);
    z-index: 9000;
    top: 0;
    right: 0;
    left: 0;
    position: fixed;
    padding: 15px 0;
}

.menu {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.menu-logo {
    width: 130px;
}

.menu-logo img {
    margin: 0 10px
}

.menu-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0 10px
}

.menu-nav a {
    font-size: 1.25em;
    display: block;
    padding: 10px;
    color: #222222;
    font-weight: bold;
}

.menu-nav a:hover {
    color: #005C1A;
}

.menu nav li a::after {
	content: '';
	display: block;
	background: #005C1A;
	height: 2px;
	width: 0;
	transition: .3s;
}

.menu nav li a:hover::after, .menu nav li a.active::after {
	width: 100%;
}

/* banner */

.banner {
    height: 100vh;
    position: relative;
}

.banner-image {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
}

.intro-content {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.banner-title {
    font-size: clamp(3.2rem, 8vw, 4.5rem);
    color: #ffffff;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #222222;
}

.intro-content a {
    max-width: 400px;
    display: block;
    border: 4px solid;
    color: #222222;
    font-weight: bold;
    font-size: 1.75em;
    text-align: center;
    padding: 10px 10px;
    background: #d0d0d3;
    border-radius: 1rem;
    opacity: 0.9;
    transition: background-color 0.8s;
    transition: color 0.8s;
    margin: 0 10px;
}

.intro-content a:hover {
    background: #222222;
    color: #d0d0d3;
    opacity: 1;
}

/* Sobre */

.about {
    max-width: 1280px;
    padding: 60px 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.about-info {
    flex: 1 1 600px;
    margin: 0 10px;
}

.about-info h1 {
    font-size: clamp(2.2em, 8vw, 3em);
    margin-bottom: .5em;
}

.about-info p {
    text-align: justify;
    font-size: 1.25em;
    line-height: 1.4;
    margin-bottom: 1em;
    color: #413939;
}

.citation {
    font-style: italic;
}

.citation span {
    color: #222222;
}

.about-img {
    flex: 2 1 500px;
    margin: 0 10px;
}

/* Conhecimentos */

.knowledges-bg {
    background: #D3D9EB;
}

.knowledges {
    padding: 60px 0;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.knowledges-img {
    flex: 1 1 600px;
    margin: 0 10px;
    transform: scaleX(-1);
}

.knowledges-info {
    flex: 2 1 500px;
    margin: 0 10px;
}

.knowledges-info h1 {
    font-size: clamp(2.2em, 8vw, 3em);
    margin-bottom: .5em;
    text-align: center;
}

.knowledges-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.knowledges-item {
    text-align: center;
    margin: 10px;
    padding: 5px;
    border-radius: 1rem;
    box-shadow: 0px 0px 10px 0px rgb(0, 0, 0, 0.9);
    background: #ffffff;
    transition: 0.2s;
    flex: 1 1 150px;
    max-width: 150px;
    cursor: default;
}

.knowledges-item img {
    margin: 0 auto;
}

.knowledges-item:hover {
    color: #ffffff;
    border: 4px solid #ffffff;
}

.knowledges-item:nth-of-type(3n+1) {
    border: 4px solid #0070E3;
}

.knowledges-item:nth-of-type(3n+1):hover {
    background: #0070E3;
}

.knowledges-item:nth-of-type(3n+2) {
    border: 4px solid #E32517;
}

.knowledges-item:nth-of-type(3n+2):hover {
    background: #E32517;
}

.knowledges-item:nth-of-type(3n+3) {
    border: 4px solid #084E96;
}

.knowledges-item:nth-of-type(3n+3):hover {
    background: #084E96;
}

@media (max-width: 1150px) {
    .knowledges-info {
        order: -1;
    }
}

@media (max-width: 360px) {
    .knowledges-item {
        max-width: none;
    }
}

/* Serviços */

.services-bg {
    background: #9797DB;
}

.services { 
    padding: 60px 0;
    max-width: 1280px;
    margin: 0 auto;
}

.services h1 {
    font-size: clamp(2.2em, 8vw, 3em);
    margin: 0 10px 0 10px;
}

.services h3 {
    font-size: 1.25em;
    margin: 0 10px 30px 10px;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.services-item {
    flex: 1 1 360px;
    border: 4px solid #ffffff;
    margin: 10px;
    text-align: center;
    height: 275px;
    background: #ffffff;
    border-radius: 1rem;
    border-left-style: hidden;
    border-right-style: hidden;
    padding: 0 15px;
    transition: 0.2s;
    cursor: default;
}

.services-item svg {
    margin: 10px auto;
}

.services-item h2 {
    padding-bottom: 5px;
}

.services-item:hover {
    box-shadow: 0px 0px 10px #00b9b9;
}

.blue { 
    border-top: 8px solid #0070E3;
}

.blue:hover { 
    border: 8px solid #0070E3;
    color: #0070E3;
}

.red { 
    border-top: 8px solid #E32517;
}

.red:hover { 
    border: 8px solid #E32517;
    color: #E32517;
}

.purple { 
    border-top: 8px solid #084E96;
}

.purple:hover { 
    border: 8px solid #084E96;
    color: #084E96;
}

@media (max-width: 320px) {
    .services-item {
        height: 300px;
    }
}

/* Contato */

.contact {
    max-width: 1280px;
    padding: 60px 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-box {
    border: 4px solid #ffffff;
    border-radius: 1em;
    flex: 1 1 280px;
    margin: 0 10px;
    padding: 10px;
    background: #ffffff;
}

.contact-box h1 {
    font-size: clamp(2.2em, 8vw, 3em);
    margin-bottom: .5em;
    border-bottom: 4px solid #0070E3;
}

.contact-box h3 {
    font-size: 1.5em;
    margin: 0 10px 30px 10px;
}

.contact-box p {
    font-size: 1.25em;
    margin: 0 10px 30px 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.contact-box a {
    padding-left: 10px;
    color: #413939;
    cursor: pointer;
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-social-item {
    margin: 0 10px 30px 10px;
    padding: 10px;
    border: 4px solid #0070E3;
    border-radius: 50%;
    transition: 0.2s;
}

.contact-social-item:hover {
    color: #ffffff;
    background: #0070E3;
}

@media (max-width: 700px) {
    .contact-box p {
        font-size: 0.9em;
    }
}

@media (max-width: 460px) {
    .contact-social-item {
        margin: 0 5px 30px 5px;
    }
    .contact-social-item svg {
        width: 24px;
        height: 24;
    }
}

/* Footer */

.footer {
    display: flex;
    background: #c8c8c8;
    align-items: center;
    padding: 20px 0;
}

.footer p {
    flex: 1;
    text-align: center;
    font-size: clamp(0.5em, 8vw, 1em);
    color: #413939;
}

/* Mobile */

@media only screen and (max-width: 768px) {

    .mobile-btn {
        display: block;
        color: #413939;
        width: 36px;
        height: 36px;
        border-top: 4px solid;
        margin: 20px 20px 0 0;
        float: right;
        position: relative;
        cursor: pointer;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .mobile-btn::after, .mobile-btn::before {
        content: '';
        display: block;
        height: 4px;
        margin-top: 6px;
        background: currentColor;
        position: relative;
        transition: transform .2s ease;
    }

    .mobile-btn.active {
        border-top-color: transparent;
    }
    
    .mobile-btn.active::after {
        margin-top: 0px;
        top: 2px;
        transform: rotate(45deg);
    }
    
    .mobile-btn.active::before {
        margin-top: 0px;
        top: 6px;
        transform: rotate(135deg);
    }

    .menu-nav.mobile-menu {
        position: fixed;
        background: #d0d0d3;
        padding: 10px;
        top: 80px;
        right: 0px;
        opacity: 0;
        visibility: hidden;
        transform: translate3d(0px, -60px, 0px);
        transition: .3s;
        width: 100%;
    }

    .menu-nav ul {
        flex-direction: column;
    }
    
    .menu-nav.mobile-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translate3d(0px, 0px, 0px);
    }
    
    .menu-nav.mobile-menu li {
        display: block;
    }
    
    .menu-nav.mobile-menu li a {
        border-top: 2px solid;
        width: 100%;
        text-align: center;
    }
}