:root {
  --black: #0a0a0a;
  --white: var(--white);
  --primary: #f34e3a;
  --primaryLight: #feeae8;
  --white: #ffffff;
}

html,
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: var(--black);
}

html {
  overflow-x: hidden;
}

p {
  color: var(--black);
}

a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: var(--primary);
}

ul {
  color: var(--black);
}

ol {
  color: var(--black);
}

h1 {
  font-family: "Oswald", sans-serif;
  font-size: 3rem;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
  font-family: "Oswald", sans-serif;
}

.intro-text {
  font-size: 1.35rem;
  font-weight: 600;
}

.button,
.btn {
  width: 100%;
  max-width: 320px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  display: block;
  color: var(--white) !important;
  border: none;
  border-radius: 0;
  background: var(--primary) !important;
  font-size: 1.5rem;
  transition: all 0.25s;
  padding: 10px 30px !important;

  &:hover,
  &:focus,
  &:focus-visible {
    text-decoration: none;
    transform: scale(1.05) !important;
    filter: brightness(1.5);
  }
}

.btn-close {
  padding: 10px;
  background-color: var(--white);
  border-radius: 30px;
  position: absolute;
  right: 25px;
  top: 25px;
  z-index: 3;
}

.flex-wrap-tablet {
  @media (min-width: 992px) and (max-width: 1279px) {
    flex-wrap: wrap;
  }
}

.mobile-column {
  @media (max-width: 991px) {
    flex-direction: column;
  }
}

/*MODAL*/

/* Imagen superior del modal */

#goPremium {
  .popup-image {
    width: 100%;
    height: 240px;
    background-image: url("../../assets/img/banner.jpg");
    background-size: cover;
    background-position: center;
  }
}

.modal-title h1 {
  font-size: 1.5rem;
  color: var(--black);
}

.text-modal p {
  font-size: 1rem;
  color: grey;
  line-height: 1.5;
}

/*NAV BAR HEADER*/

.navbar {
  --bs-navbar-padding-y: 0 !important;
  gap: 10px;

  .container-fluid {
    background: var(--black) !important;
    padding: 10px 40px !important;

    @media (max-width: 991px) {
      padding: 10px 20px 30px !important;
    }

    .navbar-collapse {
      flex-grow: 0 !important;

      img {
        width: 100%;
        max-width: 150px;
      }

      a {
        color: var(--white);
        font-size: 18px;
        font-weight: 600;
        padding: 20px 10px;
      }
    }

    .nav-icons {
      gap: 10px;
    }
  }

  .navbar-nav {
    @media (max-width: 991px) {
      padding: 0 !important;
    }

    .nav-item {
      .nav-link {
        @media (max-width: 991px) {
          padding: 5px 0 !important;
        }

        img {
          max-width: 50px;
        }
      }
    }
  }

  .navbar-toggler-icon {
    filter: invert(1);
    -webkit-filter: invert(1);
  }

}

/* HOME */

.banner {
  background-image: url("../../assets/img/banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  padding: 20px;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;

    @media (min-width: 768px) {
      min-height: 60vh;
    }
  }
}

.header-text {
  max-width: 800px;
  width: 100%;
  text-align: center !important;
  color: var(--white) !important;

  @media (min-width: 768px) {
    text-align: left;
  }

  h1 {
    font-size: 2.5rem;

    @media (min-width: 768px) {
      font-size: 3.5rem;
    }
  }

  .header-text h2 {
    @media (min-width: 768px) {
      font-size: 1.2rem;
      margin-bottom: 35px;
    }
  }
}

main {
  min-height: 78vh;
}

.home {
  padding: 20px 0;
}

.online-games {
  position: relative;
}

.section-games {
  .card-img-top {
    height: 300px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 10px;
  }

  .card {
    box-shadow: none;

    &:after {
      content: "";
      display: block;
      background: rgba(28, 34, 70, 0.5);
      -webkit-filter: contrast(150%);
      filter: contrast(150%);
      width: 100%;
      height: 100%;
      position: absolute;
      z-index: 99;
      border-radius: 10px;
    }

    .card-body {
      position: absolute;
      bottom: 0;
      background: transparent;
      color: var(--white);
      z-index: 999;

      .card-text {
        color: var(--white);
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        /* number of lines to show */
        -webkit-box-orient: vertical;
      }

      .card-title {
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        /* number of lines to show */
        -webkit-box-orient: vertical;
      }
    }
  }
}

