body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    padding: 10px 20%; 

    text-align: center;
    background-color: #282a36;
    color: white;
    font-size: large;
}

h1 {
    color: #bd93f9;
    font-size: xx-large;
}

.selection-img {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;

}

.selection-img > div {
    flex: 1 1 0px;
    font-size: larger;
    border: 1px solid white;
    color: #ff79c6;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
   
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

    .selection-img > div > p {
        font-size: xx-large;
    }

.results {
    margin: 20px;
}

.buttons {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: space-between; 
    gap: 20px;
    margin: 20px;
}

button {
    flex: 1 1 0px;
    background-color: #6272a4;
    border-color: #44475a;
    padding: 10px;
    cursor: pointer;

    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.scoreboard {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.scoreboard >  div {
    flex: 1 1 0px;
    padding: 10px;
}

.score {
    flex: 2 2 0px;
    border: 1px solid #8be9fd;

    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

    .score p {
        margin: 0 0 10px 0;
        padding: 0px;
    }

.modal{
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #44475a;
    color: #bd93f9;
    margin: auto;
    padding: 20px;
    border: 1px solid #6272a4;
    width: 80%;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
  
/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
 
#score-msg {
    margin: 0;
}
.close:hover,
.close:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}