@charset "utf-8";
/*    JavaScript 7th Edition
      Chapter 7
      Hands-on Project 7-2

      Author: Your Name
      Date:   Current Date

      Filename: styles.css
*/

/* Structural styles */
html {
   background-color: #104e10;
   font-family: Arial, Helvetica, sans-serif;
}

body {
   background-color: #ffffff;
   width: 100%;
   max-width: 720px;
   min-width: 480px;
   margin: 0px auto;
   padding: 0px;
   box-shadow: 0px 0px 20px rgb(51, 51, 51);
}

header {
   background-color: #3f1a1a;
   color: #ffffff;
   padding: 10px 20px;
}

header h1 {
   font-size: 1.8em;
   margin: 0;
}

article {
   padding: 20px;
   min-height: 300px;
}

article h2 {
   font-size: 1.4em;
   color: #3f1a1a;
   margin-top: 0;
   border-bottom: 2px solid #3f1a1a;
   padding-bottom: 5px;
}

/* Poker Hand Styles */
div#hand {
   display: flex;
   justify-content: space-between;
   margin: 40px 0;
}

div#hand span {
   display: inline-block;
   width: 16%;
   height: 120px;
   padding: 10px;
   background-color: #f8f9fa;
   border: 2px solid #a1a1a1;
   border-radius: 8px;
   box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
   font-size: 0.95em;
   font-weight: bold;
   text-align: center;
   vertical-align: middle;
   word-wrap: break-word;
   box-sizing: border-box;
}

/* Controls Styles */
div#controls {
   text-align: center;
   margin-top: 30px;
}

input#deal {
   background-color: #3f1a1a;
   color: #ffffff;
   font-size: 1.1em;
   padding: 10px 30px;
   border: none;
   border-radius: 4px;
   cursor: pointer;
   box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

input#deal:hover {
   background-color: #572525;
}

div#controls p {
   font-size: 1.1em;
   margin-top: 15px;
   color: #444444;
}

span#cardsLeft {
   font-weight: bold;
   color: #104e10;
}