/*

Table of Contents:
1. GENERAL
    - Body
    - Center Content In Div
    - Scrollbar
    - Decoration Stars
    - Decoration Footer
2. WRAPPER
    - Main Container
    - Website Title
    - Decoration Images: Mushroom Girl & Moon
    - Main Buttons
    - Language Selection
    - Welcome Section
3. WIDGETS
    - Widgets Section
    - Navigation Links
    - Decoration Images: Books & Mushrooms
*/

/*-----------------------------------------------------------------------------------------
                                        || GENERAL
-------------------------------------------------------------------------------------------*/

/* 
Body Styles:
- Sets the background, font, and alignment for the entire page.
*/
body, #layout-placeholder {
    align-items: center; /* Centers content vertically */
    background-color: #343434; /* Background color */
    cursor: var(--cursor-normal), auto; /* Default cursor */
    display: flex; /* Flexbox for centering */
    font-family: var(--font7); /* Font family */
    font-size: 18px; /* Font size */
    justify-content: center; /* Centers content horizontally */
    min-height: 100%; /* Ensures the body takes up at least the full height of the viewport */
    overflow: auto; /* Allows scrolling if content overflows */
    position: relative; /* Enables absolute positioning for child elements */
    width: 100%; /* Full width */
}

/* 
Layout Placeholder:
- Acts as a container for dynamic content.
- Keeps background transparent to blend with the parent element.
*/
#layout-placeholder {
    background-color: transparent; /* Background color */
}

/* 
Body Background Decoration:
- Adds a decorative background image that repeats across the page.
- The image is semi-transparent to avoid overwhelming the content.
*/
body::before {
    background-image: var(--img6); /* Background image */
    background-repeat: repeat; /* Repeats the image */
    background-size: 750px; /* Size of the background image */
    content: ''; /* Required for pseudo-elements */
    min-width: 100%; /* Full width */
    min-height: 100%; /* Full height */
    opacity: 0.3; /* Semi-transparent */
    position: absolute; /* Positions the image behind the content */
    z-index: -100; /* Ensures it stays in the background */
}

/* 
Center Content In Div:
- A utility class to center content both horizontally and vertically within a div.
*/
.center-content {
    align-items: center; /* Centers content vertically */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Centers content horizontally */
}

/* 
Scrollbar Styles:
- Customizes the appearance of the scrollbar for a consistent look.
*/
::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
    height: 10px; /* Height of the scrollbar (horizontal scrollbar disabled) */
}

::-webkit-scrollbar-track {
    background: transparent; /* Track background color */
}

::-webkit-scrollbar-thumb,
::-webkit-scrollbar-thumb:hover,
::-webkit-scrollbar-thumb:active {
    background-color: transparent; /* Thumb color */
}

/* 
Decoration Stars:
- Adds decorative star images positioned absolutely on the page.
- Each star has a unique size, position, and rotation for variety.
*/
.star {
    background-image: var(--img8); /* Star image */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    position: absolute; /* Positions the star relative to the nearest positioned ancestor */
    width: 100px; /* Width of the star */
}

.star-1:hover {
    rotate: -10deg; /* Rotates the star */
}

.star-2:hover {
    rotate: 200deg; /* Rotates the star */
}

.star-3:hover {
    rotate: 208deg; /* Rotates the star */
}

.star-1 {
    background-size: 70px; /* Size of the star image */
    height: 80px; /* Height of the star */
    left: 10px; /* Distance from the left edge */
    top: 20px; /* Distance from the top edge */
}

.star-2 {
    background-size: 100px; /* Size of the star image */
    height: 105px; /* Height of the star */
    left: 85px; /* Distance from the left edge */
    rotate: 210deg; /* Rotates the star */
    top: 45px; /* Distance from the top edge */
}

.star-3 {
    background-size: 55px; /* Size of the star image */
    height: 55px; /* Height of the star */
    left: 20px; /* Distance from the left edge */
    rotate: 218deg; /* Rotates the star */
    top: 120px; /* Distance from the top edge */
    transform: scaleX(-1); /* Flips the star horizontally */
}

/* 
Decoration Footer:
- Adds a decorative plant image at the bottom of the page.
- The image repeats horizontally to create a seamless effect.
*/
#decor-plants {
    bottom: 0; /* Positions the image at the bottom */
    height: 150px; /* Height of the image */
    background-position: bottom; /* Aligns the image to the bottom */
    background-image: var(--img1); /* Plant image */
    background-repeat: repeat-x; /* Repeats the image horizontally */
    background-size: 500px auto; /* Size of the image */
    content: ""; /* Required for pseudo-elements */
    left: 0; /* Aligns the image to the left */
    position: absolute; /* Positions the image relative to the nearest positioned ancestor */
    right: 0; /* Aligns the image to the right */
    width: 100%; /* Full width */
    z-index: 100; /* Ensures the image stays above other content */
}

/*-----------------------------------------------------------------------------------------
                                        || WRAPPER
-------------------------------------------------------------------------------------------*/

/* 
Main Container:
- The main content area of the website.
- Includes a border, rounded corners, and an outline for a polished look.
*/
#main-container {
    background-color: #5d4e4a; /* Background color */
    border: 3px solid #000000; /* Border */
    border-bottom-left-radius: 50px; /* Rounded corner */
    border-top-left-radius: 50px; /* Rounded corner */
    min-height: 500px; /* Minimum height */
    min-width: 750px; /* Minimum width */
    outline: 1px solid rgba(0, 0, 0, 1); /* Outline */
    outline-offset: -12px; /* Distance between the outline and the border */
    overflow: visible; /* Allows content to overflow */
    position: relative; /* Enables absolute positioning for child elements */
}

/* 
Website Title:
- Styles the title of the website, including a decorative background image.
*/

#site-title, #site-title::before, #site-title h1 {
    position: absolute; /* Positions the title relative to the main container */
}

#site-title {
    right: 0px; /* Distance from the right edge */
    top: -50px; /* Distance from the top edge */
}

