@font-face {
    font-family: 'Shlop';
    src: url('../fonts/shlop.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

#touch-indicator {
  position: fixed;
  width: 300px;
  height: 300px;
  background: url('../img/cursed_cursor_state-1.svg') no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: 10000;
  display: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
    opacity: 1;
}

#touch-indicator.fade-out {
    opacity: 0;
}

/* Global Cursor Settings */
:root {
    --cursor-default: url("../img/cursed_cursor_state-1.svg") 64 5, auto;
    --cursor-hover: url("../img/cursed_cursor_state-2.svg") 64 5, auto;
}

html, body {
  height: calc(var(--vh) * 100);
  overflow: hidden;
}

body {
    /* height: 100vh; */
    margin: 0;
    padding: 0;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    background: #c0c0c0;
    font-family: 'Verdana', Arial, sans-serif;
    color: blue;
    text-align: center;
    cursor: var(--cursor-default);
}

.stretched-text {
    font-size: 40px;
    margin-top: 80px;
    transform: scaleY(2.5);
    display: inline-block;
    transform-origin: bottom top;
    background: transparent;
    position: relative;
}

.page-wrapper {
    min-height: calc(var(--vh) * 100);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


body.spin-mode {
    cursor: none;
}

a:hover,
button:hover,
input[type="submit"]:hover {
    cursor: var(--cursor-hover);
}

/* Animated cursor icon */
#spin-cursor {
    width: 128px;
    height: 128px;
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    display: none;
    background: url('../img/cursed_cursor_state-2.svg') no-repeat center top;
    /* anchor visual to top center */
    background-size: contain;
    animation: spin 1s linear infinite;
    transform-origin: top center;
    /* anchor transform here */
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


body.spin-mode {
    cursor: none;
}

#contact-link {
    color: yellow;
    text-decoration: underline;
    pointer-events: auto;
}

#contact-link:hover {
    cursor: none;
    /* Hide native cursor */
}

.scroll-section {
    background: #4444aa;
}

/* Layout */
.container {
    width: 800px;
    height: calc(var(--vh) * 90);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 3px solid #fff;
    border-bottom-color: #888;
    border-right-color: #888;
    box-shadow: 4px 4px 0 #888, 8px 8px 0 #fff;
    padding: 10px;
    box-sizing: border-box;
}

.content,
.main-content {
    flex: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.main-content {
    justify-content: space-evenly;
    width: 100%;
}

/* Typography */
h1 {
    font-family: 'Shlop', sans-serif;
    font-size: 6em;
    letter-spacing: 4px;
    color: red;
    text-shadow: 1px 1px 0 #fff, 2px 2px 0 #888;
    margin-top: 20px;
    margin-bottom: 0;
}

h1 span {
    display: inline-block;
    transition: transform 0.1s ease;
}


h2 {
    color: yellow;
    margin-top: 30px;
    text-shadow: 1px 1px 0 #fff;
}

p,
li {
    color: blue;
}

strong,
b {
    color: yellow;
}

/* Navigation */
nav {
    margin: 30px 0 20px;
}

nav a {
    color: blue;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 1.3em;
    padding: 5px 24px;
    border: 2px outset #fff;
    background: #d4d0c8;
    box-shadow: 1px 1px 0 #888;
}

nav a:hover {
    background: #bdbdbd;
    border: 2px inset #888;
    color: green;
}

/* Lists */
ul {
    list-style: square;
    text-align: left;
    margin: 0 auto 30px;
    width: 60%;
    background: #f0f0f0;
    border: 1px solid #888;
    padding: 15px 30px;
    box-shadow: 1px 1px 0 #fff;
    color: green;
}

/* Footer */
footer {
    width: 100%;
    text-align: center;
    color: green;
    font-size: 0.9em;
    background: red;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #888;
    padding: 10px 0 0 0;
    box-shadow: 0 1px 0 #888;
    margin-top: 20px;
}