@import url("https://use.typekit.net/pue5blc.css");


:root {
    --green: #158e30;
}

* {
    box-sizing: border-box;
    color: #FFF;
    padding: 0;
    margin: 0;
    line-height: 1.5;
    /* border: 1px solid red; */
}

body {
    margin: 0 auto;
    width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #000;
}

@media (max-width: 768px) {
    body {
        width: 90vw;
    }
}

/* TYPOGRAPHY */

h1,
h2 {
    font-family: "myriad-pro", sans-serif;
    font-weight: 700;
    font-style: normal;
}

p {
    font-family: "myriad-pro", sans-serif;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: none;
}


/* LOGO */

#logo {
    width: 100%;
    max-height: 10rem;
}

.wye,
.site {
    stroke: currentColor;
    stroke-width: 0.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.wye {
    color: #fff;
    animation:
        draw 10s linear forwards,
        fill 1s forwards;
    animation-delay: 0s, 2.5s;

}

.site {
    color: var(--green);
    animation:
        draw 10s linear forwards,
        fill 0.75s linear forwards;
    animation-delay: 1s, 2.5s;

}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    to {
        fill: currentColor;
        stroke: transparent;
    }
}

/* PROJECTS */

#projects-section {
    text-align: center;
}

#projects,
#clients {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}

a.project {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon project-name"
        "icon project-details";
    outline: 2px solid var(--green);
    border-radius: 1rem;
    padding: 1rem;
    gap: 1rem;
}

.project:hover {
    outline: 4px solid var(--green);
}

.project-icon {
    width: 5rem;
    aspect-ratio: 1/1;
    grid-area: icon;
    height: 100%;
}

.project-name {
    grid-area: project-name;
    text-align: left;
}

.project-details {
    grid-area: project-details;
    text-align: left;
    font-style: italic;
    justify-content: flex-start;
}