html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    text-align: center;
    letter-spacing: 0.06rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 0.9vw;
}

html::-webkit-scrollbar-thumb {
    background-color: rgb(0, 0, 0, 0.5);
    border-radius: 4px;
}

html::-webkit-scrollbar-track {
    background-color: rgb(0, 0, 0, 0.2);
}

html::-webkit-scrollbar-thumb:hover {
    background-color: rgb(0, 0, 0, 0.3);
}


section {
    height: 100%;
    width: 100%;
}


a {
    text-decoration: none;
    padding: 0px;
    margin: 0px;
}

li {
    list-style-type: none;
}

h1,
h2,
h3,
a {
    font-family: 'roboto', sans-serif;
    font-weight: 500;
    color: #121212;
    text-transform: uppercase;
}

h2 {
    color: #9cb0b7;
}

h3 {
    font-size: 40px;
    padding-top: 5%;
    margin: 0;
    margin-bottom: 5px;
}

h4,
p,
span {
    font-family: 'roboto', serif;
    color: #494949;
    font-weight: 500;
}

hr {
    width: 30px;
    height: 3px;
    background: #494949;
    border: 0;
    margin: 0 auto 40px auto;
}

#logo,
li,
img,
i,
.button,
.fa-bars {
    transition: all 300ms;
    -webkit-transition: all 300ms;
    -moz-transition: all 300ms;
}

.fa-bars {
    font-size: 0;
    float: left;
}

div {
    display: block;
}

.kontakt-button {
    height: 40px;
    margin-top: 10px;
    color: #121212;
    background-color: transparent;
    border: 2px solid #121212;
    border-radius: 0px;
    display: inline-flex;
    gap: 1rem;
    max-width: 45rem;
    word-break: break-word;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    padding: 0 1rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    transition: outline 0.9s ease;
}

.kontakt-button a {
    text-transform: capitalize;
    font-size: 0.8em;
}

.kontakt-button:hover {
    outline: 1px solid #121212;
}

/* HEADER *********************************/

.header-wraper {
    display: block;
}

header {
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-bottom: 60px;
    column-gap: 2rem;
    overflow-y: auto;
}

#logo {
    display: grid;
    align-items: center;
    margin: 0px 0 0 50px;
    width: 60px;
    height: auto;
}

#logo:hover {
    opacity: 0.5;
}

#logo img {
    width: 100%;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    float: right;
    margin: 0;
    gap: 1em;
}

nav ul {
    flex-wrap: nowrap;
    align-items: center;
    padding: 0px;
}

nav i {
    margin: 0;
}

header nav ul li {
    display: grid;
    float: left;
    margin-left: 20px;
}

header nav ul li a {
    font-size: 16px;
}

header nav ul a:hover {
    padding-top: 5px;
    opacity: 0.5;
}


/* HOME *********************************/

#home {
    background: url(img/Produkte/3D/Tiere.jpg);
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

#home h1 {
    margin: 20px auto 10px auto;
    color: #ffffff;
    opacity: 0.90;
    font-size: 90px;
    text-transform: capitalize;
}

#home hr {
    background-color: #fff;
    width: 200px;
    opacity: 0.9;
}

#home h2 {
    margin: 0 auto 0 auto;
    color: #ffffff;
    font-size: 25px;
    opacity: 0.90;
}

.overlay {
    height: 100%;
    width: 100%;
    background-color: rgb(0, 0, 0, 0.5);
}

.banner {
    display: flex;
    position: relative;
    flex-direction: column;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}

@media screen and (min-width: 750px) {
    .banner {
        flex-direction: row;
    }
}

.banner_content {
    padding: 0;
    display: flex;
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
}


.home_box {
    padding: 4rem 3.5rem;
    position: relative;
    height: fit-content;
    align-items: center;
    text-align: center;
    width: 100%;
    word-wrap: break-word;

}

#home img {
    position: relative;
    width: fit-content;
    max-width: 200px;
    height: auto;
}

#home button {
    height: 60px;
    color: #ffffff;
    background-color: transparent;
    border: 2px solid #ffffff;
    margin-top: 100px;
    border-radius: 0px;
    display: inline-flex;
    gap: 1rem;
    max-width: 45rem;
    word-break: break-word;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    padding: 0 1rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    transition: outline 0.9s ease;
}

#home button:hover {
    outline: 1px solid #ffffff;
}

/* PRODUKTE *********************************/

#produkte {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
}

