/*
#############
SHARED STYLES
#############
*/

:root {
    -webkit-tap-highlight-color: transparent;
    --text-background-primary: black;
    --text-background-secondary: white;
    --text-color-primary: white;
    --text-color-secondary: black;
  }
  
  *::selection {
    background: white;
    color: black;
  }
  
  body, html {
    height: 100%;
    margin: 0px;
    padding: 0px;
  }
  
  body {
    background: white;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: flex;
    flex-direction: column;
    font-family: arial;
    justify-content: center;
  }
  
  #ok-header-primary {
    background: white;
    border-bottom: 1px solid;
    box-sizing: border-box;
    display: flex;
    font-family: math;
    height: 75px;
    margin-bottom: auto;;
    max-height: 75px;
    overflow: hidden;
  }
  
  #ok-nav-primary {
    align-items: center;
    background: #ebebeb;
    display: flex;
    height: 100%;
    width: 100%;
  }
  
  .ok-package-cards {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    overflow: auto;
  }
  
  .ok-package-container-header {
    color: white;
    font-size: 20px;
    height: fit-content;
    margin-bottom: 7px;
    margin-top: 50px;
    padding: 0px 52px;
    width: 100%;
  }
  
  .ok-package-container-header h2 {
    /* background: linear-gradient(45deg, #2e1746, transparent); */
    border-radius: 10px;
    font-family: system-ui;
    margin-bottom: 20px;
    margin-top: 0px;
    padding: 10px;
  }
  
  .ok-package {
    background: rgb(1, 4, 9);
    color: #f1f1f1;
  }
  
  .ok-package button {
    cursor: pointer;
  }
  
  .ok-package button:disabled {
    background: #555555;
  }
  
  .ok-package.copper {
    background: linear-gradient(405deg, black 95%, #a5632a 95%);
  }
  
  .ok-package.silver {
    background: linear-gradient(405deg, black 95%, silver 95%);
  }
  
  .ok-package.gold {
    background: linear-gradient(405deg, black 95%, gold 95%);
  }
  
  .ok-package.diamond {
    background: linear-gradient(405deg, black 95%, #9c9ceb 95%);
  }
  
  .paypal-button {
    margin-top: 10px;
  }
  
  .paypal-checkout-modal {
    background: white;
    border-radius: 10px;
    box-sizing: border-box;
    color: black;
    max-width: 80%;
    overflow-x: hidden;
    width: 500px;
  }
  
  .paypal-checkout-modal::backdrop {
    background: rgba(0,0,0,0.7);
  }
  
  .paypal-checkout-modal h3 {
    margin-bottom: 0px;
  }
  
  .paypal-checkout-modal p {
    margin-top: 7px;
  }
  
  .sub-header {
    margin-top: 20px !important;
  }

  @media screen and (max-width: 500px) {
    .body-container > h2 {
      font-size: 24pt !important;
    }

    .body-text {
      display: none !important;
    }

    .body-container {
      height: 70% !important;
      padding: 20px !important;
      width: 80% !important;
    }

    .body-container::before {
        content: 'Game Services';
        position: absolute;
        top: 4rem;
        left: 0px;
        z-index: 2;
        font-family: 'Red Hat Display';
        font-size: 2rem;
        background: rgba(255, 255, 255, 0.7);
        padding: 5px;
    }

    .body-container::after {
        content: 'High-performance game servers and scripts designed to plug and play with many popular titles';
        position: absolute;
        top: 8rem;
        left: 0px;
        z-index: 2;
        font-family: 'Red Hat Display';
        font-size: 1.2rem;
        max-width: 28rem;
        background: rgba(255, 255, 255, 0.7);
        padding: 5px;
    }
  }
  
  .body-container {
    align-content: flex-end;
    align-items: flex-end;
    align-self: center;
    background: url(../media/games.png);
    background-repeat: no-repeat;
    background-position-y: 81%;
    background-size: cover;
    border-radius: 15px;
    box-shadow: -2px 5px 6px rgba(0, 0, 0, 0.5);
    box-sizing: border-box;
    color: #190d1c;
    display: flex;
    flex-wrap: wrap;
    height: -webkit-fill-available;
    justify-content: flex-end;
    margin: 3% 0px;
    max-width: 1500px;
    overflow: auto;
    padding: 50px;
    position: relative;
    transition: all 0.3s ease-in-out;
    width: 87.5%;
  }

  .body-container:hover {
    background-position-x: 59%;
    background-position-y: 54%;
    box-shadow: 2px -5px 6px rgba(0, 0, 0, 0.5);
  }
  
  .body-container > h1, .body-container > h2, .body-container > h3, .body-container > h4 {
    width: 100%;
  }
  
  .body-text {
    display: inline-flex;
    flex-direction: column;
    height: fit-content;
    justify-content: flex-start;
    user-select: none;
    width: -webkit-fill-available;
  }

  .body-text::after {
      backdrop-filter: blur(1px);
      content: '';
      height: -webkit-fill-available;
      left: 0px;
      position: absolute;
      top: 0px;
      width: -webkit-fill-available;
      z-index: 1;
  }

  .body-text > * {
    z-index: 2;
  }

  .body-text > h2 {
    font-family: 'Red Hat Display';
    font-size: 62px;
    margin-bottom: 10px;
    margin-top: 0px;
    text-indent: -6px;
    text-shadow: 2px 2px rgba(255, 255, 255, 0.2);
    width: fit-content;
  }
  
  
  .body-text > h3 {
    font-family: 'Red Hat Display';
    font-size: 20px;
    margin-top: 2.5px;
    width: fit-content;
  }
  
  .body-container details {
    cursor: pointer;
    display: flex;
    margin-bottom: 5px;
    width: -webkit-fill-available;
  }

  .body-container details > summary {
    font-size: 20px;
  }
  
  .body-container button {
    cursor: pointer;
  }

  .body-container > a {
    display: flex;
    margin-left: auto;
    z-index: 2;
  }
  

  .brand-name {
    align-items: center;
    display: flex;
    justify-content: center;
    text-decoration: none;
  }
  
  .brand-name:hover .okular-logo {
    transform: rotate(180deg);
  }
  
  .brand-name a {
    color: black;
    text-decoration: none;
  }
  
  .okular-logo {
    height: 33px;
    padding-right: 7px;  
  }

  .okular-logo.invert {
    filter: invert(1);
  }
  
  .button-inverted {
    background: none;
    border: 1px solid black;
    border-radius: 999999px;
    color: black;
    font-family: 'Red Hat Display';
    font-size: 14pt;
    margin: auto;
    padding: 10px 20px;
  }
  
  /* .button-inverted:hover {
    background: white;
    border: 1px dotted;
    color: black;
    transform: scale(1.01);
  } */
  
  .fa-button-icon {
    padding-left: 10px;
  }
  
  footer {
    background: white;
    border-top: 1px solid white;
    box-sizing: content-box;
    height: fit-content;
    margin-top: auto;
    padding-bottom: 10px;
    padding-left: 25px;
    user-select: none;
  }
  
  footer > div {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    height: auto;
  }
  
  .footer-link {
    align-items: center;
    color: black;
    display: flex;
    text-decoration: none;
  }
  
  .footer-link i {
    padding-right: 5px;
  }
  
  /*
  #######################
  DESKTOP & LAPTOP STYLES
  #######################
  */
  
  @media only screen and (min-width: 1200px) {
  
    .brand-name {
      font-size: 20px;
      margin-left: 25px;
    }
  
    #ok-nav-links {
      display: flex;
      height: 100%;
      margin-left: auto;
    }
  
    .ok-nav-link {
      align-items: center;
      color: white;
      display: flex;
      font-size: 18px;
      height: 100%;
      justify-content: center;
      padding: 0px 30px;
      text-decoration: none;
    }
  
    .ok-nav-link:hover {
      background: white;
      color: black;
    }
  
    .ok-package-cards {
      background: linear-gradient(142deg,transparent, rgba(13, 17, 23, 0.4) 9%, rgba(13, 17, 23, 0.7) 91%, transparent);
      box-sizing: border-box;
      justify-content: space-evenly;
      overflow: auto;
      width: 100%;
    }
  
    .ok-package {
      border-radius: 10px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      height: fit-content;
      overflow: hidden;
      padding: 15px;
      width: 302px;
    }
  
    .ok-package:hover {
      border-left: 4px solid #8f558f;
      border-top: 4px solid #8f558f;
      box-shadow: 5px 5px 0px white;
    }
  
    .ok-package:focus-within {
      border-left: 4px solid #8f558f;
      border-top: 4px solid #8f558f;
      box-shadow: 5px 5px 0px white;
    }
  
    .ok-package h3 {
      font-size: 22px;
      margin: 10px 0;
    }
  
    .ok-package h4 {
      margin: 0;
    }
  
    .ok-package hr {
      width: 100%;
    }
  
    .ok-package ul {
      list-style: none;
      margin: 0;
      margin-top: 10px;
      padding: 0;
    }
  
    .ok-package li {
      /* font-size: 20px; */
      padding: 5px 0px;
    }
  
    .ok-package-subscribe-btn {
      align-items: center;
      align-self: flex-end;
      background: linear-gradient(90deg,#2e1746 0, #2e1746 65%, #26113c 95%);
      border: none;
      border-radius: 5px;
      display: flex;
      height: 50px;
      justify-content: center;
      margin: auto auto 15px auto;
      margin-top: auto;
      min-height: 50px;
      min-width: 150px;
      width: 95%;
    }
  }
  
  /* 
  #############
  MOBILE STYLES
  #############
  */
  
  @media only screen and (max-width: 1199px) {
  
    .brand-name {
      margin-left: 5px;
    }
  
    .body-container > h2:first-of-type {
      margin-top: 15px;
    }
  
    #ok-nav-links {
      display: none;
    }
  
    .ok-package-cards {
      flex-wrap: wrap;
      justify-content: space-evenly;
      overflow: auto;
      padding-top: 40px;
    }
  
    .ok-package {
      border-radius: 10px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      height: fit-content;
      margin-bottom:70px;
      min-width: 302px;
      overflow: hidden;
      padding: 15px;
      width: 302px;
    }
  
    .ok-package:hover {
      border-left: 4px solid #8f558f;
      border-top: 4px solid #8f558f;
      box-shadow: 5px 5px 0px white;
    }
  
    .ok-package:focus-within {
      border-left: 4px solid #8f558f;
      border-top: 4px solid #8f558f;
      box-shadow: 5px 5px 0px white;
    }
  
    .ok-package h3 {
      font-size: 22px;
      margin: 10px 0;
    }
  
    .ok-package h4 {
      margin: 0;
    }
  
    .ok-package hr {
      width: 100%;
    }
  
    .ok-package ul {
      list-style: none;
      margin: 0;
      margin-top: 10px;
      padding: 0;
    }
  
    .ok-package li {
      /* font-size: 20px; */
      padding: 5px 0px;
    }
  
    .ok-package-container-header {
      padding-left: 0px;
    }
  
    .ok-package-subscribe-btn {
      align-items: center;
      align-self: flex-end;
      background: linear-gradient(90deg,#2e1746 0, #2e1746 65%, #26113c 95%);
      border: none;
      border-radius: 5px;
      display: flex;
      height: 50px;
      justify-content: center;
      margin: auto auto 15px auto;
      margin-top: auto;
      min-height: 50px;
      min-width: 150px;
      width: 95%;
    }
  
    footer {
      padding: 0px;
    }
  
    footer > div {
      justify-content: center;
    }
  
  }