@font-face {
    font-family: 'Gotham';
    src: url("fonts/GothamLight\ Regular.otf") format("opentype");
    font-weight: 400;
}

@font-face {
    font-family: 'Gotham';
    src: url("fonts/Gotham\ Medium.otf") format("opentype");
    font-weight: 500;
}

* {
    font-family: 'Gotham', Helvetica, sans-serif;
    line-height: 2;
}

body {
    background-color: rgb(10, 10, 10);
    color: #efefef;
    margin: 0;
}

section {
    background-color: rgb(10, 10, 10);
    /* box-shadow: 0 0 16px rgba(0, 0, 0, 0.678); */
}


.versions {
    background-color: rgb(14, 14, 14);
}

.versions a {
    text-align: center;
    color: rgb(187, 187, 187);
    font-weight: 300;
    padding: 8px 32px;
}

a {
    color: rgb(29, 223, 62);
    text-decoration: none;
    font-weight: 600;
}

a:hover {
    color: rgb(29, 223, 62);
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    text-transform: uppercase;
}

h1, h4 {
    font-weight: 500;
}

p {
    hyphens: auto;
}

.container {
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (min-width: 550px) {
    .container {
        /* padding: 64px 0; */
        padding: 64px;
    }
}

/* nav */
nav {
    position: relative;
    background-color: rgb(8, 8, 8);
    z-index: 100;
    display: grid;
    grid-template-areas: "logo lang" "links links";
    grid-template-columns: 1fr 1fr;
    align-items: center;
    row-gap: 16px;
    width: 100%;
    text-transform: uppercase;
    font-weight: 500;
    padding-top: 16px;
    padding-bottom: 16px;
}

.break {
    flex-basis: 100%;
    height: 0;
}

#active-nav {
    float: right;
}

/* .nav-links {
    display: none;
} */

nav #activate-nav:checked~.nav-links {
    display: block;
}

.nav-logo {
    flex-grow: 1;
    justify-self: start;
    grid-area: logo;
    padding-left: 16px;
}

.nav-lang {
    padding-right: 16px;
    grid-area: lang;
    justify-self: end;
}

.nav-links {
    grid-area: links;
    justify-self: center;
    padding: 0 16px;
}

nav a {
    color: white;
}

nav a:hover {
    color: rgb(189, 189, 189);
    text-decoration: none;
}

@media (min-width: 1000px) {
    nav {
        grid-template-areas: "logo links lang" !important;
        grid-template-columns: 1fr 3fr 1fr;
    }

    nav div:nth-child(2) {
        justify-self: center;
    }

    nav div:last-child {
        justify-self: end;
    }

    nav div+div {
        margin-top: 0;
    }
}

nav span {
    margin-right: 16px;
}

nav span:last-child {
    margin-right: 0;
}

#nav-logo>img {
    height: 25px;
    margin-right: 4px;
    float: left;
}

#nav-logo>div {
    white-space: nowrap;
}

/* hero */

/* 
@media (min-width: 350px) and (min-height: 500px) {
    #home {
        margin-top: calc(32px + 3em);
        margin-bottom: 0;
        height: 65vh;
    }
}
@media (min-height: 700px) {
    #home {
        margin-top: calc(32px + 3em);
        margin-bottom: 0;
        height: 65vh;
    }
}

@media (min-width: 1000px) {
    #home {
        margin-top: calc(32px + 1em);
    }
} */

#home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home h1 {
    /* padding-top: 10vh; */
    font-size: 2em;
    /* text-align: left; */
    text-shadow: 0 0 16px #111;
}

@media (min-width: 1000px) {
    #home h1 {
        font-size: 3em;
    }
}


.hero h3 span, .hero h1 span {
    display: table;
    /* keep the background color wrapped tight */
    margin: 0px auto 0px auto;
    background-color: #0a0a0acc;
    padding: 0 16px;
}

#img_1 {
    display: flex;
    justify-content: center;
    /* align horizontal */
    align-items: center;
    /* align vertical */
    background-image: url("../img/home_2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 65vh;
    width: 100vw;
}

#img_2 {
    display: flex;
    justify-content: center;
    /* align horizontal */
    align-items: center;
    /* align vertical */
    background-image: url("../img/home_3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 65vh;
    width: 100vw;
}

#img_3 {
    display: flex;
    justify-content: center;
    /* align horizontal */
    align-items: center;
    /* align vertical */
    background-image: url("../img/home_1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 65vh;
    width: 100vw;
}

#home>div:first-child {
    /* background-image: url("../img/c2m_web_hero_img.jpg"); */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 65vh;
    width: 100vw;
    /* position: absolute; */
    animation: fadeIn 3s;
    -webkit-animation: fadeIn 3s;
    -moz-animation: fadeIn 3s;
    -o-animation: fadeIn 3s;
    -ms-animation: fadeIn 3s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EFEFEF;
    text-shadow: 0 0 12px rgba(22, 22, 22, 0.445);
    /* margin-top: calc(64px + 5em); */
    /* margin-bottom: 64px; */
    /* height: 60vh; */
}

@media (min-width: 1000px) {
    .hero {
        /* height: 40vh; */
        /* margin-top: calc(32px + 1em); */
    }
}

.hero>div:last-child {
    text-align: center;
}

