/* Reset default margin on body and html elements */
body,
html {
  margin: 0;
  height: 100%;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  nav {
    font-size: 14px;
  }
}

nav {
  z-index: 999;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  border-bottom: 2px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav p {
  text-align: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  color: #6f6f6f;
}

.connections-container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.connections-container-title {
  margin-top: 5%;
  text-align: center;
}

.connections-container-title h1 {
  font-family: "Book Antiqua, Palatino, Palatino Linotype, Palatino LT STD, Georgia, serif";
  font-size: 52px;
  font-weight: 700;
}

.connections-container-title p {
  color: grey;
  font-size: 14px;
  margin-top: -20px;
}

.connections-container-separator {
  width: 100%;
  height: 2px;
  background-color: #ccc;
  margin-bottom: 50px;
}

.button-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.button-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.clickable-div {
  width: 150px;
  height: 80px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  border-radius: 10px;
  margin: 0 10px 10px 0;
  background-color: #efefe6;
  color: black;
  font-family: "Arial Black, Arial Bold, Gadget, sans-serif";
  font-size: 18px;
  font-weight: 700;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.clickable-div.fade-out {
  opacity: 0;
}

.row-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.connections-container-controls {
  display: flex;
  justify-content: center;
  align-items: center;
}

.connections-container-controls button {
  background-color: #0095ff;
  border: 1px solid transparent;
  border-radius: 3px;
  box-shadow: rgba(255, 255, 255, 0.4) 0 1px 0 0 inset;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", "Liberation Sans",
    sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  outline: none;
  padding: 8px 0.8em;
  text-align: center;
  text-decoration: none;
  user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
}

.connections-container-controls button:hover,
.connections-container-controls button:focus {
  background-color: #07c;
}

.connections-container-controls button:focus {
  box-shadow: 0 0 0 4px rgba(0, 149, 255, 0.15);
}

.connections-container-controls button:active {
  background-color: #0064bd;
  box-shadow: none;
}

.connections-container-controls p {
  cursor: pointer;
  user-select: none;
  font-family: "Arial Black, Arial Bold, Gadget, sans-serif";
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  margin-right: 1vh;
}
