@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600&family=Poppins&display=swap');
/* /Users/carstenpetersen/development/theilpetersen/style.css */

/* Setting up CSS variables for colors in :root */
:root {
    --primary-color: #a50000;
    --secondary-color: #ccc12e;
    --background-color: #222222;
    --text-color: #cbcbcb;
}

/* Basic reset for consistent styling across browsers */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Setting up basic styles for the body */
body {
    font-family: Arial, sans-serif;
    /* background-color: var(--background-color); */
    
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #090406, #170a0c, #28131c, #24414f);
    background-size: 200% 200%;
    animation: waveBackground 10s infinite linear;
    
    color: var(--text-color);
    line-height: 1.6;
}


@keyframes waveBackground {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}


/* Container for responsive layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    /* background-color: #ccc12e; */
}

.logo {
    color: #00ffc3;
    font-size: 2em;
}

.text-image {
    font-size: 5em;
}

ul li {
    list-style: none;
}

li {
    display: inline;
    padding: 0 10px;
    gap: 10px;
}

nav {
    display: flex;
    padding: 20px 0;
    justify-content: space-between;
    align-items: center;
}

nav a {
    color:#b1a1a1;
    text-decoration: none;
}

nav .active,
nav a:hover {
    color:rgb(0, 229, 255);
}

/* Fluid Typography Scale */

h1, .fs-h1 {
	font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
}

h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
}

h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}

h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}

h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}

h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
}

p, .fs-p {
	font-size: clamp(0.8333rem, 0.7576rem + 0.303vw, 1rem);
}

.rainbow-text {
    font-size: 6em;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(90deg, 
        red, orange, yellow, green, cyan, blue, indigo, violet, magenta, pink);
}

.rainbow-text::before, .rainbow-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    z-index: -1;
}

.rainbow-text::before {
    filter: blur(5px);
}

.rainbow-text::after {
    filter: blur(10px);
    opacity: 0.5;
}