/* .hero>div>div {
    align-self: center;
} */

.hero .container {
    padding-top: 0 !important;
    background-color: #0a0a0a;
}

.hero h3 {
    font-weight: 300;
}

.active {
    color: rgb(170, 170, 170) !important;
    /* text-shadow: 0 0 12px rgba(18, 197, 72, 0.178); */
}

.hero-text {
    margin-top: 64px;
}

.news em {
    text-transform: uppercase;
    /* padding-bottom: 16px; */
}

.news>div {
    margin-bottom: 64px;
}

.news img {
    height: 17em;
    max-width: 100%;

    object-fit: cover;
    padding-top: .5em;
    padding-bottom: 0;
    /* padding-left: 16px; */
}

.nav-hamburger {
    cursor: pointer;
    display: none;
}

/* team */

#team {
    margin-bottom: 64px;
}

#team div+div {
    margin-top: 64px;
}

#team p:last-child {
    margin-bottom: 0;
}

#team img {
    object-position: center top;
    width: 100%;
    height: 300px;
    object-fit: cover;
    /* object-position: 0 -40px; */
    float: left;
    margin-bottom: 16px;
}

@media (min-width: 800px) {
    #team img {
        object-position: center;
        width: 200px;
        float: left;
        margin-right: 16px;
        margin-bottom: 0;
    }
}

/* footer */

footer .container {
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0);
    color: rgb(90, 90, 90);
}

footer li {
    list-style: none;
}

footer a {
    color: rgb(90, 90, 90);
    font-weight: 300;
}

/* ********** */

/* custom css */

/* ********** */

.grid2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1fr);
    column-gap: 32px;
    row-gap: 32px;
}

p {
    text-align: justify;
}

.grid4 {
    display: grid;
    grid-template-columns: 1fr;
    /* grid-template-rows: repeat(1fr); */
    column-gap: 32px;
    row-gap: 32px;
}

@media (min-width: 550px) {
    .grid4 {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 64px;
        row-gap: 64px;
    }
}

@media (min-width: 1000px) {
    .grid2 {
        grid-template-columns: 1fr 1fr;
        column-gap: 64px;
        row-gap: 64px;
    }

    .grid4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        /* grid-template-rows: repeat(1fr); */
    }
}

.grid2.materials img {
    padding: 0 0 16px 0;
    object-fit: cover;
    width: 100%;
}

@media (min-width: 550px) {
    .grid4.materials img {
        height: auto;
        object-fit: cover;
    }
}

.list {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.grow {
    flex-grow: 1;
}

.row2 {
    display: grid;
    grid-template-rows: auto 1fr;
}

.row2>div:last-child {
    align-self: end;
}

/* products */

.hero.products {
    background-image: url("../img/home_1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 40vh;
}

.thermaltec h2 {
    margin-top: 2em;
}

.thermaltec .product {
    background-color: #222;
    border-radius: 16px;
    padding: 3rem;
}

.ta-c {
    text-align: center;

}

.thermaltec .product h2 {
    margin: 0;
}

.thermaltec .products {
    gap: 16px;
}

.thermaltec .products img {
    width: 100%;
    max-height: 250px;
    height: max-content;
    object-fit: cover;
  background-repeat: no-repeat;
    background-position-y: 0;
    border-radius: 16px;
}

.thermaltec .products img.product-small {
    height: 150px;
}


.thermaltec b {
    color: rgb(242, 156, 63);
}

.timeline {
    margin-left: 0;
}

.timeline b {
    background-color: white;
    padding: 8px;
    border-radius: 8px;
    margin-top: -2;
    margin-right: 4px;
}
.timeline li {
    list-style: none;
    background-color: rgb(242, 156, 63);
    border-radius: 8px;
}

.materials img {
    padding-top: .5em;
    width: 100%;
    height: 20em;
    object-fit: cover;
}

@media (min-width: 1000px) {
    .materials p>img {
        height: 20.5em;
        width: 16em;
        float: left;
        padding-right: 16px;
    }
}

.materials>div+div {
    margin-top: 128px;
}

.grid2.materials>div+div {
    margin-top: 0;
}

/* services */

.hero.services {
    background-image: url("../img/home_2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 40vh;
}

.services img {
    padding-top: .5em;
    width: 100%;
    height: 17em;
    object-fit: cover;
    padding-bottom: 1em;
}

.services>div {
    margin-bottom: 64px;
}

@media (min-width: 1000px) {
    .services img {
        padding-top: .5em;
        width: 300px;
        height: 17em;
        object-fit: cover;
        padding-bottom: 0;
    }
}

/* general */

.fl {
    float: left;
}

.fr {
    float: right;
}

.pl-m {
    padding-left: 16px;
}

.pr-m {
    padding-right: 16px;
}

/* contact */


.hero.contact {
    background-image: url("../img/contact.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

@media (min-width: 1000px) {
    .hero.contact {
        background-position: center 30%;
    }
}


/* about */


.hero.about {
    background-image: url("../img/about.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    height: 40vh;
}

/* career */


.hero.career {
    background-image: url("../img/career.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    height: 40vh;
}

/* news */

.hero.news {
    background-image: url("../img/news.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    height: 40vh;
}

/* agb, imprint, privacy */
.hero.small {
    padding-top: 16px;
}