@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

:root{
    --primary-color :#af2f9c;
    --dark-color : #333333;
    --light-color : #f4f4f4;
    --win-color : #28a745;
    --lose-color : red;
}

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

body{
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #fff;
    color: #333;
}

.container{
    max-width: 1100px;
    margin: auto;
    overflow : hidden;
    padding: 0 2rem;
    text-align: center;
}

.restart-btn {
    display: none;
    background: var(--light-color);
    color : #333;
    padding : 0.4rem 1.3rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    border: none;
    transition: 0.5s;
    margin-bottom: 1rem;
}

.restart-btn:hover{
    background: var(--primary-color);
    color: #fff;
}

.header{
    text-align: center;
    margin: 1rem 0;
}

.header h1{
    margin-bottom: 1rem;
}

.score{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-size: 1.2em;
    color : #fff;
}

.score p:first-child{
    background:  var(--primary-color);
}

.score p:last-child{
    background:  var(--dark-color);
}

.choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2em;
    margin-top: 3em;
    text-align: center;
}

.choice {
    cursor: pointer;
}

.choice:hover {
    color: var(--primary-color);
}

.text-win {
    color: var(--win-color);
}

.text-lose {
    color: var(--lose-color);
}

@media (max-width: 700px) {
    .choices {
      font-size: 10px;
    }
  }
  
  @media (max-width: 500px) {
    .choices {
      font-size: 8px;
    }
  }