@font-face {
  font-family: 'FiraMono-Regular';
  src: url('../fonts/FiraMono-Regular.eot'); 
  src: url('../fonts/FiraMono-Regular.woff2') format('woff2'), 
       url('../fonts/FiraMono-Regular.woff') format('woff'), 
       url('../fonts/FiraMono-Regular.ttf')  format('truetype'), 
       url('../fonts/FiraMono-Regular.otf')  format('opentype') 
}

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background-color: black;
    user-select: none;
}

body {
    font-size: 100%;
    font-family: 'FiraMono-Regular', monospace;
}

main {
    width: 100%;
    padding: 0 10px;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

h1 {
    margin: .5rem 0;
    font-size: 5rem;
    text-align: center;
}

img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    max-width: 600px;
    border: 4px solid #000000;
}

.player {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 1em 0 5px 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.player__tile {
    width: 100%;
    height: 300px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 auto;
    color: #000000;
    max-width: 400px;
    border-radius: 8px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background-color: #FFFFFF;
    -webkit-box-shadow: inset 4px 4px 0 #000, 
                inset -4px 4px 0 #000, 
                inset -4px -4px 0 #000, 
                inset 4px -4px 0 #000;
            box-shadow: inset 4px 4px 0 #000, 
                inset -4px 4px 0 #000, 
                inset -4px -4px 0 #000, 
                inset 4px -4px 0 #000;
}


.player-2 {
    color: #FFFFFF;
    margin-top: 5px;
    background-color: #2D2C2C;
}

.player__digits {
    font-size: 5.5rem;
    font-weight: bold;
}

.timer__buttons {
    margin-bottom: 1em;
}

.timer__start-bttn, 
.timer__pause-bttn {
    width: 100%;
    display: block;
    color: #020202;
    min-height: 50px;
    max-width: 400px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 8px;
    letter-spacing: 2px;
    margin: 0 auto 5px auto;
    border: 4px solid #000000;
    font-family: 'FiraMono-Regular', monospace;
}

.timer__start-bttn {
    color: #FFFFFF;
    background-color: #0071D5;
}

.timer__start-bttn:hover {
    color: #000000;
    background-color: #FFFFFF;
}

.timer__pause-bttn:hover {
    color: #FFFFFF;
    background-color: #0071D5;
}

footer p {
    margin: .5rem 5px;
    text-align: center;
}

.footer__link {
    color: #444444;
    font-size: .8rem;
}

.footer__link a {
    color: #444444;
}

.active {
    border: red 10px solid;
}


#iac {
    opacity: 0.6;
    position: fixed;
    right: 10px;
    bottom: 10px;
    height: 75px;
    width: auto;
    transition: 1s;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.41);
    border: none;
}

#iac:hover {
    opacity: 1 !important;
    transform: scale(1.2);
}

@media only screen and (orientation: landscape) and (max-width: 850px) {
    .player {
        max-width: 610px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        margin: 5px auto 0 auto;
    }
    .player__tile {
        max-width: 300px;
        max-height: 250px;
        margin: 0 3px 5px 3px;
    }
    .player__digits {
        font-size: 5rem;
    }
    .timer__buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0 auto;
        max-width: 610px;
    }
    .timer__start-bttn, 
    .timer__pause-bttn {
        display: block;
        max-width: 300px;
        margin: 0 3px 5px 3px;
    }
}



@media only screen and (orientation: portrait) and (min-width: 400px) {
    .player__tile {
        height: 400px;
    }
    .player__digits {
        font-size: 6rem;
    }
}
@media only screen and (orientation: portrait) {
.player-1 {
    transform: rotate(180deg)
    }
}
@media only screen and (min-width: 850px) {
    .player {
        margin: 1em auto 10px auto;
        max-width: 810px;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }
    .player__tile {
        height: 400px;
    }
    .player-2 {
        margin-top: 0;
    }
    .player__digits {
        font-size: 7rem;
    }
    .timer__buttons {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 0 auto;
        max-width: 810px;
    }
    .timer__start-bttn, 
    .timer__pause-bttn {
        padding: .7em;
        font-size: 1.8rem;
    }
}
