    /* ========================================= */
    /* File Name: styles.css                     */
    /* Project: Phillip Deeley Website           */
    /* Author: Phillip Deeley                    */
    /* Created: 19/04/2026                       */
    /* Last Edited: 24/04/2026                   */
    /* Version: 1.1.2                            */
    /* Notes: Main stylesheet for website        */
    /* ========================================= */

    :root {
        --bg-primary: rgb(44, 44, 44);
        --bg-secondary: #4b4b4b;
        --bg-tertiary: #555;
        --text-primary: white;
        --text-secondary: #d0d0d0;
        --bg-card: #454545;
        --border-color: #555;
        --shadow: rgba(0, 0, 0, 0.2);
    }

    [data-theme="light"] {
        --bg-primary: rgb(235, 235, 235);
        --bg-secondary: #efefef;
        --bg-tertiary: #e2e2e2;
        --text-primary: #1a1a1a;
        --text-secondary: #444444;
        --bg-card: #ffffff;
        --border-color: #ccc;
        --shadow: rgba(0, 0, 0, 0.1);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Inter', sans-serif;
    }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        font-family: Arial, sans-serif;
        background-color: var(--bg-primary);
        padding-top: 80px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* Page load animation */
    @keyframes slideUpFade {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    body main > * {
        animation: slideUpFade 0.5s ease-out forwards;
        opacity: 0;
    }

    body main > *:nth-child(1) { animation-delay: 0.0s; }
    body main > *:nth-child(2) { animation-delay: 0.1s; }
    body main > *:nth-child(3) { animation-delay: 0.2s; }
    body main > *:nth-child(4) { animation-delay: 0.3s; }
    body main > *:nth-child(5) { animation-delay: 0.4s; }
    body main > *:nth-child(6) { animation-delay: 0.5s; }
    body main > *:nth-child(7) { animation-delay: 0.6s; }

    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        font-family: Arial, sans-serif;
        background-color: var(--bg-primary);
        padding-top: 80px;
    }

    header {
        background-color: var(--bg-secondary);
        color: var(--text-primary);
        padding: 20px 40px;
        box-shadow: 0 2px 5px var(--shadow);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100px;
        z-index: 9999;

        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: background-color 0.3s ease, color 0.3s ease;
    }    

    header a {
        color: var(--text-primary);
        text-decoration: none;
        transition-duration: 0.1s;
    }

    header a:hover {
        color: var(--text-secondary);
    }

    header h1 {
        font-size: 30px;
    }

    header #profilephoto {
        width: 150px;
        height: 150px;
        border-radius: 50%;
        margin-right: 20px;
        margin-top: 51px;
        float: right;
        transition-duration : 0.4s;
    }

    header #profilephoto:hover {
        rotate: 360deg;
        transform: scale(1.3);
    }

    .header-buttons {
        display: flex;
        gap: 15px;
        align-items: center;
    }

    .header-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--bg-primary);
        border: none;
        border-radius: 8px;
        color: var(--text-primary);
        font-size: 20px;
        text-decoration: none;
        cursor: pointer;
        box-shadow: 0 2px 4px var(--shadow);
        transition: transform 0.2s ease, background-color 0.2s ease, color 0.3s ease;
    }

    .header-btn:hover {
        transform: scale(1.1);
        color: var(--text-primary);
    }

    .header-btn:active {
        transform: scale(0.95);
    }

    .header-btn:visited,
    .header-btn:focus {
        color: var(--text-primary);
    }
            
    main {
        flex: 1;
        padding: 40px;
    }

    #introduction {
        color: var(--text-primary);
        font-size: 20px;
        padding: 80px;
        text-align: justify;
    }

    #introduction a {
        color: var(--text-primary);
    }

    #socialboxes {
        display: flex;
        justify-content: center;
        gap: 40px;
        flex-wrap: wrap;
    }

    #socialboxes button {
        transition-duration: 0.1s;
        border-width: 0px;
    }

    #socialboxes button:hover {
        transform: scale(1.05);
        background-color: var(--bg-tertiary);
    }

    #socialboxes button:active {
        outline: none;
    }

    .social {
        background-color: var(--bg-card);
        padding: 30px;
        border-radius: 10px;
        box-shadow: 5px 10px 10px var(--shadow);
        width: 350px;
        height: 350px;
        text-align: center;
    }

    .social a {
        display: inline-block;
        margin: 10px;
        padding: 16px 30px;
        background-color: var(--bg-primary);
        color: var(--text-primary);
        text-decoration: none;
        border-radius: 5px;
        transition-duration: 0.1s;
        align-items: center;
        font-size: 16px;
    }

    .social a:hover {
        transform: scale(1.05);
        background-color: var(--bg-secondary);
    }

    .social a:active {
        transform: scale(0.95);
    }

    .social h2 {
        margin: 0px;
        font-size: 30px;
        color: var(--text-primary);
    }

    .social h3 {
        color: var(--text-secondary);
        font-size: 20px;
        padding-bottom: 30px;
        padding-top: 20px;
    }

    .social img {
        width: 40px;
        height: 40px;
    }

    .social-title {
        align-items: center;
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .social-title h1 {
        margin: 0;
        line-height: 1;
    }

    .social-title img {
        display: block;
        width: 40px;
        height: 40px;
    }

    #circular {
        border-radius: 25%;
    }

    /* 404 Error Page Styles */
    #error-message {
        color: white;
        font-size: 24px;
        text-align: center;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 800px;
        padding: 40px;
    }

    #error-message strong {
        font-size: 48px;
        display: block;
        margin-bottom: 20px;
    }

    #error-message a {
        color: var(--text-primary);
        text-decoration: underline;
    }

    #error-message a:hover {
        color: var(--text-secondary);
    }

    /* Contact Form Styles */
    #contact-form-container {
        color: var(--text-primary);
        max-width: 600px;
        margin: 0 auto;
        padding: 40px;
        text-align: center;
    }

    #contact-form-container h2 {
        font-size: 36px;
        margin-bottom: 10px;
    }

    #contact-form-container p {
        font-size: 18px;
        margin-bottom: 30px;
        color: var(--text-secondary);
    }

    #contact-form {
        text-align: left;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-primary);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px 16px;
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        background-color: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        color: var(--text-primary);
        transition: border-color 0.2s ease;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--text-secondary);
    }

    .form-group textarea {
        resize: vertical;
        min-height: 120px;
    }

    .submit-btn {
        display: block;
        width: 100%;
        padding: 14px 30px;
        font-size: 18px;
        font-family: 'Inter', sans-serif;
        font-weight: 500;
        background-color: var(--bg-card);
        color: var(--text-primary);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 2px 4px var(--shadow);
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .submit-btn:hover {
        transform: scale(1.02);
        background-color: var(--border-color);
    }

    .submit-btn:active {
        transform: scale(0.98);
    }
            
    footer {
        background-color: var(--bg-secondary);
        color: var(--text-primary);
        text-align: center;
        padding: 20px;
        font-size: 14px;
        box-shadow: 0 2px 5px var(--shadow);
        transition: background-color 0.3s ease, color 0.3s ease;
        z-index: 9999;
    }