/*
Theme Name:   DownTheRabbithole.WTF
Theme URI:    https://downtherabbithole.wtf
Author:       Skald OÜ
Author URI:   https://skald.ee
Description:  DownTheRabbithole.WTF theme.
Version:      1.0
*/

@font-face {
    font-family: 'TT Fors';
    src: url('fonts/TT-Fors-Light.woff') format('woff'),
         url('fonts/TT-Fors-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    --text-color: #FCF8EF;
    --accent-color: #F17961;
    --background-filter: invert(0);
}

body {
    margin: 0;
    font-family: 'TT Fors', 'Helvetica Regular', sans-serif;
    font-weight: 300;
    background-color: #1a1a1a;
    transition: background-color 0.5s ease;
	overflow-x: hidden;
}

body.light-mode {
    --text-color: #111111;
    --background-filter: invert(1);
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: var(--background-filter);
    transition: filter 0.5s ease;
    background-image: url('https://downtherabbithole.wtf/wp-content/uploads/2025/08/Background.png');
    background-size: cover;
    background-position: center;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding: 32px 60px; 
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.logo {
    width: 220px;
    max-width: 50vw;
    height: auto;
    fill: var(--text-color);
    cursor: pointer;
    animation: rotate 15s linear infinite;
    transition: fill 0.5s ease;
}

.bodytext {
    color: var(--text-color);
    font-size: clamp(1.25rem, 0.8362rem + 0.8621vw, 2rem);
    width: 100%;
    transition: color 0.5s ease;
    text-align: left;
	line-height: 1.36;
    letter-spacing: 0.02em;
}

::selection {
  color: var(--text-color);
  background-color: var(--accent-color);
}

.bodytext .accent {
    color: var(--accent-color);
	font-family: 'Helvetica', sans-serif;
}

.bodytext a {
    color: var(--accent-color);
    text-decoration: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 20px 10px;
        justify-content: space-between;
        gap: 190px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 16px 10px;
    }
    .bodytext {
        font-size: clamp(1.25rem, 0.9091rem + 2.2727vw, 2rem);
    }
}