/*#produkte li:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}*/

#produkte h4 {
    font-size: 20px;
}

#produkte h3 {
    text-transform: capitalize;
    margin-top: 40px;
}

.produkt-container {

    display: flex;
    flex-direction: column;
    gap: 1em;
    margin: 0 40px 0 40px;
}

.produkt-container ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-shrink: 0;
    width: 100%;
    margin: 0 auto 0 auto;
    padding: 0;
}

.produkt-container ul li {
    width: 240px;
    float: inline-start;
    padding: 10px;
    margin-bottom: 20px;
}

.product-card {
    padding: 1em;
}

.produkt-wrapper {
    background-color: #f0f0f0ee;
    box-shadow: 0 5px 5px #e1e1e1;
    border-radius: 10px;
    padding: 1em;
    padding-bottom: 0;
}

.product-card img {
    max-width: 100%;
}

.product-card h4 {
    font-size: 1.3em;
    margin: 0.5em 0;
    font-weight: bold;
    text-align: start;
}

.product-card div {
    font-size: 1.2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-card button.buy {
    height: auto;
    color: #121212;
    border: 2px solid #121212;
    background-color: transparent;
    border-radius: 0px;
    display: flex;
    max-width: 45rem;
    word-break: break-word;
    justify-content: center;
    align-items: center;
    box-shadow: none;
    padding: 0.2rem 0.8rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.2rem;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
    transition: outline 0.1s ease;
}

.product-card button a {
    text-transform: capitalize;
    font-size: 0.8em;
}

.product-card:hover button.buy {
    color: #121212;
    border: 2px solid #121212;
    background-color: transparent;
    border-radius: 0px;
}

.product-card button:hover {
    outline: 1px solid #121212;
}

@media screen and (max-width: 576px) {
    .product-card {
        font-size: 0.9em;
    }
}

/* Produkt Bilder ************************/

.wrapper {
    display: flex;
    max-width: 1200px;
    position: relative;
}

.wrapper i {
    top: 50%;
    height: 44px;
    width: 44px;
    color: #343F4F;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
}

.wrapper i:active {
    transform: translateY(-50%) scale(0.9);
}

.wrapper i:hover {
    background: #f2f2f2;
}

.wrapper i:first-child {
    left: -22px;
    display: none;
}

.wrapper i:last-child {
    right: -22px;
}

.wrapper .carousel {
    display: flex;
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.carousel.dragging {
    scroll-behavior: auto;
}

.carousel.dragging img {
    pointer-events: none;
}

.carousel::before {
    content: "";
    flex: 1;
}

.carousel img {
    width: calc(100% / 3);
    object-fit: cover;
    user-select: none;
    margin-left: 14px;
    border-radius: 10px;
}

.carousel img:first-child {
    margin-left: 0px;
}

@media screen and (max-width: 900px) {
    .carousel img {
        width: calc(100% / 2);
    }

    .produkt-container {
        margin: 0 20px 0 20px;
    }
}

@media screen and (max-width: 550px) {
    .carousel img {
        width: calc(100% / 1);
    }

    .produkt-container {
        margin: 0 10px 0 10px;
    }
}

/* Galerie  ******************************/

#galerie {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
    width: 100%;
}

#galerie h3 {
    text-transform: capitalize;
    margin-top: 40px;
}

#galerie button{
    margin: 50px;
}

.gallery-container{
    display: flex;
    width: 100%;
    margin: 0 40px 0 40px;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1em;
}

.gallery-container img{
    max-width: 28%;
    box-shadow: 5px 5px 8px #d0d0d0;
}

@media screen and (max-width: 750px) {
    .gallery-container img{
        max-width: 45%;
    }
}


/* Laser *********************************/

#laser {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}


#laser .laser-page h3 {
    font-size: 1.5em;
}

.container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container h3 {
    width: 80%;
}

#laser h3 {
    text-transform: capitalize;
}

