/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    background-color: #1a1b26;
    /* Tokyo Night Dark Blue Background */
    color: #ced6f7;
    /* Light Blue Foreground Text */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/wallpaper.png');
    /* Replace with your image URL */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Adjust the opacity of the background image */
    z-index: -1;
    /* Place it behind the content */
}

i {
    color: #cfc9c2;
}  

/* Links */
a {
    color: #7dcfff;
    /* Cyan for links */
    text-decoration: none;
}

a:hover {
    color: #73daca;
    /* Green when hovering over links */
}

/* Header */
header {
    background-color: #1a1b26;
    /* Dark background */
    color: #c0caf5;
    /* Light text */
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-right: 1rem;
}

nav ul li a {
    color: #7dcfff;
    /* Cyan links in navigation */
}

nav ul li a:hover {
    color: #9d7cd8;
    /* Purple on hover */
}

/* Section Headers */
h2 {
    color: #7aa2f7;
    /* Yellow for section headers */
    border-bottom: 2px solid #7dcfff;
    /* Cyan underlines for section titles */
    padding-bottom: 0.5rem;
}

/* Buttons */
button {
    background-color: #f7768e;
    /* Red button background */
    color: #1a1b26;
    /* Dark text on button */
    padding: 0.75rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #9d7cd8;
    /* Purple when hovering over button */
}

/* Footer */
footer {
    background-color: #1a1b26;
    color: #c0caf5;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

/* Custom Classes */
.accent {
    color: #7dcfff;
    /* Cyan accent class */
}

.highlight {
    color: #73daca;
    /* Green highlight class */
}

.scroll::-webkit-scrollbar {
    width: 12px;
    background-color: black;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    color: black;
    background-color: black;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: black;
}

/* Handle */
::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: white;
    background: grey;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #5c5d5e;
    border-radius: 10px;
}

/* Ensure the body and html take up the full height */
html,
body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    /* Prevent the body from having its own scrollbar */
}

/* Container styles */
.container {
    display: flex;
    justify-content: center;
    /* Centers horizontally */
    align-items: flex-start;
    /* Centers vertically */
    height: 95vh;
    /* Full viewport height */
    width: 100vw;
}

/* Middle content to be centered inside the container */
.middle {
    display: flex;
    white-space: normal; /* Ensure text can wrap normally */
    justify-content: flex-start;
    /* Center content horizontally */
    align-items: flex-start;
    /* Center content vertically */
    flex-direction: column;
    /* Stack elements vertically */
    text-align: left;
    background-color: #24283b;
    border: 2px solid #7dcfff;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 50%;
    min-width: 300px;
    max-width: 50%; /* Scale between 300px and 50% of screen */
    height: auto;
    /* Scales height to 80% of the viewport */
    overflow-y: auto;
    /* Enable vertical scrolling when content overflows */
    overflow-x: hidden;
    /* Prevent horizontal scrolling */
}

/* Content */
.content {
    width: 100%;
    /* Take full width inside the middle container */
    text-align: left;
    /* Align text to the left */
    word-wrap: break-word;
    /* Ensure long words break and wrap */
    overflow-wrap: break-word;
    /* Ensure long words wrap */
}

.bold {
    font-weight: bold; /* Makes the text bold */
    color: rgb(87, 96, 136);    /* Sets the text color to black (you can change it to any color) */
    font-size: 1.1em;  /* Slightly increases the font size (optional) */
}

.image-container {
    background-color: #323449;
    padding-top: 10px;
    padding-right: 5px;
    width: 100%;
    max-width: 100%; /* Optional: Max width to avoid excessive scaling */
}

.image-container img {
    width: 100%;
    height: auto;  /* Maintains the aspect ratio */
    display: block; /* Removes the inline space below images */
}