#site-title::before {
    background-image: var(--img7); /* Decorative background image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-size: 310px; /* Size of the image */
    content: ''; /* Required for pseudo-elements */
    min-height: 90px; /* Height of the image */
    min-width: 310px; /* Width of the image */
    right: 5px; /* Distance from the right edge */
}

#site-title h1 {
    color: #a2836d; /* Text color */
    font-family: var(--font5); /* Font family */
    font-size: 34px; /* Font size */
    letter-spacing: -1.2px; /* Letter spacing */
    text-transform: uppercase; /* Converts text to uppercase */
    right: 12px; /* Distance from the right edge */
    top: 18px; /* Distance from the top edge */
    width: 270px; /* Width of the text container */
}

/* 
Decoration Images: Bottle & Moon:
- Adds decorative images to the main container.
- These images are positioned absolutely to create a layered effect.
*/
#decor-bottle, #decor-moon {
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    position: absolute; /* Positions the image relative to the main container */
}

#decor-bottle {
    background-image: var(--img2); /* Sets the background image using a CSS variable */
    background-size: 100px; /* Scales the background image to 100px */
    height: 210px; /* Sets the height of the element */
    left: -160px; /* Moves the element 160px to the left */
    transform: rotate(15deg); /* Rotates the element 15 degrees clockwise */
    top: 45px; /* Positions the element 45px from the top */
    width: 110px; /* Sets the width of the element */
    z-index: 90; /* Ensures the element appears above lower z-index elements */
}

#decor-bottle:hover {
    transform: rotate(25deg); /* Rotates the red bottle */
}

#decor-moon {
    background-image: var(--img3); /* Moon image */
    background-size: 250px; /* Size of the image */
    bottom: -50px; /* Distance from the bottom edge */
    height: 300px; /* Height of the image */
    right: -160px; /* Distance from the right edge */
    pointer-events: none !important; /* Prevents the image from blocking clicks */
    width: 250px; /* Width of the image */
    z-index: 80; /* Ensures the image stays above other content */
}

/* 
Main Buttons:
- Styles the buttons on the side of the main container.
- Includes hover effects for interactivity.
*/
#side-buttons {
    bottom: 50px; /* Distance from the bottom edge */
    font-size: 20px; /* Font size */
    left: -50px; /* Distance from the left edge */
    position: absolute; /* Positions the buttons relative to the main container */
}

#side-buttons button {
    background-color: #a83f2e; /* Background color */
    border: 2px solid #000; /* Border */
    border-radius: 5px; /* Rounded corners */
    color: #d9e0da; /* Text color */
    cursor: var(--cursor-pointer), pointer; /* Pointer cursor */
    margin-top: 5px; /* Space between buttons */
}

#side-buttons .icon-button {
    height: 40px; /* Height of the button */
    width: 40px; /* Width of the button */
    position: relative; /* Ensures absolute children are positioned relative to this */
    transition: rotate 0.3s ease, transform 0.3s ease; /* Smooth transitions for rotation and scaling */
}

#side-buttons .icon-button a b {
    align-items: center; /* Center items vertically */
    background: #a83f2e; /* Background color */
    border: 2px solid #000; /* Border */
    border-radius: 5px; /* Rounded corners */
    display: flex; /* Use flexbox for layout */
    font-family: var(--font7); /* Custom font */
    font-size: 13px; /* Text size */
    height: 25px; /* Height of the tooltip */
    justify-content: center; /* Center text horizontally */
    position: absolute; /* Positioned relative to .icon-button */
    top: 7px; /* Distance from the top of the button */
    left: 45px; /* Distance from the button */
    padding: 0px 5px 2px; /* Padding (top, horizontal, bottom) */
    text-transform: uppercase; /* Uppercase text */
    white-space: pre; /* Prevent text wrapping */
    
    /* Initially hidden */
    transform: scaleX(0); /* Starts collapsed (hidden horizontally) */
    transform-origin: left; /* Expands from the left */
    transition: all 0.3s ease; /* Smooth reveal animation */
}

#side-buttons .icon-button:hover b {
    transform: scaleX(1); /* Expand text on hover */
}

#side-buttons .icon-button:hover {
    rotate: -3deg; /* Rotates the button on hover */
    transform: scale(1.11); /* Scales the button on hover */
}

/* 
Language Selection:
- Styles the language selection dropdown (currently hidden).
*/
#language-selection {
    display: none; /* Hides the dropdown by default */
    padding: 5px; /* Padding */
    position: absolute; /* Positions the dropdown relative to the main container */
    right: 50px; /* Distance from the right edge */
    top: 2.5px; /* Distance from the top edge */
}

#language-selection button {
    font-family: var(--font5); /* Font family */
    font-size: 14px; /* Font size */
    height: 35px; /* Height of the button */
    text-transform: uppercase; /* Converts text to uppercase */
    transition: transform 0.3s ease; /* Smooth transitions */
    width: 90px; /* Width of the button */
}

#language-selection button:nth-child(3) {
    font-family: var(--font6); /* Font Family */
}

#language-selection button:hover {
    transform: scale(1.05); /* Scales the button on hover */
}

/* 
Main Section:
- Styles the main section of the website and its content.
*/
#main-section {
    align-items: center; /* Centers content vertically */
    display: flex; /* Flexbox for centering */
    justify-content: center; /* Centers content horizontally */
    margin: 40px; /* Margin around the section */
}

.main-content {
    background-color: #d9e0d9; /* Background color */
    border: 1px solid #d1f2bb; /* Border */
    border-bottom-left-radius: 10px; /* Rounded corner */
    border-top-left-radius: 10px; /* Rounded corner */
    height: 420px; /* Height of the content area */
    line-height: 25px; /* Line height for readability */
    overflow: scroll; /* Allows scrolling if content overflows */
    padding: 20px 40px 20px 40px; /* Padding */
    text-align: justify; /* Justifies the text */
    width: 650px; /* Width of the content area */
}

.main-content .main-title h1 {
    color: #a83f2e; /* Text color */
    font-size: 40px; /* Font size */
    font-weight: bold; /* Bold text */
    text-align: center; /* Centers the text */
    text-shadow: -1px 2px 0px white; /* Text shadow */
    margin-bottom: 20px; /* Space below the heading */
}

