:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-color: #1e293b;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --black: #101411;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.6;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.logo-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fallback-logo {
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 3rem;
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.sub-title {
    font-size: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*
 * Start of changes to fix styling
 */

.btn-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-container li {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    width: 100%;
    /* Keep width 100% to fill the <li> */
    /* Removed margin and max-width from here */
    position: relative;
    gap: 0.5rem;
}

/*
 * End of changes
 */

.btn-text {
    flex-grow: 1;
    text-align: center;
}

.btn-icon {
    display: inline-block;
    background-image: url("img/arrow-circle-broken-up-right.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 1.2em;
    height: 1.2em;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn:hover .btn-icon {
    opacity: 1;
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-github:hover {
    background-color: rgb(16, 20, 17);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-linkedin:hover {
    background-color: rgb(42, 102, 188);
    color: var(--white);
    transform: translateY(-2px);
}

footer {
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: #64748b;
}

@media (max-width: 768px) {
    main {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
        font-weight: 800;
    }

    h2 {
        font-size: 0.65rem;
    }

    .logo-container {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn-container ul {
        gap: 0.5rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
    }
}
