body {
    background-image: url(../images/blackjackbg.png);
    background-repeat: no-repeat;
    background-size: cover;
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 2em;
}

h1 {
    color: goldenrod;
    text-align: center;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: black;
    font-weight: bold;
}

#message-el {
    font-style: bold;
    color: goldenrod;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

#message-el span {
    font-style: normal;
}

button {
    color: #016f32;
    width: 150px;
    background: goldenrod;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: bold;
    font-size: .5em;
    border: none;
    border-radius: 2px;
    margin-bottom: 43px;
}

#dealer-sum-el,
#sum-el {
    color: goldenrod;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

#cards-label,
#dealer-label {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

#player-el {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.page-container {
    display: grid;
    grid-template-columns: repeat(20,1fr);
    gap: 20px;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 20px;
}

.rules {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    color: white;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
    font-weight: bolder;
    grid-column: 1 / span 4;
}

.rules h2 {
    font-size: 2rem;
    color: goldenrod;
}

.rules ul li {
    font-size: 1.5rem;
    text-align: left;
}

.game-container {
    text-align: center;
    grid-column: 5 / span 12;
}

hr {
    border: none;
    height: 1px;
    background-color: black;
}

@media screen and (max-width: 1200px) {
    h1,
    #message-el,
    #dealer-sum-el,
    #sum-el,
    #cards-label,
    #dealer-label,
    #player-el,
    .rules,
    .rules h2,
    .rules ul li {
      -webkit-text-stroke-width: 0 !important;
      -webkit-text-stroke-color: transparent !important;
    }

    .page-container {
      grid-template-columns: 1fr;
      gap: 10px;
      padding: 20px;
    }
  
    .rules {
      grid-column: 1 / -1;
      font-size: 0.85em;
      padding: 15px;
    }
  
    .rules ul li {
      font-size: 1.2rem;
    }
  
    .game-container {
      grid-column: 1 / -1;
      font-size: 1em;
    }
  
    button {
      width: 100%;
      max-width: 300px;
      margin: 10px auto;
      display: block;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    #message-el {
      font-size: 1.2rem;
    }
  
    #dealer-sum-el,
    #sum-el {
      font-size: 1.1rem;
    }
}