@font-face {
    font-family: 'Digital-7';
    src: url('Digital-7.ttf') format('truetype');
}

@font-face {
    font-family: 'PixelNES';
    src: url('PixelNES.woff') format('woff');
}

@font-face {
    font-family: 'DOS-VGA';
    src: url('DOS%20VGA.ttf') format('truetype');
}

body, * {
    margin: 0;
    cursor: url('cursors/mouse.png'), auto;
}

header, nav, .box, section, footer, a, .cat, cc {
    margin: 0;
    font-family: 'PixelNES', 'DOS-VGA', 'Digital-7', Arial, sans-serif;
}

/* Default cursor style for the entire document */
body, section, footer {
    cursor: url('cursors/mouse.png'), auto;
}

sub, .cat1, .cat2, .box, a, .cat3, vc1 {
    margin: 0;
    font-family: 'ms gothic', Arial, sans-serif;
}

/* Pointer cursor on hover for links and boxes */
a:hover, .box:hover, section:hover {
    cursor: url('cursors/mouse2.png'), pointer;
}

/* Set background color for the entire document */
body {
    margin: 0;
    background-color: #D1D8F7;
    color: #fff; /* Text color for the entire document */
    background-repeat: no-repeat;
    background-size: 100% 60%; /* Adjust the background size as needed */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('Back1.png') center center no-repeat;
    background-size: cover; /* Adjust the background size as needed */
    z-index: -1; /* Set the z-index to -1 to position the pseudo-element behind other content */
}

/* Set background color for the section */
section {
    background-color: #020204;
    background-color: transparent;
    padding: 2%; /* Adjust padding for better spacing */
}

header {
    position: relative;
    background: url('banner.png') center center no-repeat;
    background-size: 79.4% 79.4%;
    text-align: left;
    padding: 7% 5%; /* Adjust padding for better spacing */
    z-index: 1;
    height: auto;
    margin-bottom: -40px;
    margin-left: 0%;
    margin-top: 0%;
}

header2 {
    position: relative;
    background-size: 79.4% 75%;
    text-align: left;
    padding: 7% 5%; /* Adjust padding for better spacing */
    z-index: -1;
    height: auto;
    margin-bottom: 0%;
    margin-left: 0%;
    margin-top: 2%;
}

h1 {
    margin: 0;
    padding-bottom: 10px;
    font-family: 'DOS-VGA', 'Digital-7', Arial, sans-serif;
    font-size: 1.8vw; /* Use vw (viewport width) unit for responsive font size */
}

T1 {
    animation: colorChange 5s infinite alternate;
}

@keyframes colorChange {
    0% {
        color: #8fafbe;
    }
    25% {
        color: #5c6592;
    }
    50% {
        color: #ac3e9a;
    }
    75% {
        color: #c7cbde;
    }
    100% {
        color: #353a56;
    }
}

input {
    margin-top: 20px;
    padding: 5px;
    cursor: url('cursors/mouse.png'), auto;
    color: #fff; /* Text color for the input */
    width: 70%; /* Adjust width for better scaling */
}

button {
    padding: 5px 10px;
    margin-left: 5px;
    background-color: #5c6592;
    color: #000;
    border: none;
    cursor: url('cursors/mouse.png'), auto;
    width: 20%; /* Adjust width for better scaling */
}

nav {
    float: right;
    width: 15%;
    background-color: transparent;
    padding: 15px;
    box-sizing: border-box;
    margin-right: 9.9%; /* Adjusted margin to the right */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the items horizontally */
}

sub {
    float: left;
    width: 15%;
    background-color: transparent;
    padding: 15px;
    box-sizing: border-box;
    margin-left: 9.5%; /* Adjusted margin to the right */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center the items horizontally */
}

.box {
    border: 2px solid #565b7e;
    margin-top: 2%;
    padding: 15px;
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9vw;
}

.custom-b {
    margin-top: 0%;
    text-align: center;
}

