/* ====================== DEVICE FRAMES ====================== */

.device-frame {
    display: inline-block;
    position: relative;
    background: #1a1a1a;
    border: 2px solid #555;
    border-radius: 1vw;
    padding: .4vw;
    overflow: hidden;
}
.device-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 3px -3px 7px rgba(0,0,0,.5);
    z-index: 1;
}

/* Phone (mobile) */
.device-phone {
    width: 100%;
    border-radius: 1vw;
    padding: 5px 5px 26px;
}

.device-phone .device-screen {
    border-radius: 8px 8px 3.5px 3.5px;
    overflow: hidden;
    background: #1a1a1a;
}
.device-phone .device-screen::before {
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 31px);
}
.device-phone .device-screen::after {
    content: ".";
    font-size: 60px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #4a4a4a;
    font-size: 100px;
    line-height: 0.95;
}

/* Desktop / Monitor */
.device-desktop {
    width: 100%;
    border-radius: .5vw;
    padding: 5px 5px 25px 5px;
}

.device-desktop .device-screen {
    border: 2px solid #333;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
}
.device-desktop .device-screen::before {
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 30px);
}
/* Optional: Add a thin "stand" for desktop */
.device-desktop::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 12px;
    background: linear-gradient(#1a1a1a,#4a4a4a);
    border-radius: 6px;
}

/* Make the screenshot fill the inner screen perfectly */
.screenie-inner {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    border: none;
}
