html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
}

/* Mobile style */
@media only screen and (max-width:500px) {
    body {
        font-size: 1.2em;
    }

    h3 {
        text-align: center;
    }

    .section {
        padding: 1em 1em;
    }

    .landing h3 {
        font-size: 1.5em;
    }

    .section2 p {
        text-align: justify;
    }

    video {
        height: 100vh;
    }

    .section5-column1 {
        background-color: #63B995;
        border-radius: 5px 5px 0 0;
        padding: 1em;
    }
}

/* Tablet style */
@media only screen and (min-width: 501px) and (max-width: 960px) {
    body {
        font-size: 1em;
    }

    video {
        height: 100vh;
    }
}

/* Desktop style */
@media only screen and (min-width: 961px) {
    body {
        font-size: 1.4em;
    }

    .section {
        padding: 2em 4em 0 4em;
    }

    .section5 {
        padding: 2em 10em 2em 10em;
    }

    .section6 {
        padding: 2em 20em 2em 20em;
    }

    video {
        height: 100vh;
    }

    .section2,
    .section3, {
        height: 100vh;
    }

    .section5-column1 {
        background-color: #63B995;
        border-radius: 5px 0 0 5px;
        padding: 2em;
    }
}

body {
    background-color: #fff;
    margin: 0;
    overflow: hidden scroll;
    font-family: "Source Sans Pro", sans-serif;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.float {
    position: fixed;
    width: 90px;
    height: 90px;
    bottom: 0.5em;
    right: 0.5em;
    text-align: center;
}

.my-float {
    margin-top: 22px;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Josefin Sans", sans-serif;
}

h2 {
    text-shadow: 2px 1px lightgrey;
}

img.section2,
img.section3,
img.section4,
img.section6 {
    width: 100%;
}

.page {}

.menu {
    clear: both;
    background-color: #457b9d;
    flex-shrink: 0;
    margin: 0;
    width: 100%;
    position: fixed;
    z-index: 2;
    top: 0px;
    left: 0px;
    min-height: 50px;
    height: 5%;
    align-items: center;
}

.menu-container {
    display: flex;
    flex-direction: row;
    padding: 0 2em;
}

.menu-column1,
.menu-column2 {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.emblema {
    float: left;
    max-height: 50px;
}

a.link {
    float: right;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
}

.bold {
    color: #457b9d;
}

.landing {
    padding: 0;
}

.landing-container {
    position: relative;
    background-image: URL("img/landing.webp");
    background-repeat: no-repeat, repeat;
    background-position: center;
    background-size: cover;
}

.video-container {
    left: 0px;
    top: 0px;
    overflow: hidden;
    width: 100%
}

video {
    object-fit: cover;
    /* Center video */
    left: 50%;
    top: 50%;
    transform: translate(-50&, -50%);
    /* Full width */
    width: 100%;
}

.landing-content {
    position: absolute;
    bottom: 0px;
    /* Take full size */
    width: 100%;
    height: 35%;
    /* Center the content */
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.main-h1,
.main-h3 {
    margin: 0.1em
}

.secondary-h2,
.secondary-h3 {
    text-align: center;
}

.secondary-h2 {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.section2-container {}

.section2-row {
    display: flex;
    flex-flow: row wrap;
    background-color: #fff;
    border-radius: 5px;
    margin: 0.5em;
    padding: 0.5em;
}

.section2-card {
    flex: 1 1 200px;
    /* Space between columns */
    margin: 0.5em;
    /* Layout each column */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: justify;
}

.section2-card-header {
    padding-bottom: 0.5em;
}

figure {
    width: 100%;
}

figure>img {
    width: 100%;
    max-width: 100%;
}

.plano-arq {}

.section3-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.section3-card {
    flex: 1 1 200px;
    /* Space between columns */
    margin: 0.5em;
    /* Layout each column */
    display: flex;
    flex-direction: column;
    background-color: #2D93AD;
    border-radius: 5px;
}

.card-avatar img {
    width: 100%;
}

.card-content {
    /* Take available height*/
    flex: 1;
    /* Center content */
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5em;
}

.card-content ul,
.card-content h3 {
    text-align: justify;
    padding: 0.25em;
    margin-top: 0.25em;
    color: #fff;
    font-weight: 400;
}

.card-content h4 {
    font-size: 1em;
    color: #fff;
}

.card-content li {
    padding-bottom: 0.25em;
    font-size: 0.9em;
    font-weight: 500;
}

.meinteresa {
    text-decoration: none;
    color: #fff;
    padding: 0.25em;
    margin: 0.25em;
    border: solid 1px #fff;
    border-radius: 5px;
    width: 150px;
    text-align: center;
}

.meinteresa:hover {
    font-weight: bold;
    background-color: #fff;
    color: #2D93AD;
}

.section3 a:hover {
    opacity: 0.9;
}

.section4-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-img-card {
    flex: 1 1 400px;
    /* Space between columns */
    margin: 0.5em;
    /* Layout each column */
    display: flex;
    flex-direction: column;
}

.section4 img {
    border-radius: 5px;
}

.section5-container {
    display: flex;
    flex-wrap: wrap;
    color: #fff;
}

.section5 h3 {
    margin: 1em;
}

.section5 a {
    text-decoration: none;
    color: #000;
}

.section5 a:hover {
    text-decoration: none;
    color: #4974a5;
}

.section5 ul {
    list-style: none;
    padding-left: 0;
}

.section5-column1,
.section5-column2 {
    flex: 1 1 200px;
    /* Layout each column */
    display: flex;
    flex-direction: column;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.section6-container {
    display: flex;
    flex-wrap: wrap;
}

.section6-column2 {
    flex: 1 1 200px;
    /* Space between columns */
    margin: 0 8px;
    /* Layout each column */
    display: flex;
    flex-direction: column;
}

input {
    font-family: "Source Sans Pro", sans-serif;
    font-size: 0.8em;
    margin: 0.5em 0;
    background-color: lightgrey;
    border: 0px;
    border-radius: 5px;
}

input[name="name"],
input[name="phone"] {
    width: 49%;
    height: 3em;
}

input[name="email"] {
    width: 100%;
    height: 3em;
}

input[name="message"] {
    width: 100%;
    height: 8em;
}

input[class="button"] {
    border: 1px solid #333;
    background-color: #999;
    border-radius: 5px;
    padding: 10px 2em;
    color: #000;
    margin: 1.5em 2em;
    background-color: #fff;
}

input[class="button"]:hover {
    border: 0;
    font-weight: bold;
    background-color: #F19C79;
    color: #fff;
}

.form-buttons {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.footer {
    flex-shrink: 0;
    margin: 0;
    width: 100%;
    bottom: 0px;
    left: 0px;
    min-height: 100px;
    height: 5%;
    align-items: center;
    clear: both;
    overflow: hidden;
    background-color: #457b9d;
}

.footer a {
    text-decoration: none;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.footer-column2 {
    flex: 1 1 200px;
    /* Layout each column */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.footer img {
    width: 2em;
    margin: 0.5em;
}
