html {
    scroll-behavior: smooth;
}

body {
    color: white;
    background: linear-gradient(180deg, #145192,  #0e7240);
    background-attachment: fixed;
    margin: 0 auto;
    max-width: 100%;
    font: 1.3em/1.65 sans-serif;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
    padding: 10px;
    display: inline-block;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: start;
    overflow-x: hidden;
    overscroll-behavior-y: auto;
    min-height: 100vh;
    background: linear-gradient(to bottom, #145192, #0e7240);
}

h1, h2, h3 {
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    margin-top: 25px;
}

h1::first-letter {
	color: #18f587;
    font-weight: bold;
}

.colored {
	color: #18f587;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    text-shadow: 2px 2px 5px rgba(146, 146, 146, 0.8);
    font-family: monospace;
    background-color: rgba(54, 54, 54, 0.678);
    padding: 1px 2px;
    border-radius: 5px;
    display: inline-block;
    position:relative;
}

@media screen and (max-width: 768px) {
    .colored {
        white-space: normal; /* Allows text to wrap */
        word-wrap: break-word; /* Ensures long words break properly */
        text-align: center;
    }
}

p {
	padding: 5px;
}

a {
    color: #3d82ad;
}

hr {
    border: none;
    height: 4px;
    border-radius: 5px;
    background-color: #868686;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 2px solid #F2D9F7;
    border-radius: 25px;
}

.btn-ghost {
	background: linear-gradient(135deg, #5fb865, #007bff);
	color: white;
	padding: 5px 5px;
	border: none;
	border-radius: 9px;
    transition: 0.3s;
	font-size: 1rem;
	cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
}

.btn-ghost:hover {
	background: #007bff;
    box-shadow: 0 0 10px #00cc66;
}

.center-text {
    text-align: center;
}

.resource-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 30;
    width: 80%;
    max-width: 900px;
}

img {
    max-width: 105px;
    height: auto;
    display: block;
}

.scaled-image {
    transform: scale(1.5);
}

.center-image {
    text-align: center;
}

img {
    display: inline-block;
}

.container {
    max-width: 100%;
    margin: 0 auto;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    width: 100%;
    margin: 0;
    padding: 20px;
    padding-bottom: 100px;
}

.content {
    width: 100%;
    padding: 10px;
}

h1, h2, h3 {
    text-align: center;
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(34, 34, 34, 0.8);
    padding: 10px 20px;
    display: flex;
    gap: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.nav-item {
    color: #5fb865;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}


.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
}


@media (max-width: 600px) {
    .bottom-nav {
        width: 95%;
        justify-content: space-around;
    }
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    text-align: center;
}

.faq-container {
    max-width: 600px;
    margin: 20px auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 2px solid #F1A8FF;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background-color: #F1A8FF;
    color: #333232;
    padding: 7px;
    font-weight: bold;
}

.faq-answer {
    background-color: #202020; /* Light gray */
    color: #b3b0b0;
    padding: 8px;
}

