/*
 *
 *  This a production of Carlos Mason
 *  for more information please visit: carlosmason.com
 *
 *  created: 2025-03-23
 *
 *  updated: 2025-11-12
 *
 */


* {
    font-family: system-ui, Ubuntu, -apple-system;
    box-sizing: border-box;
    font-size: 1em;
    line-height: 1.6em;
}

body {
    margin: 0px;
    width: 100vw;
    background-color: #222;
    background-image: url('images/bg-cnc.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
}

/* classes */
.decoration {
    width: 100%;
    height: auto;
}

.center {
    text-align: center;
}

.header-container {
    padding: 10px 0px;
}

.limited-size {
    max-width: 1280px;
    margin: 0px auto;
}

.logo-container {
    padding: 5px;
}

.logo-container img {
    width: clamp(280px, 20vw, 30%);
    height: auto;
}

.spacer {
    min-height: 10rem;
}

.text-box, .product-box {
    margin: 5rem auto;
}

.product-box img {
    width: 40vw;
    max-width: 500px;
}

.text-box {
    padding: 4rem;
    background: white;
}

.product-box {
    padding: 2rem;
    background: black;
    color: silver;
}

.product-box h2 {
    color: #7FCB2B;
}

.text-container {
    background-color: transparent;
}

.top-menu {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #222;
    text-transform: uppercase;
}

.top-menu:hover {
    background-color: #7FCB2A;
    /*background-color: rgba(0,0,0,0.1);*/
}

/* elements */

footer {
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-color: #222;
    min-height: 5rem;
    color: silver;
    border-top: 5px black solid;
    width: 100%;
    padding-bottom: 1rem;
}

.footer-cells {
    padding: 10px;
    display: table-cell;
    width: 10%;
}

header {
    position: fixed;
    background: white;
    border-bottom: 5px silver solid;
    margin: 0px auto;
    width: 100%;
    left: 0px;
    top: 0px;
    z-index: 1000;
}

main {
    margin: 0px auto;
    width: 100%;
}

nav {
    text-align: center;
    font-size: 1.2rem;
    border-top: 1px silver solid;
    border-bottom: 1px silver solid;
    margin-bottom: 0.5rem;
}

section {
    margin: 0px;
    padding: 0px;
}

/* ids */

#splash h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
}

#splash h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
}

#splash p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
}

#splash-container {
    border-bottom: 5px black solid;
    background: white;
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash-container:before {
    content: "";
    background-image: url('images/bg-splash-1.webp');
    background-size: cover;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    opacity: 0.6;
}

#splash {
    padding: 1rem;
    position: relative;
    text-align: center;
    text-shadow: 1px 1px white;
}

/* input */

input.honey {
    display: none;
}

label, input, textarea, select {
    font-size: 1rem;
}

input, textarea, select {
    padding: 0.3rem;
    margin: 0.3rem 0px;
}

input[type="text"], textarea, select {
    width: 100%;
}

input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

input[type="button"] {
    background: #333;
    color: white;
    padding: 0.5rem 2rem;
    margin-right: 2rem;
    cursor: pointer;
}

input[type="button"]:hover {
    background: silver;
    color: #333;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: rgba(0,0,0,0.7);
    z-index: 2000;
}

#overlay-text, #overlay-form, #overlay-picture {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

#overlay-form {
    padding: 1rem 2rem;
    transition: all 1s ease-in-out;
    background: white;
}

#overlay-text {
    background: #222;
    font-size: 2rem;
    padding: 2rem;
    color: white;
}

#overlay-picture {
    max-width: 90vw;
    max-height: 90vh;
    margin: auto;
    border: 10px white solid;
    transition: all 1s ease-in-out;
    cursor: pointer;
}

#grid-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
}

.grid-item {
    min-height: 280px;
    text-align: center;
    cursor: zoom-in;
    overflow-x: hidden;
}

.grid-item img {
    height: 100%;
}

.resellers div {
    background-color: #CCC;
    padding: 8px;
    cursor: auto;
    border-radius: 16px;
}

.resellers img {
    max-height: 100px;
    max-width: 200px;
    margin-bottom: 10px;
}

.link-button {
    display: block;
    border: #7FCB2B 1px solid;
    padding: 10px 20px;
    margin: 20px;
    color: #7FCB2B;
    text-decoration: none;
}

.product-cell {
    vertical-align: top;
    display: table-cell;
}

.product-cell:nth-child(even) {
    padding: 0px 1rem;
}

.picture-nav-ctrl {
    border: 3px #FFF solid;
    padding: 1rem;
    position: absolute;
    bottom: 10px;
    right: 10px;
}


@media
screen and (max-width: 800px),
screen and (max-height: 750px) {

    body {
        background-image: none;
    }

    footer {
        position: relative;
    }

    header {
        position: relative;
    }
    .spacer {
        min-height: 0px;
    }

    .footer-cells {
        display: block;
        width: 100%;
    }

    .text-box {
        margin: 1rem auto;
        padding: 1rem;
    }

    .link-button {
        display: inline-block;
        margin-left: 0px;
    }

    .product-cell {
        display: block;
    }

    .product-box img {
        width: 100%;
    }

    #overlay-form {
        padding: 0.5rem 1rem;
    }

    #overlay-text, #overlay-form, #overlay-picture {
        top: 10%;
        left: 50%;
        transform: translate(-50%,-10%);
        min-width: 400px;
    }
    .top-menu {
        display: inline-block;
        padding: 0.5rem;
    }

}

/*/ resellers  /*/
/*

*/