*::after,
*::before {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-color: #f4f4f4;
}
:root {
  --cell-size: 300px;
}
.board {
  width: 100vw;
  height: 100vh;
  display: grid;
  justify-content: left;
  align-content: left;
  /*justify-items: center;*/
  /*align-items: center;*/
  grid-template-columns: repeat(6, auto);
}
.boardhelp {
  width: 100vw;
  height: 100vh;
  display: grid;
  justify-content: left;
  align-content: left;
  grid-template-columns: repeat(1, auto);
}
.boardSR {
  width: 120vw;
  height: 120vh;
  display: grid;
  justify-content: left;
  align-content: left;

  grid-template-columns: repeat(4, auto);
}
.cell {
  width: 400px;
  height: 400px;
  background-color: black;
  border: 10px solid white;
}
.cellOption {
  border-top: 10px solid white;
  width: 400px;
  height: 400px;
  border-left: 30px solid white;
}
.cellhelp {
  width: 1500px;
  height: 500px;
  border: 20px solid white;
  display: block;
}
#new1 {
  position: relative;
  margin-left: 47%;
  margin-top: 10px;
}

.btn {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  margin-bottom: 30px;
}
.btn1 {
  background-color: blue;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
}
.btnI,
.btnI:focus,
.btnI:hover {
  background-color: skyblue;
}
.btnP,
.btnP:focus,
.btnP:hover {
  background-color: lightgreen;
}
.btnH,
.btnH:focus,
.btnH:hover {
  background-color: #ffcccb;
}
.btnC {
  background-color: skyblue;
}
.btnC:focus {
  background-color: skyblue;
}
.btnC:hover {
  background-color: skyblue;
}
.btnH {
  background-color: silver;
}
.btnH:focus {
  background-color: silver;
}
.btnH:hover {
  background-color: silver;
}
.btn1:hover {
  background-color: lightgreen;
}
.btn1:focus {
  background-color: lightgreen;
}

#name {
  /*position: relative;*/
  width: 30%;
  height: 14px;
}
.set {
  display: grid;
  font-family: "Lato";
  /*font-style: oblique;*/
  justify-content: center;
  align-content: center;
  border-bottom: 1px;
  color: white;
}
.up {
  border-top: 10px;
}
.top {
  background-color: #003152;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  border-bottom: 10px hidden;
  /*padding-bottom: 20px;*/
}
/* The container */
.container {
  display: inline-flex;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 35px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  display: inline;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: white;
  border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: gray;
}

/* When the radio button is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: blue;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.container input:checked ~ .checkmark:after {
  display: flex;
}

/* Style the indicator (dot/circle) */
.container .checkmark:after {
  top: 9px;
  left: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}
.boxes {
  border-top: 10px solid white;
  display: grid;
  position: relative;
  border-left: 20%;
  justify-content: center;
  align-content: center;
}
#overlay0 {
  position: fixed;
  display: none;
  overflow: auto;
  width: 27%;
  height: 50%;
  /*top: 34vh;
  /*left: 0;*/
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.1);
  z-index: 93;
  cursor: pointer;
}

#text {
  position: relative;
  top: 100%;
  left: 50%;
  font-size: 25px;
  font-family: "Lato";
  font-style: oblique;
  color: black;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  padding-left:20px;
}

#submitq {
  background-color: blue;
}

.flexing {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexingbutton {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexing1 {
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexing cont {
  width: 100px;
  height: 100px;
}

#new {
  position: relative;
  align-self: flex-start;
  margin-left: 5%;
  margin-top: 20px;
  margin-bottom: 5px;
}

.flex-container {
  width: 80%;
  min-height: 300px;
  margin: 0 auto;
  display: -webkit-flex; /* Safari */
  display: flex; /* Standard syntax */
}

.flex-container .labels {
  padding: 10px;
  /*background: #dbdfe5;*/
  -webkit-flex: 1; /* Safari */
  -ms-flex: 1; /* IE 10 */
  flex: 1; /* Standard syntax */
}

.flex-container .labels1 {
  padding: 10px;
}

#overlay1 {
  position: fixed;
  display: none;
  width: 15%;
  height: 35%;
  top: 40%;
  left: 45%;
  border-radius: 100%;
  /*background-color: rgba(0, 0, 0, .8);*/
  z-index: 3;
  cursor: pointer;
}

#result {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  font-family: "Lato";
  font-style: oblique;
  color: silver;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

#overlay2 {
  position: fixed;
  display: none;
  width: 15%;
  height: 35%;
  top: 40%;
  left: 45%;
  border-radius: 100%;
  /*right: 0;*/
  /*bottom: 0;*/
  /*background-color: rgba(0, 0, 0, .8);*/
  z-index: 3;
  cursor: pointer;
}

#result1 {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 50px;
  font-family: "Lato";
  font-style: oblique;
  color: silver;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}

.atoms {
  display: flex;
  flex-wrap: wrap;
  float: left;
}

.item {
  flex-grow: 1;
}

.item + .item {
  margin-left: 2%;
}

.slct {
  border-top: 150px solid #eeeeee;
  display: flex;
  margin-left: 3rem;
  flex-wrap: wrap;
  float: left;
  align-items: left;
  justify-content: left;
}

.slct > div {
  flex: 0 40%;
}


.image-swap1,
.image-swap2 {
  height: 40vh;
  width: 25vw;
}

#ri,
#ri1 {
  width: 30%;
  margin-left: 0rem;
}
