

.rotate-device-parent {
    position: fixed; /* Keeps the element in a fixed position */
    top: 50%; /* Positions the top edge of the element at the middle of the viewport */
    left: 50%; /* Positions the left edge of the element at the middle of the viewport */
    transform: translate(-50%, -50%); /* Adjusts the element's position to be truly centered */
    width: 50%; /* Adjust this as needed for desktop */
    height: 50%; /* Adjust this as needed, or keep it as a percentage */
    z-index: 1000001; /* Ensures it sits above other content */
    padding: 15px;
    min-height: 230px; /* Adjust if necessary */
    min-width: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column !important;
  animation: fadeOut 2s forwards 1.5s;
}


.rotate-device-text
{
    margin-bottom:10px;
    text-align:center;
    padding:5px;
}

.rotate-device-image {
    width: 100px !important; /* Adjust as needed */
    animation: spinRight 1s forwards;
    margin-left:auto !important;
    margin-right:auto !important;
}


@keyframes fadeOut {
    from {
        opacity: 1;
        visibility:visible;
    }

    to {
        opacity: 0;
        visibility:hidden;
    }
}

@keyframes spinRight {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(90deg);
    }
}
