:root {
    --main-color: #0078A1;
    --text-color: #fff;
    --dark-color: #666;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--text-color) !important;
    color: var(--dark-color) !important;
    font-family: "Open Sans", sans-serif;
}

a {
    color: var(--main-color);
}

a:hover, a:active, a:focus {
    color: var(--main-color) !important;
    outline: none;
    text-decoration: none !important;
}

p {
    padding: 0;
    margin: 0 0 30px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
}

h1 {
    text-transform: uppercase;
    font-weight: 500;
}

/* Header */

#header {
    padding: 30px 0;
    height: 80px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    transition: all 0.5s;
    z-index: 997;
    background-color: rgba(52, 59, 64, 0.8);
}

#header #logo {
    float: left;
    width: 30px;
    /* height: 50px; */
}

#header #logo h1 {
    font-size: 36px;
    margin: 0;
    padding: 6px 0;
    line-height: 1;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

#header #logo h1 a, #header #logo h1 a:hover {
    color: var(--text-color);
}

#header #logo img {
    padding: 0;
    /* padding-bottom: 30px; */
    margin: 0;
    /* height: 80px; */
}

@media (max-width: 768px) {
    #header #logo h1 {
        font-size: 26px;
    }
    #header #logo img {
        max-height: 40px;
    }
}

#header.header-fixed {
    background: rgba(52, 59, 64, 0.9) !important;
    padding: 20px 0;
    height: 72px;
    transition: all 0.5s;
}

#hero {
    width: 100%;
    height: 100vh;
    background: url(../img/beach-84533_1920.jpg) top center;
    background-size: cover;
    position: relative;
}

@media (min-width: 1024px) {
    #hero {
        background-attachment: fixed;
    }
}

#hero:before {
    content: "";
    background: rgba(0, 0, 0, 0.6) !important;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

#hero .hero-container {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

#hero h1 {
    margin: 30px 0 10px 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    text-transform: uppercase;
    color: #fff;
}

@media (max-width: 768px) {
    #hero h1 {
        font-size: 28px;
        line-height: 36px;
    }
}

#hero h2 {
    color: var(--text-color);
    margin-bottom: 50px;
    font-size: 24px;
}

@media (max-width: 768px) {
    #hero h2 {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }
}

#hero .btn-get-started {
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 28px;
    border-radius: 50px;
    transition: 0.5s;
    margin: 10px;
    border: 2px solid #fff !important;
    color: #fff !important;
}

#hero .btn-get-started:hover {
    background: var(--main-color) !important;
    border: 2px solid var(--main-color) !important;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    /* display: grid;
    grid-template-columns: repeat(5, 1fr); */
    display: flex;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

nav ul li {
    flex: 1;
    margin: 0 0.4rem;
    position: relative;
}

nav ul li a {
    display: block;
    padding: 1.6rem 1rem;
    color: var(--text-color) !important;
    text-decoration: none !important;
    font-weight: 400;
    text-transform: uppercase;
}

/* dropdown */

nav ul li ul {
    position: absolute;
    width: 100%;
    background: var(--text-color);
    border-bottom: 3px solid var(--dark-color);
    display: none;
}

nav ul li ul li a {
    color: var(--dark-color) !important;
    display: block;
    padding: 1rem 0;
}

nav ul li:hover ul {
    display: block;
}

.fa-bars {
    font-size: 2rem;
    color: var(--text-color);
    position: absolute;
    top: 1rem;
    right: .5rem;
    width: 2rem;
    z-index: 1;
}

#toggle, .label {
    display: none;
}

@media (max-width: 768px) {
    /* #nav-menu-container {
        display: none;
    } */
    header {
        display: block;
    }
    nav {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        width: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
    }
    .label {
        display: block;
        cursor: pointer;
    }
    #toggle:checked+ul {
        display: block !important;
    }
}

/* Nav Meu Styling */

.nav-menu a {
    padding: 0 8px 10px 8px;
    text-decoration: none;
    display: inline-block;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 13px;
    outline: none;
}

.nav-menu>li {
    margin-left: 10px;
}

.nav-menu>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--main-color);
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.nav-menu a:hover:before, .nav-menu li:hover>a:before, .nav-menu .menu-active>a:before {
    visibility: visible;
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.nav-menu ul {
    margin: 4px 0 0 0;
    border: 1px solid #e7e7e7;
}

.nav-menu ul li {
    background: #fff;
}

.nav-menu ul li:first-child {
    border-top: 0;
}

.nav-menu ul li a {
    padding: 10px;
    color: #333 !important;
    transition: 0.3s;
    display: block;
    font-size: 13px;
    text-transform: none;
}

.nav-menu ul li a:hover {
    background: var(--main-color);
    color: var(--text-color);
}

.nav-menu ul ul {
    margin: 0;
}

/* Mobile Nav Toggle */

.section-header .section-title {
    font-size: 32px;
    color: #111;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
}

.section-header .section-description {
    text-align: center;
    padding-bottom: 40px;
    color: #999;
}

/* About */

#about {
    background: #fff;
    padding: 80px 0;
}

#about .about-container .background {
    min-height: 370px;
    background: url(../img/workplace-1245776_640.jpg) center top no-repeat;
    margin-bottom: 10px;
}

#about .about-container .content {
    background: #fff;
}

#about .about-container .title {
    color: #333 !important;
    font-weight: 700;
    font-size: 32px;
}

@media (max-width: 768px) {
    #about .about-container .title {
        padding-top: 15px;
    }
}

#about .about-container p {
    line-height: 26px;
}

#about .about-container .icon-box {
    background: #fff;
    background-size: cover;
    padding: 0 0 30px 0;
}

