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

body {
  background: url('../img/bg.png') center center/cover;
  height: 100vh;
}

.logo {
  height: 5rem;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a i {
  transition: all 0.5s;
  color: #fff;
}
nav ul li a i:hover {
  transform: scale(1.35);
  color: #ff0000;
}

.social-nav {
  transform: translateX(-120px);
  transition: all 0.3s ease-in-out;
  border: 0.2rem solid rgb(146, 3, 182);
  border-radius: 1rem;
  width: 120px;
}

.social-nav:hover {
  transform: translateX(-50px);
}

.fa-gamepad {
  width: 50px;
  font-size: 2rem;
  display: none;
}

.redes-sociales {
  display: none;
}

#score-table-players {
  max-height: 206px;
  overflow-y: auto;
}

#movement-buttons {
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0.5;
}
#movement-buttons img {
  height: 50px;
}

#movement-buttons div {
  gap: 4rem;
  display: flex;
}

#movement-buttons.show {
  display: flex;
}

#portfolioModal .modal-body {
  display: grid;
}

#proyects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
}

.fa-desktop,
.fa-server {
  font-size: 1.3rem;
}

#otpModal section {
  text-align: center;
  font-family: 'Lato', sans-serif;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: space-around;
  border-radius: 12px;
  padding: 24px 0px;
}

#otpModal svg {
  margin: 16px 0;
}

#otpModal title {
  font-size: 20px;
  font-weight: bold;
}

#otpModal p {
  color: #a3a3a3;
  font-size: 14px;
  width: 200px;
  margin-top: 4px;
}

#otpModal input {
  width: 32px;
  height: 32px;
  text-align: center;
  border: none;
  border-bottom: 1.5px solid #d2d2d2;
  background: #212529;
  color: #ff0000;
  margin: 0 10px;
}

#otpModal input:focus {
  border-bottom: 1.5px solid #ff0000;
  outline: none;
}

::-webkit-scrollbar {
  width: 7px;
  height: 10px;
}

::-webkit-scrollbar-track-piece {
  background-color: #212529;
}

::-webkit-scrollbar-thumb:vertical {
  height: 20px;
  background-color: #520000;
}

.proyect-card {
  max-width: 450px;
}

.main-wrapper {
  position: absolute;

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  z-index: 2;
}

.navbar {
  position: absolute;
  z-index: 4;
}

.navbar-collapse.show {
  background: rgba(0, 0, 0, 0.5);
}

#background {
  background: black;
  position: absolute;
  inset: 0 0;
  z-index: 1;
}

.alert {
  z-index: 2;
}

@media screen and (max-width: 991px) {
  .social-nav,
  .score-table {
    display: none;
  }

  .redes-sociales {
    display: block;
  }

  .main-wrapper {
    flex-direction: column-reverse;
  }

  .fa-gamepad {
    display: block;
  }

  .logo {
    height: 2rem;
  }

  #proyects {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
  }

  #portfolioModal {
    width: 100%;
  }

  .proyect-card {
    width: 100%;
    max-width: unset;
  }

  #wrapper {
    margin-left: 1.5rem;
  }
  .navbar {
    width: 100%;
  }
}
