/**
 * author: Mahfuzur Rahman
 */
.photo-shooter
.phone-cover {
    position: relative;
    border: 4px solid #c0c0c0a3;
    width: fit-content;
    height: fit-content;
    border-radius: 29px;
}

.photo-shooter .phone-basel{
    background-color: white;
    border-radius: 26px;
    overflow: hidden;
}

.photo-shooter
.phone-screen {
    position: relative;
    width: 350px;
    height: 600px;
    border: 12px solid black;
    max-width: 100vw;
    max-height: 100vh;
    background-color: rgba(0, 0, 0, .9);
    box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.5);
    border-radius: 26px;
    overflow: hidden;
}

.photo-shooter
.phone-screen.capture {
    animation: shot-flash 400ms;
}

.photo-shooter .video-panel{
    height: 100%;
    width: 100%;
    z-index: 1;
    position: absolute;
    transition: opacity .2s ease-in-out;
}

.photo-shooter .image-panel{
    height: 100%;
    width: 100%;
    z-index: 2;
    position: absolute;
    transition: opacity 1s ease-in-out;
}


.flash{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: white;
    z-index: 3;
    pointer-events: none;
}

.flash.capture{
    animation: shot-flash 400ms;
}


.photo-shooter .image-panel img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.photo-shooter .actions{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px 10px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 3;
}



.rotate{
    animation: .6s rotate infinite;
  }

.rotate1{
  animation: .5s rotate ease;
}

@keyframes rotate{
  100%{transform:rotate(360deg);}
}

.photo-shooter .actions button:hover,
.photo-shooter .actions button:active,
.photo-shooter .actions button{
    outline: none;
    box-shadow: none;
    cursor: pointer;

    background-color: rgba(0, 0, 0, .8);
    color: white;

    padding: 0px;
    border: 0px;
}

.photo-shooter .actions button img{
  height: 100%; width: 100%;
  border-radius: 50%;
  object-fit:cover;
}

.photo-shooter .actions button.phone-btn,
.photo-shooter .actions button.phone-btn:hover,
.photo-shooter .actions button.phone-btn:focus,
.photo-shooter .actions button.phone-btn:active
{
  background:rgba(0,0,0, .3);
  height:40px!important;
  width:40px!important;
  padding:6px!important;
  overflow:hidden;
  border-radius:50%;
  border: 1px solid rgba(0, 0, 0, .4);
  outline: none;
}


.photo-shooter .actions
.capture-button,
.photo-shooter .actions
.capture-button:hover,
.photo-shooter .actions
.capture-button:active
{
    width: 50px;
    height: 50px;
    border: 6px solid rgba(0, 0, 0, .9);
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .8);
    box-shadow: 1px -1px 7px #636363;
    position: relative;
}

.photo-shooter .actions .capture-button::after {
    content: "";
    position: absolute;
    height: 36px;
    width: 36px;
    background: transparent;
    border: 1px solid #ffffff36;
    border-radius: 50%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    box-shadow: 1px -1px 9px #636363;
}

.photo-shooter .actions .capture-button:hover:after {
    box-shadow: 1px -1px 20px 636363;
}


.photo-shooter .actions
.capture-button:hover {
    background-color: rgba(255, 255, 255, .5);
}

.photo-shooter .actions
.capture-button:active {
    background-color: rgba(205, 67, 67, 0.5);
}





.photo-shooter .video-panel
video {


    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;

}

.photo-shooter .video-panel
video.flipX {
    transform: scaleX(-1);
}


.hide{
    opacity: 0;
}

.d-none{
    display: none;
}

.d-invisible{
    visibility: hidden;
}



@keyframes shot-flash {
    0% {
        background-color: white;
    }

    5%{
        /* background-color: rgba(255, 255, 255, .5); */
        background-color: black;
    }
    12%{
        background-color: white;
    }

    50% {
        background-color: white;
    }

    100% {
        background-color: rgba(0, 0, 0, .9);
    }
}

.orb{
    width: 200px;
    height: 200px;
    border: 5px solid white;
    border-radius: 50%;
    position: relative;
    font-size: 16px;
    background-color: rgba(0, 0, 0, .2);
    box-shadow: 0 0 3px rgb(206, 255, 47), inset 0 0 3px #eee;
}


.orb .content{
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    border-radius: 50%;
    overflow: hidden;
    color: white;
    font-size: 300%;
}


.profile-pic{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


.orb .progress,
.orb .active-text{
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom: 0;
    border-radius: 50%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: all 5s;
    color: transparent;
}




.orb.active .active-text{
    font-size:20px;
    letter-spacing: .7em;
    user-select: none;
    color: greenyellow;
    text-shadow: 0px 0px 10px gold;
    padding-left: .7em;


    animation: text_active 6s linear infinite both;
}

@keyframes text_active {
    0%{text-shadow: 0px 0px 10px gold, 0px 0px 0px white;}
    25%{text-shadow: 0px 0px 10px gold, 0px 0px 10px white;}
    50%{text-shadow: 0px 0px 10px gold, 0px 0px 20px white;}
    75%{text-shadow: 0px 0px 10px gold, 0px 0px 10px white;}
    100%{text-shadow: 0px 0px 10px gold, 0px 0px 0px white;}
}


.orb .progress{
    opacity: 0;
    box-shadow: inset 0px 0px 3px yellowgreen;
}

.orb .progress::before{
    content: "";
    display: block;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border-radius: 50%;
    position: absolute;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    transition: all 5s;
}


.active .progress{
    opacity:1;
    background-color: rgba(0, 0, 0, 0.7);
}

.active .progress::before{
    transform: translateY(-97px);
    background-color: rgb(118, 177, 30);
    box-shadow: 0 0 8px 1px greenyellow, 0 0 30px 10px yellow;
}

.orbit .progress{
    background-color: rgba(0, 0, 0, 0.7);
    animation: orbit 2s linear infinite both,
    burn 6s ease-in-out infinite both;
}


@keyframes orbit {
    100%{transform:rotate(360deg);}
}

@keyframes burn {
    10%{
        box-shadow: 0 0 8px 1px white;
    }

    20%{
        box-shadow: 0 0 8px 1px white, 0 0 10px 0px goldenrod;
    }

    50%{
        box-shadow: 0 0 8px 1px white, 0 0 80px 10px gold;
        background-color: rgba(0, 0, 0, 0.3);
    }

    80%{
        box-shadow: 0 0 8px 1px white, 0 0 10px 0px goldenrod;
    }

    90%{
        box-shadow: 0 0 8px 1px white;
    }
}