/* FONTS */
@import url("fonts.css");
@import url("workshop.css");
@import url("intelligence.css");
@import url("production.css");
@import url("strategy.css");
@import url("map.css");
@import url("cars.css");
@import url("popUp.css");
body {
  background-image: url(../assets/backgrounds/intro.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-size: cover;
  margin: 0;
  padding: 0;
  color: black;
  font-family: "Poppins", serif;
}
body * {
  box-sizing: border-box;
}
body h2 {
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
  font-size: 25px;
  height: 50px;
}
body h3 {
  position: relative;
  display: block;
  font-size: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
}
body h4 {
  font-size: 20px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  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;
}
body .header img {
  height: 100%;
}
body .header-title {
  position: relative;
  background-color: #00263C;
  width: 70%;
  max-width: 300px;
  height: 6px;
  border-radius: 20px;
  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: 18px;
  margin: auto;
  margin-bottom: 20px;
  padding: 5px;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 10px;
  background-color: #00263C;
  color: #ffffff;
  width: 60%;
  top: -12px;
  animation-name: header;
  animation-duration: 0.3s;
}
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;
}
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 button {
  border: none;
  padding: 10px;
  margin: 10px;
  border-radius: calc(20px / 2);
  cursor: pointer;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}
body #root button:hover {
  transform: scale(1.1);
}
body #root button.big {
  background-color: #029707;
  padding: 10px 25px;
  color: whitesmoke;
  font-size: 200%;
}
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: 0;
  right: 270px;
  height: 90px;
  width: 120px;
}
body #root #top-menu #place-chooser h4 {
  width: 200px;
  position: absolute;
  text-align: left;
  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 {
  min-height: 120px;
  background-color: #00263C;
  color: #ffffff;
  border-radius: 20px;
  padding: 10px;
}
body #root #right-column .box .container .year b {
  font-size: 150%;
}
body #root #right-column .box .container #progress-bar {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50px;
  overflow: hidden;
  border: 10px solid #042a40;
}
body #root #right-column .box .container #progress-bar .progress {
  height: 100%;
  min-width: 10% !important;
  background-color: #27d11e;
  border-radius: inherit;
  text-align: right;
  padding: -80px;
  overflow: hidden;
  border: 6px solid white;
}
body #root #right-column .box .container #progress-bar .progress span {
  padding: 5;
  color: #000000;
  font-weight: bold;
  font-size: 90%;
}
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;
  padding: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
body #root #right-column .box .container .running-task span.running-task-label {
  display: inline-flex;
  width: 210px;
}
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;
}
body #root #right-column .box .container .running-task .task-timer span {
  color: #ffffff !important;
}
@keyframes header {
  from {
    width: 0;
  }
  to {
    width: 60%;
  }
}
/* WORKSHOP */
/* INTELLIGENCE */
/* PRODUCTION */
/* STRATEGY */
/* MAP */
/* CARS */
/* POPUP */
