* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffff;
}

.mystyle {
    background: linear-gradient(to right, #ba5370, #f4e2d8);
    
}

nav {
    background: black;
    display: flex;
    justify-content: space-between;
    padding: 10px 30px 10px 30px;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
  

}


nav h1 {
    font-size: 2.3rem;
    color: white;
}

.change-color {
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    background-color: white;
    color: black;
}
.change-color:hover {
    background-color: #f29492;
    color: white;
}
.nav-color {
    background-color: #f29492;

}
.main-container {
    display: flex;
    justify-content: space-between;
    margin-top: 110px;
    text-align: center;
}

.game-container {
    /* margin-top: 20px; */
    margin-left: 40px;
    display: grid;
    grid-template-rows: repeat(3, 10vw);
    grid-template-columns: repeat(3, 10vw);
    font-family: 'Roboto', sans-serif;
    position: relative;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    
}
.box {
    border: 2px solid;
    border-color: linear-gradient(to right, #114357, #f29492);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 8vw;
    
}

.box-text {
    text-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.box:hover {
    /* background-color: pink; */
    background: linear-gradient(to right, #ba5370, #f4e2d8);
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

}

.bt {
    border-top: 0;
}
.bx {
    border-right: 0;
}

.bn {
    border-left: 0;
}

.bm {
    border-bottom: 0;
}

.game-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    /* border: 2px solid red; */
    margin-right: 40px;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;

}

.game-info h3 {
    font-size: 26px;
    padding-bottom: 5px;
    padding-top: 10px;
}

.info {
    font-size: 20px;
    padding-bottom: 10px;
}

.win {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
   
    width: 40%;
}

.gif-img {
    width: 50%;
    padding-bottom: 10px;
}

.win-img {
    visibility: hidden;
    width: 0;
    transition: width 1s ease-in-out;
    padding-bottom: 20px;
}


.reset {
    width: 50%;
   padding: 10px 5px 10px 5px;
   border-radius: 5px;
   border: none;
   font-size: 18px;
   cursor: pointer;
   transition: all 0.3s;
   color: white;
   background-color: black;
   box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
}

.reset:hover {
    background: linear-gradient(to right, #ba5370, #f4e2d8);

}




.line {
    background-color: palevioletred;
    height: 3px;
    width: 0;
    margin: 10px;
    position: absolute;
    transition: width 1s ease-in-out;
    transform: translate(0vw, 14.5vw) rotate(0deg);
}



