@charset "utf-8";
/* CSS Document */
@import url(normalize.css);

body * {
    box-sizing: border-box;
}

header {
    background: url(../images/Macro-3.jpg) no-repeat center;
    background-size: cover;
}

#toggle {
    display: none;
}

.menu label {
    display: block;
    width: 50px;
    margin: auto;
    font-size: 48px;
    text-align: right;
    cursor: pointer;
}

.menu label::before {
    content: "\2630";
}

#toggle:checked + label::before {
    content: "\2715";
    font-family: sans-serif;
}

#toggle:checked ~ .navigation {
    display: block;
}

.navigation {
    display: none;
    position: absolute;
    right: -20px;
    top: 50px;
    width: 100vw;
}

.header-homepage {
    height: 400px;
}

.header-subpage {
    height: 200px;
}

.ubuntu {
    font-family: 'Ubuntu', sans-serif;
}

.bold {
    font-weight: 600;
}

p,
.titillium {
    font-family: 'Titillium Web', sans-serif;
}

.center {
    text-align: center;
}

h2 {
    font-size: 32px;
    margin: 0;
    padding: 10px 0;
}

h3 {
    font-size: 24px;
    margin: 10px 0 0 0;
}

.text-white {
    color: white;
}

.text-gray {
    color: hsl(0, 0%, 80%);
}

.text-nodeco {
    text-decoration: none;
}

.title {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    top: 200px;
    text-shadow: 0px 5px 10px black;
}

.gradient {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .6), rgba(0, 0, 0, .6), rgba(0, 0, 0, 0));
    height: 180px;
    position: absolute;
    top: 0;
    width: 100%;
}

.header-inner {
    padding: 10px 0;
    color: white;
    justify-content: space-between;
    align-content: flex-start;
    height: 200px;
}

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

.flex-no {
    display: flex;
    flex-wrap: wrap;
}

.flex-nowrap {
    display: flex;
    flex-wrap: nowrap;
}

.flexitem-top {
    flex: 1 1 90%;
    flex-wrap: nowrap;
}

.flexitem {
    flex: 1 1 100%;
    width: 100%;
}

.pos-rel {
    position: relative;
}

.pos-abs {
    position: absolute;
}

.container {
    width: 100%;
}

.bg-gray {
    background-color: hsl(0, 0%, 20%);
}

.bg-lightgray {
    background-color: hsl(0, 0%, 90%);
}

.bg-gradient {
    background-image: linear-gradient(to right, hsl(0, 0%, 10%), hsl(0, 0%, 10%));
}

.column {
    flex-flow: column;
}

.row {
    flex-flow: row;
}

.textbox {
    margin: auto;
    padding: 20px;
}

.textbox h2 {
    border-bottom: 1px solid hsl(72, 61%, 40%);
}

.articles {
    margin: 20px 0;
    padding: 0px;
}

.article {
    background-color: hsl(20, 0%, 94%);
    padding: 30px;
    margin: 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 8px hsl(0, 0%, 70%);
}

.article h3 {
    border-bottom: 1px solid hsl(72, 61%, 40%);
    margin: 0 0 10px;
    padding-bottom: 5px
}

.button {
    width: 100%;
    display: flex;
}

.button-variant {
    width: auto;
    margin-right: 10px
}

.mauto {
    margin: 20px auto;
}

.button-variant a,
.button a,
.button button {
    background-color: hsl(72, 61%, 40%);
    display: block;
    color: white;
    text-decoration: none;
    text-align: center;
    padding: 8px;
    border-radius: 3px;
    margin-bottom: 10px;
    cursor: pointer;
}


.button-variant a:hover,
.button-variant a:focus,
.button a:hover,
.button a:focus,
.button button:hover,
.button button:focus {
    background-color: hsl(72, 61%, 35%);
    box-shadow: 0px 2px 8px hsla(0, 0%, 0%, .4);
}

.content-center {
    justify-content: center;
}

.link {
    color: hsl(72, 61%, 40%)
}

