/* 
TODO - style flat buttons
TODO - add link functionality to buttons
TODO - fix hero img placement
TODO - add hover elements to flex cards
TODO - header text needs smoothing
TODO - does header need texture? 
*/

:root {
    --primary-accent: rgb(153 51 255); 
    --primary-color: rgb(255 255 255);
    --button-hover: rgb(183 111 255);
    --button-active: rgb(133 31 235);
    --navlink-hover: rgb(230 200 255);
}

html, body {
    margin: 0;
    padding: 0;
    background: radial-gradient(
    circle at top,
    rgba(153, 51, 255, 0.08),
    var(--primary-color) 55%
  );
    
    font-family: "DM Sans", sans-serif;
}

h1 {
    font-weight: 700;
}

p {
    font-weight: 500;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--primary-accent);
    color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(153, 51, 255, 0.12);
    backdrop-filter: blur(8px);
}

.navbar {
    padding: 12px;
    border-bottom: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
}

.nav-links {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 2rem;
    padding: 0px;
    margin: 0;
    list-style-type: none;
}

ul a {
    text-decoration: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

ul a:hover {
    color: var(--navlink-hover);
}

.logo {
    margin-right: auto;
    font-size: 2rem;
    font-family: "Permanent Marker", cursive;
}

.hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.img-headshot {
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 10px var(--primary-accent);
}

.btn {
    background-color: var(--primary-accent);
    color: var(--primary-color);
    border-radius: 12px;
    padding: .75rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.1rem;
    border: none;
    outline: none;
    transition: background 0.2s ease;
}

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

.btn:hover {
    background-color: var(--button-hover);
}

.btn:active {
    background-color: var(--button-active);
}

.img-card {
    max-width: 300px;
    flex: 1 1 150px;
    border-radius: 12px;
}

.projects-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.card-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.project {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
    overflow: hidden;
    border-radius: 16px;
    background: var(--primary-color);
    border: 1px solid rgba(153, 51, 255, 0.18); 
    box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 10px 24px rgba(153, 51, 255, 0.06);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contact-container a {
    text-decoration: none;
    color: black;
}

@media screen and (max-width: 768px) {
    .card-container {
        flex-direction: column;
    }
}

@media screen and (max-width: 480px) {
  .card-container {
        flex-direction: column;
    }
}