/*------------------------------------------------------------------
Project: Skytale Hosting - Hosting Provider Template
Author: Skytale Hosting, LLC
Copyright: 2024 Skytale Hosting, LLC
Version: 1.0.1
-------------------------------------------------------------------*/

/*
  Root
*/

* {
  box-sizing: border-box;
}

:root {
  --bg: #010319;
  --color: rgba(255, 255, 255, 0.75);
  --accent: #007BFF;
  --accent-muted: rgba(0, 123, 255, 0.2);
  --color-muted: #A8B4D8;
  --secondary-bg: #1C1F29;
  --text-gradient: linear-gradient(to right, #0098EF 0%, #0040EF 100%);
  --card-gradient: linear-gradient(to right, transparent, #4C8BF9, transparent);
  --bs-border-radius: 8px;
}

a, a:hover {
  text-decoration: none;
}

html {
  max-width: 100vw;
}

body {
  background: var(--bg);
  position: relative;
  background-color: var(--bg);
  color: var(--color);
  font-family: 'Roboto', sans-serif;
  text-rendering: optimizelegibility;
  -moz-text-size-adjust: none;
  max-width: 100vw;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/*
  General
*/

.text-primary {
  color: var(--accent)!important;
}

.text-green {
  color: lime;
}

.text-red {
  color: red;
}

.btnx.bg-orange {
  border: 1px solid #9b5c0a;
  background: linear-gradient(to right, #FD644F, #F28E26);
  font-size: 18px;
  margin: 5px;
  transition: all .3s ease-in-out;
}

.btnx {
  border: 1px solid #0a4e9b;
  font-size: 18px;
  margin: 5px;
  transition: all .3s ease-in-out;
}

.btnx-primary {
  background: var(--text-gradient);
}

.btnx-primary:hover {
  transform: translateY(4px);
}

.btnx-secondary {
  background: rgb(0, 0, 0);
}

.btnx-secondary:hover { 
  transform: translateY(4px);
}

.divider {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
}


/*
  Navbar
*/


.navxbar {
  padding: 1vw 0;
  left: 0;
}

.navxbar .dropdownx ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: var(--secondary-bg);
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navxbar .dropdownx ul li {
  min-width: 200px;
}

.navxbar .dropdownx ul a {
  padding: 10px 20px;
  font-size: 16px;
  text-transform: none;
  color: var(--color-muted);
}

.navxbar .dropdownx ul a i {
  font-size: 12px;
}

.navxbar .dropdownx ul a:hover,
.navxbar .dropdownx ul .active:hover,
.navxbar .dropdownx ul li:hover>a {
  color: var(--accent);
}

.navxbar .dropdownx:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navxbar .dropdownx .dropdownx ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navxbar .dropdownx .dropdownx:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navxbar .dropdownx .dropdownx ul {
    left: -90%;
  }

  .navxbar .dropdownx .dropdownx:hover>ul {
    left: -100%;
  }
}

.navxbar img {
  width: 32px;
  height: 32px;
}

.navx-link {
  font-size: 16px;
}



/*
  Footer
*/

.footerx {
  background-color: var(--secondary-bg)
}

.footerx-category {
  color: #FFF;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
}

.footerx-item {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: all .3s ease-in-out;
  margin-bottom: 0;
}

.copyright {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-muted);
  transition: all .3s ease-in-out;
  margin-bottom: 0;
}

.footerx a:hover {
  color: var(--accent)
}

.copyright-link:hover {
  color: var(--accent)
}

.footerx-divider {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
}

.footerx-divider-1 {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
}

.footerx-divider-2 {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
  margin-bottom: 15vw;
}

.footerx-divider-3 {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
  margin-top: 1.5vw;
  margin-bottom: 1vw;
}

.footerx-divider-4 {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
  margin-top: 1vw;
}

li.footerx-legal a.footerx-item {
  font-size: 1rem;
  color: var(--color-muted);
  transition: all .3s ease-in-out;
  margin-top: 0;
  margin-bottom: 5;
}

.footerx-img {
  padding: 0;
  margin-top: 10vw
}

/* 
 @media
*/


@media (max-width: 40vw) {
  .md-d-none {
      display: none !important
  }

  .md-d-block {
      display: block !important;
  }

  .md-mt-3 {
      margin-top: 1rem !important;
  }

  .md-w-100 {
      width: 100% !important;
  }

  .md-px-3 {
      padding: 0 12px !important;
  }

  .md-pb-3 {
      padding-bottom: 1rem
  }

  .stat-row .colx-md-4:first-child .stat-card {
      border-radius: 0;
  }

  .stat-row .colx-md-4:last-child .stat-card {
      border-bottom-left-radius: var(--bs-border-radius);
  }

  .md-text-center {
      text-align: center;
  }

  .server-info {
      border-right: 0;
      border-bottom: 2px solid #272B37
  }

  .order-now {
      flex: auto;
  }

  .hero-text h2 {
      font-size: 24px;
  }

  .navxbar-dark {
      background-color: var(--secondary-bg)!important;
  }

  .navxbar-sec {
      flex-direction: row;
  }
  
  .navxbar-sec .btnx-primary {
      width: 100%;
  }

  .navxbar-sec a.btnx-secondary {
      display: none;
  }

  .navxbar-sec .ms-3 {
      margin-left: 0!important;
  }

  .navxbar-collapse {
      margin-top: 1rem!important;
  }
}



/* 
  @cardss
*/

.cardx {
  padding: 30px;
  background-color: var(--secondary-bg);
  width: 100%;
  border-radius: 24px;
  opacity: 1;
  transform: none;
}

.os-card {
  padding: 30px;
  background: rgb(19, 18, 18);
  width: 100%;
  border-radius: 24px;
  opacity: 1;
  transform: none;
}

.game-card {
  position: relative;
  background-color: var(--secondary-bg);
  border-radius: var(--bs-border-radius);
  padding: 0;
}

.information-card {
  padding: 30px;
  /*background: linear-gradient(rgba(0, 126, 252, 0.3) 0%, rgba(0, 42, 84, 0.35) 100%);*/
  background: #153462;
  width: 100%;
  border-radius: 24px;
  opacity: 1;
  transform: none;
}

.game-card .cardx-title {
  position: relative;
  border-radius: var(--bs-border-radius);
  padding-bottom: 1vw;
}

.cardx-title .price {
  font-size: 16px;
  color: var(--color);
  font-weight: 400
}

.cardx-title .price span {
  font-size: 12px;
  color:var(--color-muted)
}

.cardx.server::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background-image: linear-gradient(to top, transparent, #FD644F, transparent);
}

.cardx-title i {
  font-size: 2.1vw;
}

.cardx-title {
  color: #FFF;
  font-size: 3vw;
  letter-spacing: .1vw;
  margin-top: 0;
}

.cardx-title h4 {
  color: #FFF;
  font-size: 18px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  letter-spacing: 1px;
}

.cardx p {
  color: var(--color);
}

.cardx-title p {
  color: var(--color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

.cardx-content li, .cardx-content p {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  color: var(--color);
  margin-left: 1vw
}

.cardx-content li:not(:last-child) {
  margin-bottom: 0.5rem;
}

.game-info .cardx-content {
  margin-bottom: 1rem;
}

.cardx-divider {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
  margin-top: 1vw;
  margin-bottom: 1vw;
}


.filter-box .form-control{padding:.3rem .5rem;width: 71px}
.filter-box .btnx-dropdown i{font-size:1rem}
.btnx-dropdown,.filter-box .compact-buttons button{background:var(--card-gradient);border:2px solid rgba(155,162,186,.1)}
.filters .filter-box{margin:1rem .5rem!important}

.game-card img {
  max-height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.game-info {
  padding: 1vw;
}

.input-group {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.not-included {
  color: red
}

.included {
  color: lime
}

.BYO {
  color: orange
}

.main-divider {
  background: var(--card-gradient);
  height: 2px;
  width: 100%;
  margin-top: 15vw;
}

.title-card-primary {
  height: 50vw;
}

.justify-content-left {
  -ms-flex-pack: left !important;
  -webkit-box-pack: left !important;
  justify-content: left !important;
  justify-items: left  !important
}

.justify-content-right {
  -ms-flex-pack: right !important;
  -webkit-box-pack: right !important;
  justify-content: right !important;
  justify-items: right  !important
}

.justify-content-center {
  -ms-flex-pack: center !important;
  -webkit-box-pack: center !important;
  justify-content: center !important;
  justify-items: center  !important
}

.table-btn {
  margin-right: 10vw;
}

.table-data {
  margin-top: 5vw !important;
  margin-bottom: 5vw;
}

/*
WIP CSS FOR DEDIS
*/

.outer-card {
  position:relative;
  background-size:cover;
  background-repeat:no-repeat;
  border-radius:var(--bs-border-radius)
}

.stock-count {
  position:absolute;
  top:-.9rem;
  left:1.875rem;
  padding:.25rem 1rem;
  font-size:14px;
  background-color:var(--secondary-bg);
  border-radius:.4rem;color:var(--color);
  border:2px solid rgba(155,162,186,.1)
}

.additional-tag {
  left:9.875rem
}

.stock-card {
  color:var(--color-muted);
  background:linear-gradient(to top,var(--secondary-bg),rgba(18,20,28,.97));
  padding:1.875rem 0;
  border:2px solid rgba(155,162,186,.1);
  border-radius:.6rem
}

.red-border {
  border-color:rgba(220,53,69,.5)
}

.stock-card p {
  margin-bottom:.5rem;
}

.stock-card .panelx {
  height:88px;
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column
}

.stock-card .panelx .price {
  font-size:25px;
  color:var(--color);
  font-weight:500
}

.stock-card .panelx .price span {
  font-size:15px;
  color:var(--color-muted)
}

.stock-card .panelx:not(:last-child) {
  border-right:2px solid rgba(155,162,186,.1)
}

.bottom-sticky-footer {
  position: absolute;
  bottom: 1px;
  width: 100%;
  height: 55px;
}

section {
  margin: 5rem 0;
}

.section-title h4 {
  color: #FFF;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
}

.section-title p {
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}

section.gray-bg {
  background: var(--secondary-bg);
  padding: 7.5rem 0 7.5rem;
}

sticky-scroll {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  border: 2px solid var(--accent);
}

/* The Modal (background) */
.modalx {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */
}

/* Modal Content */
.modalx-content {
  background-color: #2c2f33; /* Darker twilight color */
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  color: #fff; /* Text color */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
