@font-face {
  font-family: 'Playfair';
  src: url('../fonts/PlayfairDisplay-Italic-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron';
  src: url('../fonts/Orbitron-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Michroma';
  src: url('../fonts/Michroma-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Archivo Black';
  src: url('../fonts/ArchivoBlack-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Lexend Deca';
  src: url('../fonts/LexendDeca-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('../fonts/Comfortaa-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Merienda';
  src: url('../fonts/Merienda-VariableFont_wght.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

:root {
    --font-type-logo: 'Archivo Black', sans-serif;
    --font-type-content: 'Michroma', sans-serif;
    --font-primary-colour: #c9d1d9;
    --background-main-colour: #0d1117;
    --random-colours: #c9d1d9, #ff6b6b, #6bc9ff, #c9ff6b, #b36bff;
}

body {
    box-sizing: border-box;
    background-color: var(--background-main-colour);
    color: var(--font-primary-colour);
    font-family: var(--font-type-content);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    text-align: center;
    padding: 20px;
}

h1 {
    font-size: clamp(2rem, 10vw, 5rem);
    margin-bottom: 0.5em;
}

h1.logo-text {
    min-height: 10rem;
}

p {
    font-size: clamp(1rem, 3.5vw, 1.5rem);
    max-width: 800px;
    line-height: 1.6;
}

.font-michroma {
    font-family: 'Michroma', sans-serif;
}

.font-archivo {
    font-family: 'Archivo Black', sans-serif;
}

.font-lexend {
    font-family: 'Lexend Deca', sans-serif;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-playfair {
    font-family: 'Playfair', serif;
}

.font-comfortaa {
    font-family: 'Comfortaa', serif;
}

.font-merienda {
    font-family: 'Merienda', serif;
}

.logo-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fade-and-raise 1s forwards;
}

@keyframes fade-and-raise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}