.link i {
    font-size: 12px;
}

.link:hover {
    color: hsl(72, 61%, 35%);
}

.image {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: relative;
}

.image-ls,
.image-pt {
    flex: 0 1 100%;
    flex-flow: column;
    display: block;
    height: 400px;
    width: 100%;
    object-fit: cover;
    box-sizing: border-box;
    margin: 5px;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: hsl(0, 0%, 0%);
    padding: 5px 10px;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    width: auto;
    opacity: 0;
    transition: .5s ease;
    margin: auto
}

.image-pt:hover .overlay,
.image-ls:hover .overlay {
    opacity: .6;
}

.image-pt:hover .overlay-text,
.image-ls:hover .overlay-text {
    opacity: 1;
}

.photos {
    padding: 30px 0 20px 0;
    margin: 20px 0 0 0;
}

.photobox {
    padding: 0 10px 0 10px;
}

.zero-pm {
    margin: 0;
    padding: 0;
}

.photo,
.photo2 {
    box-sizing: border-box;
    padding: 0;
    height: 300px;
    margin: 10px;
}

.photo2 img,
.photo img,
.photo video {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    padding: 0;
    margin: 0;
}

.caption {
    position: absolute;
    bottom: 0px;
    padding: 10px;
    margin: 0;
    width: 100%;
    border-radius: 0 0 5px 5px;
    background-color: hsla(0, 0%, 20%, .6);
}

.photocards {
    margin: 40px 10px;
}

