/* Utility Imports */
@import url("./style-guide.css");
@import url("./components.css");
/* Page Imports */
@import url(./home.css);
@import url("./playground.css");

/* Site "Settings" */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-display: swap;
  src: url("./fonts/Roboto/roboto-variable.ttf") format("ttf");
}

@font-face {
  font-family: "Roboto";
  font-style: italic;
  font-display: swap;
  src: url("./fonts/Roboto/roboto-italic-variable.ttf") format("ttf");
}

@font-face {
  font-family: "Kdam Thmor Pro";
  font-style: normal;
  font-display: swap;
  src: url("./fonts/Kdam_Thmor_Pro/KdamThmorPro-Regular.ttf") format("ttf");
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #525252;
  --color-primary-400: #202020;
  --color-accent: hsl(233, 88%, 32%);
  --color-accent-200: hsl(232, 100%, 21%);
  --color-accent-400: hsl(232, 46%, 19%);
  --color-white: #ffffff;
  --color-white-200: #dedede;
  --color-white-400: #c8c8c8;
  --color-white-800: #323232;
  --color-black: #000000;

  /* Adding custom colors */

  --color-black-100: hsl(0, 0%, 8%);

  font-family: "Roboto", system-ui, sans-serif;
  --font-heading: "Kdam Thmor Pro", system-ui, sans-serif;
}

/*
---------------------------
##### Utility Classes #####
---------------------------
*/

/* Layout classes */
.page-wrapper {
  position: relative;
}

.container-large {
  margin: 0 auto;
  width: 100%;
  max-width: 80rem;
}

.padding-global {
  padding: 0 2.5rem;
}