.main-content h3, .main-content p {
    margin: 10px 0px; /* Add 10px margin to the top and bottom, and 0px to the left and right */
}

.main-content h2, .main-content h3 {
    font-weight: bold; /* Make the text bold */
}

.main-content h3 {
    display: inline; /* Keeps the heading inline so it aligns with the list marker */
    font-size: 15px; /* Set font size to 15px */
    text-transform: uppercase; /* Transform text to uppercase */
}

.main-content ol ul {
    list-style-position: outside; /* Place bullet points outside the list item's content box */
    list-style-type: circle; /* Use circle bullets for unordered lists */
}

.main-content ol {
    list-style-position: inside; /* Place numbers inside the list item's content box */
    list-style-type: decimal-leading-zero; /* Use decimal numbers with leading zeros (e.g., 01, 02) */
}

.main-content ol li::marker {
    font-weight: bold; /* Make the numbers bold */
    font-size: 15px; /* Adjust the size of the numbers */
}

.main-content a {
    font-weight: bold; /* Makes the links bold */
}

.highlight {
    font-weight: bold; /* Makes the text bold */
    text-align: center; /* Centers the text horizontally */
    text-shadow: -1px 2px 0px white; /* Adds a white text shadow with a slight offset */
}

/*-----------------------------------------------------------------------------------------
                                        || WIDGETS
-------------------------------------------------------------------------------------------*/

/* 
Widgets Section:
- Styles the sidebar section containing widgets.
- Includes a border, rounded corners, and an outline for a polished look.
*/
#widgets-section {
    background-color: #5d4e4a; /* Background color */
    border: 3px solid #000; /* Border */
    border-top-right-radius: 50px; /* Rounded corner */
    height: 500px; /* Height of the section */
    margin-left: 20px; /* Space between the main container and the widgets */
    outline: 1px solid rgba(0, 0, 0, 1); /* Outline */
    outline-offset: -12px; /* Distance between the outline and the border */
    overflow: visible; /* Allows content to overflow */
    padding: 10px; /* Padding */
    position: relative; /* Enables absolute positioning for child elements */
    transition: 2s; /* Smooth transitions */
    width: 225px; /* Width of the section */
}

/* 
Navigation Links:
- Styles the navigation links within the widgets section.
- Includes hover effects for interactivity.
*/
#widgets-section .nav-links a {
    align-items: center; /* Centers content vertically */
    background-color: #849c74; /* Background color */
    color: #cdffcd; /* Text color */
    cursor: var(--cursor-pointer), pointer; /* Pointer cursor */
    border: 1px solid #cdffcd; /* Border */
    border-radius: 5px; /* Rounded corners */
    display: flex; /* Flexbox for centering */
    font-family: var(--font1);
    font-size: 15px; /* Font size */
    gap: 10px; /* Space between icon and text */
    height: 26px; /* Height of the link */
    margin: 6px 10px; /* Space between links */
    padding: 2px 10px; /* Padding */
    position: relative; /* Enables absolute positioning for child elements */
    overflow: show; /* Shows overflowing content */
    text-transform: lowercase; /* Converts text to lowercase */
    transition: background-color 0.3s, color 0.3s, border 0.1s, transform 0.3s; /* Smooth transitions */
}

#widgets-section .nav-links a:hover {
    background-color: #a85540; /* Background color on hover */
    color: #ffcbb5; /* Text color on hover */
    border: 1px solid #ffcbb5; /* Border color on hover */
    box-shadow: 0px 0px 3px 1px #ff542a; /* Shadow on hover */
    transform: scale(1.02); /* Scales the link on hover */
}

#widgets-section .nav-links a b {
    background: #a85540; /* Background color */
    border: 2px dashed #ffcbb5; /* Dashed border */
    border-radius: 5px; /* Rounded corners for a softer look */
    box-shadow: 0px 0px 3px 1px #ff552ab1, /* Glow effect */
                0px 0px 3px 2px #000;  /* Shadow effect */
    color: #ffcbb5; /* Text color */
    font-size: 13px; /* Text size */
    font-weight: normal; /* Ensures text is not bold */
    position: absolute; /* Positions it relative to the parent link */
    padding: 5px 10px; /* Padding for spacing inside the element */
    right: -143px; /* Moves the tooltip to the right of the button */
    text-align: center; /* Centers the text within the box */
    text-transform: none; /* Keeps text in its original case */
    width: 120px; /* Tooltip width */

    /* Initially hidden */
    transform: scaleX(0); /* Starts completely collapsed */
    transform-origin: left; /* Expands from the left when shown */
    transition: all 0.3s ease; /* Smooth expand effect */
    transition-delay: 0.3s; /* Adds a slight delay before appearing */
    visibility: hidden; /* Keeps it hidden until triggered */
}


#widgets-section .nav-links a:hover b {
    transform: scaleX(1); /* Expands the tooltip when hovering over the link */
    visibility: visible; /* Makes the tooltip visible */
}

.site-navigation {
    margin-top: 130px; /* Space above the navigation links */
}

.site-navigation p {
    background-color: #a76b61; /* Background color */
    color: #ffe6e0; /* Text color */
    font-size: 14px; /* Font size */
    margin: 8px 0px; /* Space between paragraphs */
    text-align: center; /* Centers the text */
}

.site-navigation p span {
    font-size: 18px; /* Larger font size for emphasis */
}

/* 
Decoration Images: Books & Mushrooms:
- Adds decorative images to the widgets section.
- These images are positioned absolutely to create a layered effect.
*/

#decor-books, #decor-mushrooms {
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    position: absolute; /* Positions the image relative to the widgets section */
    top: 10px; /* Distance from the top edge */
    width: 200px; /* Width of the image */
}

#decor-books {
    background-image: var(--img4); /* Books image */
    background-size: 150px; /* Size of the image */
    height: 125px; /* Height of the image */
}

#decor-mushrooms {
    background-image: var(--img5); /* Mushrooms image */
    background-size: 200px; /* Size of the image */
    height: 500px; /* Height of the image */
    right: -155px; /* Distance from the right edge */
    transform: scaleX(-1) rotate(-20deg); /* Flips the image horizontally and rotates it */
    z-index: -1; /* Ensures the image stays behind other content */
}