.custom-blog {
    margin-top: -1% 
}

.box1 {
    border: none; /* Remove the border */
    padding: 0; /* Remove padding */
    background-color: transparent; /* Set background color to transparent */
    margin-top: 2%; /* Adjust margin for better spacing */
    text-align: left;
    font-size: 0.9vw
}

.box1 img {
    width: 100%; /* Make the image fill its container */
}

@keyframes nameChange {
    0% {
        color: #8fafbe;
    }
    25% {
        color: #5c6592;
    }
    50% {
        color: #ac3e9a;
    }
    75% {
        color: #c7cbde;
    }
    100% {
        color: #353a56;
    }
}

.highlight {
    animation: nameChange 3s infinite alternate;
}

.twitch-box,
.youtube-box,

.about-box {
    margin-top: 37px;
    border: 2px solid #565b7e;
    padding: 25px;
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9vw
}

.custom-middle {
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrolling-container {
    margin-top: 2%; /* Adjust according to your design */
    overflow: hidden;
    position: relative;
    width: 90%; /* Set the width of the scrolling container as a percentage */
    max-width: 250px; /* Set a maximum width to ensure it doesn't get too wide */
    height: 30px; /* Set the height of the scrolling container */
    margin-bottom: 1%; /* Adjust according to your design */
}

.scrolling-box {
    display: flex;
    animation: scroll 20s linear infinite;
}

.scrolling-box a {
    margin-right: 30px; /* Adjust the spacing between images */
    text-decoration: none;
}

.scrolling-box img {
    width: 200px; /* Set the width to 100% to fill the box */
    height: auto;
    transform-origin: left center;
}

@keyframes scroll {
    0% {
        transform: translateX(600px) scale(1);
    }
    100% {
        transform: translateX(-1920px) scale(1);
    }
}

.box2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the content horizontally */
    align-items: center;
    font-size: 0.9vw;
    margin-top: 7%
}

.box2 a {
    flex: 0 0 98%; /* Two images per line with some spacing */
    margin: 1%; /* Add some spacing between images */
    text-align: center; /* Center the content within each column */
    text-decoration: none;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.box2 img {
    width: 45%; /* Make the images fill the container width */
    height: auto;
    
}

.box3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the content horizontally */
    margin-top: 25px;
    align-items: center
}

