/* General App-wide Styles */
body {
  margin: 0;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #78a7dc;
  color: rgba(255, 255, 255, 0.87);
  font-family: "Barlow", serif;
  text-align: center;
}

#root {
  margin: 0 auto;
  text-align: center;
  font-size: 1em;
  width: 100%;
}

h1,
h2, h3 {
  font-family: "Barlow Semi Condensed", sans-serif;
  text-transform: uppercase;
  margin: 5px;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.7em;
}

/* Buttons */
button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px;
  margin: 10px;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
  font-family: "Silkscreen", "serif";
}

button:hover {
  border-color: #646cff;
}

button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

button:disabled {
  background-color: grey;
  cursor: auto;
}

.disabledButton {
  /* 1. The Shape & Color */
  background-color: #726d68; /* The main orange color */
  color: white;
  border: none;
  border-radius: 12px; /* Makes the corners rounded/smooth */
  /* padding: 15px 30px; */

  /* 2. The Text */
  font-family: "Silkscreen", sans-serif;
  font-weight: bold;
  font-size: 16px;
  cursor: not-allowed;

  /* 3. The 3D Effect */
  /* This shadow has 0 blur, creating a solid block underneath */
  box-shadow: 0 6px 0 #3a3734;
  transition: all 0.1s ease;
}

.primaryButton {
  /* 1. The Shape & Color */
  background-color: #e68a3e; /* The main orange color */
  color: white;
  border: none;
  border-radius: 12px; /* Makes the corners rounded/smooth */
  /* padding: 15px 30px; */

  /* 2. The Text */
  font-family: "Silkscreen", sans-serif;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;

  /* 3. The 3D Effect */
  /* This shadow has 0 blur, creating a solid block underneath */
  box-shadow: 0 6px 0 #b35f2a;
  transition: all 0.1s ease;
}

.secondaryButton {
  /* 1. The Shape & Color */
  background-color: #434d59; /* The main orange color */
  color: white;
  border: none;
  border-radius: 12px; /* Makes the corners rounded/smooth */
  /* padding: 15px 30px; */

  /* 2. The Text */
  font-family: "Silkscreen", sans-serif;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;

  /* 3. The 3D Effect */
  /* This shadow has 0 blur, creating a solid block underneath */
  box-shadow: 0 6px 0 #000000;
  transition: all 0.1s ease;
}

/* 4. The "Press" Effect */
.primaryButton:active,
.secondaryButton:active {
  /* Moves the button down to cover the shadow */
  transform: translateY(6px);
  /* Removes the shadow so it looks like it was pushed into the screen */
  box-shadow: none;
}

/* Text Inputs */
.input-textbox {
  padding: 10px;
  font-size: 1.1em;
  color: black;
  font-family: "Barlow", sans-serif;
  outline: none;
  border-radius: 4px;
   background-color: #dae4ef;
  border-radius: 12px;
  border-width: 3px;
  border-color: white;
  border-style: solid;
}

.input-textbox::placeholder {
  color: rgb(226, 222, 222);
}

/* Error Messages */
.error {
  border: solid 1px red;
  background-color: bisque;
  padding: 3px;
  color: red;
}

.narrow {
  max-width: 800px;
  text-align: center;
  margin: 20px auto;
  font-size: 1.2em;
}

.little-heading {
  font-family: "Barlow Semi Condensed", sans-serif;
  font-weight: 700;
  color: rgb(220, 139, 25);
}

.content {
  margin-top: 41px;
  width: 100%;
}

a {
  color: #c7d0c4;
  text-decoration: underline;
  cursor: pointer;
}

.top-bar {
  background-color: #333c45;
  height: 41px;
  width: 100%;
  padding: 0;
  position: fixed;
  top: 0;
}

.top-bar .logo {
  text-transform: uppercase;
  color: white;
  padding: 10px 15px;
}

.top-bar .logo img {
  height: 25px;
}

.top-bar .left {
  float: left;
}

.top-bar .right {
  float: right;
  color: #dfe8dc;
  padding: 11px 15px 0 0;
  font-family: "Silkscreen", "serif";
  font-size: 13px;
  text-transform: uppercase;
}

.top-bar .right p {
  padding: 5px;
  margin: 8px 0 0;
  display: inline;
  font-size: 1em;
}

.top-bar-highlighted-item {
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  border-radius: 30px;
  background-color: #f5d073f5;
  color: #292929;
  padding: 1px;
}

.top-bar a {
  text-decoration: none;
  color: #fff;
}

.top-bar-highlighted-item a,
.top-bar-highlighted-item a:hover,
.top-bar-highlighted-item a:visited {
  color: #292929;
  text-decoration: none;
}

#subscribe,
#howToPlay,
#donate {
  padding-top: 70px;
}

#mc_embed_signup {
  margin: 0 auto;
  color: black;
  padding: 20px;
}

/* How to play section */
.how-to-play {
  background-color: #daebff;
  color: #505f70;
}

.how-to-play a {
  color: rgb(163, 108, 6);
}

/* Main page container layouts */
.app-container {
  display: grid;
  /* Define two columns: sidebar and main content */
  grid-template-columns: minmax(200px, 20%) 1fr;
}

.main-join-container {
  display: grid;
  grid-template-columns: minmax(200px, 35%) 1fr;
}

.side-bar {
  background-color: #78a7dc;
  min-width: 200px;
}

.box-section {
  background-color: #333c45;
  margin: 0 auto;
  border-radius: 12px;
  border-width: 3px;
  border-color: #b4b7bc;
  border-style: solid;
}

.outer-border {
  background-color: transparent;
  margin: 10px auto;
  border-radius: 12px;
  border-width: 3px;
  border-color: #333c45;
  border-style: solid;
}

.player-settings {
  width: 90%;
}

.player-settings .input-textbox {
  width: 80%
}

.inner-content {
  margin: 10px 0;
}

.main-content {
  background-color: #78a7dc;
}

.multiplayer-container, .join-room-container {
  margin: 15px;
}

.main-join-section, .solo-game-section {
  margin-right:20px;
}

#root p, #root i, #root span {
  font-size: 1.15em;
}

@media (max-width: 1080px) {
  .top-bar .right p {
    display: none !important;
  }
  .top-bar .right p.top-bar-highlighted-item {
    display: inline !important;
  }

  .main-join-container {
    display: grid;
    grid-template-columns: none;
  }
  
}