@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lilita+One&family=Press+Start+2P&family=Roboto:ital,wght@0,100..900;1,100..900&family=Special+Gothic+Expanded+One&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.4s ease, color 0.4s ease;
}

body {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

h2 {
    font-weight: 500;
}

a {
    color: #808080;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #585858;
    text-decoration: underline;
}

.top-right a {
    color: #202020;
    margin-left: 20px;
    text-decoration: none;
}


/* DARK THEME STYLES */

body.dark-theme {
    background-color: #202020;
    color: #f5f5f5;
}

body.dark-theme .top-right p,
body.dark-theme .home-page p,
body.dark-theme .qq p,
body.dark-theme .about-me-text,
body.dark-theme .foot-note {
    color: #e0e0e0;
}

body.dark-theme ::-webkit-scrollbar-thumb {
    background: #555;
}

body.dark-theme .top-right a {
    color: #f5f5f5;
}

body.dark-theme .top-right a:hover {
    color: #ccc;
}



/* HOME PAGE */

.home-page {
    height: 100vh; 
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-page h2 {
    margin-bottom: 20px;
}

#clock {
    font-size: 16px;
    font-weight: 400;
    margin-left: 25px;
}

/* TOP */

.top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    flex-wrap: wrap; 
}

.top-right {
    display: flex;
    justify-content: flex-end;
}

.top-right p {
    margin-left: 20px;
}


/* BOTTOM */

.bottom {
    display: flex;
}

/* ABOUT ME */

.about-me {
    margin-top: 105px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.about-me h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.about-me-text {
    margin-bottom: 25px;
}

/* ABOUT-ME IMAGES */

.about-img img {
    width: 320px;
    height: 450px;
    margin-top: 4px;
}

.images-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 10px;
    pointer-events: none;
}

.images-track {
    display: flex;
    width: max-content;
    animation: scrollLeft 25s linear infinite;
    animation-play-state: running;
    will-change: transform;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.images-track img {
    width: 320px;
    height: 450px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 20px;
    object-fit: cover;
}

/* QUICK QUIZ */

.qq {
    margin-top: 105px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.qq h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.qq #qq-info {
    margin-bottom: 55px;
}

.qq p {
    margin-bottom: 8px;
}

.title-date {
    display: flex;
}

.title-date p {
    font-size: 14px;
    margin-left: 20px;
    margin-bottom: 0;
    margin-top: 5px;
    padding: 0;
}

/* QUICK QUIZ IMAGES */

.qq-img img {
    width: 410px;
    height: 230px;
    object-fit: cover;
    margin-right: 15px;
}

.qq-img.images-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    pointer-events: auto;
    width: 100%;
    padding-bottom: 10px;
    white-space: nowrap;
    scrollbar-width: thin;
    scrollbar-color: #888 transparent;
    scroll-behavior: smooth;
}

.qq-img .images-track {
    display: flex;
    width: max-content;
    max-height: 230px;
    animation: none; 
}

.qq-img::-webkit-scrollbar {
  height: 8px;
}

.qq-img::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 4px;
}

.qq-img::-webkit-scrollbar-track {
  background: transparent;
}

/* ALECK */

.aleck {
    margin-top: 120px;
    margin-bottom: 210px;
}

/* FOOTNOTES */

#date {
    margin-bottom: 8px;
    text-align: right;
    color: #808080;
}

.socials {
    display: flex;
    gap: 20px;
}

.foot-note {
    display: flex;
    justify-content: space-between;
}