#about .about-container .icon-box .icon {
    float: left;
    background: #fff;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    border-radius: 50%;
    border: 2px solid var(--main-color);
}

#about .about-container .icon-box .icon i {
    color: var(--main-color);
    font-size: 24px;
}

#about .about-container .icon-box .title {
    margin-left: 80px;
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 18px;
    text-transform: uppercase;
}

#about .about-container .icon-box .title a {
    color: #111;
}

#about .about-container .icon-box .description {
    margin-left: 80px;
    line-height: 24px;
    font-size: 14px;
}

/* end of about */

/* facts */

#facts {
    background: #f7f7f7;
    padding: 80px 0 60px 0;
}

#facts .counters span {
    font-size: 48px;
    display: block;
    color: var(--main-color);
}

#facts .counters p {
    padding: 0;
    margin: 0 0 20px 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
}

/* end of facts */

/* services */

#services {
    background: #fff;
    background-size: cover;
    padding: 80px 0 60px 0;
}

#services .box {
    padding: 50px 20px;
    margin-bottom: 50px;
    text-align: center;
    height: 200px;
    position: relative;
    background: #fafafa;
}

#services .icon {
    position: absolute;
    top: -36px;
    left: calc(50% - 36px);
    transition: 0.2s;
    border-radius: 50%;
    border: 6px solid var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    width: 72px;
    height: 72px;
    background: var(--main-color);
}

#services .icon a {
    display: inline-block;
}

#services .icon i {
    color: #fff;
    font-size: 24px;
}

#services .box:hover .icon {
    background: #fff;
    border: 2px solid var(--main-color);
}

#services .box:hover .icon i {
    color: var(--main-color);
}

#services .box:hover .icon a {
    color: var(--main-color);
}

#services .title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

#services .title a {
    color: #111;
}

#services .description {
    font-size: 14px;
    line-height: 24px;
}

/* end of services */

/* Team */

.column {
    float: left;
    width: 33.3%;
    margin-bottom: 16px;
    padding: 0 8px;
}

@media screen and (max-width: 650px) {
    .column {
        width: 100%;
        display: block;
    }
}

.card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.container {
    padding: 0 16px;
}

.container::after, .row::after {
    content: "";
    clear: both;
    display: table;
}

.title {
    color: grey;
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    color: var(--text-color);
    background-color: var(--main-color);
    text-align: center;
    cursor: pointer;
    width: 100%;
}

.button:hover {
    background-color: var(--dark-color);
}

/* end of teams */

/* Gallery */

.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */

.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */

@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

/* end of Gallery */

/* Forms */

/* form {
    position: relative;
    max-width: 350px;
    background: var(--bg-color);
    padding: 3rem;
    border-radius: 6px;
    color: var(--text-color);
    text-align: center;
    box-shadow: -5px -5px 15px rgba(255, 255, 255, 0.8), -5px -5px 15px rgba(0, 0, 0, 0.1);
}
/* Style inputs, select elements and textareas */

input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* Style the label to display next to the inputs */

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}

/* Style the submit button */

input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

/* Floating column for labels: 25% width */

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}

/* Floating column for inputs: 75% width */

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}

/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .col-25, .col-75, input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

.form {
    text-align: center;
    display: inline-block;
    left: auto;
    right: auto;
    text-align: left;
}

input {
    display: block;
    width: 100%;
    height: 50px;
    margin: 16px auto;
    padding: .4rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--main-color);
    border-radius: var(--border-radius);
    border: none;
    outline: none;
    box-shadow: -4px -4px 10px rgba(255, 255, 255, 1), inset 4px 4px 10px rgba(0, 0, 0, 0.1), inset -4px -4px 10px rgba(255, 255, 255, 1), 4px 4px 10px rgba(0, 0, 0, 0.1);
}

input[type='submit'] {
    color: var(--text-color);
    border-radius: var(--border-radius);
    background-color: var(--dark-color);
    margin-top: 2rem;
    cursor: pointer;
    outline: none;
    border: none;
    box-shadow: -2px -2px 6px rgba(255, 255, 255, 1), 2px 2px 6px rgba(0, 0, 0, 0.1);
}

input[type='submit']:active {
    font-weight: bold;
    box-shadow: inset -2px -2px 6px rgba(255, 255, 255, 1), inset 2px 2px 6px rgba(0, 0, 0, 0.1);
}

.form-background {
    color: grey;
}

h2 {
    color: var(--main-color);
}

.feedback {
    color: var(--main-color);
    font-weight: bold;
}

/* end of forms */

/* footer */

.grid-container {
    display: grid;
    grid-column-gap: 50px;
    grid-template-columns: auto auto auto;
    background: #373B44;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #4286f4, #373B44);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #4286f4, #373B44);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    padding: 10px;
    justify-content: center;
    justify-items: center;
}

.grid-item {
    /* background-color: var(--dark-color); */
    /* border: 1px solid rgba(0, 0, 0, 0.82; */
    padding: 20px;
    font-size: 30px;
    text-align: center;
    color: var(--text-color);
}

.grid-item a i {
    color: var(--text-color);
}

.grid-item a i:hover {
    color: var(--dark-color);
    opacity: 0.8;
}

/* end of footer */

/* slide show */

.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 0;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.text {
    color: var(--text-color);
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */

.numbertext {
    color: var(--text-color);
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */

.dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 2px;
    background-color: var(--main-color);
    border-radius: 50%;
    display: inline-block;
    transition: var(--dark-color) 0.6s ease;
}

.active, .dot:hover {
    background-color: var(--dark-color)
}

/* Fading animation */

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 10.5s;
    animation-name: fade;
    animation-duration: 10.5s;
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}