#decor-mushrooms:hover {
    transform: scaleX(-1) rotate(-30deg); /* Keep the flip while rotating */
}

/*-----------------------------------------------------------------------------------------
                                        || ERROR 404
-------------------------------------------------------------------------------------------*/

#error-404 {
    background-image: var(--img9); /* Background image for the 404 error section */
    background-position: center; /* Centers the background image */
    background-repeat: no-repeat; /* Prevents the background image from repeating */
    background-size: 300px; /* Sets the size of the background image */
    height: 200px; /* Height of the container */
    width: 100%; /* Width of the container, spans the full width of its parent */
}

#error-404 p {
    font-size: 25px; /* Font size of the paragraph text */
    font-weight: bold; /* Makes the text bold */
    margin-top: 200px; /* Adds space above the paragraph */
    text-align: center; /* Centers the text horizontally */
    text-shadow: -1px 2px 0px white; /* Adds a white shadow to the text for better visibility */
}

/*-----------------------------------------------------------------------------------------
                                        || HOME
-------------------------------------------------------------------------------------------*/

.home .dialogue {
    background-color: #604747;
    background-image: var(--img11);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 150px;
    border-color: #000;
    border-style: solid;
    border-width: 5px;
    height: 150px;
    width: 150px;
}

/*-----------------------------------------------------------------------------------------
                                        || MISCELLANEOUS
-------------------------------------------------------------------------------------------*/
.miscellaneous {
    align-items: center;
    display: flex;
    position: relative;
    justify-content: center;
    margin-top: 25px;
}

.miscellaneous .interests .title {
    background-color: #000;
    clip-path: 
    polygon(
      0% 8px,                 /* top left */
      8px 0%,                 /* top left */
      calc(100% - 8px) 0%,    /* top right */
      100% 8px,               /* top right */
      100% calc(100% - 8px),  /* bottom right */
      calc(100% - 8px) 100%,  /* bottom right */
      8px 100%,               /* bottom left */
      0 calc(100% - 8px)      /* bottom left */
    );
    left: 82px;
    padding: 4px;
    position: absolute;
    top: -25px;
    width: fit-content;
    z-index: 10;
}

.miscellaneous .interests .title h1 {
    clip-path: 
    polygon(
      0% 4px,                 /* top left */
      4px 0%,                 /* top left */
      calc(100% - 4px) 0%,    /* top right */
      100% 4px,               /* top right */
      100% calc(100% - 4px),  /* bottom right */
      calc(100% - 4px) 100%,  /* bottom right */
      4px 100%,               /* bottom left */
      0 calc(100% - 4px)      /* bottom left */
    );
    background-color: #5d4e4a;
    color: #fff;
    font-family: var(--font10);
    font-size: 20px;
    font-weight: bold;
    padding: 2px 15px 4px;
    position: relative;
    text-shadow: 1px 0 #000, -1px 0 #000, 0 2px #000, 0 -1px #000, 
                 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000;
    text-transform: uppercase;
}

.miscellaneous .interests {
    --stripe-color: rgba(255, 255, 255, 0.1); /* Adjust opacity */
    
    background-color: #798d6b;
    background-image: repeating-linear-gradient(
        0deg, /* 0deg makes it horizontal */
        var(--stripe-color) 0px, 
        var(--stripe-color) 25px, 
        transparent 25px, 
        transparent 50px
    );
    border: 12px double #000;
    border-radius: 10px;
    display: grid;
    font-family: var(--font10);
    font-size: 14px;
    font-weight: bold;
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    margin: 20px 0px 0px;
    padding: 35px 30px 30px 30px;
    position: relative;
    width: fit-content;
}

.miscellaneous .interest {
    background-color: #ffffff63;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 70px;
    border-radius: 10px;
    cursor: var(--cursor-pointer), pointer; /* Pointer cursor for better UX */
    display: flex;
    height: 85px;
    justify-content: center;
    position: relative;
    width: 85px;
}

.miscellaneous .interest img {
    height: 50px;
    margin-top: 8px;
    width: 50px;
}

.miscellaneous .interest::after {
    background-color: #eee;
    bottom: 8px;
    content: attr(name);
    font-size: 12px;
    line-height: normal;
    position: absolute;
    text-align: center;
}

.miscellaneous .interest .border.top::after,
.miscellaneous .interest .border.top::before,
.miscellaneous .interest .border.bottom::after,
.miscellaneous .interest .border.bottom::before {
    border-color: #ffffff;
    border-style: solid;
    content: '';
    filter: drop-shadow(5px 5px 0px rgba(0,0,0,0.1)); /* Adds a subtle shadow effect */
    height: 30px;
    opacity: 0;
    position: absolute;
    width: 30px;
}

.miscellaneous .interest .border.top::after {
    border-top-left-radius: 6px;
    border-width: 6px 0px 0px 6px;
    content: '';
    left: -3px;
    top: -3px;
}

.miscellaneous .interest .border.top::before {
    border-top-right-radius: 6px;
    border-width: 6px 6px 0px 0px;
    content: '';
    right: -3px;
    top: -3px;
}

.miscellaneous .interest .border.bottom::after {
    border-bottom-left-radius: 6px;
    border-width: 0px 0px 6px 6px;
    bottom: -3px;
    content: '';
    left: -3px;
}

.miscellaneous .interest .border.bottom::before {
    border-bottom-right-radius: 6px;
    border-width: 0px 6px 6px 0px;
    bottom: -3px;
    content: '';
    right: -3px;
}

.miscellaneous .interest:hover .border.top::after,
.miscellaneous .interest:hover .border.top::before,
.miscellaneous .interest:hover .border.bottom::after,
.miscellaneous .interest:hover .border.bottom::before {
    opacity: 1;
    animation-name: flash;
    animation-duration: 0.5s;
    animation-timing-function: linear;
    animation-delay: 1s;
    animation-iteration-count: 3;
}

@keyframes flash {
    0% { opacity: 1; }
    49% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 0; }
}

