
body {
  margin: 0 auto;
  padding: 0;
  width: 100%;
  height: 100%;
}
.wrapper {
  overflow: auto;
  background: #CDF0F6;
  height: 100vh;
  /* display: flex;
  flex-direction: column;
  align-items: center; */
}
#singlePage>.row{
  padding: 0 80px ;
}
#multiPage>.row{
  padding: 0 80px ;
}
.row {
  padding: 80px ;
  display: flex;
  align-items: center;
  justify-content: center;
}
.grid {
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: center;
  /* padding:0 50px 0 50px; */
}
.grid>button {
  margin: 12px 0;
  width: 30%;
}
.button {
  appearance: none;
  border: none;
  background: none;
  font-size: 32px;
  padding-left: 12px;
  padding-right: 12px;
  outline: none;
  border: 2px solid transparent;
  color: rgb(112, 76, 182);
  padding-bottom: 4px;
  cursor: pointer;
  background-color: rgba(112, 76, 182, 0.1);
  border-radius: 2px;
  transition: all 0.15s;  position: relative;
}
.input{
  appearance: none;
  border: none;
  background: none;
  width: 50%;
  font-size: 22px;
  height: 38px;
  padding-left: 12px;
  padding-right: 12px;
  outline: none;
  border: 2px solid transparent;
  color: rgb(112, 76, 182);
  padding-bottom: 4px;
  cursor: pointer;
  border-color: rgba(112, 76, 182, 0.1);
  border-radius: 2px;
}
.button_wrap{
  display: flex;
  align-items: center;
  justify-content: center;
}
.button:hover, .button:focus {
  border: 2px solid rgba(112, 76, 182, 0.4);
}
.button:active {
  background-color: rgba(112, 76, 182, 0.2);
}
.button:after {
  content: "";
  background-color: rgba(112, 76, 182, 0.15);
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: width 1s linear, opacity 0.5s ease 1s;
}
.button:active:after {
  width: 0%;
  opacity: 1;
  transition: 0s
}
#game1{
  margin: 10px auto;
  width: 1000px;
  height: 640px; 
}
#game2 {
  margin: 10px auto;
  width: 1000px;
  height: 640px; 
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  /* overflow: auto; Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-header {
  padding: 10px 10px;
 
}

/* Modal Body */
.modal-body {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  /* justify-content: center; */
}
.modal-body>button {
  margin: 12px 0;
}

/* Modal Footer */
.modal-footer {
  padding: 16px 16px;
  
}

/* Modal Content */

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
  from { top:-300px; opacity: 0}
  to { top:0px; opacity: 1}
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

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


@media screen and (max-width: 480px) {
  .row{
    padding: 5%;
  }
  .row>h1{
    text-align: center;
  }
  .grid>button {
    width: 80%;
  }
  .button{
    font-size: 22px;
  }
}

/* Default styles for both mobile and desktop */
.desktop-div {
  display: block; /* Default display for desktop-div */
}

.mobile-div {
  display: none; /* Default display for mobile-div */
}

/* Media query for mobile devices */
@media (max-width: 900px) {
  .desktop-div {
    display: none; /* Hide desktop-div on mobile */
  }

  .mobile-div {
    display: block; /* Show mobile-div on mobile */
  }
}