.card {
  .img-container {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;

    img {
      height: 100%;
      min-width: 100%;
      object-fit: cover;
    }
  }

  .card-body {
    .card-title {
      font-size: 1.5rem;
      font-weight: 600;
      font-family: "Oswald", sans-serif;
      margin-bottom: 0;
      white-space: nowrap;
      /* prevent wrapping */
      overflow: hidden;
      /* hide overflow */
      text-overflow: ellipsis;
      text-align: center;
    }
  }

  .card-footer {
    background-color: transparent;
    margin: auto;
    padding-bottom: 30px;
    border-top: none !important;
  }
}

.section-reviews {
  padding: 40px 0;
}

.full-content {
  background-color: #cfcfcf;
}

.section-2 {
  margin-top: 50px;
}

.header-section {
  h2 {
    font-size: 1.6rem;
  }

  .first-title {
    margin-top: 40px;
    justify-content: center;
  }

  .small-title {
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
    margin: 0 auto 20px;
  }
}

.single-game {
  text-align: center;
  margin-bottom: 55px;
  position: relative;
  transition: all 0.3s ease-out;
  width: 100%;
  background-color: var(--primary);
  flex: 1;
  min-width: 0;

  &:hover {
    transform: scale(0.9);
  }

  .person-info {
    padding: 1rem 1rem 2.5rem;

    h6 {
      color: var(--white);
      font-weight: 500;
    }

    h3 {
      font-size: 1.5rem;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      color: var(--white);
    }

    p {
      color: var(--white);
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
  }

  .person-image {
    margin-bottom: 0;
    padding: 0;

    img {
      border-radius: 0;
      height: 240px;
      -o-object-fit: cover;
      object-fit: cover;
      width: 100%;
    }
  }
}

/* RINGTONES */

.ringtones .full-name,
.ringtones-page .description .full-name {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  -webkit-box-orient: vertical;
}

.ringtones-container {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
  gap: 3px;
  background: var(--primaryLight);

  @media (max-width: 767px) {
    flex-direction: column-reverse;
  }

  .image {
    flex: 30%;
    max-height: 300px;
    height: 100%;
    overflow: hidden;
    object-fit: cover;

    @media (max-width: 767px) {
      flex: 100%;
    }

    img {
      width: 100%;
      height: 280px;
      -o-object-fit: cover;
      object-fit: cover;
    }
  }

  .description {
    flex: 60%;
    text-align: left;
    display: block;
    padding: 0 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;

    @media (max-width: 991px) {
      padding: 20px;
    }

    p {
      color: #343434;
      margin-bottom: 0;

      &.text {
        color: #6c6c6c;
        font-family: "Roboto", sans-serif;
        font-size: 16px;
        line-height: 22px;
        margin: 10px auto;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
    }

    .btn.premium {
      color: var(--white);
    }
  }

  strong {
    flex: 100%;
    font-size: 1.25rem;
    font-family: "Oswald", sans-serif;
  }

  p {
    color: grey;
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 10px;
  }
}

/* SIDEBAR */

.sidebar {
  .articles {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      a {
        display: flex;
        color: var(--primary);
      }
    }

    img {
      max-width: 72px;
      height: 72px;
      -o-object-fit: cover;
      object-fit: cover;
    }

    p {
      max-width: 200px;
      margin-left: 10px;
      overflow: hidden;
      text-overflow: ellipsis;
      word-wrap: break-word;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      font-family: "Oswald", sans-serif;
    }
  }
}

/* Article */

.article {
  h1 {
    margin-top: 0;
  }

  h2 {
    margin-top: 40px;
  }

  h3 {
    margin-top: 30px;
  }

  h4 {
    margin-top: 20px;
  }

  img {
    margin-bottom: 20px;
  }

  p {
    margin-bottom: 20px;
  }

  ul li,
  ol li {
    margin: 10px 0;
  }
}

span.icon {
  background-color: var(--white);
  width: 65px;
  height: 65px;
  font-size: 28px;
  color: white;
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  bottom: -32px;
  z-index: 999;
  transition: all 0.4s;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
}

/* LOGIN */

.login section {
  max-width: 380px;
  /*text-align: center;*/
  margin: 0 auto;
}

.container-contact100 {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px;
  position: relative;
  background-color: #f2f2f2;
}

.wrap-contact100 {
  width: 550px;
  background: transparent;
  padding: 50px 0px 160px 0px;
}

/* Form */

.contact100-form {
  width: 100%;
}

.contact100-form-title {
  display: block;
  /*font-size: 30px;*/
  color: white;
  line-height: 1.2;
  /*text-transform: uppercase;
  text-align: center;
  padding-bottom: 49px;*/
}

#contact {
  color: white;
}

