@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee+Inline&display=swap');

* {
  font-family: 'Comic Neue', sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  padding: 1rem 1rem 0 1rem;
  background-image: url(https://i.postimg.cc/NMG57Vvk/original-DB2.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

::placeholder {
  font-weight: bold;
  font-size: 0.7rem;
  color: #000;
  padding: 0.2rem;
}

.logo-title-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  border: 4px solid goldenrod;
  border-style: double;
  border-radius: 3rem;
  padding-right: 1rem;
  background-image: url(https://i.postimg.cc/LsLz0G7d/space.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.title {
  font-family: 'Bungee Inline', cursive;
  color: gold;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
  filter: brightness(110%);
  text-shadow: 0 0 5px rgb(255, 255, 255), 0 0 10px gray, 0 0 2px gray, 0 0 10px gray, 0 0 20px gray, 0 0 50px gray, 0 0 75px gray;
  animation: white 2s ease-in-out infinite alternate;
}

.logo-container {
  height: 100px;
}

.logo {
  width: 80px;
  height: 80px;
  animation: movimiento 1.5s alternate infinite;
}

@keyframes movimiento {
  0% { transform: translateY(3px); }
  100% { transform: translateY(20px); }
}

.error {
  display: none;
  background-color: gold;
  border: 2px solid #000;
  border-style: double;
  font-weight: bold;
  font-size: 0.5rem;
  color: #000;
  transition: 0.3s ease-in-out;
  text-align: center;
}

.subtitle {
  color: gold;
  font-family: 'Bungee Inline', cursive;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  filter: brightness(110%);
  text-shadow: 0 0 2px rgb(255, 255, 255), 0 0 2px gray, 0 0 5px gray, 0 0 10px gray, 0 0 20px gray, 0 0 50px gray, 0 0 75px gray;
  animation: white 2s ease-in-out infinite alternate;
}

.refresh {
  width: 8%;
  height: 8%;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.submit {
  align-self: flex-end;
  width: 11%;
  height: 11%;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.fullContainer {
  display: grid;
  grid-template-columns: 100%;
  grid-template-rows: 0.3fr repeat(2, 0.8fr);
  grid-column-gap: 0;
  grid-row-gap: 0;
  align-items: center;
  justify-items: center;
  width: 100%;
  padding-top: 1.5rem;
}

.textScoreContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.2rem;
  border: 4px solid goldenrod;
  border-style: double;
  border-radius: 3rem;
  padding: 0.5rem 1.2rem;
  background-image: url(https://i.postimg.cc/LsLz0G7d/space.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.addScoreContainer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 13rem;
  border: 4px solid goldenrod;
  border-style: double;
  padding: 0.8rem;
  background-image: url(https://i.postimg.cc/LsLz0G7d/space.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.input {
  padding: 0.5rem;
  font-weight: bold;
  border: 2px solid #000;
  border-radius: 3rem;
  border-style: double;
  box-shadow: 0 1px 2px 0 rgba(235, 243, 243, 0.7), 1px 2px 4px 0 rgba(235, 243, 243, 0.7), 2px 4px 8px 0 rgba(235, 243, 243, 0.7), 2px 4px 16px 0 rgba(235, 243, 243, 0.7);
}

.cont {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.table {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem;
  border: 4px solid goldenrod;
  border-style: double;
  list-style: none;
  background-image: url(https://i.postimg.cc/LsLz0G7d/space.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 18rem;
  overflow-y: scroll;
}

.items {
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7rem;
  color: #fff;
}

.table::-webkit-scrollbar {
  width: 10px;
  background: darkslategray;
}

.table::-webkit-scrollbar-thumb {
  background: gold;
  border-radius: 10px;
  border-right: 2px solid darkslategray;
}

.submit:hover {
  transform: scale(1.3) rotate(180deg);
}

.refresh:hover {
  transform: scale(1.4) rotate(360deg);
}

/* ::::::::::::::::::::::::DESKTOP::::::::::::::::::::::::: */

@media (min-width: 768px) {
  body {
    padding: 2rem 2rem 0 2rem;
    height: 100%;
    overflow-y: hidden;
  }

  .title {
    font-size: 2.7rem;
  }

  .logo-container {
    height: 100px;
  }

  .logo {
    width: 100px;
    height: 100px;
    animation: movimiento 2s alternate infinite;
  }

  @keyframes movimiento {
    0% { transform: translateY(-6px); }
    100% { transform: translateY(7px); }
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .refresh {
    width: 6%;
    height: 6%;
  }

  .fullContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 0.6fr);
    grid-column-gap: 0;
    grid-row-gap: 0;
    padding: 2rem 7rem 0 7rem;
  }

  .textScoreContainer {
    grid-area: 1 / 1 / 2 / 2;
  }

  .table {
    grid-area: 2 / 1 / 3 / 2;
  }

  .addScoreContainer {
    grid-area: 2 / 2 / 3 / 3;
    align-self: flex-start;
    justify-self: flex-end;
    height: 17rem;
  }

  ::placeholder {
    font-size: 1rem;
  }

  .items {
    font-size: 1rem;
    gap: 10rem;
  }

  .error {
    font-size: 1rem;
  }
}
