@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400..700&family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
}

body {
    background-color: rgb(1, 0, 3);
    color: rgb(255, 255, 255);

    font-family: "Saira", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings: "wdth" 100;

    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlighted {
    text-decoration: underline;
    color: #7DA0CA;
}

#content {
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    text-align: center; 

    transition: opacity 0.5s ease;
}

#content {
    margin: 0 auto;
    display: flex;           /* needed for flex-direction & align-items */
    flex-direction: column;
    align-items: center;
    text-align: center; 
    opacity: 1;
    transition: opacity 0.5s ease;
}

#content.fade-out {
    opacity: 0;
}

#content.fade-in {
    opacity: 1;
}

.website-nav .nav-link:hover {
    cursor: pointer;
}

footer {
    font-size: 10px;
}

.main-content {
    padding: 15px 0 15px 0;
}

.website-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.website-nav .nav-link-button {
    display: inline-block;
    padding: 8px 18px;
    margin: 5px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #7DA0CA, #4b6a94);
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.website-nav .nav-link-button:hover {
    background: linear-gradient(135deg, #a9c6eb, #7DA0CA);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.5);
}

.website-nav .nav-link-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.repo-list {
    list-style: none;
    padding: 0;
    margin: 20px auto;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.repo-item {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.repo-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.repo-item h3 {
    font-family: "Domine", serif;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 8px;
}

.repo-item h3 a {
    text-decoration: none;
    color: #7DA0CA;
    transition: color 0.3s ease;
}

.repo-item h3 a:hover {
    color: #a9c6eb;
}

.repo-item p {
    font-family: "Saira", sans-serif;
    font-size: 15px;
    color: #bbb;
    line-height: 1.4;
}

.main-content > p {
    font-size: 16px;
    color: #777;
    margin-top: 20px;
}

@media (max-width: 600px) {
    .repo-item {
        padding: 12px 15px;
    }

    .repo-item h3 {
        font-size: 18px;
    }

    .repo-item p {
        font-size: 14px;
    }
}
