:root {
  background-color: #b0c4de;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "Roboto Mono", monospace;
}

body {
  width: 100%;
}

h1 {
  margin-bottom: 12px;
}

.row {
  display: flex;
  flex-direction: row;
}

.header-before-start {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
}

.header-after-start {
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: center;
}

.header-after-start *:not(select) {
  margin: 0 7px;
}

main {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  font-size: 1.7em;
  padding: 5px;
  border: solid black;
  border-radius: 7px;
  margin: 5px;
}

label {
  font-size: 1.3em;
}

select {
  margin-top: 0;
  font-size: 1em;
  font-family: "Roboto Mono", monospace;
  background-color: lightblue;
}

.btn:hover {
  cursor: pointer;
  background-color: grey;
}

.menu-before-start {
  margin-bottom: 20px;
}

.menu-after-start {
  margin-top: 7px;
}

html {
  display: flex;
}

image {
  pointer-events: none;
}

.flip-card {
  width: 125px;
  height: 150px;
  background-color: transparent;
  perspective: 1000px;
  margin: 5px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card-flip {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
}

.flip-card-back {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotateY(180deg);
}

.grow {
  transition: all 0.2s ease-in-out;
}

.grow:hover {
  transform: scale(1.075);
}

.cat-image {
  border-radius: 7px;
  width: 125px;
  height: 150px;
}

.match-rotate {
  transition-duration: 400ms;
  transform: rotate(360deg);
}

.box-shadow {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.grey-pattern {
  background: repeating-conic-gradient(#808080 0% 25%, white 0% 50%) 50% / 105px
    127px;
}

.purple-pattern {
  background: repeating-conic-gradient(#800080 0% 25%, white 0% 50%) 50% / 105px
    127px;
}

.blue-pattern {
  background: repeating-conic-gradient(cadetblue 0% 25%, white 0% 50%) 50% /
    105px 127px;
}

.orange-pattern {
  background: repeating-conic-gradient(#ffa500 0% 25%, white 0% 50%) 50% / 105px
    127px;
}

#githubicon {
  position: absolute;
  top: 5vh;
  right: 6vw;
  width: 60px;
  height: 60px;
  transition: 1.5s;
  background-color: transparent;
  border-radius: 30px;
  z-index: 10;
}

#githubicon:hover {
  transform: translateY(-5px);
  background-color: linen;
}

#homeIcon {
  position: absolute;
  top: 5vh;
  left: 6vw;
  width: 60px;
  height: 60px;
  transition: 1.5s;
  background-color: transparent;
  z-index: 10;
}

#homeIcon:hover {
  transform: translateY(-5px);
}

.hover-cursor:hover {
  cursor: pointer;
}

.hidden {
  display: none;
}

.display-flex {
  display: flex !important;
}

#modal-box {
  z-index: 1;
  position: fixed;
  padding: 0;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

#inner-modal-box {
  position: relative;
  text-align: center;
  border-radius: 5px;
  box-shadow: inset 0 0 0 4px black;
  margin-left: 40vw;
  margin-top: 10vh;
  background-color: azure;
  width: 350px;
  height: 15vh;
}

#modal-message {
  vertical-align: middle;
  font-family: "Roboto Mono", monospace !important;
  font-size: xx-large;
  line-height: 15vh;
}

#close-button {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 30px;
  font-weight: bold;
  border-radius: 30px;
  width: 25px;
  height: 25px;
  line-height: 25px;
}

#close-button:hover {
  cursor: pointer;
  color: red;
}

