@import url("reset.css");

:root {
    --page-background: #f5f5f0;
    --header-background: #0d3d24;
    --link-primary-color: #00c45a;
    --card-primary-color: #ffffff;
    --card-shade: #a8f0c6;
}

* {
    font-family: "Raleway";
}

body {
    background-color: var(--page-background);
}

h1 {
    font-family: DM Serif Display;
    font-weight: 500;
    font-size: 72px;
    margin: 0
}

.teaser-text {
    font-family: DM Serif Display;
    font-size: 24px;
}

.container,
.projects-container {
    display: grid;
    grid-template-rows: 100px 1fr;
    justify-items: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.projects-container {
    align-items: start;
}

.projects-main {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 50px;
    padding: 50px 50px;
}

.emphasis {
    font-family: DM Serif Display;
    font-style: italic;
}

.underline {
    text-decoration: underline;
    text-decoration-color: #2dff7f;
}

.header {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    background-color: var(--header-background);
    width: 100vw;
    height: 100%
}

.header-link,
.header-link:visited {
    text-decoration: none;
    color: var(--link-primary-color);
    font-family: 'DM Mono', monospace;
    font-size: 1.4rem;
}

.card {
    background-color: var(--card-primary-color);
    z-index: 1;
    border-radius: 20px;
    transition: all 0.5s ease-in-out;
    padding: 20px;

}

.card:hover {
    box-shadow: 0px 0px 15px 5px var(--card-shade);
    transform: scale(1.1);
}

.hero-image {
    border-radius: 50%;
    width: 40%;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.card {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
}

a.card {
    text-decoration: none;
    color: inherit;
}



/* .border {
    border: solid 2px red;
} */