

@font-face {
  font-family: "OPTIOnyx";
  src: url("OPTIOnyx.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
/* =====================================
   FANTASIA WORLDWIDE - 2004 INTERNET
===================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: #241044;
    background-image:
        linear-gradient(rgba(30, 0, 65, .25), rgba(30, 0, 65, .35)),
        url("purple-sky.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f1d9ff;
    font-family: 'OPTIOnyx', sans-serif;
    font-size: 35px;
}

/* GRAIN TEXTURE */

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: .15;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

/* MAIN FRAME */

.site-wrapper {
    width: 940px;
    max-width: 94%;
    margin: 25px auto;
    padding: 10px;
    background: rgba(24, 5, 57, .86);
    border: 2px ridge #c99be8;
    box-shadow: 0 0 25px #18052f;
}

/* TOP BANNER */

.top-banner {
    padding: 5px;
    text-align: center;
    color: #fff0ff;
    background: linear-gradient(90deg, #37105f, #a34cba, #37105f);
    border: 1px solid #e2baff;
    font-size: 30px;
    letter-spacing: 2px;
    line-height: 1.8;
}

/* HEADER */

.main-header {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 2px;
    text-align: center;
    background: rgba(105, 50, 145, .28);
    border-bottom: 3px double #d7a7f4;
}

.main-logo {
    width: 500px;
    height: auto;
    max-width: 42%;
    filter: drop-shadow(0 0 5px #9bdfff);
}

.header-text h1 {
    color: #f6dcff;
    font-size: 43px;
    font-weight: normal;
    font-style: italic;
    letter-spacing: 5px;
    text-shadow: 2px 2px #7434a5, 0 0 12px #edb4ff;
}

.header-text p {
    color: #e9baff;
    font-size: 14px;
    letter-spacing: 3px;
}

.header-text small {
    color: #d4b3ef;
    font-size: 15px;
    letter-spacing: 2px;
}

/* NAVIGATION */

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 12px 5px;
    background: linear-gradient(#a76bd0, #55218b 50%, #35105f);
    border: 1px solid #e3baff;
    border-top: 0;
    border-bottom: 3px double #d7a5ff;
}

.main-nav a {
    padding: 9px 15px;
    color: #fff0ff;
    text-decoration: none;
    font-size: 17px;
    letter-spacing: 1px;
    border: 1px solid #d7a5ff;
    background: linear-gradient(#9c63c5, #492078);
    box-shadow: inset 1px 1px rgba(255,255,255,.35);
}

.main-nav a:hover {
    color: white;
    background: linear-gradient(#e3aaff, #873ac0);
    text-shadow: 0 0 8px white;
}

/* WELCOME */

.welcome-box {
    margin: 22px 0;
    padding: 22px;
    text-align: center;
    background: rgba(93, 40, 133, .82);
    border: 2px ridge #d6aaff;
}

.welcome-box h2 {
    color: #f8ddff;
    font-size: 20px;
    font-weight: normal;
    letter-spacing: 3px;
    text-shadow: 0 0 9px #e8aaff;
}

.welcome-box p {
    color: #f0ddff;
    font-size: 20px;
    line-height: 1.9;
}

.welcome-small {
    font-size: 15px !important;
    letter-spacing: 2px;
}

/* CONTENT PANELS */

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.content-box {
    min-height: 155px;
    padding: 16px;
    background: rgba(37, 12, 83, .9);
    border: 2px ridge #bd8ce9;
    box-shadow: inset 0 0 15px rgba(180, 100, 255, .12);
}

.content-box h3 {
    color: #f0caff;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 2px;
    border-bottom: 1px dotted #d4a3ed;
    padding-bottom: 10px;
}

.content-box p {
    color: #e3d0f4;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

/* BOTTOM LINKS */

.bottom-box {
    margin-top: 15px;
    padding: 15px;
    text-align: center;
    background: rgba(105, 49, 145, .85);
    border: 2px ridge #d5a9ff;
}

.bottom-box h3 {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 2px;
}

/* FOOTER */

footer {
    margin-top: 18px;
    padding: 12px;
    text-align: center;
    color: #d7b7eb;
    background: rgba(20, 5, 48, .85);
    border-top: 2px double #c89bff;
    font-size: 25px;
    letter-spacing: 2px;
    line-height: 1.8;
}

/* MOBILE */

@media (max-width: 650px) {
    .main-header {
        flex-direction: column;
        gap: 10px;
    }

    .main-logo {
        width: 175px;
        max-width: 75%;
    }

    .header-text h1 {
        font-size: 32px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .main-nav a {
        padding: 8px 10px;
    }
}
/* FANTASIA SEARCH BAR */

.site-search {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: 15px auto 8px;
}

.site-search input {
  width: 280px;
  height: 30px;
  padding: 5px 9px;
  background: #fff;
  color: #333;
  border: 2px inset #aaa;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.site-search button {
  height: 30px;
  padding: 0 15px;
  background: linear-gradient(#ffb0d2, #e45b9d);
  color: white;
  border: 2px outset #ffb0d2;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
}

.site-search button:hover {
  background: #c83d83;
}

#searchResults {
  width: 350px;
  margin: 5px auto 15px;
  padding: 8px;
  background: rgba(255,255,255,0.85);
  border: 1px solid #c78eae;
  font-family: Arial, sans-serif;
  font-size: 12px;
  text-align: left;
}

#searchResults a {
  display: block;
  padding: 8px;
  color: #a52d70;
  text-decoration: none;
  font-weight: bold;
  background: #f8e2ef;
  border-bottom: 1px dotted #c78eae;
}

#searchResults a:hover {
  background: #e9b5d1;
  color: #fff;
}

#searchResults a:hover {
  background: #f5d4e6;
  text-decoration: underline;
}/* FANTASIA VIDEO PLAYER */

#music iframe {
    display: block;
    width: 100%;
    max-width: 560px;
    height: 315px;
    margin: 12px auto;
    border: 3px ridge #b58aaf;
}

#music {
    text-align: center;
}/* FANTASIA BLINKIE WALL */

.blinkie-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 5px;
}

.blinkie-wall img {
    width: auto;
    height: auto;
    max-width: 100%;
    image-rendering: auto;
}.world-title {
    font-size: 30px;
    text-align: center;
    border-bottom: 1px dotted;
    padding-bottom: 8px;
}