* {
    font-family: 'Oswald', sans-serif;
    color: white;
}

@import url('https://fonts.googleapis.com/css?family=Orbitron');

/* body {
background-color: #121212;
} */

#masterclock {
    /* font-family: 'Orbitron', sans-serif; */
    color: #a7dda7;
    font-size: 56px;
    text-align: center;
    padding: 30px;
    background: #0000003b;
    width: 400px;
    margin: auto;
    margin-top: 100px;
}

body {
    background-image: url('https://images.unsplash.com/photo-1673246333676-d559a7e02089?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1429&q=80');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.content-center {
    text-align: center;
    display: flex;
    align-items: center;
    height: 40%;
}

.back {
    background-image: url(https://i.gifer.com/J4o.gif);
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.2;
}

.ministry {
    color: white;
    font-family: arial;
    font-weight: 600;
    font-size: 17px;
    width: 267px;
    margin: auto;
    padding-top: 15px;
}

.date {
    color: #ff2e2e;
    font-size: 27px;
}

.day {
    color: #ffffff;
    font-size: 55px;
    font-family: arial;
    font-weight: 700;
    margin-left: 12px;
}

.clock {
    zoom: 1;
    width: 1000px;
    margin: auto;
    /* margin-top: 20px; */
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
}

.backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .31));
    z-index: -1;
}

.masterhead {
    width: 1000px;
    margin: auto;
    color: white;
    padding: 70px;
    background: #24366778;
    /* margin: 5px; */
}

.flip-clock-label {
    color: white !important;
}


.flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    width: 100%;
}

.flex-item {
    height: 380px;
    background: #00000054;
    flex: 20%;
    max-width: 80%;
    margin: 10px
}

.flex-master {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50%;
}

.header {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 70px;
    text-align: center;
}

.flip-clock-wrapper {
    margin-top: 100px;
}

.flip-clock-label {
    margin-bottom: 0px;
    font-size: 24px;
}

.todays-date{
    font-size: 38px;
    color: #c7d140;
    bottom: 0;
    box-shadow: #000;
    text-align: center;
}

p{
    font-size: 35px;
    text-align: center;
    margin-top: 40PX;
}

span{
    font-size: 56PX;
}

@media (max-width: 820px) {

    .clock {
        width: 100%;
        zoom: 0.8;
        align-items: center;
        justify-content: center;
        display: flex;
    }

    .flex-item {
        height: auto;
        flex: 100%;
    }

    .flip-clock-wrapper ul li a div div.inn {
        position: absolute;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 200%;
        color: #ccc;
        text-shadow: 0 1px 2px #000;
        text-align: center;
        background-color: #333;
        border-radius: 6px;
        font-size: 40px;
    }

    .flip-clock-wrapper {
        margin-top: 35px;
    }

    .flip-clock-wrapper ul {
        position: relative;
        float: left;
        margin: 2px;
        width: 10px;
        height: 50px;
        font-size: 80px;
        font-weight: bold;
        line-height: 87px;
        border-radius: 5px;
        background: #000;
    }

    .flex-item {
        height: 158px;
        background: #00000054;
        flex: 20%;
        max-width: 100%;
        margin: 0px
    }

    .header {
        font-size: 24pt;
    }

    .todays-date{
        font-size: 12pt;
        margin-bottom: 15px;
    }

    p{
        font-size: 13pt;
        margin-top: 10px;
        margin-bottom: 0px;
    }

    span {
        font-size: 20pt;
    }

    .flip-clock-wrapper ul li a div.up:after {
        content: "";
        position: absolute;
        top: 24;
        left: 0;
        z-index: 5;
        width: 100%;
        height: 1px;
        background-color: #000;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .flip-clock-wrapper ul li {
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        line-height: 47px;
        text-decoration: none !important;
    }

    .flip-clock-dot {
        display: block;
        background: #323434;
        /* background: #ffffff; */
        width: 5px;
        height: 5px;
        position: absolute;
        border-radius: 50%;
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
        left: 7px;
    }

    .flip-clock-dot.top {
        top: 40px;
    }
    
    .flip-clock-dot.bottom {
        top: 55px;
        bottom: 30px;
    }

    .flip-clock-divider .flip-clock-label {
        position: absolute;
        top: 0.3em;
        right: -63px;
        color: black;
        text-shadow: none;
    }
    
    .flip-clock-divider.days .flip-clock-label {
        right: -55px;
    }
    .flip-clock-divider.hours .flip-clock-label {
        right: -58px
    }
    .flip-clock-divider.minutes .flip-clock-label {
        right: -63px;
    }
    
    .flip-clock-divider.seconds .flip-clock-label {
        right: -63px;
    }

    span.flip-clock-label{
        font-size: 10pt;
    }

}