/* MOVE TO Global settings */
@import "colors.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
 background-image: linear-gradient(to right, #ECE9E6 0%, #FFFFFF  51%, #ECE9E6  100%);
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
}
/*   Closed state of the dialog   */
dialog {
    opacity: 0;
    transform: scaleY(0);
    transition: opacity 0.7s ease-out,
    transform 0.7s ease-out,
    display 0.7s ease-out allow-discrete;
    /* Equivalent to
    transition: all 0.7s allow-discrete; */
}
.login-btn {
    background: rgba(0,0,0, .6);
    padding: 20px;
    border-radius: 50%;
}
.reports >  .col-4 {
    align-self: end;
    margin: 0;
}

.select-grad {background-image: linear-gradient(to right, #2b5876 0%, #4e4376  51%, #2b5876  100%)}
.select-grad {
    margin: 10px;

    text-align: center;
    text-transform: uppercase;
    transition: 0.5s;
    background-size: 200% auto;
    color: white;
    box-shadow: 0 0 20px #eee;
    border-radius: 10px;
    display: block;
}
.select-grad:hover {
    background-position: right center; /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}
.info-holder {
    p {
        background-image: linear-gradient(to top, #c1dfc4 0%, #deecdd 100%);
    }
    label {
        margin: 5px 0;
    }
}
/*   Before-open state  */
/* Needs to be after the previous dialog[open] rule to take effect,
    as the specificity is the same */
@starting-style {
    dialog[open] {
        opacity: 0;
        transform: scaleY(0);
    }
}

/* Transition the :backdrop when the dialog modal is promoted to the top layer */
dialog::backdrop {
    z-index: 99999;
    background-color: rgb(0 0 0 / 0%);
    transition: display 0.7s allow-discrete,
    overlay 0.7s allow-discrete,
    background-color 0.7s;
    /* Equivalent to
    transition: all 0.7s allow-discrete; */
}

dialog[open]::backdrop {
    background-color: rgb(0 0 0 / 25%);
}

/* This starting-style rule cannot be nested inside the above selector
because the nesting selector cannot represent pseudo-elements. */

@starting-style {
    dialog[open]::backdrop {
        background-color: rgb(0 0 0 / 0%);
    }
}


/* Movie counter */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@500&display=swap");
.minh-100 {
    min-height: 100% !important;
}


.counter-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    box-shadow: inset 0 0 5em 1em #000;
    background: #4f4f4f;

    .lines::before {
        content: "";
        top: 50%;
        transform: translatey(-50%);
        left: 0;
        height: 8px;
        background: #000;
        width: 100%;
        position: absolute;
    }

    .lines::after {
        content: "";
        top: 0;
        left: 50%;
        transform: translatex(-50%);
        width: 8px;
        background: #000;
        height: 100vh;
        position: absolute;
    }

    .screen {
        clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
        background: #e1e1e1;
        position: absolute;
        height: calc(100vh + 100vw);
        width: calc(100vh + 100vw);
        animation: spin 1s linear infinite;
    }

    .lines {
        box-shadow: inset 0 0 5em 1em #000;
        position: absolute;
        left: 0;
        width: 100vw;
        height: 100vh;
        left: 0;
    }

    .number {
        font-size: 18rem;
        position: relative;
    }

    .number::after,
    .number::before {
        content: "";
        border: #f7f7f7 solid 12px;
        border-radius: 50%;
        position: absolute;
    }

    .number::before {
        width: 480px;
        height: 480px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .number::after {
        width: 400px;
        height: 400px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }




}

.fancy{
    position: absolute;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
@keyframes spin {
    0% {
        clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
    }
    12.5% {
        clip-path: polygon(50% 50%, 100% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
    }
    37.5% {
        clip-path: polygon(
                50% 50%,
                100% 100%,
                100% 100%,
                100% 100%,
                0 100%,
                0 0,
                50% 0
        );
    }
    62.5% {
        clip-path: polygon(50% 50%, 0 100%, 0 100%, 0 100%, 0 100%, 0 0, 50% 0);
    }
    87.5% {
        clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0, 50% 0);
    }
    100% {
        clip-path: polygon(50% 50%, 50% 0, 50% 0, 50% 0, 50% 0, 50% 0, 50% 0);
    }
}



