/**
 * Theme Name: Smart Mirror
 * Template:   tripzip
 */


canvas.deepar {
    border: 0 none;
    background-color: black;
    display: block;
    margin: auto;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    max-width: 100%;
    max-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
}

#loading-screen,
#permission-denied-screen,
#permission-denied-background {
    background-color: rgba(17,24,39,1);
    background-repeat: no-repeat, repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}
.fullscreen .btn_container{
    display: grid;
    grid-gap: 10px;
    width: max-content;
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    margin: 35px;
}
.fullscreen .btn_container .func_list>img.active{
    position: absolute;
    top: 0;
    left: calc(100% + 30px);
    width: 150px;
    border: 2px solid var(--white);
}
.fullscreen .btn_container .func_list{
    margin-top: 30px;
}
.fullscreen .btn_container .effects_list,
.fullscreen .btn_container .func_list{
    display: grid;
    grid-gap: 35px;
}
.fullscreen .btn_container button.btn{
    background: var(--main);
    color: var(--black);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;

    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.fullscreen .btn_container input[type=submit]{
    background: var(--main);
    font-size: 20px;
    line-height: 30px;
    font-weight: 600;
    color: var(--black);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;

    border: 0;
    padding: 10px 30px;

    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.fullscreen .btn_container button.btn:active{
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(0.98);
    transform: scale(0.98);
}
.fullscreen .btn_container input[type=submit]:hover,
.fullscreen .btn_container button.btn:hover,
.fullscreen .btn_container button.btn.active{
    background: var(--purple);
}


.photo-button {
    position: relative;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 0;
}
.circle {
    position: absolute;
    top: 12%;
    left: 12%;
    bottom: 12%;
    right: 12%;
    border-radius: 100%;
    background-color: var(--grey);
    opacity: 0;
}
.ring {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;

    border-radius: 100%;
    border: 0.5em solid var(--grey);
    opacity: 0.8;
}
.photo-button .circle, .photo-button .ring {
    transition: all 0.25s;
}
.photo-button:hover .circle {
    opacity: 1;
}
.photo-button:active .ring {
    opacity: 1;
}
.photo-button:active .circle {
    opacity: 0.5;
}

/*region Loading*/

.loading {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    position: absolute;
    right: 0;
    left: 0;
    z-index: 1;
}
.loading h1 {
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 40px;
    text-align: center;
    padding: 0 20px;
}

.loading .container {
    display: flex;
    column-gap: 20px;
    justify-content: center;
}

.loading .container .dot {
    width: 40px;
    height: 40px;
    background-color: var(--main);
    border-radius: 50%;
    animation: loading 1s infinite alternate;
}

.loading .container .dot:nth-child(1) {
    animation-delay: -0.25s;
}

.loading .container .dot:nth-child(2) {
    animation-delay: -0.5s;
}

.loading .container .dot:nth-child(3) {
    animation-delay: -0.75s;
}

.loading .container .dot:nth-child(4) {
    animation-delay: -1s;
}

@keyframes loading {
    0% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(5px);
    }
}

/*endregion Loading*/

/*region Smart mirror buttons*/

.effect_btn{
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    background: var(--main);
    border-radius: 60px;
    padding: 10px 25px;

    font-size: 25px;
    line-height: 35px;
    font-weight: 700;
    color: var(--black);
}
.function_btn{
    box-shadow: 0 8px 5px 5px rgba(0, 0, 0, 0.25);

    background: var(--white);
    border-radius: 100%;
    width: 80px;
    height: 80px;
    padding: 20px;
    display: block;
    border: 0;
}
.function_btn:disabled{
    opacity: 0.4;
}
.function_btn img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
}
.function_btn:hover{
    background: var(--main);
}
@media (max-width: 1024px) {

    .fullscreen .btn_container input[type=submit],
    .effect_btn{
        font-size: 16px;
        line-height: 24px;

        padding: 5px 20px;
    }
    .function_btn{
        width: 60px;
        height: 60px;
        padding: 15px;
    }


    .fullscreen .btn_container .effects_list,
    .fullscreen .btn_container .func_list{
        grid-gap: 20px;
    }
}
@media (max-width: 820px) {
    .fullscreen .btn_container input[type=submit],
    .effect_btn{
        font-size: 12px;
        line-height: 16px;

        padding: 5px 15px;
    }
    .function_btn{
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .fullscreen .btn_container .effects_list,
    .fullscreen .btn_container .func_list{
        grid-gap: 15px;
    }
}

/*endregion Smart mirror buttons*/

/*Count down*/

.photo_countdown{
    font-size: 5rem;
    font-weight:500;
    color: #ffffff;
    text-shadow: 0 3px 3px rgba(0,0,0,0.5);


    width: max-content;
    height: max-content;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;

    z-index: 30;
}
#img-post {
    display: none;
}
@media print {
    body * {
        display: none !important;
    }
    body #img-post {
        display: block !important;
    }
}

/*Count down*/