@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bitter', serif;
    background-color: #f4f4f4;
    color: #151515;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 5vh 5vw;
}

/* Content container */
.content {
    width: 80%;
    text-align: left;
    margin-top: 10px; /* Add space at the top */
	margin-bottom: 10vh;
}

/* Title */
h1 {
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;

}

/* Subtitle */
h2 {
    font-size: clamp(1.7rem, 4.5vw, 2.8rem);
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.4;
}

/* Section text */
h3 {
    font-weight: 300;
    text-transform: uppercase;
}

/* Section style */
.section {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

/* Canvas container: Float the canvas and center it */
.canvas-container {
    width: 40vw;
    height: 40vh;
    margin-right: 20px; /* Add space between canvas and text */
    margin-bottom: 20px; /* Add space below the canvas */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Canvas element */
canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Mobile Optimizations */
@media (max-width: 768px) {

    .canvas-container {
        top: 10%; /* Position canvas at the top of the content */
		transform: translateX(8%); /* Center it perfectly */
    }

    h1 {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }

    h2 {
        font-size: clamp(1.4rem, 3vw, 2rem);
    }

    h3 {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
}

/* Bold specific words */
.bold-word {
    font-weight: bold;
}
