* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Rubik Storm", system-ui;
}

body {
  background-image: url(./valentines-day-background-1777859_1280.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  min-height: 100vh;
}

html,
body {
  overflow: hidden;
}

.main {
  margin: 50px auto;
  width: 45%;
  height: 80vh;
  border: 3px white solid;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 200px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 50px;
}

.div1 {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.245);
  border-radius: 10px;
  color: aliceblue;
  padding: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.div1 .p1 {
  width: 60%;
  border: 1px white solid;
  padding: 3px 5px;
  border-radius: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-family: "Bitcount Single", system-ui;
  transition: 0.3s;
}

.div1 .button1 {
  width: 60%;
  background-color: transparent;
  border: 1px white solid;
  padding: 3px 5px;
  font-size: 18px;
  color: aliceblue;
  border-radius: 10px;
  font-family: "Bitcount Single", system-ui;
  transition: 0.3s;
}

.div1 span {
  font-family: "Bitcount Single", system-ui;
}

.div1 .button1:hover,
.div1 .p1:hover {
  background-color: white;
  color: rgb(0, 0, 0);
}

.x_o {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  flex: 1;
  width: 100%;
}

.x_o .cell:nth-child(1),
.x_o .cell:nth-child(2),
.x_o .cell:nth-child(4),
.x_o .cell:nth-child(5),
.x_o .cell:nth-child(7),
.x_o .cell:nth-child(8) {
  border-right: 3px rgb(255, 255, 255) solid;
}

.x_o .cell:nth-child(1),
.x_o .cell:nth-child(2),
.x_o .cell:nth-child(3),
.x_o .cell:nth-child(4),
.x_o .cell:nth-child(5),
.x_o .cell:nth-child(6) {
  border-bottom: 3px rgb(255, 255, 255) solid;
}

.x_o .cell {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: clamp(40px, 6vw, 60px);
  color: rgb(0, 0, 0);
  transition: 0.3s;
}

.x_o .cell:hover {
  background-color: rgba(0, 0, 0, 0.6);
  color: aliceblue;
}

.con {
  width: 500px;
  height: 230px;
  background-color: rgba(235, 255, 255, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  animation-name: bon;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  border-radius: 100px 300px 100px 300px;
}

.troph {
  display: none;
}

.fa-crown {
  color: #ffd700;
}

.fa-award {
  color: rgb(96, 107, 236);
}

.fa-trophy {
  background: linear-gradient(90deg, #c0c0c0, #ffffff, #a9a9a9);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.import {
  margin-right: 5px;
}

@keyframes bon {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@media (max-width: 1150px) {
  .main {
    width: 70%;
  }
}

@media (max-width: 770px) {
  .main {
    width: 90%;
    padding: 5px;
  }

  .con {
    width: 300px;
    height: 150px;
    border-radius: 50px 100px 50px 100px;
  }

  .div1 .button1,
  .div1 .p1 {
    width: 80%;
  }
}