.padding-section-small {
  padding: 3rem 0;
}
.padding-section-medium {
  padding: 5rem 0;
}
.padding-section-large {
  padding: 8rem 0;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Heading Tags */
h1,
h2,
h3,
h4,
h5,
h6,
.heading-style-h1,
.heading-style-h2,
.heading-style-h3,
.heading-style-h4,
.heading-style-h5,
.heading-style-h6 {
  font-family: var(--font-heading);
}

h1 {
  font-size: 5rem;
  line-height: 1.1;
}

h2 {
  font-size: 4rem;
  line-height: 1.2;
}

h3 {
  font-size: 3rem;
  line-height: 1.2;
}

h4 {
  font-size: 2rem;
  line-height: 1.4;
}

h5 {
  font-size: 1.5rem;
  line-height: 1.5;
}

h6 {
  font-size: 1.25rem;
  line-height: 1.5;
}

/* Other HTML Tags */
p {
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 200ms ease-out;
}

a:hover {
  opacity: 0.6;
}

ol,
ul {
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

/* Heading Styles */
.heading-style-h0 {
  font-size: 8rem;
  line-height: 1.1;
}
.heading-style-h1 {
  font-size: 5rem;
  line-height: 1.1;
}

.heading-style-h2 {
  font-size: 4rem;
  line-height: 1.2;
}

.heading-style-h3 {
  font-size: 3rem;
  line-height: 1.2;
}

.heading-style-h4 {
  font-size: 2rem;
  line-height: 1.4;
}

.heading-style-h5 {
  font-size: 1.5rem;
  line-height: 1.5;
}

.heading-style-h6 {
  font-size: 1.25rem;
  line-height: 1.5;
}

/* Text Classes - Sizes */
.text-size-large {
  font-size: 1.5rem;
}
.text-size-medium {
  font-size: 1.25rem;
}
.text-size-regular {
  font-size: 1rem;
}
.text-size-small {
  font-size: 0.875rem;
}
.text-size-tiny {
  font-size: 0.75rem;
}

/* Text Classes - Styles */
.text-style-strikethrough {
  text-decoration: line-through;
}
.text-style-italic {
  font-style: italic;
}
.text-style-muted {
  opacity: 0.6;
}
.text-style-allcaps {
  text-transform: capitalize;
}
.text-style-nowrap {
  text-wrap: nowrap;
}
.text-style-link {
  color: var(--color-white);
  text-decoration: none;
  border-bottom: 1px solid var(--color-white);
  transition: border 200ms ease-out, opacity 200ms ease-out;
}
.text-style-link:hover {
  opacity: 0.6;
  border-bottom: 1px solid transparent;
}
/* Apply "..." after 3 lines of text */
.text-style-3lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Apply "..." after 2 lines of text */
.text-style-2lines {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Text Classes - Weights */
.text-weight-xbold {
  font-weight: 800;
}
.text-weight-bold {
  font-weight: 700;
}
.text-weight-semibold {
  font-weight: 600;
}
.text-weight-medium {
  font-weight: 500;
}
.text-weight-normal {
  font-weight: 400;
}
.text-weight-light {
  font-weight: 300;
}

/* Text Classes - Alignments */
.text-align-left {
  text-align: start;
}
.text-align-center {
  text-align: center;
}
.text-align-right {
  text-align: end;
}

/* Buttons */
.button {
  padding: 1rem 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  background-color: var(--color-accent);
  border-radius: 4px;
  transition: background-color 200ms ease-out;
  cursor: pointer;
}
.button:hover {
  background-color: var(--color-accent-200);
  opacity: 1;
}

.button.is-small {
  padding: 0.75rem 1.25rem;
}
.button.is-large {
  padding: 1.25rem 2rem;
}
.button.is-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.button-secondary {
  padding: 1rem 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-white);
  text-align: center;
  text-decoration: none;
  background-color: var(--color-primary);
  border-radius: 4px;
  transition: background-color 200ms ease-out;
  cursor: pointer;
}
.button-secondary:hover {
  background-color: var(--color-primary-400);
  opacity: 1;
}

.button-secondary.is-small {
  padding: 0.75rem 1.25rem;
}
.button-secondary.is-large {
  padding: 1.25rem 2rem;
}
.button-secondary.is-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.button-white {
  padding: 1rem 1.5rem;
  font-weight: bold;
  line-height: 1.2;
  color: var(--color-black);
  text-align: center;
  text-decoration: none;
  background-color: var(--color-white);
  border-radius: 4px;
  transition: background-color 200ms ease-out;
  cursor: pointer;
}
.button-white:hover {
  background-color: var(--color-white-200);
  opacity: 1;
}

.button-white.is-small {
  padding: 0.75rem 1.25rem;
}
.button-white.is-large {
  padding: 1.25rem 2rem;
}
.button-white.is-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

/* Text Color Styles */
.text-color-black {
  color: var(--color-black);
}
.text-color-white {
  color: var(--color-white);
}
.text-color-primary {
  color: var(--color-primary);
}
.text-color-primary-400 {
  color: var(--color-primary-400);
}
.text-color-accent {
  color: var(--color-accent);
}
.text-color-accent-400 {
  color: var(--color-accent-400);
}

/* Background Color Styles */
.background-color-black {
  color: var(--color-black);
}
.background-color-white {
  color: var(--color-white);
}
.background-color-primary {
  color: var(--color-primary);
}
.background-color-primary-400 {
  color: var(--color-primary-400);
}
.background-color-accent {
  color: var(--color-accent);
}
.background-color-accent-400 {
  color: var(--color-accent-400);
}

/* Max Widths */

.max-width-full {
  width: 100%;
  max-width: none;
}

.max-width-xxlarge {
  width: 100%;
  max-width: 80rem;
}
.max-width-xlarge {
  width: 100%;
  max-width: 64rem;
}
.max-width-large {
  width: 100%;
  max-width: 48rem;
}
.max-width-medium {
  width: 100%;
  max-width: 32rem;
}
.max-width-small {
  width: 100%;
  max-width: 20rem;
}
.max-width-xsmall {
  width: 100%;
  max-width: 16rem;
}
.max-width-xxsmall {
  width: 100%;
  max-width: 12rem;
}

/* Spacers */
.spacer-tiny {
  padding-top: 0.125rem;
}
.spacer-xxsmall {
  padding-top: 0.25rem;
}
.spacer-xsmall {
  padding-top: 0.5rem;
}
.spacer-small {
  padding-top: 1rem;
}
.spacer-medium {
  padding-top: 2rem;
}
.spacer-large {
  padding-top: 3rem;
}
.spacer-xlarge {
  padding-top: 4rem;
}
.spacer-xxlarge {
  padding-top: 5rem;
}
.spacer-huge {
  padding-top: 6rem;
}
.spacer-xhuge {
  padding-top: 8rem;
}
.spacer-xxhuge {
  padding-top: 12rem;
}

/* Icons */
.icon-1x1-small {
  display: flex;
  align-items: center;
  width: 1rem;
  height: 1rem;
  font-size: 1rem;
  line-height: 1;
}
.icon-1x1-medium {
  display: flex;
  align-items: center;
  width: 2rem;
  height: 2rem;
  font-size: 2rem;
  line-height: 1;
}
.icon-1x1-large {
  display: flex;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 2.5rem;
  line-height: 1;
}

/* Other */

.hide {
  display: none;
}

/* 
---------------------------
##### Other Global Styles #####
---------------------------
*/

/* Make text look crisper and more legible in all browsers */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Focus state style for keyboard navigation for the focusable elements */
*[tabindex]:focus-visible,
input[type="file"]:focus-visible {
  outline: 0.125rem solid #4d65ff;
  outline-offset: 0.125rem;
}

/* Prevent all click and hover interaction with an element */
.pointer-events-off {
  pointer-events: none;
}

/* Enables all click and hover interaction with an element */
.pointer-events-on {
  pointer-events: auto;
}

/* Create a class of .div-square which maintains a 1:1 dimension of a div */
.div-square::after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

/* Make sure containers never lose their center alignment */
.container-medium,
.container-small,
.container-large {
  margin-right: auto !important;
  margin-left: auto !important;
}

/* Adds inline flex display */
.display-inlineflex {
  display: inline-flex;
}

/* These classes are never overwritten */
.hide {
  display: none !important;
}

@media screen and (max-width: 991px) {
  .hide,
  .hide-tablet {
    display: none !important;
  }
}
@media screen and (max-width: 767px) {
  .hide-mobile-landscape {
    display: none !important;
  }
}
@media screen and (max-width: 479px) {
  .hide-mobile {
    display: none !important;
  }
}

.margin-0 {
  margin: 0rem !important;
}

.padding-0 {
  padding: 0rem !important;
}

.spacing-clean {
  padding: 0rem !important;
  margin: 0rem !important;
}

.margin-top {
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}

.padding-top {
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}

.margin-right {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
  margin-left: 0rem !important;
}

.padding-right {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
  padding-left: 0rem !important;
}

.margin-bottom {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}

.padding-bottom {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}

.margin-left {
  margin-top: 0rem !important;
  margin-right: 0rem !important;
  margin-bottom: 0rem !important;
}

.padding-left {
  padding-top: 0rem !important;
  padding-right: 0rem !important;
  padding-bottom: 0rem !important;
}

.margin-horizontal {
  margin-top: 0rem !important;
  margin-bottom: 0rem !important;
}

.padding-horizontal {
  padding-top: 0rem !important;
  padding-bottom: 0rem !important;
}

.margin-vertical {
  margin-right: 0rem !important;
  margin-left: 0rem !important;
}

.padding-vertical {
  padding-right: 0rem !important;
  padding-left: 0rem !important;
}

/* 
---------------------------
##### Custom Classes #####
---------------------------
*/

/*
--------------------
NAV
____________________
 */

.nav_component {
  position: fixed;
  inset: 0 0 auto 0;
  background-color: var(--color-black-100);
  z-index: 10000;
  transition: all 200ms ease-out;
}

.nav_component.nav-hidden {
  transform: translateY(-100%);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.brand img {
  height: 40px;
}

.nav_menu {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-menu_link {
  color: var(--color-white);
  font-size: 1rem;
}

/*
--------------------
HOME
____________________
 */

.section_home-hero {
  background-color: var(--color-black-100);
  color: white;
  min-height: 100vh;
}

.afk-banner {
  padding: 1rem 2rem;
  background-color: var(--color-accent);
  border-radius: 1rem;
  line-height: 250%;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.afk-banner img {
  width: 100px;
}

.hero_container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.hero_info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-social_list {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: start;
  gap: 1rem;
}

.footer-social_item {
  font-size: 1.5rem;
  color: var(--color-white);
}

.info-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.info-column h2 {
  margin-bottom: 1rem;
}

@media screen and (max-width: 991px) {
  .afk-banner h2 {
    font-size: 2.5rem;
  }
  .afk-banner img {
    width: 80px;
  }
}
@media screen and (max-width: 767px) {
  .afk-banner {
    padding: 1rem;
  }
  .afk-banner h2 {
    font-size: 2rem;
  }
  .afk-banner img {
    width: 80px;
  }
  .info-container {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}
@media screen and (max-width: 479px) {
  .afk-banner h2 {
    font-size: 1.5rem;
  }
  .afk-banner img {
    width: 60px;
  }
}