.box3 a {
    flex: 0 0 48%; /* Two images per line with some spacing */
    margin: 1%; /* Add some spacing between images */
    text-align: center; /* Center the content within each column */
    text-decoration: none;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.box3 img {
    width: 45%; /* Make the images fill the container width */
    height: auto;
}

.about-box ul {
    margin-top: 0; /* Remove top margin for better spacing */
    padding-left: 0; /* Remove default padding for the unordered list */
    font-size: 0.9vw
}

.about-box li {
    margin-bottom: 2px; /* Adjust margin for better spacing between list items */
    margin-right: 0; /* Remove right margin for better spacing between list items */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    font-size: 0.9vw
}

.cat {
    margin-top: 1%; /* Adjust according to your design */
    border: 2px solid #565b7e;
    padding: 2%; /* Adjust padding based on a percentage of the container width */
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%; /* Set the width of the container as a percentage */
    max-width: 250px; /* Set a maximum width to ensure it doesn't get too wide */
    font-size: 0.8vw;
    margin-left: 2%
}

.cat1 {
    margin-top: 1%; /* Adjust according to your design */
    border: 2px solid #565b7e;
    padding-top: 2%; /* Adjust padding based on a percentage of the container width */
    padding-bottom: 2%; /* Adjust padding based on a percentage of the container width */
    padding-left: 3%; /* Adjust padding based on a percentage of the container width */
    padding-right: 3%; /* Adjust padding based on a percentage of the container width */
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    width: 95%; /* Set the width of the container as a percentage */
    max-width: 250px; /* Set a maximum width to ensure it doesn't get too wide */
    font-size: 0.9vw;
    margin-left: 3%;
    margin-right: 2%
}

.cat2 {
    margin-top: 7%; /* Adjust according to your design */
    border: 2px solid #565b7e;
    padding-top: 1%; /* Adjust padding based on a percentage of the container width */
    padding-bottom: 2%; /* Adjust padding based on a percentage of the container width */
    padding-left: 3%; /* Adjust padding based on a percentage of the container width */
    padding-right: 3%; /* Adjust padding based on a percentage of the container width */
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%; /* Set the width of the container as a percentage */
    max-width: 250px; /* Set a maximum width to ensure it doesn't get too wide */
    font-size: 0.9vw;
    margin-left: 3%;
    margin-right: 2%
}

.cat3 {
    border: 2px solid #565b7e;
    margin-top: 30px;
    padding: 5px;
    padding-left: 0.5%;
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    font-size: 0.9vw;
    margin-left: 10.3%;
    margin-right: 10.2%
}

.cat1 ccc {
    font-size: 0.8.6vw;
    line-height: 0.1em;
}

vc1 {
    font-size: 0.8vw;
    line-height: 1em;
}

.vc2 {
    max-width: 100%;
    height: auto;
    float: left;
    margin-right: 10px;
}

ul, li {
    margin: 0;
    padding: 0;
}

.cat ul {
    margin-top: 0; /* Remove top margin for better spacing */
    padding-left: 0; /* Remove default padding for the unordered list */
}

.cat li {
    margin-bottom: 2px; /* Adjust margin for better spacing between list items */
    margin-right: 0; /* Remove right margin for better spacing between list items */
}

section {
    width: 50%; /* Adjusted width to leave space for the sidebar */
    margin: 0 auto; /* Center the section horizontally */
    padding: 0% 0%; /* Adjusted padding for better spacing */
    margin-top: 0%;
    margin-bottom: 3%
}

section * {
    cursor: url('cursors/mouse2.png'), auto;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    text-align: center;
    padding: 10px;
    color: #000;
}

.about-box a {
    color: #000; /* Change this to your desired color */
}

.cat a {
    color: #000; /* Change this to your desired color */
}

a {
    color: #F613ff; /* Colour of <a> */
    text-decoration: none;
    cursor: url('cursors/mouse.png'), auto;
}

a:hover {
    cursor: url('cursors/mouse2.png'), pointer;
    color: blue; /* Change this to your desired color for hover state */
}

ul {
    list-style-type: none;
}

.search-box {
    display: flex;
    flex-direction: column; /* Stack the items vertically in the search box */
    align-items: center; /* Center the items horizontally */
    margin-top: 15px;
}

.search-box input {
    width: 100%; /* Set width to 100% for full width on smaller screens */
    margin-right: 0; /* Reset margin for spacing between input and button */
    margin-left: 0; /* Reset margin for spacing between input and button */
    margin-top: 10px; /* Adjusted margin for spacing from the search box */
}

.search-box button {
    width: 100%; /* Set width to 100% for full width on smaller screens */
    margin-top: 10px; /* Adjust margin for spacing from the search box */
}

img {
    margin-right: 3px; /* Adjust the margin as needed */
    margin-left: 3px; /* Adjust the margin as needed */
    vertical-align: middle; /* Align the image vertically with the text */
}

.image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.image-text-container {
    display: flex;
    align-items: center;
}

.scaled-image {
    max-width: 15%;
    height: auto;
    margin-right: 10px;
}

.scaled-image2 {
    max-width: 12%;
    height: auto;
    margin-right: 10px;
}

.blog-content {
    overflow: hidden; /* Clear the float to properly contain the floated image */
}

.responsive-image {
    max-width: 100%;
    height: auto;
    float: left;
    margin-right: 10px;
}

.blog-content p {
    margin: 0;
}

.centered-text {
    text-align: center;
    margin-bottom: 1%; /* Adjust the margin as needed */
}

.blog-content img {
    margin-top: 7%; /* Adjust the margin as needed */
}

.box-art {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;
    margin: 1%;
    padding: 1%;
    padding-bottom: 5%;
    border: 2px solid #565b7e; /* Add a border for better visibility */
}

.responsive-image2 {
    max-width: 100%;
    height: auto;
    float: left;
    margin-bottom: 1%;
}

.responsive-image3 {
    max-width: 100%;
    height: auto;
    float: left;
    margin-bottom: 1%;
}

.art-content {
    width: 100%; /* Ensure the content width matches the container width */
    padding-bottom: 1%; /* Adjust the margin to control spacing between art-content boxes */
}

.box-c {
    border: 3px solid #565b7e;
    margin: 2%;
    padding: 15px;
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    text-align: left;
    line-height: 1.5em;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.entry-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px; /* Adjust as needed */
}

.embed-container,
.description-container {
    width: 100%;
}

#music {
  display: flex;
  flex-direction: column;
}