.wrap-input100 {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.input100 {
  position: relative;
  display: block;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  font-size: 18px;
  color: #000;
  line-height: 1.2;
}

input.input100 {
  height: 62px;
  padding: 0 35px 0 35px;
  outline: none;
  border: none;
}

textarea.input100 {
  min-height: 169px;
  padding: 19px 35px 0 35px;
  border: none;
}

textarea.input100:focus-visible {
  outline: 0;
}

.contact100-form-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  min-width: 150px;
  height: 62px;
  background-color: transparent;
  border-radius: 31px;
  border: none;
  font-size: 16px;
  color: var(--white);
  line-height: 1.2;
  text-transform: uppercase;
  transition: all 0.4s;
  position: relative;
  z-index: 1;
}

.contact100-form-btn::before {
  border: none;
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 31px;
  background-color: #009aff;
  pointer-events: none;
  transition: all 0.4s;
}

.contact100-form-btn:hover:before {
  background: linear-gradient(80deg,
      rgba(47, 196, 238, 1) 0,
      rgba(186, 123, 213, 1) 79%);
  width: calc(100% + 20px);
}

/* FOOTER */
footer {
  background-image: url("../../assets/img/footer-background.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--white);

  p {
    font-size: 13px;
  }

  li {
    a {
      color: var(--white);

      &:hover {
        text-transform: underline;
      }
    }
  }

  .copyright a {
    color: var(--white);
  }
}

b,
strong {
  font-weight: bold !important;
}

.modal {
  .modal-body {
    text-align: center;

    span.icon {
      display: inline-block;
      width: 100px;
      height: 100px;
      line-height: 90px;
      text-align: center;
      background: #ea1f24;
      color: var(--white);
      border-radius: 50%;
      font-size: 52px;
      margin-bottom: 20px;
      position: relative;
      bottom: auto;
    }
  }

  .modal-header,
  .modal-footer {
    margin: 0 auto;
    border: none;
  }

  .modal-content {
    border: none;
    border-radius: 15px;
    padding: 20px;
  }

  .close {
    color: grey;
    font-size: 40px;
    background: transparent;
    border: none;
  }
}

.modal-backdrop {
  opacity: 0.9 !important;
}

.md-content {
  h3 {
    font-size: 2rem;
  }

  p {
    line-height: 35px;
  }
}


/* Faqs */

.faqs {
  display: grid;
  gap: 2rem;

  .faq[open] {
    outline: 0;

    .faq__question::before {
      transform: rotate(0);
    }

    .faq__answer {
      -webkit-animation: slide-down 0.5s ease-in-out;
      animation: slide-down 0.5s ease-in-out;
    }
  }

  .faq__question {
    border-radius: 3px;
    outline: 0;
    color: var(--white);
    display: flex;
    align-items: center;
    background: var(--primary);
    padding: 1rem 2.5rem 1rem 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;

    &::before {
      display: inline-block;
      position: absolute;
      content: "×";
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      right: 20px;
      font-weight: 700;
      font-size: 1.5rem;
      transform: rotatez(-135deg);
      transition: all 0.4s ease-in-out;
    }
  }

  .faq__answer {
    padding: 1rem;
    border-radius: 5px;
    color: var(--black);
    position: relative;
    z-index: 0;
  }
}

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes animStar {
  from {
    transform: translateY(0px);
  }

  to {
    transform: translateY(-2000px);
  }
}