.card {
    background-color: hsl(0, 0%, 96%);
    padding: 30px 30px;
    margin: 20px 20px;
    box-shadow: 0px 2px 8px hsl(0, 0%, 70%);
    justify-content: space-between;
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h4 {
    border-bottom: 1px solid hsl(72, 61%, 40%);
    margin: 10px 0;
    padding-bottom: 5px;
}

.logo {
    flex: 0 0 auto;
    z-index: 10000;
    height: 90px;
    width: 160px;
    padding: 0 10px;
    /*    margin: 10px;*/
    position: relative;
}

.logo img {
    width: 140px;
    height: 90px;
    position: absolute;
    top: 0px;
    margin: auto;
    /*    left: 40px;*/
}

.text-logo {
    display: table-cell;
    vertical-align: middle;
    position: relative;
    margin: 0;
    padding: 0;
    height: 90px;
    width: 160px;
    text-align: center;
    font-size: 18px;
}

.smal {
    margin: auto;
    padding: 20px;
    max-width: 640px;
}

.photo-about {
    flex: 1 1 100%;
    height: 300px;
    padding: 0;
    margin: 20px 0 20px 0;
    box-sizing: border-box;
    order: -2;
}

.photo-about img {
    object-fit: cover;
    height: 300px;
    width: 100%;
}

.about {
    flex: 1 1 100%;
    align-self: center;
}

.table-specs {
    border-collapse: collapse;
    margin: 0 auto 40px;
    width: 80%;
}


.table-specs td {
    border-collapse: collapse;
    border-bottom: 1px solid black;
    width: 50%;
    padding: 5px 0;
}

.table-specs td:nth-child(2) {
    text-align: right;
}

.table-specs th {
    text-align: left;
    background-color: hsl(72, 41%, 50%);
    padding: 5px;
    color: white;
    font-size: 18px;
}

.border-white td {
    border-bottom: 1px solid white;

}

.menu {
    z-index: 9999;
    top: 20px;
    right: 20px;
    flex: 0 0 auto;
    position: relative;
}

.menu ul {
    display: block;
    list-style-type: none;
    justify-content: space-around;
    padding: 0;
}

.menu > ul {
    margin: 0;
}

.menu ul ul {
    display: block;
}

.menu .active {
    color: hsl(72, 41%, 50%);
    border-bottom: 2px solid hsl(72, 41%, 50%);
}

.menu a {
    display: block;
    color: hsl(0, 0%, 80%);
    text-decoration: none;
    text-align: center;
    padding: 20px 8px;
    background-color: hsla(0, 0%, 0%, 1);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    font-size: 26px;
    transition: all .2s ease;
}

.menu ul ul a {
    background-color: hsla(0, 0%, 20%, 1);
}

.menu a:hover,
.menu a:focus {
    background-color: black;
    color: white;
    transition: all .2s ease;
    border-bottom: 2px solid hsl(72, 41%, 50%);
}

.menu ul li {
    flex: 0 1 19%;
    border-bottom: 1px solid hsla(0, 0%, 10%, 1);
}

.menu li:hover ul,
.menu li:hover ul {
    display: flex;
    flex-flow: column;
}

footer {
    background: linear-gradient(hsla(0, 0%, 0%, .8),
            hsla(0, 0%, 0%, .8)),
        url(../images/Macro-3.jpg) center no-repeat;
    background-size: cover;
    padding: 40px 10px;
}

.footer-item {
    padding: 40px 20px;
    margin: 20px 10px;
    text-align: center;
    background-color: hsla(0, 0%, 6%, .6);
}

.footer-item h4 {
    border-bottom: 1px solid hsl(72, 41%, 50%);
    margin: 0 0 20px 0;
}

.footer-nav {
    list-style-type: none;
    padding: 0;
}

footer a {
    text-decoration: none;
    padding: 0;
    margin: 0;
    transition: all .3s ease;
}

footer a:hover,
footer a:focus {
    color: white;
}

.footer-table {
    margin: auto;
    text-align: left;
}

.footer-table td {
    width: 180px;
    padding: 0 5px;
}

.table-desc {
    text-align: right;
}

.m-10 {
    margin: 10px;
}

.m-b-20 {
    margin-bottom: 20px;
}

.p-t-20 {
    padding-top: 20px;
}

.p-b-20 {
    padding-bottom: 20px;
}

.insta {
    display: flex;
    justify-content: center;
}

.yt-video {
    height: 300px;
    width: 100%;
    border: none;
}


.form form {
    display: flex;
    width: 80%;
    flex-wrap: wrap;
    margin: auto;
}

.form label {
    display: block;
    text-align: center;
    padding: 10px 0 5px 0;
    flex: 0 1 100%;
}

.form input {
    flex: 0 1 100%;
    height: 30px;
    border-radius: 5px;
    border: 1px solid hsl(0, 0%, 80%);
    background-color: hsl(0, 0%, 98%);
}

.form textarea {
    flex: 0 1 100%;
    border-radius: 5px;
    border: 1px solid hsl(0, 0%, 80%);
    background-color: hsl(0, 0%, 98%);
}


.maps {
    margin: 10px 0;
    width: 100%;
    height: 240px;
    border: none;
}

.desktop-only {
    display: none;
}

.to-top a {
    z-index: 1000000;
    display: block;
    height: 40px;
    width: 40px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .4);
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-image: url(../images/navigate-up-arrow.svg);
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(200, 200, 200, 1);
    transition: all .2s ease;
}

.to-top a:hover {
    background-color: hsl(72, 41%, 50%);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000000;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
}

.lightbox video,
.lightbox img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

.lightbox:target {
    display: block;
}

.lightbox p {
    bottom: 100px;
    left: 10px;
}

.video video {
    max-width: 100%;
}