.miscellaneous .interest.astrology {
    background-size: 80px;
    grid-area: 1 / 1 / 2 / 2;
}

.miscellaneous .interest.tarot {
    grid-area: 1 / 2 / 2 / 3;
}

.miscellaneous .interest.the-occult {
    grid-area: 1 / 3 / 2 / 4;
}

.miscellaneous .interest.video-games {
    grid-area: 1 / 4 / 2 / 5;
}

.miscellaneous .interest.hellenic-polytheism {
    grid-area: 2 / 1 / 3 / 2;
}

.miscellaneous .interest.politics {
    grid-area: 2 / 2 / 3 / 3;
}

.miscellaneous .interest.movies-series {
    grid-area: 2 / 3 / 3 / 4;
}

.miscellaneous .interest.manhwa-manga {
    grid-area: 2 / 4 / 3 / 5;
}

/*-----------------------------------------------------------------------------------------
                                        || POLICIES
-------------------------------------------------------------------------------------------*/

/* Dialogue Box Styling:
   - Creates a container for dialogue elements.
   - Uses flexbox to align elements and space them properly.
*/
.dialogue-box {
    align-items: center; /* Centers items vertically */
    display: flex; /* Enables flexible box layout */
    justify-content: space-between; /* Spaces items evenly */
    margin: 20px 20px 30px; /* Adds outer spacing */
    position: relative; /* Allows absolute positioning of child elements */
}

/* Speech Bubble Styling:
   - Defines the appearance of dialogue bubbles.
   - Includes a unique box-shadow effect for a pixelated outline.
*/
.bubble {
    background-color: #fff; /* Sets bubble background to white */
    box-shadow:
        0 -4px #fff,       /* White shadow 4px above */
        0 -8px #000,       /* Black shadow 8px above */
        4px 0 #fff,        /* White shadow 4px to the right */
        4px -4px #000,     /* Black shadow 4px to the right and 4px above */
        8px 0 #000,        /* Black shadow 8px to the right */
        0 4px #fff,        /* White shadow 4px below */
        0 8px #000,        /* Black shadow 8px below */
        -4px 0 #fff,       /* White shadow 4px to the left */
        -4px 4px #000,     /* Black shadow 4px to the left and 4px below */
        -8px 0 #000,       /* Black shadow 8px to the left */
        -4px -4px #000,    /* Black shadow 4px to the left and 4px above */
        4px 4px #000;      /* Black shadow 4px to the right and 4px below */
    color: #000; /* Text color is black */
    font-family: var(--font10); /* Uses custom font */
    font-size: 14px; /* Sets text size */
    font-weight: bold; /* Makes text bold */
    line-height: normal; /* Normal line spacing */
    position: relative; /* Required for pseudo-elements */
    text-align: justify; /* Justifies text alignment */
}

.bubble.shadow {
    box-shadow: 
        0 -4px #fff,       /* White shadow 4px above */
        0 -8px #000,       /* Black shadow 8px above */
        4px 0 #fff,        /* White shadow 4px to the right */
        4px -4px #000,     /* Black shadow 4px to the right and 4px above */
        8px 0 #000,        /* Black shadow 8px to the right */
        0 4px #fff,        /* White shadow 4px below */
        0 8px #000,        /* Black shadow 8px below */
        -4px 0 #fff,       /* White shadow 4px to the left */
        -4px 4px #000,     /* Black shadow 4px to the left and 4px below */
        -8px 0 #000,       /* Black shadow 8px to the left */
        -4px -4px #000,    /* Black shadow 4px to the left and 4px above */
        4px 4px #000,      /* Black shadow 4px to the right and 4px below */
        
        /* Additional subtle shadows for depth */
        4px 12px rgba(0,0,0,0.1),  /* Light black shadow 12px below */
        12px 4px rgba(0,0,0,0.1),  /* Light black shadow 12px to the right */
        8px 8px rgba(0,0,0,0.1);   /* Light black shadow 8px diagonally */
}

.dialogue-box .bubble {
    height: 68px; /* Bubble height */
    padding: 12px; /* Inner spacing */
    width: 425px; /* Bubble width */
}

.dialogue-box .bubble.top::after {
    align-items: center; /* Centers content vertically */
    background-color: #d06d57; /* Sets background color */
    border: 3.5px solid #000; /* Adds black border */
    border-radius: 8px; /* Rounds corners */
    content: attr(name); /* Displays name from attribute */
    display: inline-flex; /* Allows flexible alignment */
    height: 20px; /* Defines height */
    justify-content: center; /* Centers text horizontally */
    left: 30px; /* Adjusts horizontal position */
    position: absolute; /* Allows precise positioning */
    padding: 3px 15px 4px; /* Adds padding */
    top: -25px; /* Moves above the speech bubble */
    transition: transform 0.2s ease-in-out; /* Smooth transition for hover effect */
}

.dialogue-box .bubble.top:hover::after { 
    animation: gelatine-horizontal 0.5s; /* Triggers the gelatine animation */
    animation-iteration-count: 2; /* Runs the animation twice */
}

@keyframes gelatine-horizontal {
    from, to { transform: scaleX(1); } /* Normal size */
    25% { transform: scaleX(0.9); } /* Slight horizontal squish */
    50% { transform: scaleX(1.1); } /* Stretch wider */
    75% { transform: scaleX(0.95); } /* Slight bounce back */
}

