@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

h1,
h2,
h3,
h4,
p {
  font-family: Montserrat;
  color: #393f32;
}

p {
  font-size: 18px;
}

.light-green {
  color: #3e9c35;
}

i {
  font-size: 24px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #cfcdb5;
}

button {
  border: 1px solid grey;
  border-radius: 15px;
  background: none;
  font-size: 20px;
  font-family: "Montserrat";
  color: black;
}

button:hover {
  cursor: pointer;
}

.sidenav {
  position: absolute;
  position: fixed;
  top: 50%;
  transform: translate(0, -50%);
  width: 10vw;
  text-align: center;
  display: show;
  color: #3e9c35;
  margin-left: 2vw;
}

.add-margin-below {
  margin-bottom: 30px;
}

.stocks {
  text-align: center;
  display: table;
  position: absolute;
  height: 99%;
  width: 95%;
  padding-left: 10vw;
}

.stock-entries {
  display: table-cell;
  vertical-align: middle;
}

.mail,
.bot,
.lem,
.fin,
.bank,
.fans {
  width: 28%;
  float: left;
  padding: 20px;
  margin-left: -20px;
}

#you-win,
#you-lose {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  display: none;
}

.stock-name {
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
}

.question-icon {
  font-size: 16px;
}

.question-icon:hover {
  font-size: 18px;
  cursor: pointer;
}

.modal {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  text-align: center;
  display: none;
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 25px;
  width: 70%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