@media screen and (min-width: 768px) {

    .menu label {
        display: none;
    }

    #toggle {
        display: none;
    }

    .navigation {
        position: relative;
        display: block;
        right: auto;
        top: auto;
        width: auto;
    }

    .flex-nowrap {
        display: flex;
        flex-wrap: wrap;
    }

    .flexitem {
        flex: 1 1 29%;
    }

    .photocards {
        margin: 40px 0;
    }

    h1 {
        font-size: 40px;
    }

    .header-inner {
        justify-content: space-between;
    }

    .photo {
        height: 250px;
    }

    .photo video,
    .photo img {
        height: 250px;
    }

    .card {
        padding: 20px 15px;
        margin: 20px 10px;
    }

    .image-ls {
        flex: 2 0 49%;
        width: auto;
        /*        padding: 5px;*/
    }

    .image-pt {
        flex: 1 0 24%;
        width: auto;
        /*        padding: 5px;*/
    }

    .card img {
        height: 200px;
    }

    .articles {
        margin: 30px 100px;
        display: flex;
    }

    .article {
        flex: 1 1 100%;
    }

    .logo {
        flex: 1 2 auto;
        /*        width: 150px;*/
        /*        height: 120px;*/
        margin-left: 30px;
    }

    .logo img {
        width: 150px;
        height: 120px;
        left: 26px;
    }

    .text-logo {
        height: 120px;
        width: 150px;
        font-size: 24px;
    }

    .menu {
        flex: 1 0 40%;
        margin-top: 0px;
        margin-right: 30px;
    }

    .menu ul {
        display: flex;
    }

    .menu ul li {
        border-bottom: none;
    }

    .menu ul ul {
        display: none;
    }

    .menu ul ul a {
        background-color: hsla(0, 0%, 20%, .8);
    }

    .menu a {
        font-size: 18px;
        background-color: hsla(0, 0%, 0%, .8);
        padding: 10px;
    }

    .nowrap {
        flex-wrap: nowrap;
    }

    .form form {
        width: 75%
    }

    .yt-video {
        height: 400px;
    }

    .footer-item {
        flex: 1 1 100%;
    }

    .table-specs {
        width: 70%;
    }
}






@media screen and (min-width: 1024px) {
    .flexitem {
        flex: 1 1 18%;
    }

    .flex-no {
        display: flex;
        flex-wrap: nowrap;
    }

    h1 {
        font-size: 48px;
    }

    .title {
        top: 170px;
    }

    .text-logo {
        height: 140px;
        width: 240px;
        font-size: 30px;
    }

    .smal {
        max-width: 1024px;
    }

    .logo {
        height: 140px;
    }

    .logo img {
        width: 240px;
        height: 140px;
        margin: 0px 0px;
        left: 10px;
    }

    .menu {
        margin-top: 15px;
    }

    .menu a {
        font-size: 18px;
    }

    .photo {
        height: 190px;
    }

    .photo2 {
        height: 300px;
    }

    .photo2 img {
        height: 300px;
    }

    .photo img,
    .photo video {
        height: 190px;
    }

    .articles {
        margin: 30px 10px;
    }

    .article {
        flex: 1 1 40%;
    }

    .card {
        padding: 30px 30px;
        margin: 20px 20px;
    }

    .photo-about {
        order: 1;
        margin: 20px 0 20px 20px;
    }

    .footer-item {
        text-align: left;
        margin: 10px;
    }

    .footer-table {
        margin: 0;
    }

    .footer-table td {
        width: auto;
        padding: 0 10px 0 0;
    }

    .table-desc {
        text-align: left;
    }

    .table-specs {
        width: 40%;
    }

    .yt-video {
        height: 555px;
    }

    .maps {
        height: 400px;
    }

    .form form {
        width: 60%;
    }

    .form label {
        flex: 0 1 22%;
        text-align: right;
        padding-right: 10px;
    }

    .form input {
        flex: 0 1 78%;
    }

    .form textarea {
        flex: 0 1 78%;
    }
}






@media screen and (min-width: 1224px) {
    .header-inner {
        max-width: 1224px;
        margin: auto;
    }

    .container {
        max-width: 1224px;
        margin: auto;
        padding: 0;
    }

    .bg-gradient {
        background-image: linear-gradient(to right, hsl(0, 0%, 30%), hsl(0, 0%, 10%) 15%, hsl(0, 0%, 10%) 85%, hsl(0, 0%, 30%));
    }

    .footer-inner {
        max-width: 1224px;
        margin: auto;
    }

    .photo {
        height: 220px;
    }

    .photo video,
    .photo img {
        height: 220px;
    }

    .card img {
        height: 240px;
    }

    .title {
        max-width: 1224px;
        margin: 0 auto;
    }
}
