:root {
    --background-color: #243546;
    --text-color: #DDDDDD;
    --primary-color: #2196F3;
    --primary-foreground: #222831;
    --secondary-color: #F05454;
    --tech-stack-bg-color: #A3A3A3;
    --link-color: #FFEB3B;
}

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

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--background-color);
}

a {
    text-decoration: none;
    color: var(--text-color);
}

header {
    color: var(--primary-color);
    text-align: center;
    padding: 0;
    padding-top: 25vh;
    width: 100%;
    position: relative;
}

header h1 {
    font-size: 4rem;
    margin: 0 2rem;
}

header h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

section {
    margin-bottom: 2rem;
    margin-top: 4rem;
}

#links {
    display: flex;
    flex-direction: column;
}

.link {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
    background: var(--primary-foreground);
    max-width: 600px;
    min-width: 330px;
    width: 75vw;
}

.link a {
    text-decoration: none;
    color: var(--text-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.link img {
    max-width: 200px;
    border-radius: 8px;
    object-fit: contain;
    margin: auto;
}

.link-details {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: left;
}

.link-details h3 {
    margin: 0.5rem 0 0.5rem 2rem ;
}

footer {
    color: var(--text-color);
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    bottom: 0;
}

@media (max-width: 680px) {
    body {
        max-width: 75%;
    }

    header {
        padding-top: 15vh;
        width: 95vw;
    }
    
    header h1 {
        font-size: 3rem;
    }

    header h3 {
        font-size: 1.25rem;
        padding-left: 50px;
        padding-right: 50px;
    }
}
