/* FONTS */
@import url('fonts.css');
@import url('../assets/font-icons/style.css');
@import url('task.css');
@import url('workshop.css');
@import url('marketing.css');
@import url('production.css');
@import url('strategy.css');
@import url('map.css');
@import url('cars.css');
@import url('popUp.css');
@import url('infoBtn.css');
@import url('stars.css');
@import url('utils.css');
html {
  overflow: hidden;
}
body {
  background-image: url(../assets/backgrounds/intro.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  color: #001a2a;
  font-family: 'Poppins', serif;
}
body * {
  box-sizing: border-box;
}
body h2 {
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
  font-size: 24px;
  height: 50px;
  line-height: 120%;
  font-weight: 600;
}
body h3 {
  position: relative;
  display: block;
  font-size: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 500;
}
body h4 {
  font-size: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: normal;
  margin: 0;
  padding: 0;
}
body.game {
  background-image: url(../assets/backgrounds/game.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
}
body .header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 35px;
  background-color: #f4f4f4;
  height: 50px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1000;
}
body .header img {
  height: 100%;
}
body .header-title {
  position: relative;
  background-color: #00263c;
  width: 70%;
  max-width: 300px;
  height: 6px;
  border-radius: 15px;
  z-index: 0;
  margin: 10px auto 20px;
}
body .header-title::before {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  background-color: #00263c;
  border-radius: 100%;
  width: 6px;
  height: 6px;
  top: 0;
  left: -10px;
}
body .header-title::after {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  background-color: #00263c;
  border-radius: 100%;
  width: 6px;
  height: 6px;
  top: 0;
  right: -10px;
}
body .header-title h3 {
  text-align: center;
  font-size: 16px;
  margin: auto;
  margin-bottom: 20px;
  padding: 2px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 10px;
  background-color: #00263c;
  color: #ffffff;
  width: 60%;
  top: -10px;
  animation-name: header;
  animation-duration: 0.3s;
  letter-spacing: 0.025em;
}
body #root {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 1440px;
  aspect-ratio: 16 / 9;
}
body #root #main-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
body #root #bocconi-header {
  text-align: left;
  height: 65px;
  background-color: #ffffff;
  padding: 5px;
  box-sizing: border-box;
}
body #root #intro-container {
  text-align: center;
}
body #root #intro-container img {
  display: block;
  margin: auto;
  margin-bottom: 40px;
  max-width: 800px;
  height: 100%;
}
body #root #intro-container h1 {
  font-family: 'Poppins', serif;
}
body #root #game-area {
  padding: 30px;
  margin-top: 60px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20%;
  left: 0;
}
body #root #game-area .place {
  position: relative;
  width: 100%;
  height: 100%;
}
body #root #game-area .place #main-area {
  position: relative;
  width: 100%;
  height: 100%;
  top: -25px;
}
body #root #game-area .place #main-area #main-container {
  position: relative;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 15px;
  border: 2px solid black;
}
body #root #game-area .place #main-area #main-container p {
  line-height: 120%;
  font-size: 90%;
}
body #root #game-area .place #main-area #main-container h2 {
  color: #00253C;
}
body #root #game-area .place #main-area #main-container h4 {
  margin: 20px 0;
}
body #root #game-area .place #main-area #main-container #report-container h4 {
  margin-bottom: 5px;
  color: #b39d2a;
}
body #root #game-area .place #main-area #main-container #report-container table {
  table-layout: fixed;
  width: 100%;
  padding: 0;
  border-collapse: collapse;
}
body #root #game-area .place #main-area #main-container #report-container table td,
body #root #game-area .place #main-area #main-container #report-container table th {
  border-bottom: 1px dashed #5a859f;
  padding: 2px 0;
}
body #root #game-area .place #main-area #main-container #report-container table th {
  text-align: left;
  font-weight: normal;
  font-size: 90%;
}
body #root #game-area .place #main-area #main-container #report-container table thead th {
  background-color: #D6C354;
  color: white;
  padding: 5px;
}
body #root button {
  font-family: 'Poppins', serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
body #root button.big {
  background-color: #E5E580;
  padding: 10px 25px;
  padding-bottom: 10px;
  color: #00263c;
  font-size: 200%;
  text-transform: uppercase;
  font-weight: bolder;
  border: 1px solid #00263c;
  box-shadow: inset 0em -0.3em 0 #adad47;
  padding-bottom: 0.5em;
  border-radius: 36px;
}

