/*
Theme Name: smartngo
Description: The Orginal smartngo Design.
Author: Xin Long 
Version: 1.0
License: All Rights Reserved
Text Domain: smartngo
*/

:root {
    --space-m: 4rem;
    --space-s: 2rem;
    --color-yellow-2: #fff9e9;
    --border-radius: .375rem;
  }

@font-face {
    font-family: 'plxmn';
    src: url('webfonts/IBMPlexMono-Light.woff2') format('woff2'),
        font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'plxmn';
    src: url('webfonts/IBMPlexMono-Regular.woff2') format('woff2'),
        font-weight: 700;
    font-style: normal;
}

/* CSS Reset */
html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.anmeldeliste li {
    border-bottom: solid 1px rgb(218, 218, 218);
    max-width: 60%;

}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Theme Styles */
body {
    font-family: plxmn, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #FAF8F0;
    color: #333;
    display: grid;
    grid-row-gap: 2rem;
    margin: 1rem 0px 1rem 1px;
    height: 100vh;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.3rem;
}

strong,
b {
    font-weight: 700;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.site-header {
    padding: 1rem;
    top: 0;
    z-index: 999;
}




.site-logo {
    /** width: 460px;
    height: 114px;**/
    width: 230px;
    height: 57px;
    overflow: hidden;
    position: relative;
}



.logo-r-1 svg,
.logo-r-2 svg {
    width: 100%;
    height: 100%;
}

.logo-r-1,
.logo-r-2 {
    width: 230%;
    height: 30px;
    display: flex;
    position: absolute;
    animation: 9s linear infinite;
}

.logo-r-1 {
    animation-name: moveRightToLeft;
    top: 0;
    left: 17%;
}

.logo-r-2 {
    animation-name: moveLeftToRight;
    bottom: 0;
    left: -44.1%;
    transform: translateX(44.1%);
}

@keyframes moveRightToLeft {

    0% {
        transform: translateX(-5.82%);
    }

    10% {
        transform: translateX(-5.82%);
    }



    20% {
        transform: translateX(-13.25%);
    }

    30% {
        transform: translateX(-13.25%);
    }

    40% {
        transform: translateX(-18.0%);
    }

    50% {
        transform: translateX(-20.71%);
    }

    60% {
        transform: translateX(-20.71%);
    }


    80% {
        transform: translateX(-20.71%);
    }

    90% {
        transform: translateX(-20.71%);
    }


    100% {
        transform: translateX(-20.71%);
    }
}

@keyframes moveLeftToRight {


    0% {
        transform: translateX(5.82%);
    }

    10% {
        transform: translateX(5.82%);
    }



    20% {
        transform: translateX(13.25%);
    }

    30% {
        transform: translateX(13.25%);
    }

    40% {
        transform: translateX(18.0%);
    }

    50% {
        transform: translateX(20.71%);
    }

    60% {
        transform: translateX(20.71%);
    }

    80% {
        transform: translateX(20.71%);
    }

    90% {
        transform: translateX(20.71%);
    }


    100% {
        transform: translateX(20.71%);
    }
}



.site-content, .videosite-content {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    background-color: rgb(255, 254, 246);
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.25);
}

.entry-header {
    padding-bottom: var(--space-m);
}

h1 {
    padding-bottom: var(--space-m);
}

.wpforms-container {
    padding-top: var(--space-m) !important;
}

.wpforms-submit-container {
    padding-top: var(--space-m) !important;
    text-align: center;
}

.form-counter-container {
    padding:var(--space-s);
    background-color:var(--color-yellow-2);
    border-radius:var(--border-radius);
    box-shadow: inset 1px 3px 5px rgba(0, 0, 0, 0.15);
}

.wpforms-field-label-inline {
    font-size:0.8rem;
}

.awards {
    width: 200px;
    display: none;
}

.awards-video {
    margin: 3rem;
}