.entry-container {
  display: flex;
  flex-direction: row; /* Display children horizontally */
  width: 100%; /* Occupy 100% of the available width */
  margin-bottom: 10px; /* Add some space between entries */
}

.embed-container {
  flex: 2; /* Take up 2/3 of the available width */
  max-width: 66.67%; /* Ensure the embed doesn't take more than 66.67% */
}

.description-container {
  flex: 1; /* Take up 1/3 of the available width */
  max-width: 33.33%; /* Ensure the description doesn't take more than 33.33% */
  margin-left: 5%; /* Add some space between embed and description */
  font-size: 1vw
}

.box-music {
    margin: 1%;
    padding: 1%;
    padding-bottom: 1%;
    border: 2px solid #000; /* Add a border for better visibility */
}

.footer-links {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 0.2%; /* Adjust as needed */
}

.footer-links a {
    margin-right: 2%; /* Adjust as needed */
    color: #000; /* Adjust the color as needed */
    text-decoration: none;
}

.footer-links a:hover {
    color: blue; /* Change this to your desired color for hover state */
}

.blog-box-text {
  position: relative;
  max-width: 90vw; /* Set the maximum width to 90% of the viewport width */
  margin: 0 auto;
  height: 0;
  padding-bottom: 15.83%; /* (190 / 1200) * 100 */
  background: url('front/box2.png') no-repeat center;
  background-size: 100% 100%;
}

.blog-box-text .text-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2vw; /* Adjust the padding based on the viewport width */
  box-sizing: border-box;
  color: #fff;
}

.affiliate-box {
    margin-top: 7%;
    border: 2px solid #565b7e;
    padding: 5%;
    cursor: url('cursors/mouse.png'), auto;
    background-color: #D1D8F7;
    color: #000;
    width: 90%;
    max-width: 400px;
    font-size: 0.9vw;
    margin-left: auto;
    margin-right: auto;
}

.affiliate-title {
    margin-bottom: 5px;
    margin-top: 10px;
    margin-left: 10px;
}

.affiliate-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3px;
}

.affiliate-image {
    width: 88%;  /* Adjust this value as needed */
    height: auto;
    cursor: pointer;
    max-height: 50px;  /* Adjust this value to control the maximum height */
    object-fit: contain;  /* This ensures the image keeps its aspect ratio */
}

.affiliate-widget {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 88%;  /* Match this to the width of .affiliate-image */
    height: 50px;  /* Match this to the max-height of .affiliate-image */
    overflow: hidden;
}

