/* 
======================
        Font
======================
*/

@import url('https://fonts.googleapis.com/css?family=Press+Start+2P&display=swap');

/* 
====================
    Base Styles
====================
*/

html {
    font-size: 10px;
    box-sizing: border-box;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    font-family: 'Press Start 2P', sans-serif;
    font-size: 1.6rem;
    background-color: #222;
    color: #eee;
}

/* 
===================
    Component
===================
*/
.btn {
    border: none;
    outline: none;
    width: 18rem;
    height: 6rem;
    font-size: 2rem;
    font-family: 'Press Start 2P', sans-serif;
    color: #222;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    background-color: #d2d2d2;
}

/* 
==================
  Helper Classes
==================
*/

.hidden {
    display: none;
}

/* 
================
    Header
================
*/

.header {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    gap: 2rem;
}

.title {
    text-align: center;
    margin: 1.2rem 0 3rem 0;
    font-size: 4rem;
}


.bar {
    border: solid 5px #ffff;
    position: absolute;
    left: 0;
    right: 0;
    top: 24rem;
}

.secret-number {
    width: 15rem;
    height: 12rem;
    background-color: #eee;
    margin: 0 auto;
    color: #333;
    font-size: 6rem;
    margin-bottom: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.main-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.guess {
    width: 25rem;
    height: 11rem;
    background-color: transparent;
    outline: none;
    border: solid 5px #eee;
    margin-bottom: 3rem;
    font-size: 5rem;
    font-family: 'Press Start 2P', sans-serif;
    text-align: center;
    color: #eee;
    padding: 2rem;
}

.right {
    font-size: 2rem;
}

.message {
    margin-bottom: 10rem;
}

.label-score {
    margin-bottom: 2rem;
}