@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Metamorphous&display=swap');
:root {
    --background-color: #1807b4;
    --content-background-color: #d6ebe9;
    --border-color: #fca400d8;
    --text-color: #000;
    --text-color-white: #fff;
    --soft-text-color: #563a27;
    transition: background-color 0.6s ease;
}
html {
    margin: 0;
    padding: 0;
    width: 100%;
    background: var(--background-color);
    color: var(--content-background-color);
    font-family: "Space Grotesk", monospace;
}
body {
    margin: 40px auto;
    width: 80%;
}
header {
    margin: 40px auto;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 10px;
    transition: opacity 1s ease-in-out;
}
main {
    transition: opacity 1s ease-in-out;
}
footer {
    margin: 40px auto;
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    transition: opacity 1s ease-in-out;
}
a {
    color: unset;
    text-decoration-color: var(--text-color);
}
a:hover {
    text-decoration: underline;
}
.font-bold {
    font-weight: 700;
}
.text-white {
    color: var(--text-color-white);
}
.text-center {
    text-align: center;
}
.soft {
    color: var(--soft-text-color);
}
#random-tagline {
    user-select: none;
}
#site-name {
    font-size: x-large;
    font-weight: 700;
    font-style: italic;
    text-decoration: none;
}
.page-container {
    padding: 30px;
    border: var(--border-color) 5px solid;
    border-radius: 50px;
    background-color: var(--content-background-color);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
    transition: opacity 1s ease-in-out;
}
.chunk-container {
    padding: 10px;
    /*border: var(--border-color) 1px solid;*/
    border-radius: 50px;
    background-color: var(--content-background-color);
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}
.visibility-hidden {
    visibility: hidden;
}
.opacity-0 {
    opacity: 0%;
}
.text-smaller {
    font-size: 12px;
}
.text-smol {
    font-size: 10px;
    text-align: right;
}
hr {
    border: var(--border-color) 0.5px solid;
}
.links {
    margin: 0 auto;
    width: max(300px, 50%);
}
.links a {
    text-decoration: none;
}
.links .button {
    color: var(--text-color);
    padding: 10px;
    border: var(--border-color) 1px solid;
    border-radius: 10px;
    margin-top: 10px;
    transition: background-color 0.5s linear, color 0.15s ease-in-out;
}
.links .button svg {
    width: 16px;
    height: 16px;
    transform: translateY(10%);
    transition: filter 0.5s linear;
}
.links .button:hover svg {
    filter: brightness(0) invert(1);
}
.links .button:hover {
    background-color: var(--background-color);
    color: #fff;
}
.circle-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}
.quote {
    font-family: Metamorphous, monospace;
}
#profile-photo {
  transition: transform 0.6s ease, opacity 0.6s ease;
}
.flipped {
  transform: scaleX(-1);
  transition: transform 0.6s ease;
}

html.alt-background {
  --background-color: #d45500;
  --border-color: #0004fcd8;
  transition: border-color 0.6s ease;
  transition: background-color 0.6s ease;
}

@media (max-width: 600px) {
  .page-container,
  .chunk-container {
    padding: 5px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
  }

  body, header, footer {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .links {
    width: 100%;
  }
}

.page-container,
.chunk-container,
.links .button {
  transition: border-color 0.6s ease;
}

html.alt-background .button {
  box-shadow: 0 0 10px var(--border-color);
  transition: box-shadow 0.6s ease;
}



/* Age Verification Popup Styles */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    padding: 20px;
    box-sizing: border-box;
}

.age-popup h2 {
    font-size: 1.8em;
    text-align: center;
}

.age-popup-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.age-btn {
    padding: 12px 24px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    margin: 10px;
}

.age-btn.agree {
    background-color: #f00;
    color: #000;
    border: none;
}

.age-btn.disagree {
    background-color: #000;
    color: #f00;
    border: 1px solid #f00;
}

.age-popup.fade-in {
    animation: fadeIn 0.5s forwards;
}

.age-popup.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

main.blur-active {
    filter: blur(6px);
    transition: filter 0.3s ease;
}

@media (max-width: 600px) {
    .age-popup h2 {
        font-size: 1.4em;
    }
    .age-btn {
        width: 100%;
        max-width: 250px;
    }
}
