body{
    margin: 0;
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    justify-content: center;
    background-size: cover;
    overflow: hidden;
}

h2{
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 50px;
    text-align: center;
    color: white;
}

.clock{
    display: flex;
}

.clock div{
    margin: 5px;
    position: relative;
}

.clock span{
    width: 100px;
    height: 80px;
    background: violet;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.clock .text{
    height: 30px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: darkblue;
}

.clock #ampm{
    position: absolute;
    bottom: 0;
    width: 60px;
    height: 30px;
    font-size: 20px;
    background-color: green;
}
/* Countdown */
.clock2{
    display: flex;
}

.clock2 div{
    margin: 5px;
    position: relative;
}

.clock2 span{
    width: 100px;
    height: 80px;
    background: violet;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.clock2 .text{
    height: 30px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: darkblue;
}

/* Audio & Video */
.backvideo{
    position: absolute;
    z-index: -1;
}

audio{
    height: 15px;
    width: 320px;
    align-items: center;
    opacity: .2;
}
audio:hover{
    opacity: .9;
}

/* Default styles for all screens */


/* Extra small devices (phones) */
@media only screen and (max-width: 575.98px) {
    body{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    h2{
        letter-spacing: 5px;
        font-size: 25px;
    }
    .clock{
        display: flex;
        padding-bottom: 130px;
    }
    .clock div{
        margin: 5px;
        position: relative;
    }
    .clock span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .clock #ampm{
        width: 35px;
        height: 20px;
        font-size: 15px;
        background-color: green;
    }
    .clock2 div{
        margin: 5px;
        position: relative;
    }
    .clock2 span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock2 .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
}

/* Small devices (tablets) */
@media only screen and (min-width: 576px) and (max-width: 767.98px) {
    body{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    h2{
        letter-spacing: 5px;
        font-size: 25px;
    }
    .clock{
        display: flex;
        padding-bottom: 130px;
    }
    .clock div{
        margin: 5px;
        position: relative;
    }
    .clock span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .clock #ampm{
        width: 35px;
        height: 20px;
        font-size: 15px;
        background-color: green;
    }
    .clock2 div{
        margin: 5px;
        position: relative;
    }
    .clock2 span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock2 .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    

}

/* Medium devices (landscape tablets and small desktops) */
@media only screen and (min-width: 768px) and (max-width: 991.98px) {
    body{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    h2{
        letter-spacing: 5px;
        font-size: 25px;
    }
    .clock{
        display: flex;
        padding-bottom: 130px;
    }
    .clock div{
        margin: 5px;
        position: relative;
    }
    .clock span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .clock #ampm{
        width: 35px;
        height: 20px;
        font-size: 15px;
        background-color: green;
    }
    .clock2 div{
        margin: 5px;
        position: relative;
    }
    .clock2 span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock2 .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    


}

/* Large devices (desktops) */
@media only screen and (min-width: 992px) and (max-width: 1199.98px) {
    body{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    h2{
        letter-spacing: 5px;
        font-size: 25px;
    }
    .clock{
        display: flex;
        padding-bottom: 130px;
    }
    .clock div{
        margin: 5px;
        position: relative;
    }
    .clock span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .clock #ampm{
        width: 35px;
        height: 20px;
        font-size: 15px;
        background-color: green;
    }
    .clock2 div{
        margin: 5px;
        position: relative;
    }
    .clock2 span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock2 .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    


}

/* Extra large devices (large desktops) */
@media only screen and (min-width: 1200px) {
    body{
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }
    body video{
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    h2{
        letter-spacing: 5px;
        font-size: 25px;
    }
    .clock{
        display: flex;
        padding-bottom: 130px;
    }
    .clock div{
        margin: 5px;
        position: relative;
    }
    .clock span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    .clock #ampm{
        width: 35px;
        height: 20px;
        font-size: 15px;
        background-color: green;
    }
    .clock2 div{
        margin: 5px;
        position: relative;
    }
    .clock2 span{
        width: 70px;
        height: 50px;
        font-size: 45px;
    }
    .clock2 .text{
        height: 15px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    


}
