body {
  background-color: #101020;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: block;
}

* {
  color: white;
}
button {
  background-color: #0cb8cb;
}
#start {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

input {
  padding: 12px;
  text-align: center;
  color: black;
  width: 480px;
  max-width: 90%;
}

a {
  text-decoration: none;
  color: #fff;
  font-family: "Shippori Mincho B1", serif;
}
p {
  margin: 0;
  font-family: "Shippori Mincho B1", serif;
}

h1 {
  font-family: "Shippori Mincho B1", serif;
}
a.button {
  border-radius: 24px;
  display: inline-block;
  background-color: #0ba9ca;
  padding: 12px 24px;
  color: #fff;
  text-decoration: none;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.1s ease;
  text-align: center;
}
a.button:hover {
  background-color: #0cb8cb;
}
.hidden {
  display: none !important;
  opacity: 0;
}

.container {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  align-items: center;
  justify-content: center;
}

#main-container {
  position: absolute;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  padding-left: 360px;
  box-sizing: border-box;
}

#main-container > div {
  padding: 48px;
  box-sizing: border-box;
}

#user-menu {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 100%;
  background-color: #112233;
  padding: 24px;
  box-sizing: border-box;
  align-items: center;
}
#user-menu img {
  max-width: 100%;
}

#user-menu .button {
  width: 80%;
}

#user-menu > img:first-of-type {
  width: 50%;
}

#user-info,
#user-deck-info {
  font-family: "Shippori Mincho B1", serif;
  width: 100%;
  margin-top: 48px;
}
#user-info > div,
#user-deck-info > div {
  display: inline-block;
  margin-left: 12px;
}

#user-info a {
  color: #0cb8cb;
}

#user-info a:hover {
  color: #0ba9ca;
}

.user-avatar,
.user-deck-cover {
  position: relative;
  width: 72px;
  height: 72px;
}

.user-avatar img,
.user-deck-cover img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

.user-deck-cover img {
  border-radius: 0%;
}

#user-name {
  font-size: 20px;
  margin: 0;
}

#user-address {
  font-size: 14px;
  margin: 0;
  margin-top: 12px;
}

.user-menu-link {
  padding: 24px;
  font-size: 24px;
  width: 100%;
}
.user-menu-link p {
  padding-left: 48px;
}

.user-menu-link:hover {
  background-color: #203040;
}

.modal {

  position: fixed;
  left:0;
  top:0;

  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);


}

.modal-background{
    position: relative;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity:0.8;
}
.modal-container{
    position: relative;
    width: 100%;
    height: 100%;
    top:-100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-window{
    width: 50%;
    height: 50%;
    padding:48px;
    box-sizing: border-box;
    background-color: azure;
    color:black;

}

.modal-window h1, .modal-window a, .modal-window p, .modal-window label{
    color:black;
}

#game .container{
    background-color: #203040;
}
#board>div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-column-gap: 12px;
  grid-row-gap: 12px;
}

.hand {
  position: fixed;
  width: 100%;
  height: 120px;
  text-align: center;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.hand>div {
    position: fixed;
    width: 100%;
    height: 120px;
    text-align: center;
    display: flex;
    gap: 12px;
    justify-content: center;
  }
.card-slot {
    display: inline-block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    background-color: #101020;
    padding: 0;
    margin: 0;
    transition: all 0.2s;
  }

  .card-slot.drop-target {
background-color:#151525;
  }
  
  .card-slot.selectOption:hover {
    background-color:#202050;
      }
    
.card {
  display: inline-block;
  width: 120px;
  height: 120px;
  object-fit: cover;
  background-color: blue;
  padding: 0;
  margin: 0;
  transition: all 0.2s;
}

.card .card-image {
  width: 100%;
  height: 100%;
  background-color: red;
}
.card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .card-text {
  width: 100%;
  height: 100%;
  position: relative;
  top: -100%;
  text-align: center;
  padding: 0;
  margin: 0;
}

.card .card-text .card-up {
  position: absolute;
  width: 100%;
  top: 0px;
}

.card .card-text .card-down {
  position: absolute;
  width: 100%;
  bottom: 0px;
}

.card .card-text .card-left {
  position: absolute;
  margin-top: 44px;
  left: 6px;
}

.card .card-text .card-right {
  position: absolute;
  margin-top: 44px;
  right: 6px;
}
.card .card-text {
  color: white;
  font-family: "Shippori Mincho B1", serif;
  font-weight: 800;
  font-size: 20px;
  text-shadow: 1px 0px 2px #000000, -1px 0px 2px #000000, 0px -1px 2px #000000, 0px 1px 2px #000000;
}
.card .card-selection {
  width: 100%;
  height: 100%;
  position: relative;
  top: -200%;
  box-shadow: 0 0 0px #fff, 0 0 0px #fff, 0 0 0px #0ba9ca, 0 0 0px #0ba9ca, 0 0 0px #0ba9ca, 0 0 0px #0ba9ca;
  transition: all 0.2s;
}

.card:hover {
transform: scale(1.1,1.1);
}

.card.selected .card-selection {
  width: 100%;
  height: 100%;
  position: relative;
  top: -200%;
  box-shadow: 0 0 2px #fff, 0 0 10px #fff, 0 0 20px #0ba9ca, 0 0 30px #0ba9ca, 0 0 40px #0ba9ca, 0 0 50px #0ba9ca;
}

.card.flip{
  transform: rotatey(90deg) rotatex(5deg);
}

.player {
  bottom: 0;
}

#game-player-score{
    position: fixed;
    bottom:48px;
    left:48px;
    font-size: 48px;
}
