/*
 * Wp Public Styles
 */

/* 
RED :: #E2010D
BLACK :: #0A0A0A
*/


@import url('https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,700&subset=latin-ext');

#integence {
    font-family: 'Poppins', sans-serif;
    line-height: 1.1;
    font-weight: 300;
    color: #000;
    gap: 0 1em;
}

#integence.container {
    max-width: 1400px;
    display: grid;
    grid-template-columns: 900fr 340fr;
    font-size: 11px;
    margin-bottom: 3em;
}

.sm {
    visibility: hidden;
    display: none;
}

.lg {
    visibility: visible;
    display: block;
}



/*clearfix*/
.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}


#integence > .render-container {
    width: 900px;
    /* padding: .25em; */
}

#render {
    /* max-width: 900px; */
    width: 900px;
    aspect-ratio: 900/600;
    width: 100%
}

#integence > .controls-container {
    width: 351px;
}

#integence > .controls-container h4 {
    font-size: 1.2em;
    margin: 0 .2em .2em;
    text-transform: uppercase;
}

#integence > .controls-container h5 {
    font-size: 1.2em;
    margin: .6em .2em .2em;
    letter-spacing: 0;
}

.controls {}

.controls-block {
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.15);
    /* 0px 4px 8px 0px rgba(0, 0, 0, 0.3); */
    border-radius: .75em;
    border: 1px solid rgba(0, 0, 0, .1);
    padding: .5em .5em .25em .5em;
    margin: 0 0 .5em 0;
}

.grid {
    display: inline-grid;
    /* margin: .25em; */
    /* padding-bottom: .25em; */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5em;
    text-align: center;
}

#houses .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.0em;
}

#walls .grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

#roof-colors .grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.control {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.control button {
    overflow: hidden !important;
    /* box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3); */
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.control button:focus {
    outline-color: #E30010CC;
}

.selected button {
    outline: 2px solid #E30010CC;
}


.control button img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    max-width: 100%;
    display: block;
    /* animation: zoom-out 0.5s ease-out both; */
    transition: transform 0.4s;
    transform: scale(1.05);
}

.control button:hover img {
    transform: scale(1.5);
    /* animation: zoom-in 0.5s ease-in both; */
}

.control span {
    margin-top: -0.5em;
    padding: .25em .5em;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.4s;
    color: #999;
    z-index: 100;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, 1px -1px 0 #FFF, -1px 1px 0 #FFF;
    background-color: white;
}

#roof-colors span {
    margin-top: 0.2em;
    background: none;
}

.control:hover span {
    color: #E30010;
    font-weight: 300;
}

.selected span {
    /* outline: 1px solid #E30010; */
    /* border-bottom-color: #E3001099; */
    /* rgba(0, 0, 0, 0.2); */
}

.circle {
    border-radius: 50%;
    border-width: 0;
    outline: 1px solid #CCC;
}

.rounded {
    border-radius: 0.75em;
    border-width: 0;
}

.border-b {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.form {
    text-align: center;
}

.form:is(.lg) {
    max-width: 900px;
    text-align: left;
}

.form button {
    background-color: #1B1B19;
    color: white;
    font-weight: 200;
    font-size: 21px;
    border: 0;
    padding: 1em;
    letter-spacing: 1px;
    width: 100%;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.3);
    transition: all 0.5s;
}

.form button:hover {
    /* color: #E30010; */
    animation: form-in 0.5s ease-in both;
    color: #E30010;
}

.form .lg button {
    height: 3em;
}



@media (max-width: 1280px) {
    #integence.container {
        max-width: 900px;
        grid-template-columns: 1fr;
        /* font-size: 16px; */
    }

    #integence > .render-container {
        width: auto;
    }

    #integence > .controls-container {
        width: 100%;
        max-height: 400px;
        overflow: hidden auto;
        margin: 1em 0;
    }

    .control {
        max-width: 8em;
    }

    #houses .grid {
        gap: 0.5em;
    }

    .sm {
        visibility: visible;
        display: block;
    }

    .lg {
        visibility: hidden;
        display: none;
    }
}


@keyframes form-in {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes zoom-in {
    100% {
        transform: scale(1.5);
    }
}

@keyframes zoom-out {
    100% {
        transform: scale(1.0);
    }
}