@charset 'utf-8';

.pouch-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 101;
    pointer-events: none;
}
.pouch-wrapper.show {display: flex;}

#pouch {position: relative; pointer-events: auto; max-width: 800px; max-height: 469px;}

.pouch {position: relative;pointer-events: auto;cursor: pointer;}
.pouch #phone_img {
    position: absolute;
    max-width: 190px;
    width: 23%;
    height: auto;
    top: 6%;
    left: 50%;
    transform: translate(-50%) rotate(12deg);
    z-index: -1;
    transition: .7s ease;
    opacity: 1;
}
.pouch:hover #phone_img {
    transform: translate(-50%) rotate(7deg);
}
.pouch.close #phone_img {
    opacity: 0;
    display: none;
}

.pouch #phone_img::before {
    content: '';
    position: absolute;
    top: 1%;
    left: 2%;
    width: 96%;
    height: 98%;
    border-radius: 1.5em;
    background: linear-gradient(-30deg, transparent, rgba(255,255,255,.1));
    background-color: #000;
    z-index: -1;
}