﻿
body.force-notif {
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    width: 100%;
}

    body.force-notif header {
        display: flex;
        height: 100%;
        width: 100%;
    }

@keyframes pop-up-force-notif {
    0% {
        height: 0%;
    }

    50% {
        height: 0%;
    }

    100% {
        height: 100%;
    }
}

@keyframes show-text-force-notif {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.pop-up-force-notif {
    animation: pop-up-force-notif 3s ease 0.2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    height: 0;
    position: fixed;
    overflow: hidden;
    width: 100%;
    z-index: 30;
}

    .pop-up-force-notif .content-force-notif {
        align-self: center;
        background-color: white;
        width: 700px;
        height:240px;
    }

        .pop-up-force-notif .content-force-notif p {
            font-size: 25px;
            line-height: 1.5;
            color: black;
            animation: show-text-force-notif 1s ease 3.3s;
            animation-iteration-count: 1;
            animation-fill-mode: forwards;
            font-size: 50px;
            opacity: 0;
            text-align: center;
        }
input[type="checkbox"] {
    display: none;
}

label.close-force-notif {
    animation: show-text-force-notif 0.8s ease 3s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
    color: white;
    cursor: pointer;
    font-size: 24px;
    right: 30px;
    opacity: 0;
    position: fixed;
    top: 20px;
    z-index: 40;
}

input[type="checkbox"]:checked ~ div.pop-up-force-notif {
    display: none;
}

input[type="checkbox"]:checked ~ label.close-force-notif {
    display: none;
}