:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --green: hsl(110, 79%, 53%);
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}

body {
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    background-color: var(--veryLightGray);
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    background-image: url('../images/bg2.jpg');

    /*    background-repeat: round;*/
    backdrop-filter: hue-rotate(45deg);
    background-color: black;
}


.statusConnected {
    color: hsl(110deg 66.89% 22.41%);
}


.statusDisconnected {
   color: hsl(0deg 80.57% 26.45%);
}

.attribution {
    font-size: 11px;
    text-align: center;
}

    .attribution a {
        color: hsl(228, 45%, 44%);
    }

h1:first-of-type {
    font-weight: var(--weight1);
    color: var(--varyDarkBlue);
}

h1:last-of-type {
    color: hsl(34deg 81.81% 31.77%);
    /*    color: var(--varyDarkBlue);*/
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.5rem;
    }
}

.header {
    text-align: center;
    line-height: 1.2;
    /* margin-bottom: 50px; */
    margin-top: 4px;
    margin-bottom: 40px;
}

    .header p {
        margin: 0 auto;
        line-height: 2;
        color: var(--grayishBlue);
    }

.box p {
    color: var(--grayishBlue);
}

.box {
    border-radius: 5px;
    /*  box-shadow: 0px 30px 40px -20px var(--grayishBlue);
*/
    box-shadow: 0px 30px 40px -42px hsl(110, 79%, 53%);
    padding: 30px;
    margin: 20px;
}

.logo_box {
    border-radius: 5px;
    box-shadow: 0px 0px 40px -20px hsl(32.35deg 100% 30.33%);
    padding: 30px;
    margin: 20px;
}

img {
    float: right;
}

@media (max-width: 450px) {
    .box {
        height: 170px; /*200*/
    }
}

@media (max-width: 950px) and (min-width: 450px) {
    .box {
        text-align: center;
        /* height: 180px; */
    }
}

.cyan {
    border-top: 3px solid var(--cyan);
}

.red {
    border-top: 3px solid var(--red);
}

.blue {
    border-top: 3px solid var(--blue);
}

.orange {
    border-top: 3px solid var(--orange);
}

.green {
    border-top: 3px solid var(--green);
}


h2.statusLine {
    color: hsl(34deg 81.81% 31.77%);
}

h2 {
    /*  color: var(--varyDarkBlue);
*/

    color: hsl(0deg 0% 100%);
    font-weight: var(--weight3);
    font-size: 1.0em !important;
}

h1 {
    color: darkred;
    font-weight: var(--weight3);
    font-size: 1.5em !important;
}

@media (min-width: 950px) {
    .row1-container {
        display: flex;
        justify-content: space-evenly;
        align-items: flex-start;
    }

    .row2-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .row3-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .box-down {
        position: relative;
        top: 150px;
    }

    .box {
        width: 20%;
    }

    .header p {
        width: 30%;
    }
}

/* .... */

/* lamp */
.lamp-image-container {
    cursor: pointer;
    height: 100%;
    display: flex;
    justify-content: center;
}

    .lamp-image-container img {
        height: 100px;
    }

@media (max-width: 768px) {
    .lamp-image-container img {
        height: 100px;
    }

    .motionImage {
        height: 100px;
    }

    .row1-container {
        display: flex;
        flex-direction: column;
    }

    .logo-container {
        order: 0;
    }

    .lamp-container {
        order: 1;
    }
}

/* lamp */

/* motion */

.motionImage {
    height: 100px;
}

.display {
    display: block;
}

.hide2 {
    display: none;
}

.img-container {
    display: flex;
    justify-content: center;
}

/* motion */

.logo-container {
    display: flex;
    justify-content: center;
}

    .logo-container img {
        width: 200px;
        height: 100%;
    }

/* camera button */
.button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: #16a34a;
    border-radius: 0.25em;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-weight: 500;
    height: 3em;
    line-height: 3em;
    padding: 0 1em;
}

    .button:hover {
        background-color: #17ac4e;
    }

.details-modal {
    background: #ffffff;
    border-radius: 0.5em;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    left: 50%;
    max-width: 90%;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    /*   width: 30em;
 */
    text-align: left;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

    .details-modal .details-modal-close {
        align-items: center;
        color: #111827;
        display: flex;
        height: 4.5em;
        justify-content: center;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
        width: 4.5em;
    }

        .details-modal .details-modal-close svg {
            display: block;
        }

    .details-modal .details-modal-title {
        color: #111827;
        padding: 1.5em 2em;
        pointer-events: all;
        position: relative;
        width: calc(100% - 4.5em);
    }

        .details-modal .details-modal-title h1 {
            font-size: 1.25rem;
            font-weight: 600;
            line-height: normal;
        }

    .details-modal .details-modal-content {
        border-top: 1px solid #e0e0e0;
        padding: 2em;
        pointer-events: all;
        overflow: auto;
    }

.details-modal-overlay {
    transition: opacity 0.2s ease-out;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.8);
    position: fixed;
    opacity: 0;
    bottom: 0;
    right: 0;
    left: 0;
    top: 0;
}

details[open] .details-modal-overlay {
    pointer-events: all;
    opacity: 0.5;
}

details summary {
    list-style: none;
}

    details summary:focus {
        outline: none;
    }

    details summary::-webkit-details-marker {
        display: none;
    }

summary {
    text-align: center;
}

/* camera button */
