@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Datatype:wght@100..900&display=swap');

html, body {
    font-family: "Open Sans",'Times New Roman', Times, serif;
    box-sizing: border-box;
    width: 100%;
    height: 100%;  
}

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

body {
    display: flex;
    flex-direction: column;
    color: white;
    background: #302833;
}

h2,
p,
footer {
    font-family: "Datatype";
    font-size: 18px;
}

.content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


header {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.2rem;
    color: #f7ecec;
    background-color: rgb(53, 69, 91);
    text-align: center;
    margin-top: 0px;
}

.box {
    width: 100px;
    height: 100px;
    background: rgb(76, 76, 182);
    border: 0px;    
    border-radius: 10px;;
}

.box:hover {
   border: 3px solid #e6d7d7; 
}

.box-machine {
    background-color: #6c2222;
    border: 0px;
}

.box-machine:hover {
    border: 0px;
}


.box-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 80px;
    background-color: rgb(59, 74, 111);
    padding: 40px;

}

.box-machine-container {
    background-color: #d04444;
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    color: #f7ecec;
    background-color: rgb(53, 69, 91);
    padding: 5px;
}

.colored-text {
    margin-top: 30px;
    background-color: rgb(45, 57, 87);
}

.colored-text-machine {
    background-color: #591313;
}

.scores {
    display: flex;
    justify-content: center;
    gap: 20px;
}
#result {
    margin-top: 20px;
}

#choose {
    margin-top: 15px;;
}