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;
    }

    .section {
        padding: 0 1em 0 1em;
    }

    .section1 {
        min-height: 650px;
    }

    .section1-column1 {
        height: 300px;
    }

    .section3 {
        padding: 1em 2em 1em 2em;
    }
}

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

    .section {
        padding: 1em 2em 1em 2em;
    }
}

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

    .logotipo {
        height: 245.25px;
        width: 522.5px;
    }

    .section1 {
        padding: 0 5em 2em 5em;
        min-height: 750px;
    }

    .section2 {
        padding: 0 10em 0 10em;
    }

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

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

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.1em;
    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;
}

.header {
    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;
}

.header-container {
    display: flex;
    flex-direction: row;
    padding: 0 1em;
}

.header-column1,
.header-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: #fff;
    text-decoration: none;
    font-weight: bold;
}

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

strong {
    color: #457b9d;
}

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

.secondary-h2 {
    color: #457b9d;
    padding-top: 0.6em;
    padding-bottom: 0.3em;
    border-radius: 3px;
}

.section1 {
    background-image: url("img/pexels3.webp");
    background-repeat: no-repeat, repeat;
    background-position: bottom;
    background-size: cover;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section1-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1em;
}

.section1-column1,
.section1-column2 {
    flex: 0 1 600px;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.price {
    margin-bottom: 10px;
}

.meinteresa {
    color: #457b9d;
    font-weight: bold;
    text-decoration: none;
    padding: 5px 10px;
    border: solid 1px #457b9d;
    border-radius: 3px;
}

.meinteresa:hover {
    background-color: #457b9d;
    color: #fff;
}

.model-detail {
    display: grid;
    grid-template-columns: minmax(150px, 50%) 1fr;
}

.model-detail-1 {
    padding-top: 0.6em;
    text-align: right;
}

.model-detail-2 {
    padding-top: 0.6em;
    text-align: left;
}

.price {
    padding: 0.4em;
}

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

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

.section1-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1em;
}

.section1-content-box {
    flex: 1 1 180px;
    margin: 5px 10px;
    padding: 1em;
    background: #2D93AD;
    border-radius: 5px;
    text-align: center;
}

.section1 h3 {
    color: #fff;
    text-shadow: 2px 1px #202020;
}

.section2 {
    margin-top: 1em;
}

.section2-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;
}

figure {
    width: 100%;
}

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

.section2 img {
    border-radius: 3px;
    box-shadow: 5px 5px 3px #ccc;
    -moz-box-shadow: 5px 5px 3px #ccc;
    -webkit-box-shadow: 5px 5px 3px #ccc;
    -khtml-box-shadow: 5px 5px 3px #ccc;
}

.section3 {
    background-image: url("img/pexels2.webp");
    background-repeat: no-repeat, repeat;
    background-position: center;
    background-size: cover;
}

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

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

.card-avatar img {
    width: 300px;
    padding: 10px;
}

.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 h3 {
    text-align: justify;
    padding: 0.25em;
    margin-top: 0.25em;
    color: #fff;
    text-shadow: 2px 1px #202020;
    font-weight: 400;
}

.section3 a {
    text-decoration: none;
}

.section3 a:hover {
    opacity: 0.9;
}

.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;
}

.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.3em;
}
