:root {
    --header-bg: rgba(241, 241, 241, 0.8);
    --nav-bg: rgba(242, 242, 242, 0.8);
    --article-bg: rgba(237, 237, 239, 0.9);
    --border-color: rgba(224, 224, 224, 0.7);
    --sidebar-text-color: #6F7A79;
    --article-text-color: #625F5F;
    --article-heading-color: #929292;
    --nav-link-color: black; 
    --darker-border-color: #C6C6C6;
    --text: black; 
    --dragon-gold: #D4AF37; 
    --dragon-red: #b1120f;
}

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Times New Roman', serif;
    background: 
        linear-gradient(rgba(165, 42, 42, 0.2), rgba(165, 42, 42, 0.1)),
        url('https://images.blz-contentstack.com/v3/assets/bltc965041283bac56c/blt5e0e9f5d7a9c2a6a/5ebd3f1d4b09db1018b17d1a/wow-dragon-aspects.jpg') no-repeat center center fixed;
    background-size: cover;
    animation: fadeIn 1.5s ease-in-out;
    min-width: 1200px;
    overflow-x: auto;
}

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

.dyslexia-mode {
    font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif;
    letter-spacing: 0.05em;
}

@font-face {
    font-family: 'OpenDyslexic';
    src: url('https://dyslexicfonts.com/fonts/OpenDyslexic-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.toggle-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.toggle-label {
    margin-left: 10px;
    vertical-align: middle;
}

body {
    font-size: 14px;
    display: flex;
    justify-content: center;
}

.container {
    width: 1200px;
    min-width: 1200px;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    min-height: 100vh;
    height:130px;
}

header, nav {
    width: 100%;
}

.flex {
    display: flex;
    width: 100%;
    min-width: 1200px;
}

main {
    height:fit-content;
    width: 800px;
    margin: 0 20px;
}

.left-sidebar {
    width: 200px;
    margin-left: 20px;
}

.right-sidebar {
    width: 200px;
    margin-right: 20px;
    
}

nav {
    height: auto;
    margin-bottom: 10px;
    background-color: var(--nav-bg);
    backdrop-filter: blur(5px);
    border: 2px solid var(--darker-border-color);
    border-left: none;
    border-right: none;
   
}

li {
    text-align: center;
}

p, h1, h2, h3, h4, div, .lefttext, .righttext {
    text-align: center;
    color: black;
}

.galleryimg {
    width: 540px;
    height: 350px;
    display: block;
    margin: 0 auto;
}

header {
    height: 200px;
    background-color: var(--header-bg);
    background-image: url('https://images.blz-contentstack.com/v3/assets/bltc965041283bac56c/blt5e0e9f5d7a9c2a6a/5ebd3f1d4b09db1018b17d1a/wow-dragon-aspects.jpg');
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

header::after {
    content: url(https://i.ibb.co/Q7d1bz0F/fhngfhgfhgf-removebg-preview-optimized.png);
    height: 200px;
}

.a{ 
    width: 440px;
     height: 400px;
      float: left; 
}
.b { 
    width: 400px;
     height: 390px;
      float: right; 
}
.c { 
    width: 400px;
     height: 380px;
      float: left; 
}
.d { 
    width: 400px;
     height: 400px;
      float: right; 
}
.e { 
    width: 400px;
     height: 350px;
      float: left; 
}
.f { 
    width: 400px;
     height: 350px;
      float: right; 
}
.g { 
    width: 450px;
     height: 350px;
      float: left; 
    }
.h { 
    width: 430px;
     height: 450px;
      float: right; 
}
.i { 
    width: 400px;
     height: 350px;
      float: left; 
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in-up, .a, .b, .c, .d, .e, .f, .g, .h, .i {
    animation: fadeInUp 1s ease-out forwards;
}

button {
    padding: 10px 50px;
    width: 100px;
    height: 74px;
    border: 0px;
    transition: transform .2s;
}

button:hover {
    transform: scale(1.03);
}

article {
    border: 1px solid var(--darker-border-color);
    margin-bottom: 15px;
    background-color: var(--article-bg);
    padding: 15px;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

article:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main {
    border: 1px solid var(--darker-border-color);
    background-color: var(--nav-bg);
    padding: 8px 12px;
    border-radius: 3px;
    color: var(--dragon-red);
    font-weight: bold;
}

.links {
    list-style-type: none;
    padding-left: 0;
}

.links li {
    background-color: var(--nav-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 5px;
    padding: 8px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.links li:hover {
    background-color: var(--dragon-red);
    transform: translateX(5px);
}

.links li:hover a {
    color: white;
}

.links li a {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: color 0.3s ease;
}

.nav {
    margin-top: 10px;
    padding: 0;
    display: flex;
    justify-content: center;
}

.nav li {
    display: inline-block;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav li:hover {
    background-color: var(--dragon-red);
    transform: scale(1.1);
}

.nav li:hover a {
    color: white;
}

.nav li a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--nav-link-color);
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

article .subtitle {
    text-transform: uppercase;
    font-size: 18px;
    color: var(--text);
    margin: 15px 5px;
    letter-spacing: 1px;
}


