@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
:root{
    --primary-color: #c6c3c3;
    --second-color: #ffffff; 
    --black-color: #000000;
}
body{
    background-image: url(img/bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hidden {
    display: none;
}

.message{
    display: flex;
    justify-content: center;
    align-items:center;
    font-size: 16px;
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    color:rgb(163, 5, 66);
    margin-top: px;
    margin-left: 2px;
    margin-right: 2px;
}
.restartBtn{
    justify-content: center;
    align-items:center;
    font-size: 16px;
    background-color: rgb(163, 5, 66);
    border-radius: 20px;
    color:#ffffff;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 15px;
    border: green;
    transition: .3s;
}
.restartBtn:hover{
    background-color: rgb(104, 3, 41);
}

.time{
    display: flex;
    justify-content: center;
    align-items:center;
    font-size: 50px;
    margin-top: -40px;
}
.wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items:center;
    min-height:100vh;
    background-color: rgba(0, 0, 0, 0.3);
    gap: 50px;
    flex-direction: column;
}
.Game_box{
    position: relative;
    width: 450px;
    backdrop-filter: blur(18px);
    border: 2px solid rgb(163, 5, 66);
    border-radius: 15px;
    padding: 6.5em 2.5em 1em 2.5em;
    color: var(--second-color);
    box-shadow: 0px 0px 10px 2px rgb(109, 34, 66) !important;
}
.Game-header{
    position: absolute;
    top: 0;
    left: 50%;
    transform: translatex(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(163, 5, 66);
    width: 240px;
    height: 70px;
    border-radius: 0 0 28px 20px;
}
.Game-header span{
    font-size: 32px;
    color: rgb(255, 255, 255);
}
.Game-header::before{
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-top-right-radius: 50%;
    background: transparent;
    box-shadow: 15px 0 0 0 rgb(163, 5, 66);
}
.Game-header::after{
    content: "";
    position: absolute;
    top: 0;
    right:-30px;
    width: 30px;
    height: 30px;
    border-top-left-radius: 50%;
    background: transparent;
    box-shadow: -15px 0 0 0 rgb(163, 5, 66);
}
.input_box{
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
}
.input-field{
    width: 100%;
    height: 55px;
    font-size: 16px;
    background: transparent;
    color: var(--second-color);
    padding-inline: 20px 50px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    outline: none;
    margin-top: 50px;
}
.input-field:hover{
    box-shadow: 5px 3px rgb(163, 5, 66);
}

.higher-lower{
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    margin: 10px;
}
.input-submit{
    width: 100%;
    height: 60px;
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}
.input-submit:hover{
    background: var(--second-color);

}
@media (max-width: 768px) {
  .Game_box {
    width: 90%;
    padding: 20px;
    font-size: 1rem;
  }

  .input_box input,
  .input_box button,
  .input-submit{
    width: 100%;
    margin-top: 90px;
  }
  .time{
      width: 100%;
    margin-top: 50px;
  }
  
    }
