/* Table of contents
––––––––––––––––––––––––––––––––––––––––––––––––––

- Grid
- Base Styles
- Background
- Typography
- Links
- Code
- Spacing
- Utilities
- Misc
- Credit footer

*/


/* Grid
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.container {
  position: relative;
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.column {
  position: center;
  width: 100%;
  float: center;
  box-sizing: border-box;
  padding: 0 25px;
}

/* For devices larger than 400px */
@media (min-width: 400px) {
  .container {
    width: 95%;
  }
}

/* For devices larger than 550px */
@media (min-width: 550px) {
  .container {
    width: 80%;
  }

  .column,
  .columns {
    margin-left: 0;
  }

  .column:first-child,
  .columns:first-child {
    margin-left: 0;
  }
}


/* Base Styles
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
/* NOTE
  html is set to 62.5% so that all the REM measurements throughout Skeleton
  are based on 10px sizing. So basically 1.5rem = 15px :) */

html {
  font-size: 50%;
}

:root {
  /* You can change the font family in the whole design here. (You need to add the font family to the codes.) */
  --font-family: 'Montserrat', sans-serif;

  /* You can change the font size here, is proportional to all texts. */
  --font-size: 13px;

  /* You can change the width and size of the picture by typing the number of pixels. */
  --image-width: 80px;
  --image-height: 80px;
  --image-border-px: 3px;
}

@media (min-width: 370px) {
  :root {
    --font-size: 14px;
  
    --image-width: 100px;
    --image-height: 100px;
  }
}

/* Background
  –––––––––––––––––––––––––––––––––––––––––––––––––– */

body {
  min-height: 100vh;
  font-family: var(--font-family) !important;
  background-color: var(--background-color);
  color: var(--title-color);
  background-position: center;
  background-repeat: no-repeat;
  font-size: var(--font-size);
  line-height: 1.5;
  font-weight: 400;
}

.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Animation */
@keyframes transitionAnimation {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

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

@keyframes animate {
  0% {
    background-position: -500%;
  }

  100% {
    background-position: 500%;
  }
}

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

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

/* Typography
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
h1 {
  color: var(--title-color);
  font-size: 2.75em;
  font-weight: 900;
  letter-spacing: 0.75rem;
  text-transform: uppercase;
  margin: 0.3em 0;
}

h3 {
  color: var(--description-color);
  font-size: 1.25em;
  line-height: 1.25em;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.1rem;
}

p {
  color: var(--description-color);
  font-size: 1.15em;
  line-height: 1.25em;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 0.1rem;
}

.badge {
  padding-bottom: 7px;
}

/* Links
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
a {
  text-decoration: none;
  font-size: 110% !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@media (min-width: 768px) {
  a {
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(3.5px);
  }
}

a:hover {
  color: var(--button-text-hover-color);
}

.spacing {
  padding: 0 10px;
  padding-top: 50px;
}

/* Spacing
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
button,
.button {
  margin-bottom: 1rem;
  display: block !important;
}

input,
textarea,
select,
fieldset {
  margin-bottom: 1.5rem;
}

pre,
blockquote,
dl,
figure,
p,
ol {
  margin-bottom: 2.5rem;
}

.description-parent {
  padding-bottom: 5px !important;
}

.description-parent>p {
  margin-bottom: 0;
}

p {
  margin: 0;
}

.footer {
  padding-bottom: 0;
}

.credit-hover {
  padding-bottom: 25px !important;
}

/* Utilities
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
.u-full-width {
  width: 100%;
  box-sizing: border-box;
}

.u-max-full-width {
  max-width: 100%;
  box-sizing: border-box;
}

.u-pull-right {
  float: right;
}

.u-pull-left {
  float: left;
}


/* Misc
  –––––––––––––––––––––––––––––––––––––––––––––––––– */
hr {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  border-width: 0;
}

/* ===== Hidden Scrollbar ===== */
* {
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

*::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.rounded-avatar {
  box-shadow: none;
}

.button:hover {
  box-shadow: none !important;
}

a:hover {
  box-shadow: none !important;
}

/* Credit footer
–––––––––––––––––––––––––––––––––––––––––––––––––– */
/* Styling for credit footer text */
.credit-txt {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.credit-icon {
  display: none;
  right: 5px;
}

/* Colours - Using https://imagecolorpicker.com/color-code for colour variations, and https://meyerweb.com/eric/tools/color-blend to get shades/tints between the 10% intervals
–––––––––––––––––––––––––––––––––––––––––––––––––– */
:root {
  --highlight-primary: #03dac6;
  /* Root colour used for the rest of the colours */
  --text-primary: #f0f1f1e6;
  /* Highlight with 5% saturation, 90% tint, 90% alpha */
  --background-primary: #1f2322;
  /* Highlight 5% saturation, 70% shade */
  --background-secondary: #303434cc;
  /* Highlight 5% saturation, 55% shade, 80% alpha */

  --background-color: var(--background-primary);
  --image-border-color: var(--background-secondary);

  --title-color: var(--text-primary);
  --description-color: var(--text-primary);
  --svg-color: var(--text-primary);

  --menu-background-color: var(--background-secondary);
  --menu-text-color: var(--text-primary);
  --menu-active-text-color: var(--highlight-primary);

  --button-background-color: var(--background-secondary);
  --button-text-color: var(--text-primary);
  --button-text-hover-color: var(--highlight-primary);

  --textarea-background-color: var(--background-secondary);
  --textarea-text-color: var(--text-primary);
  --textarea-link-text-color: var(--highlight-primary);

  --footer-background-color: var(--background-secondary);
  --footer-text-color: var(--text-primary);
  --footer-link-text-color: var(--highlight-primary);
}

::selection {
  background: var(--highlight-primary);
  /* WebKit/Blink Browsers */
}

::-moz-selection {
  background: var(--highlight-primary);
  /* Gecko Browsers */
}

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

.badge-body {
  fill: var(--background-secondary);
}

.credit-txt-clr {
  color: var(--text-primary);
}

/* Light mode support
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media (prefers-color-scheme: light) {
  :root {
    --highlight-primary: #03dac6;
    /* Root colour used for the rest of the colours */
    --text-primary: #0a0c0be6;
    /* Highlight with 5% saturation, 90% shade, 90% alpha */
    --background-primary: #fcfcfc;
    /* Highlight 5% saturation, 98% tint */
    --background-secondary: #edeeeecc;
    /* Highlight 5% saturation, 88% tint, 80% alpha */

    --background-color: var(--background-primary);
    --image-border-color: var(--background-secondary);

    --title-color: var(--text-primary);
    --description-color: var(--text-primary);
    --svg-color: var(--text-primary);

    --menu-background-color: var(--background-secondary);
    --menu-text-color: var(--text-primary);
    --menu-active-text-color: var(--highlight-primary);

    --button-background-color: var(--background-secondary);
    --button-text-color: var(--text-primary);
    --button-text-hover-color: var(--highlight-primary);

    --textarea-background-color: var(--background-secondary);
    --textarea-text-color: var(--text-primary);
    --textarea-link-text-color: var(--highlight-primary);

    --footer-background-color: var(--background-secondary);
    --footer-text-color: var(--text-primary);
    --footer-link-text-color: var(--highlight-primary);
  }

  ::selection {
    background: var(--highlight-primary);
    /* WebKit/Blink Browsers */
  }

  ::-moz-selection {
    background: var(--highlight-primary);
    /* Gecko Browsers */
  }

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

  .badge-body {
    fill: var(--background-secondary);
  }

  .credit-txt-clr {
    color: var(--text-primary);
  }
}