button,
a .c2a {
    background-size: 200% auto !important;
    color: white;
    border: none;
    padding: 10px 20px;

    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

.full_centerd {
    width: 100%;
    text-align: center;
    margin: 40px auto 20px auto;
}

.c2a {
    font-size: 20px;
    height: 3rem;
    border: 1px black solid;
    color: black;
    padding: 6px 12px;
    margin: 6px;
    border-radius: 6px;
}

a:hover {
    text-decoration: none;
    color: white;
    background-color: black;
}

button:hover {}



/***products-overview***/

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.product-item {
    background-size: cover;
    background-position: center;
    width: 50%;
    height: 0;
    padding-bottom: 33.33%;
    position: relative;
}

.product-description {
    position: absolute;
    right: 0;
    bottom: 0;
    color: #ffffff;
    text-align: left;
    padding: 1rem;
    font-size: 1rem;
    border: solid 2px white;
    margin: 1rem;
    width: 50%;
    background-color: rgba(0,0,0,0.3);
    transition: max-height 0.4s ease-out;   
    max-height: 4.5rem; 
    overflow: hidden;
}

.product-description::after {
    content: "";
    position: absolute;
    top: 1.5rem;
    right: 1rem;
    width: 1.5rem; 
    height: 1.5rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polyline points="96.1 26.9 50 73.1 3.9 26.9" fill="none" stroke="%23ffffff" stroke-miterlimit="10" stroke-width="7"/></svg>') no-repeat center;
    background-size: contain;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Hover und .open-Klasse für Anzeige und Animation des Inhalts */
.product-description:hover,
.product-description.open {
    max-height: 100%; 
}

.product-description:hover::after,
.product-description.open::after {
    opacity: 0; 
}

.product-content {    
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-description:hover .product-content,
.product-description.open .product-content {
    opacity: 1;
    margin-top: 1rem;
}




/**index-video-styles***/

.page-template-index-video .site-header {
    background-color: transparent;
}

.page-template-index-video .site-logo svg {
    fill: white;
}

.page-template-index-video .site-branding {
    color: white;
}

.page-template-index-video .site-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
    box-shadow: none;
    background: none;
}

.page-template-index-video .entry-content {
    padding: 0;
}


.videoframe {
    overflow: hidden;
    display: block;
    height: 90vh;
}



#myVideo {
    height: 90vh;
    width: 100vw;
    object-fit: cover;
    top: 0;
    left: 0;
    position: fixed;
    margin: 0;
    z-index: -1;
}


.myVideo-overlay {
    height: 90vh;
    width: 100vw;
    top: 0;
    left: 0;
    position: absolute;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='white' /%3E%3C/svg%3E");
    background-size: 40px 40px;
}


#drawCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}








@media screen and (max-width: 600px) {

    #site-title h1 {
        font-size: 1.5rem;
    }

    .site-content, .videosite-content {
        padding: 1rem;
    }

    .site-content {
        width: 96%;
    }

    h1 {
        font-size: 1.7rem;
        line-height: 2.1rem;
    }

    .product-description {
        width: 90%;
    }

    .product-item {
        width: 100%;
        padding-bottom: 100%;

    }

    .product-title {
        width: 100%;
    }

    .anmeldeliste li {
        max-width: 100%;
        }
}


@media only screen and (orientation:landscape) {
    .awards img {
        max-width: 30% !important;
    }

    .awards-video img {
        max-width: 30%;
    }

    #site-navigation {
        min-width: 300px;
        width: 20%;
    }


}


@media only screen and (min-width:767px) {
    body {
        font-size: 13px;
    }

    .site-header,
    #footcontainer {
        padding: 44px;
    }

    article {
padding: var(--space-m);
    }



    .image_landscape {
        max-width: 300px;
    }

    .awards img {
        max-width: 200px !important;
        padding-bottom: 44px;
    }

    .awards-video img {
        max-width: 200px;
    }

    .awards-video {
        bottom: 20px;
    }

    .videoframe {
        margin-top: 0;
    }




    .image_landscape {
        height: auto;
    }

    div.summary {
        position: absolute;
        top: 18%;
        left: 50%;
    }
}
