@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Open Sans', 'JetBrains Mono';
    background-image: url(src/background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.topbar {
    width: 100%;
    background: #1c2c394f;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.0px);
    -webkit-backdrop-filter: blur(5.0px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Inter';
}

.logo-link {
    text-decoration: none;
    color: #e2e2e2;
    font-size: 2em;
    font-weight: bold;
}

.nav-links {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #e2e2e2;
    display: block;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
.greeting-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.7px);
    -webkit-backdrop-filter: blur(8.7px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 300px;
    margin-right: 300px;
    padding: 25px;
    margin-top: 250px;
    h2 {
        text-align: center;
        font-size: 2em;
    }
    p {
        font-family: 'JetBrains Mono';
        text-align: center;

    }
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box {
    border: 1px, solid, rgba(255, 255, 255, 0.5);
    background-color: #ffffffb4;
    border-radius: 16px;
    padding: 20px;
    margin-right: 300px;
    margin-left: 300px;
    margin-top: 25px;
    h2 {
        text-align: center;
        font-size: 1.75em;
        font-family: 'Open Sans';
    }
    p {
        text-align: left;
        font-family: 'JetBrains Mono';
    }
    color: #000000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.box:hover, .greeting-box:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}
.faq {
    text-align: center;
    margin-right: 500px;
    margin-left: 500px;
    font-size: 3em;
    color: #ffffff;
}
.social-box {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    padding: 25px;
    margin-top: 100px;
    margin-right: 500px;
    margin-left: 500px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.7px);
    -webkit-backdrop-filter: blur(8.7px);
    border: 1px solid rgba(255, 255, 255, 0);
}

.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.2em;
    padding: 10px 16px;
    margin: 8px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

.social-box h3 {
    text-align: center;
    color: #e2e2e2;
    font-size: 1.75em;
    width: 100%;
    margin-bottom: 15px;
}
.social-box hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin: 20px 0;
    width: 100%;

}
.github-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1e1e1e;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter';
    font-size: 1em;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, border-color 0.3s ease;
    width: fit-content;
}

.github-btn img {
    width: 22px;
    height: 22px;
}

.github-btn:hover {
    background: #2e2e2e;
    border-color: rgba(255, 255, 255, 0.25);
}
.menu-btn {
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 1.2em;
    padding: 10px 16px;
    margin: 10px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
    width: 100%;
}
.menu-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}
.repo-box {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.7px);
    -webkit-backdrop-filter: blur(8.7px);
    border: 1px solid rgba(255, 255, 255, 0.27);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 50px 250px;
}
.repo-box h3 {
    color: #ffffff;
    font-size: 1.75em;
    margin: 25px 0;
}
.repo-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;             /* take full width */
}

.repo-row p {
    flex: 1;                 /* description takes remaining space */
    color: #ffffff;
    font-family: 'open sans';
    margin-right: 500px;
    margin-left: 50px;
    padding: 15px 0;
}

.repo-row .github-btn {
    flex-shrink: 0;          /* prevent button from squishing */
}
.repo-row h3 {
    margin-left: 50px;
}
.crypto-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    width: 100%; /* make sure to do ts */
    border: 1px, solid, rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    margin: 25px 25px;
}
.crypto-row p {
    font-family: 'Inter';
    color: #ffffff;
    margin-left: 25px;
    word-break: break-all;
    overflow-wrap: break-word;

}
.crypto-row img {
    height: 50px;
    width: 50px;
}