
@font-face {
    font-family:'Heavitas-Sans';
	src: url("../fonts/Heavitas.ttf") format("truetype");
	font-weight: normal;
	font-style: normal;
	font-display: fallback;
}

body,
html {
	box-sizing: border-box;
	font: 300 18px/1.8 "Urbanist Light", sans-serif;
	color: #777;
}

*,
*:before,
*:after {
	box-sizing: inherit;
	margin: 0;
	padding: 0;
}

body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .fade-out {
 /* opacity: 0;
   /* pointer-events: none; /* Prevents interaction */
 /* }*/

.fullscreen-text div p {
    font-family:'Heavitas-Sans';
    font-size: min(80vw, 80vh);
    font-weight: 900;
    color: red;
    /* text-shadow: 0 0 20px rgba(0,0,0,0.5); */
    letter-spacing: -0.05em;
    line-height: 0.8;
    user-select: none;
    text-align: center;
    /* opacity: 1;
    transition: all ease-in-out 2s; */
}

#rno {
    position: relative;
    cursor: pointer;
}

#rno-ghost {
    position: absolute;
    top: 0;
    filter: opacity(50%);
}

/***** @media queries ******/
        /* Fine-tuning for very wide screens */
@media (aspect-ratio > 2/1) {
    .fullscreen-text {
        font-size: min(20vw, 35vh);
    }
}

/* Fine-tuning for very tall screens */
@media (aspect-ratio < 1/2) {
    .fullscreen-text {
        font-size: min(30vw, 45vh);
    }
}

/* Ensure it works on mobile */
@media (max-width: 768px) {
    .fullscreen-text {
        font-size: min(28vw, 38vh);
    }
}

