body {
    display: flex;
    align-items: center;
    margin: 0;
    height: 100vh;
    overflow: hidden;
}


.phoneContainer {
    position: relative;
    background-image: url("images/phone-full.jpg");
    background-repeat: no-repeat;
    background-size: contain;
    height: 90vh;
    aspect-ratio: 450/1050;
    margin: 0 auto;                     
    aspect-ratio: 450/1050;            
}

.batteryIndicator {
    position: absolute;
    top: 28%;  /* Align with your phoneScreen */
    left: 5%;  /* Adjust based on your layout */
    width: 20px;  /* Adjust based on your battery bar size */
    height: 19%;  /* Match your phoneScreen height */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;  /* Make sure it's above the phone background */
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.batteryIndicator.blinking {
    animation: blink 1s infinite;
}

.startingButton {
    position: absolute;
    top: 54%;
    left: 25%;
    transform: translate(-50%);
    width: 20%;
    height: 8%;
    cursor: pointer;
    clip-path: polygon(
        27% 0%,    
        63% 29%,  
        100% 51%, 
        82% 80%,  
        63% 100%, 
        36% 80%,   
        18% 58%,  
        0% 22%   
    );
    background: #4CAF50;
    animation: glowGreen 1.5s infinite;
    z-index: 1000;
    filter: drop-shadow(4px 10px 10px #4CAF50)
}


@keyframes glowGreen {
    0% {
        opacity: 0.2;
        background: #4CAF50;
    }
    50% {
        opacity: 0.4;
        background: #4CAF50;
    }
    100% {
        opacity: 0.2;
        background: #4CAF50;
    }
}

.phoneScreen {
    position: relative;
    top: 28%;  
    left: 50%;
    transform: translateX(-50%);
    width: 54%; 
    height: 19%;  
}

.numContainer { /*ok*/
    position: relative;
    top: 46%;  /* 565px / 875px */
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 28%;
    width: 77%;
}

#voicemail-display {
    position: relative;
    width: 100%;       
    height: 100%;      
    font-family: monospace;
    font-size: 1.75vh;;
    text-align: left;
    overflow-y: auto;
    overflow-x: hidden;
}

p[data-num] {
    margin: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}