@import 'https://fonts.googleapis.com/css?family=Caveat';

/* Start Main Rule */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    /* height: 100%; */
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: azure;
    /* Fallback color */
    /* background-color: rgba(10, 9, 9, 0.5); */
    height: 100%;
    background-image: url("https://cdn.pixabay.com/photo/2021/09/10/06/47/paddle-tennis-6612340_960_720.jpg");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat-y: repeat;
    background-size: cover;
}


/* Position text in the middle of the page/image */

.bgs-text {
    /* Fallback color */
    /* background-color: rgba(0, 0, 0, 0.4); */
    /* Black w/opacity/see-through */
    color: white;
    font-weight: bold;
    border: 3px solid #f1f1f1;
    z-index: 2;
    padding: 10px;
    margin: 5px;
    display: flex;
    flex-direction: column;
    text-align: center;
    /* align-items: flex-end; */
    justify-items: center;
    /* background-image: url("https://cdn.pixabay.com/photo/2021/09/10/06/47/paddle-tennis-6612340_960_720.jpg");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    /*background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}

.big-text {
    font-size: 4rem
}


/* End Main Rule */

.title {
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    /* font-weight: 300; */
    /* font-size: xx-large; */
}

.input {
    color: rgb(8, 14, 14);
    /* font-size: xx-large; */
    font-weight: 600;
    text-align: center;
    /* width: 15%; */
}


/* Start CountDown Style */


/* h1 {
    margin-top: 6rem;
    margin-bottom: 1rem
} */

.countdown-container {
    display: flex
}

.countdown-container>div {
    margin: 0 2rem;
    text-align: center
}

.remainingTimeDiv {
    margin: 20px;
    border: solid 2px;
    padding: 6px;
    background-color: rgb(255, 0, 0);
}

.bg-ended {
    background-color: rgb(97, 189, 5) !important;
}

.digitHour {
    border: 2px solid #b5abab;
    border-radius: 25px;
    /* margin: 5px 5px 10px 10px; */
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 28px;
    /* line-height: 1; */
    color: #DEE2E6;
}

.gameTime {
    margin: 10px;
    border: solid 1px;
    border-radius: 25px;
    padding: 10px;
    background-color: rgb(245, 241, 241);
    color: rgba(0, 0, 0, 0.5);
    font-weight: 700;
    font-size: xxx-large;
}


/* End CountDown Style */


/* MODAL STYLING */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: .3rem;
    outline: 0;
}

.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    /* align-items: ; */
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}

.modal-title {
    margin: 0;
    line-height: 1.5;
    color: black;
    font-size: 1.8rem;
    font-weight: 400;
}

.modal-header button {
    font-size: 2rem;
    color: #000;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-body {
    padding: 1rem;
}

.modal-body h1 {
    margin-top: 0;
}

.show-modal.modal {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-dialog {
    margin: auto 1rem;
    opacity: 0;
    transform: translateY(-100px);
    transition: 300ms opacity ease-out, 300ms transform ease-out;
}

.modal.animate-modal .modal-dialog {
    opacity: 1;
    transform: translateY(0);
}