.affiliate-widget img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    /* Styles for screens smaller than 768px */

    /* Font adjustments */
    h1 {
        font-size: 5vw; /* Adjust font size based on viewport width */
    }

    .box, .twitch-box, .youtube-box, .about-box, .cat, .cat1, .cat2, .cat3, vc1 {
        font-size: 3.5vw; /* Adjust font size based on viewport width */
    }

    /* Layout adjustments */
    header {
        background-size: 90% 70%; /* Adjust background size for better scaling */
        padding: 10% 5%; /* Adjust padding for better spacing */
    }

    nav, sub {
        float: left;
        width: 46%;
        margin: 0;
        text-align: center;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 4%;
    }

    nav {
        float: right;
        padding-left: 3%;
        margin-right: 1.8%;
    }

    sub {
        margin-left: 1%;
        padding-right: 4%;
    }

    section {
        width: 92%; /* Adjust width for better scaling */
        padding: 2%; /* Adjust padding for better spacing */
        clear: both; /* Clear the floats to position the section below */
        margin-bottom: 7%;
    }

    .impressum {
        font-size: 2.4vw;
    }
    
    .cat {
        margin-top: 1%; /* Adjust according to your design */
        border: 2px solid #565b7e;
        padding: 2%; /* Adjust padding based on a percentage of the container width */
        cursor: url('cursors/mouse.png'), auto;
        background-color: #D1D8F7;
        text-align: left; /* Align text to the left */
        line-height: 1.5em;
        color: #000;
        width: 95%; /* Set the width of the container as a percentage */
        max-width: 250px; /* Set a maximum width to ensure it doesn't get too wide */
        font-size: 3.5vw;
        margin-left: 2%;
    }

    .box2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        font-size: 3.5vw;
        margin-top: 7%;
    }

    .box2 a {
        flex: 0 0 100%;
        margin: 0.5%;
        text-align: center;
        text-decoration: none;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .box2 img {
        width: 49%;
        height: auto;
        margin: 0.5%;
    }

    .cat1, .cat2 {
        width: 90%; /* Adjust width for better scaling */
        max-width: none; /* Remove maximum width */
        margin-left: 5%; /* Adjust margin for better spacing */
        margin-right: 5%; /* Adjust margin for better spacing */
    }

    .cat3 {
        margin-left: 5%; /* Adjust margin for better spacing */
        margin-right: 5%; /* Adjust margin for better spacing */
    }

    /* Input and button adjustments */
    input, button {
        width: 100%; /* Make input and button take up full width */
        margin: 5px 0; /* Adjust margin for better spacing */
    }

    /* Search box adjustments */
    .search-box input, .search-box button {
        width: 100%; /* Make input and button take up full width */
    }

    /* Image adjustments */
    .scaled-image, .scaled-image2 {
        max-width: 30%; /* Adjust maximum width for better scaling */
    }

    .responsive-image, .responsive-image2, .responsive-image3 {
        float: none;
        display: block;
        margin: 0 auto;
        max-width: 100%;
    }

    /* Music entry adjustments */
    .entry-container {
        flex-direction: column; /* Stack embed and description vertically */
    }

    .embed-container, .description-container {
        max-width: 100%; /* Make embed and description take up full width */
        margin-left: 0; /* Remove left margin for description */
    }

    /* Footer links adjustments */
    .footer-links {
        flex-wrap: wrap; /* Allow links to wrap to the next line */
        justify-content: center; /* Center the links */
    }

    .footer-links a {
        margin: 2%; /* Adjust margin for better spacing */
    }

    /* Blog box text adjustments */
    .blog-box-text {
        max-width: 100vw; /* Make the box take up full viewport width */
        padding-bottom: 31.66%; /* (380 / 1200) * 100 */
    }

    .blog-box-text .text-container {
        padding: 4vw; /* Adjust padding based on viewport width */
    }
    
    .affiliate-box {
        font-size: 3vw;
        padding: 5%;
        width: 80%;
    }

    .affiliate-image {
        width: 100%;
        max-height: 40px;  /* Adjust this value for mobile if needed */
    }

    .affiliate-widget {
        width: 100%;
        height: 40px;  /* Match this to the mobile max-height of .affiliate-image */
    }
}
