@import url('https://fonts.googleapis.com/css2?family=Biryani:wght@800&display=swap');
* {
    font-family: 'Biryani', sans-serif;
}
html {
    width:100vw;
    height:100%;
    
}
body {
    margin:0px;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4481eb), to(#04bedd));
    background-image: -o-linear-gradient(top, #4481eb 0%, #04bedd 100%);
    background-image: linear-gradient(to bottom, #4481eb 0%, #04bedd 100%);
   
}

p {
    font-size: 40px;
    margin-top:5px;
}
td {
    background-color: transparent;
    height:70px;
    width:70px;
}
td, .inner, .front, .back {
    border-radius: 4px;
}
table {
    margin-top: 80px;
}

#inst {
    width: 85vw;
    background-color: rgba(255,255,255,0.1);
    text-align: center;
    margin-top:16vh;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
    border: 0.2px solid white;
    border-radius: 10px;
    padding: 5px;
}
#inst li {
    text-align: left;
    padding: 5px;
}

button {
   padding: 12px 24px;
  font-size: 16px;
  color: white;
  background-color: #3498db;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 1px solid black;

}

#ol {
    position: absolute;
    height:100vh;
    width:100vw;
    background-color: rgba(0,0,200,0.1);
    color:white;
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    z-index:2;
    
}
#iol {
    text-align: center;
    position: absolute;
    width: 100vw;
    top: 35vw;
}

#title {
    background-color: rgba(88, 28, 229, 0.25);
    -webkit-backdrop-filter: blur(15px);
            backdrop-filter: blur(15px);
    border-radius:10px;
    margin: 8px;
    margin-top:0px;
    color: white;
    height:56px;
    text-align: center;
}

#time {
    position: absolute;
    right: 20px;
    font-size: 16px;
    top: 8.5px;
}

#moves {
    position: absolute;
    left: 20px;
    font-size: 16px;
    top:8.5px;
}

#logo {
    font-size: 22px;
    padding-top: 10px;
    display: block;
}

.inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    -webkit-transition: -webkit-transform 0.8s;
            transition: -webkit-transform 0.8s;
         -o-transition: transform 0.8s;
            transition: transform 0.8s;
            transition: transform 0.8s, -webkit-transform 0.8s;
    -webkit-transform-style: preserve-3d;
            transform-style: preserve-3d;
    -webkit-transform: rotateY(0deg);
            transform: rotateY(0deg);
}

.front {
    background-color: rgb(230, 218, 218)
}

.back {
    background-color: rgba(242, 242, 246, 0.5);
    -webkit-transform: rotateY(180deg);
            transform: rotateY(180deg);
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
}
button:hover{
     background-color: #2ecc71;
 box-shadow: 0 0 5px rgb(0, 255, 8),
    0 0 25px rgb(0, 255, 85), 0 0 50px rgb(0, 255, 76),
    0 0 100px rgb(47, 255, 0), 0 0 200px rgb(0, 255, 8)
}
.button:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(204, 200, 200, 0.2);

}
body {
  background: linear-gradient(to bottom, #3278f3 0%, #2f04dd 100%), 
              url('https://t3.ftcdn.net/jpg/12/92/16/88/360_F_1292168825_d8Mi83I035uY10krUM5o6MgNFbS9xu8q.jpg') no-repeat center center fixed;
  background-size: cover;
}

/* Start/Exit button container */
.button-panel {
  text-align: center;
  margin-top: 20px;
}

/* Shared button styling */
.button-panel button {
  margin: 6px;
  font-weight: bold;
}

/* Exit button styling */
#exitBtn {
  background-color: #3ce77b;
  color: rgb(19, 2, 2);
}

/* Exit button hover */
#exitBtn:hover {
    box-shadow: 0 0 5px rgb(0, 255, 8),
    0 0 25px rgb(0, 255, 85), 0 0 50px rgb(0, 255, 76),
    0 0 100px rgb(47, 255, 0), 0 0 200px rgb(0, 255, 8)
}