body #root button.big:disabled {
  box-shadow: inset 0em -0.3em 0 #6c6c69;
}
body #root button.big button.big {
  background-color: #e5e580;
  border-radius: 100%;
}
body #root button.small-button {
  background-color: aquamarine;
}
body #root #top-menu {
  position: absolute;
  top: 0;
  width: 100%;
  height: 60px;
}
body #root #top-menu h1 {
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 0;
}
body #root #top-menu h4 {
  text-align: center;
}
body #root #top-menu #logotype {
  width: 160px;
}
body #root #top-menu #costs {
  position: absolute;
  top: -50px;
  right: 200px;
  height: 100%;
}
body #root #top-menu #costs img {
  cursor: pointer;
  height: 100%;
  transition: all 0.3s;
}
body #root #top-menu #costs:hover img {
  transform: scale(1.1);
}
body #root #top-menu #place-chooser {
  position: absolute;
  top: -27px;
  right: 270px;
  height: 90px;
  width: 120px;
}
body #root #top-menu #place-chooser h4 {
  width: 200px;
  position: absolute;
  text-align: left;
  font-size: 25px;
  font-style: italic;
  font-weight: 600;
  margin: 0;
  padding: 0;
  top: 20px;
  left: 110px;
  color: #ffffff;
}
body #root #top-menu #place-chooser img {
  height: 100%;
}
body #root #top-menu #place-chooser li {
  cursor: pointer;
}
body #root #right-column {
  position: absolute;
  margin: auto;
  padding-top: 60px;
  padding-right: 10px;
  top: 0;
  bottom: 0;
  right: 0;
  width: 20%;
  height: 100%;
}
body #root #right-column .box {
  margin-bottom: 0;
  padding: 5px;
}
body #root #right-column .box .container {
  position: relative;
  min-height: 120px;
  background-color: #00263c;
  color: #ffffff;
  border-radius: 15px;
  padding: 10px 10px 10px 15px;
}
body #root #right-column .box .container #investments-icon {
  position: absolute;
  width: 30px;
  height: 30px;
  left: -17px;
  top: -17px;
}
body #root #right-column .box .container #investments-icon img {
  width: 100%;
  height: 100%;
}
body #root #right-column .box .container .year {
  text-align: right;
  padding: 0 20px;
}
body #root #right-column .box .container .year b {
  font-size: 150%;
}
body #root #right-column .box .container #progress-bar {
  width: 100%;
  background-color: white;
  border-radius: 50px;
  overflow: hidden;
  border: 10px solid #042a40;
}
body #root #right-column .box .container #progress-bar .progress {
  height: 100%;
  min-width: 15% !important;
  background-color: #5cb671;
  border-radius: inherit;
  text-align: right;
  padding: -80px;
  overflow: hidden;
  border: 6px solid white;
  padding-right: 5px;
}
body #root #right-column .box .container #progress-bar .progress span {
  padding: 5;
  color: #00253C;
  font-weight: bold;
  font-size: 70%;
}
body #root #right-column .box .container #progress-bar .challange {
  padding: 5px;
  text-align: center;
  color: red;
}
body #root #right-column .box .container #timer {
  position: relative;
  margin-left: -20px;
  margin-right: -20px;
  margin-bottom: 10px;
}
body #root #right-column .box .container .running-task {
  position: relative;
  border-bottom: 1px solid #5a859f;
  margin-top: 5px;
  margin-bottom: 5px;
}
body #root #right-column .box .container .running-task span.running-task-label {
  display: inline-flex;
  color: #5a859f;
  padding: 4px 0;
}
body #root #right-column .box .container .running-task .task-timer {
  position: absolute;
  display: inline-flex;
  vertical-align: middle;
  margin: 5px;
  right: -25px;
  background: #00253C;
  border-radius: 100%;
  margin-top: -5px;
  border: 5px solid #00253C;
}
body #root #right-column .box .container .running-task .task-timer span {
  color: #ffffff !important;
}
body #root #right-column #running-tasks .container {
  min-height: 200px;
}
body #root #right-column .player-row {
  padding: 3px 0;
  border-bottom: 1px solid #5a859f;
  display: flex;
}
body #root #right-column .player-row:last-of-type {
  border-bottom: 0;
}
body #root #right-column .player-row label {
  color: #5a859f;
  font-size: 90%;
  flex: auto;
  width: 60%;
}
body #root #right-column .player-row span {
  text-align: right;
  flex: auto;
}
body #root #right-column .player-row [class^='bolt-'] {
  margin-left: -2px;
  font-size: 28px;
  vertical-align: middle;
  color: white;
}
body #footer {
  font-size: 60%;
  position: absolute;
  bottom: 0;
  padding: 10px;
}
body .button-bar {
  position: absolute;
  bottom: 120px;
  right: 120px;
}
.tabs-list {
  margin-top: -28px;
  margin-left: 28px;
}
.tabs-list button.tab {
  text-transform: uppercase;
  color: #ffffff;
  box-shadow: none !important;
  border-radius: 10px 10px 0 0 !important;
  font-size: 90%;
  background-color: rgba(0, 37, 60, 0.4);
  padding: 2px 12px;
  margin: 0 2px;
}
.tabs-list button.tab.tab-selected:hover,
.tabs-list button.tab.tab-selected {
  color: #ffffff;
  background-color: #00253C;
}
.price-line {
  display: flex;
  font-size: 90%;
  border-bottom: 1px solid #5a859f;
}
.price-line label {
  color: #5a859f;
  width: 50%;
}
.price-line span {
  font-size: 110%;
  width: 50%;
  text-align: right;
}
.price-line:last-of-type {
  border-bottom: none;
}
@keyframes header {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}
/* WORKSHOP */
/* WORKSHOP */
/* MARKETING */
/* PRODUCTION */
/* STRATEGY */
/* MAP */
/* CARS */
/* POPUP */
/* INFO BUTTON */
/* STARS */
/* UTILS */
