/** 
 * Imports 
 */

@import url("./layout.css");
@import url("./component.css");
@import url("./element.css");
@import url("https://fonts.googleapis.com/css2?family=Caveat&family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/**
 * Reset and default styling 
 */

* {
  margin: 0;
  padding: 0;
}

ol,
ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

/**
 * Variables
 */

:root {
  /* Space */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 54px;
  --space-8: 64px;

  --space-sm: 8px;
  --space-md: 24px;
  --space-lg: 48px;

  /* Container */
  --container-md: 1400px;

  /* Border radius */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;

  /* Shadow */
  --shadow-1: 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 0 10px rgba(0, 0, 0, 0.25);
  --shadow-3: 0 0 30px rgba(0, 0, 0, 0.5);

  --shadow-1-bottom: 0 3px 3px rgba(0, 0, 0, 0.15);

  /* Colors */
  --color-king-blue: #394b60;
  --color-king-blue-light: #577394;
  --color-grey: #eaedef;
  --color-gold: #c3a66a;
  --color-gold-light: #d2b67e;
  --color-gold-glass: rgba(141, 105, 54, 0.2);
  --color-white: #fff;

  /* Font */
  --font-size-md: 20px;
  --font-size-lg: 32px;
  --font-primary: "Roboto", sans-serif;
  --font-serif: "Newsreader", Times, serif;
  --font-script: "Caveat", cursive;

  --font-size-h1: 36px;
  --font-size-h2: 28px;
  --font-size-h3: 24px;

  /**
  * Responsice variables
  */

  @media (min-width: 768px) {
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 54px;

    --font-size-h1: 48px;
    --font-size-h2: 32px;
    --font-size-h3: 28px;
  }

  @media (min-width: 1024px) {
    --space-sm: 24px;
    --space-md: 48px;
    --space-lg: 64px;
  }
}

/**
 * Helper 
 */

/* Margin */
.margin-bottom-1 {
  margin-bottom: var(--space-1);
}

.margin-bottom-2 {
  margin-bottom: var(--space-2);
}

.margin-bottom-3 {
  margin-bottom: var(--space-3);
}

.margin-bottom-4 {
  margin-bottom: var(--space-4);
}

.margin-bottom-4 {
  margin-bottom: var(--space-4);
}

.margin-bottom-md {
  margin-bottom: var(--space-md);
}

.margin-bottom-lg {
  margin-bottom: var(--space-lg);
}

/* Text */
.has-text-center {
  text-align: center;
}

.has-text-justify {
  text-align: justify;
}

/* Display */
.hide {
  display: none;
}

.hide-sm {
  @media (max-width: 768px) {
    display: none !important;
  }
}

.hide-from-md {
  @media (min-width: 768px) {
    display: none !important;
  }
}

.show-flex-screen-lg {
  display: none;

  @media (min-width: 1200px) {
    display: flex;
  }
}