.dialogue-box .bubble.portrait {
    background-image: var(--img10); /* Sets portrait image */
    background-position-x: -53px; /* Adjusts horizontal positioning */
    background-position-y: -40px; /* Adjusts vertical positioning */
    background-repeat: no-repeat; /* Prevents repetition */
    background-size: 188px; /* Resizes background image */
    box-shadow: 
                0 -4px #849c74,   /* Greenish shadow 4px above */
                0 -8px #000,      /* Black shadow 8px above */
                4px 0 #849c74,    /* Greenish shadow 4px to the right */
                4px -4px #000,    /* Black shadow 4px to the right and 4px above */
                8px 0 #000,       /* Black shadow 8px to the right */
                0 4px #849c74,    /* Greenish shadow 4px below */
                0 8px #000,       /* Black shadow 8px below */
                -4px 0 #849c74,   /* Greenish shadow 4px to the left */
                -4px 4px #000,    /* Black shadow 4px to the left and 4px below */
                -8px 0 #000,      /* Black shadow 8px to the left */
                -4px -4px #000,   /* Black shadow 4px to the left and 4px above */
                4px 4px #000,     /* Black shadow 4px to the right and 4px below */

                /* Additional soft shadows for a subtle depth effect */
                4px 12px rgba(0,0,0,0.1),  /* Faint black shadow 12px below and 4px to the right */
                12px 4px rgba(0,0,0,0.1),  /* Faint black shadow 12px to the right and 4px below */
                8px 8px rgba(0,0,0,0.1);   /* Faint black shadow 8px diagonally */
    height: 68px; /* Matches dialogue bubble height */
    outline: 4px solid #000; /* Black outline */
    outline-offset: -4px; /* Adjusts outline position */
    padding: 0px; /* Removes padding */
    width: 68px; /* Matches height for a square shape */
}

.dialogue-box .bubble.portrait:hover {
    animation: bounce 1.2s ease-in-out;  /* Triggers the bounce animation */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); } /* Resting position */
    40% { transform: translateY(-15px); } /* Moves up */
    60% { transform: translateY(-10px); } /* Slight downward motion */
}

/* Collapsible Accordion Styling:
   - Styles the <details> element, which is used to create expandable/collapsible sections.
   - Includes styles for spacing, borders, colors, and hover effects.
*/
details {
    border-radius: 10px; /* Rounds the shadow's corners */
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1); /* Shadow follows rounded corners */
    margin: 0px 12px 0px; /* Spacing around each collapsible section */
}

details + details {
    margin-top: 10px; /* Adds spacing between multiple <details> elements */
}

details summary {
    border-radius: 10px; /* Rounds the corners */
    border-style: dashed; /* Dashed border style */
    border-width: 5px; /* Border thickness */
    color: #eeeeee; /* Text color */
    cursor: var(--cursor-pointer), pointer; /* Pointer cursor for better UX */
    font-size: 22px; /* Text size */
    font-weight: bold; /* Bold text */
    padding: 10px; /* Padding inside the summary */
    padding-left: calc(1.75rem + .75rem + .75rem); /* Adjusts left padding dynamically */
    position: relative; /* Allows further positioning adjustments if needed */
}

details:nth-of-type(1) summary {
    background-color: #d06d57; /* Reddish background */
    color: #a83f2e; /* Darker red text */
    border-color: #a83f2e; /* Matching red border */
}

details:nth-of-type(2) summary {
    background-color: #e5c786; /* Light gold background */
    color: #c79347; /* Darker gold text */
    border-color: #c79347; /* Matching gold border */
}

details:nth-of-type(3) summary {
    background-color: #8cb47d; /* Green background */
    color: #577d4a; /* Darker green text */
    border-color: #577d4a; /* Matching green border */
}

details:nth-of-type(4) summary {
    background-color: #708a9c; /* Blue-gray background */
    color: #3a596f; /* Darker blue-gray text */
    border-color: #3a596f; /* Matching blue-gray border */
}

details[open] summary {
    border-radius: 10px 10px 0px 0px; /* Adjusts border radius to only round top corners */
    filter: brightness(1.1); /* Slightly brightens the color when open */
}

details summary:hover {
    filter: brightness(1.1); /* Highlights on hover */
}

details summary > h2 {
    display: inline; /* Ensures the text stays inline */
    font-family: var(--font10); /* Uses a custom font variable */
    font-size: 25px; /* Larger text size */
    text-align: left; /* Aligns text to the left */
    text-shadow: none; /* Removes any text shadow */
    text-transform: uppercase; /* Converts text to uppercase */
}

details div {
    background-color: #eeeeee; /* Light background color */
    border-color: #bcbcbc; /* Border color */
    border-radius: 0px 0px 10px 10px; /* Rounds bottom corners */
    border-style: dashed; /* Matches summary border style */
    border-width: 0px 4px 4px 4px; /* Adds border to the bottom and sides */
    font-family: var(--font10); /* Uses a custom font variable */
    font-size: 14px; /* Sets text size */
    padding: 1.5em; /* Adds padding inside the collapsible content */
}

/* Divider Star Styling:
   - Creates a centered decorative star divider.
   - Uses text-shadow for an outlined effect.
*/
.divider-star {
    color: #e6a547; /* Gold-like color */
    font-size: 20px; /* Medium font size */
    margin: 12px 0px 10px !important; /* Spacing above and below */
    text-align: center; /* Centers the text */
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 2px #fff, 0 -1px #fff, 
                 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff; /* White outline effect */
}

.divider-star:hover i:nth-child(even) {
    display: inline-block; /* Ensures the stars can be transformed */
    animation: up-down 0.5s ease-in-out infinite; /* Smooth up and down motion */
}

.divider-star:hover i:nth-child(odd) {
    display: inline-block; /* Ensures the stars can be transformed */
    animation: down-up 0.5s ease-in-out infinite; /* Smooth down and up motion */
}

 @keyframes up-down {
    0% { transform: translateY(0); }   /* Start position */
    25% { transform: translateY(-2px); } /* Move up */
    50% { transform: translateY(0); }  /* Back to center */
    75% { transform: translateY(2px); }  /* Move down */
    100% { transform: translateY(0); } /* Back to center */
}

@keyframes down-up {
    0% { transform: translateY(0); }   /* Start position */
    25% { transform: translateY(2px); } /* Move down */
    50% { transform: translateY(0); }  /* Back to center */
    75% { transform: translateY(-2px); }  /* Move up */
    100% { transform: translateY(0); } /* Back to center */
}