.laser-5,
.laser-2,
.laser-3,
.laser-4 {
    height: 100%;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.laser-top .overlay {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laser-top .overlay div {
    width: 80%;
    max-width: 1200px;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.laser-top .overlay div.text {
    width: 100%;
}

.laser-top h3,
.laser-top p {
    color: #ffffff;
}

.laser-top hr {
    background-color: #ffffff;
}

.laser-top .kontakt-button {
    margin-bottom: 70px;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.laser-top .kontakt-button a {
    color: #ffffff;
}

.laser-top .kontakt-button:hover {
    outline: 1px solid #ffffff;
}

.laser-top {
    width: 100%;
    height: auto;
    background: url(img/Laser.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 80px;
}

.druck-top {
    background: url(img/Drucker.jpg);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.laser-3,
.laser-4,
.laser-2,
.laser-5 {
    width: 90%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5%;
    gap: 2em;
}

.laser-5 {
    width: 70%;
}

.laser-3 img,
.laser-4 img {
    width: 400px;
    max-height: 500px;
    margin-bottom: 20px;
    border-radius: 50px;
}

.content {
    text-align: left;
}

.grey {
    background-color: #f0f0f0;
}



/* Hobbys **********************************/

#druck {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
}

#druck .laser-page h3 {
    font-size: 1.5em;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#druck h3 {
    text-transform: none;
}


/* CONTACT *********************************/

#contact {
    background-color: #f0f0f0;
    height: auto;
}

#contact h3 {
    text-transform: capitalize;
}

#contact img {
    width: 80%;
    max-width: 400px;
    margin-top: 0;
    padding-top: 0;
}

.insta-button {
    width: 105px;
    margin-top: 0;
}

#contact .container h3 {
    margin-top: 80px;
}

.container-col {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}



/* Footer *********************************/

footer {
    width: 100%;
    height: 70px;
    background-color: #3f3f3f;
}

footer p {
    font-size: 12px;
    color: #f0f0f0a1;
    padding-top: 30px;
    margin: 0;

}

/* MEDIA QUERIES *********************************/

/* TABLETS *********************************/

@media screen and (max-width: 990px) {
    body {
        width: 100%;
    }

    header {
        height: auto;
        width: 100%;
    }

    #logo {
        width: 60px;
        margin-top: 5px;
    }

    header nav {
        margin-top: 0;
    }

    header nav ul li {
        font-size: 12px;
    }

    #home h1 {
        font-size: 70px;
        margin-top: 220px;
    }

    #home h2 {
        font-size: 22px;
    }

    h3 {
        padding-top: 8%;
    }

    #about p {
        width: 80%;
    }

    #work {
        height: auto;
    }

    #produkte {
        width: 100%;
    }

    .product-card {
        height: auto;
        font-size: 0.9em;
    }

    .produkt-container ul li {
        width: 200px;
    }

    .produkt-container ul li:last-child {
        padding-bottom: 20%;
    }

    .produkt-container img {
        height: auto;
    }

    form input,
    form textarea {
        width: 60%;
    }

    .kontakt-button {
        margin-top: 0;
    }

    .button {
        width: 62%;
    }
}

/* Mobile *********************************/

@media screen and (max-width: 700px) {
    #logo {
        width: 40px;
        margin: 10px 0 10px 30px;
    }

    header {
        padding: 0;
        width: 100%;
    }

    header nav {
        margin: 0;
    }

    .fa-bars {
        font-size: 17px;
        width: 100%;
        cursor: pointer;
        text-align: right;
        float: right;
        margin: 0 30px 0 0;
    }

    .fa-bars:hover {
        opacity: 0.5;
    }

    header nav ul {
        display: block;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: auto;
    }

    header nav ul.open {
        height: auto;
        margin-left: 80px;
    }

    header nav ul li {
        width: 100%;
        padding: 5px;
        margin: 0;
        font-size: 16px;
        border-top: 1px solid #dddddd;
    }

    header nav ul li:hover {
        background-color: #eeeeee;
    }

    #home button {
        width: auto;
        margin-top: 110px;
        font-size: 15px;
    }

    h3 {
        font-size: 30px;
    }

    #home h1 {
        margin-top: 0px;
    }

    .produkt-container ul {
        justify-content: space-evenly;
    }

    .product-card {
        width: auto;
    }

    #produkte h4 {
        font-size: 18px;
    }

    #produkte span {
        font-size: 14px;
    }

    .product-card button {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 2px 5px;
        margin: 0;
        height: auto;

    }

    .product-card button a {
        font-size: 0.8em;
        padding: 0;
    }


    .laser-page img {
        width: 300px;
    }

    .laser-3,
    .laser-4 {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 2em;
    }

    .laser-top,
    .produkt-container h3,
    #contact .container h3 {
        margin-top: 50px;
    }

    .insta-button {
        width: 90px;
        margin: 0;
        padding: 0;
    }

    .insta-button a {
        font-size: 12px;
    }

}