* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  background-color: #0d0d0d;
  color: #afa597;
}

/* TYPE SCALE FOR TEXT
    
    11.089rem/177.42px
    6.854rem/109.66px
    4.236rem/67.77px
    2.618rem/41.89px
    1.618rem/25.89px
    1rem/16.00px
    0.618rem/9.89px
    0.382rem/6.11px
    0.236rem/3.78px
    0.146rem/2.33px
*/

/* COLOUR PALLETE TO BE USED

    Primary Colour: #e43131
    Tints: #a02222, #5b1414, #2e0a0a
    Accents: #e74646, #f66, #f7c1c1

    Accent Colour: #e9328d
    Tints: #ba2871, #751947, #2f0a1c
    Accents: #ed5ba4, #f499c6, #f8c2dd

    Grey Colour: #fbefdf
    Tints: #afa597, #7d766c, #322f2b
    Accents: #fdf7ef, #fefbf7

    Background Colour: #0d0d0d
    Tints: #050505
    Accents: #101010, #191919, #222222, #282828


*/

h1,
h2,
h3,
h4,
h5 {
  text-align: center;
}

h1,
h2 {
  padding-top: 2rem;
  font-size: 6.854rem;
  color: #e43131;

  opacity: 0;
  transform: translateY(20px);
  animation: slide-in-titles 0.8s ease forwards;
  animation-delay: 1s;
}

/* Big Webpage Sections section */
section {
  padding-top: 2.618rem;
}

h1 span {
  color: #fbefdf;
}

h2 {
  color: #faebd7;
  font-size: 4.236rem;
  animation-delay: 1.5s;
}

h3,
h4,
h5 {
  color: #c6c6c6;
  
  font-size: 1.618rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  color: #afa597;
  font-size: 1.1rem;
}

p {
  line-height: 1.7rem;
  color: #afa597;
  text-align: left;
  font-weight: 300;
  font-size: 1rem;
}

a {
  text-decoration: none;
}

a:hover, a:active{
  border: none;
  color: none;
}

/* Commonly used designs */
.button-link {
  margin: auto;
  margin-top: 1rem;
  padding: 1rem;

  font-size: 2rem;
  text-decoration: none;
  max-width: fit-content;
  cursor: pointer;

  color: black;
  border: solid 2px red;
  border-radius: 0.5rem;
  background-color: #e43131;
}

.button-link.secondary {
  background-color: transparent;
  color: #7d766c;
}

.button-link:hover,
.button-link.secondary:hover {
  box-shadow: 0 0.4rem 0.5rem black;
  background-color: #ef8383;
  border-color: #ef8383;
  color: black;
}

/* Animations and Transitions */

@keyframes slide-in-titles {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
