* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
    background-color: hsl(0, 0%, 10%);
    color: hsl(0, 0%, 90%);
}

body {
    min-height: 100vh;
}

a {
    color: hsl(224, 100%, 61%);
}

.navbar {
    width: 100%;
    background-color: #1c0033;
}

.navdiv {
    max-width: 1200px;
    margin: auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navdiv .logo img {
    display: block;
    max-width: 180px;
    height: auto;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links ul li a {
    /* bdeltha l purple bach tji m3a l logo */
    background-color: #2a0045;
    color: white;
    border-radius: 35px;
   text-decoration: none;
    padding: 10px 24px;
    border: 1px solid #f940d4;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-links ul li a:hover {
    text-decoration: underline;
    background-color: #3b0060;
    /* shadow b lwan dyal logo */
    box-shadow: 0 0 10px #f940d4, 0 0 5px #bc40ea;
}

main {
    max-width: 1100px;
    margin: auto;
    padding: 24px;
}

h1 {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 80px;
    background-image: url(stacked-waves-haikei.svg);
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    gap: 24px;
}
/* LICENSE TEXT PERFECT SPACING */

.tos {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background-color: hsl(0, 0%, 20%);
    border-radius: 16px;
}

/* TITLE */
.tos h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

/* COPYRIGHT */
.tos .copyright {
    color: #aaa;
    margin-bottom: 30px;
}

/* MAIN SECTIONS */
.tos h2 {
    margin-top: 40px;   /* BIG GAP like EULA */
    margin-bottom: 10px;
    font-size: 22px;
}

/* SUB SECTIONS */
.tos h3 {
    margin-top: 25px;
    margin-bottom: 8px;
    color: #f940d4;
}

/* PARAGRAPHS */
.tos p {
    margin-bottom: 16px;   /* KEY FIX */
    line-height: 1.7;
}

/* LISTS */
.tos ul {
    margin-top: 10px;
    margin-bottom: 20px;   /* space after list */
    padding-left: 22px;
}

/* LIST ITEMS */
.tos li {
    margin-bottom: 10px;   /* spacing between bullets */
}

/* FINAL LINE */
.tos .end {
    margin-top: 30px;
    text-align: center;
    color: #bbb;
}
.projects {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    padding: 24px;
}

.project {
    background-color: hsl(0, 0%, 20%);
    border-radius: 16px;
    padding: 16px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
footer {
    background-color: #1c0033;
    color: hsl(0, 0%, 90%);
    text-align: center;
    padding: 16px;
    margin-top: 200px;
}
footer p a {
    color: inherit;
    text-decoration: none;
    text-shadow: 0.3px 0 0 #ffffff;
    transition: text-decoration 0.3s ease;

}
footer p a:hover {
    text-decoration: underline;
}
