/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* =========================
   BODY
========================= */

body {
    background: linear-gradient(
        to right,
        #090909,
        rgb(64, 68, 133),
        #231111
    );

    color: white;
    padding: 5px;

    font-family: Arial, sans-serif;
    min-height: 100vh;
}


/* =========================
   NAVIGATION
========================= */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 20px;
}

nav h2 {
    text-shadow: 0 0 25px white;
}


/* HOME / ABOUT / SERVICES / CONTACT */

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    height: 40px;
    width: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: black;

    color: white;

    border-radius: 15px;
    border: 1px solid white;

    text-decoration: none;

    box-shadow: 0 0 30px 5px white;

    transition: 0.3s ease;
}


/* BUTTON HOVER */

.nav-links a:hover {
    transform: translateY(-7px);

    box-shadow:
        5px 5px 2px 1px white,
        0 0 20px #6670ff;
}


/* =========================
   INTRODUCTION
========================= */

.intro {
    margin-top: 70px;
    margin-bottom: 60px;
    text-align: center;
}

.intro h1 {
    text-shadow: 0 0 25px white;

    font-size: 40px;
}

.intro p {
    margin-top: 20px;

    font-size: 18px;
    color: #dddddd;
}


/* =========================
   TOPIC SECTIONS
========================= */

.topic-section {
    margin: 50px auto;

    max-width: 1000px;

    padding: 30px;

    background: rgba(0, 0, 0, 0.25);

    border-radius: 20px;

    transition: 0.3s ease;
}


/* TOPIC TITLE */

.topic-section h2 {
    margin-bottom: 20px;

    text-shadow: 0 0 25px white;
}


/* SECTION HOVER */

.topic-section:hover {
    transform: translateY(-15px);

    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 30px rgba(80, 100, 255, 0.4);
}


/* =========================
   TEXT
========================= */

.topic-section p {
    line-height: 1.7;
}

.topic-section h3 {
    margin-top: 25px;
    margin-bottom: 15px;
}

.topic-section ul {
    padding-left: 25px;
}

.topic-section li {
    margin-bottom: 10px;
    line-height: 1.6;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .intro h1 {
        font-size: 30px;
    }
}