/* Policies Update Box:
   - Creates a highlighted notice box for policy updates.
   - Styled with a dashed border and glow/shadow effects.
*/
.policies-update {
    background: #bcd0d4; /* Light blue-gray background */
    border: 2px dashed #fff; /* White dashed border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0px 0px 1px 1px #347684, /* Subtle blue glow */
                0px 0px 3px 1px #00000040;  /* Slight dark shadow */
    font-family: var(--font10); /* Uses custom font variable */
    font-size: 13px; /* Small font size */
    font-weight: bold; /* Makes text bold */
    margin: 0px 12px 0px !important; /* Adds horizontal margin */
    padding: 4px 15px 2px; /* Padding for spacing inside box */
    text-align: center; /* Centers the text */
    text-shadow: 1px 0 #fff, -1px 0 #fff, 0 1.5px #fff, 0 -1px #fff, 
                 1px 1px #fff, -1px -1px #fff, 1px -1px #fff, -1px 1px #fff; /* White outline effect */
}

.policies-update span {
    color: #d06d57; /* Reddish-brown color for emphasis */
}

/*-----------------------------------------------------------------------------------------
                                        || SERVICES
-------------------------------------------------------------------------------------------*/

.ticket-wrapper {
    position: absolute;
}

.ticket {
    align-items: stretch;
    cursor: var(--cursor-pointer), pointer; /* Pointer cursor */
    display: grid;
    font-family: var(--font3);
    justify-items: center; /* Center items horizontally */
    margin: -20px 5px;
    position: relative;
    scale: 0.8;
    text-transform: uppercase;
    transition: transform 0.3s ease, rotate 0.8s ease, filter 0.3s ease, z-index 0.1s ease;
    transition-delay: 0.8s;
    width: fit-content;
    will-change: transform, filter;
    z-index: 5;
}

.ticket:hover {
    transform: scale(1.8);
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.3));
    z-index: 96;
}

/* First Ticket*/
.ticket.v1 {
    --stripe1: #f0cb8c;
    --stripe2: #e8c383;
    --ticket-v1-border: #000000;
    --ticket-v1-font: #000000;
    --ticket-v1-price: #a83f2e;
    --ticket-v1-decoration: #967a4a;
}

.ticket.v1 {
    background: linear-gradient(
        to bottom,
        var(--stripe1) 50%,
        var(--stripe2) 50%
    );
    background-size: 100% 5px; /* Each stripe is 40px tall */
    color: var(--ticket-v1-font);
    grid-column-gap: 5px;
    grid-template-columns: 25px 180px 25px; /* Use 1fr for the middle column to take up remaining space */
    grid-template-rows: 110px;
    padding: 10px;
    width: fit-content;
}

