@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

:root {
    --sectionHeight: 100vh;
    --background: black;
    --primary: #00a2ff;
    --accent: #355394;
    --text: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    color: var(--text);
    box-sizing: border-box;
    text-decoration: none;
}

body {
    background: var(--background);
}

.sectionTitle {
    font-family: 'Source Code Pro', monospace;
    font-size: 10vw;
    white-space: nowrap;
    overflow: hidden;
    background: -webkit-linear-gradient(-90deg, var(--primary), var(--accent));
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 20px 0;
}

.linktree {
    min-height: calc(var(--sectionHeight) - 80px);
    height: fit-content;
    border-bottom: 10px double var(--accent);
    padding-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.linksContainer {
    width: 90%; /* Adjusted for better responsiveness */
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
}

.linkContainer {
    background: rgba(35, 35, 35, 0.4); /* Subtle background for better visibility */
    padding: 20px;
    border-radius: 10px;
    border: 4px solid var(--primary);
    transition: transform 0.3s, background-color 0.3s;
    cursor: pointer;
}

.linkContainer:hover {
    border: 4px solid var(--accent);
    transform: translateY(-5px);
}
.linkContainer:hover .name {
    color: var(--accent);
}

.name {
    font-size: 1.5rem;
    color: var(--primary);
}

@media (min-width: 768px) {
    .sectionTitle {
        font-size: 48px; /* Fixed size for larger screens */
    }

    .linksContainer {
        width: 80%; /* Narrower container for a more centered look */
        gap: 25px;
    }

    .linkContainer {
        padding: 25px; /* Increased padding for a larger clickable area */
    }

    .name {
        font-size: 2rem; /* Larger font size for desktop */
    }
}

@media (min-width: 1024px) {
    .linksContainer {
        width: 70%; /* Further narrowing for desktop */
    }
}