.ticket.v1:before {
    background-size: 7px 9px;
    background-repeat: repeat-y;
    background-position: 0 0, 0 0, 100% 0, 100% 0;
    background-image: linear-gradient(45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(135deg, transparent 75%, var(--stripe1) 75%), linear-gradient(-45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(-135deg, transparent 75%, var(--stripe1) 75%);
    content: ' ';
    height: 130px;
    left: -7px;
    padding-left: 40px;
    position: absolute;
    width: 234px;
}

.ticket.v1:hover {
    rotate: -13deg;
}

.ticket.v1 .ticket-type, .ticket.v1 .ticket-book {
    font-size: 12px;
    text-orientation: mixed; /* Ensures proper orientation of characters */
    rotate: 180deg;
    white-space: nowrap; /* Prevent text from wrapping */
    writing-mode: vertical-lr;
}

.ticket.v1 .ticket-type, .ticket.v1 .ticket-book, .ticket.v1 .ticket-content {
    border: 2px solid var(--ticket-v1-border);
    width: 100%;
}

.ticket.v1 .ticket-content {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: repeat(3, fit-content);
    grid-row-gap: 5px;
    padding: 10px;
}

.ticket.v1 .ticket-title {
    font-size: 35px;
    font-family: var(--font8);
    grid-area: 1 / 1 / 2 / 3;
}

.ticket.v1 .ticket-price {
    color: var(--ticket-v1-price);
    font-size: 30px;
    grid-area: 2 / 1 / 2 / 2;
}

.ticket.v1 .ticket-description p {
    font-size: 13px;
    grid-area: 3 / 1 / 4 / 2;
    line-height: normal;
    margin: 0px;
}

.ticket.v1 .ticket-icon {
    grid-area: 2 / 2 / 4 / 3;
    position: relative;
}

.ticket.v1 .ticket-icon svg {
    fill: var(--ticket-v1-decoration);
    height: 100px;
    position: absolute;
    right: 0;
    top: -25px;
    width: 85px;
}

/* Second Ticket*/
.ticket.v2 {
    --stripe1: #c7d2e0; /* Pale dusty blue */
    --stripe2: #b6c2d4; /* Muted steel */
    --ticket-v2-border: #000000;
    --ticket-v2-font: #000000;
    --ticket-v2-price: #7a2e2e; /* Burgundy pop */
    --ticket-v2-decoration: #5a6f88; /* Faded navy for contrast */
    --ticket-v2-book-bg: #3b4f67; /* Deep slate blue */
    --ticket-v2-book-color: #f0ece3; /* Off-white for clarity */
}

.ticket.v2 {
    color: var(--ticket-v2-font);
    grid-column-gap: 2px;
    grid-template-columns: 160px 60px; /* Use 1fr for the middle column to take up remaining space */
    grid-template-rows: 110px;
    padding: 10px 20px;
}

.ticket.v2:before {
    background-size: 6px 7px;
    background-repeat: repeat-y;
    background-position: 0 0, 0 0, 100% 0, 100% 0;
    background-image: linear-gradient(45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(135deg, transparent 75%, var(--stripe1) 75%), linear-gradient(-45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(-135deg, transparent 75%, var(--stripe1) 75%);
    content: ' ';
    height: 97px;
    position: absolute;
    top: 17px;
    width: 272px;
}

.ticket.v2:hover {
    rotate: 18deg;
}

.ticket-bg {
    height: 100%;
    left: 0px;
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 0;
}

.ticket.v2 .ticket-content, .ticket.v2 .ticket-info {
    border: 2px solid var(--ticket-v2-border);
    position: relative;
    width: 100%;
}

.ticket.v2 .ticket-content {
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: repeat(4, 23px);
    grid-row-gap: 0px;
    padding: 6px 10px 10px 8px;
}

.ticket.v2 .ticket-title {
    font-family: var(--font4);
    font-size: 24px;
}

.ticket.v2 .ticket-title:first-child {
    grid-area: 1 / 1 / 2 / 3;
}

.ticket.v2 .ticket-title:nth-child(2) {
    grid-area: 2 / 1 / 3 / 2;
    margin-top: -2px;
}

.ticket.v2 .ticket-content > .ticket-description:nth-child(3) {
    border-color: var(--ticket-v2-decoration);
    border-style: solid;
    border-width: 1px 0px 1px 0px;
    font-size: 15px;
    grid-area: 2 / 2 / 3 / 3;
    height: 17px;
    margin-top: 3px;
}

.ticket.v2 .ticket-content > .ticket-description:nth-child(5) {
    display: inline-block; /* Required for transform to work */
    font-family: var(--font4);
    font-size: 18px;
    letter-spacing: -1px;
    margin-top: -10px;
    transform: scaleY(1.5); /* Stretch vertically by 1.5x */
    transform-origin: top; /* Ensure the text stretches upwards */
}

.ticket.v2 .ticket-price {
    color: var(--ticket-v2-price);
    font-size: 18px;
    grid-area: 3 / 2 / 4 / 3;
    word-spacing: -8px;
}

.ticket.v2 .ticket-icon {
    grid-area: 3 / 1 / 5 / 2;
}

.ticket.v2 .ticket-info {
    display: flex;
    font-size: 12px;
}

.ticket.v2 .ticket-book, .ticket.v2 .ticket-type {
    rotate: 180deg;
    writing-mode: vertical-rl;
}

.ticket.v2 .ticket-type {
    padding: 5px 0px;
    text-align: center;
}

.ticket.v2 .ticket-book {
    background-color: var(--ticket-v2-book-bg);
    color: var(--ticket-v2-book-color);
    font-family: var(--font4);
    font-size: 15px;
    padding: 0px 2px;
}

.ticket.v2 .ticket-type {
    font-size: 11px;
    line-height: normal;
}

.ticket.v2 .ticket-icon svg {
    fill: var(--ticket-v2-decoration);
    height: 45px;
    width: 50px;
}

/*Third Ticket*/
.ticket.v3 {
    --stripe1: #b83d3d; /* Rich ruby red */
    --stripe2: #a83f2e; /* Muted ruby red */
    --ticket-v3-border: #1b191a; /* Dark brown */
    --ticket-v3-font: #1b191a; /* Dark brown */
    --ticket-v3-price: #e3b88e; /* Warm peach */
    --ticket-v3-decoration: #3d2c2e; /* Muted brown */
    --ticket-v3-book-bg: #e3b88e; /* Warm peach */
    --ticket-v3-book-color: #3d2c2e; /* Dark brown for contrast */
}

.ticket.v3 {
    color: var(--ticket-v3-font);
    grid-column-gap: 2px;
    grid-template-columns: 80px 140px;
    grid-template-rows: 110px;
    padding: 10px 20px;
}

.ticket.v3:hover {
    rotate: -20deg;
}

.ticket.v3:before {
    background-size: 6px 9px;
    background-repeat: repeat-y;
    background-position: 0 0, 0 0, 100% 0, 100% 0;
    background-image: linear-gradient(45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(135deg, transparent 75%, var(--stripe1) 75%), linear-gradient(-45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(-135deg, transparent 75%, var(--stripe1) 75%);
    content: ' ';
    height: 27px;
    position: absolute;
    top: 15px;
    width: 272px;
}
.ticket.v3:after {
    bottom: 15px;
    background-size: 6px 9px;
    background-repeat: repeat-y;
    background-position: 0 0, 0 0, 100% 0, 100% 0;
    background-image: linear-gradient(45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(135deg, transparent 75%, var(--stripe1) 75%), linear-gradient(-45deg, transparent 75%, var(--stripe2) 75%), linear-gradient(-135deg, transparent 75%, var(--stripe1) 75%);
    content: ' ';
    height: 27px;
    position: absolute;
    width: 272px;
}

.ticket.v3 .ticket-content {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 40% 20% 40%;
    grid-row-gap: 3px;
    padding: 6px;
}

.ticket.v3 .ticket-content, .ticket.v3 .ticket-decor {
    border: 2px solid var(--ticket-v3-border);
    position: relative;
    width: 100%;
}

.ticket.v3 .ticket-icon {
    grid-area: 1 / 1 / 3 / 2;
}
.ticket.v3 .ticket-icon svg {
    fill: var(--ticket-v3-decoration);
    height: 70px;
    right: 0;
    width: 70px;
}

.ticket.v3 .ticket-title {
    color: var(--ticket-v3-font);
    font-family: var(--font9);
    font-size: 30px;
    font-weight: bold;
    grid-area: 1 / 1 / 2 / 2;
    height: 36px;
    padding-top: 3px;
}

.ticket.v3 .ticket-type {
    border-color: var(--ticket-v3-border);
    border-style: solid;
    border-width: 1.5px 0px;
    font-size: 14px;
    grid-area: 2 / 1 / 3 / 2;
    justify-content: space-between;
}

.ticket.v3 .ticket-type span {
    font-size: 20px;
    margin-top: -5px;
}

.ticket.v3 .ticket-book {
    background-color: var(--ticket-v3-book-bg);
    border-top: 2px solid var(--ticket-v3-border);
    bottom: 0;
    color: var(--ticket-v3-book-color);
    font-family: var(--font9);
    font-size: 13px;
    font-weight: bold;
    height: 26px;
    position: absolute;
    width: 100%;
}

.ticket.v3 .ticket-info {
    font-size: 14px;
    grid-area: 3 / 1 / 4 / 2;
    margin: -3px 0px 0px 0px;
}

.ticket.v3 .ticket-price {
    color: var(--ticket-v3-price);
    font-size: 30px;
}

.ticket.v3 .ticket-description:nth-child(1) {
    font-family: var(--font4);
    line-height: 13px;
    text-align: left;
}

.ticket.v3 .ticket-description:nth-child(2) {
    font-family: var(--font4);
    font-size: 12px;
    margin-top: -11px;
    text-align: center;
}