/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--color-lightblue) var(--color-darkgrey);
  }
  
/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
width: 12px;
}

*::-webkit-scrollbar-track {
background: var(--color-darkgrey);
}

*::-webkit-scrollbar-thumb {
background-color: var(--color-lightblue);
border: 3px solid var(--color-darkgrey);
}

body {
    font-family: var(--font-serif);
    margin: 0;
    text-align: center;
}

.title {
    margin: 0;
    padding: 0;
}

header {
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 75px;
    width: 95%;
    margin-left: 2.5%;
}

.triangle-left {
    width: 0px;
    height: 0px;
    border-top:75px solid var(--color-darkgrey);
    border-left:75px solid transparent;
}

.triangle-right {
    width: 0px;
    height: 0px;
    border-top:75px solid var(--color-darkgrey);
    border-right:75px solid transparent;
}

#navbar {
    background-color: var(--color-darkgrey);
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    padding-right: 15px;
}

.nav-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    height:100%;
    transition: background-color ease-in 0.1s;
}

.nav-link:hover {
    background-color: var(--color-lightblue);
}

.nav-link:hover > .nav-title {
    color: var(--color-darkgrey);
}

.nav-title {
    padding: 15px;
    font-size: 25px;
    color: white;
}

h1 {
    font-size: 50px;
}

#welcome-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height:100vh;
    color: var(--color-darkgrey);
    background-color: var(--color-lightpink);
}

#projects {
    background-color: var(--color-lightblue);
    padding: 1% 2%;
    color: var(--color-darkgrey);
    width: 91%;
    margin-left: 2.5%;
}

#project-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    grid-gap: 10px;
    padding-bottom: 35px;
}

.link-tile {
    text-align: center;
    text-decoration: none;
    font-size: 20px;
}

.project-tile {
    background-color: var(--color-darkgrey);
    padding: 5%;
    color: White;
}


.project-title-highlight {
    color: var(--color-darkgrey);
    transition: color ease-in 0.2s;
}

.project-tile:hover > * > .project-title-highlight {
    color: var(--color-lightblue);
}

#contact-section {
    padding: 40px 0px 75px 0px;
    background-color: var(--color-lightpink);
    color: var(--color-darkgrey);
    width: 100%;
}

#contact-links {
    display: flex;
    justify-content: center;
}

.external-tile {
    color: var(--color-darkgrey);
    padding: 0 5% 0 5%;
    transition: transform ease-out 0.3s;
}

.external-tile:hover {
    transform: translateY(8px);
}

.fa-github:before {
    content: "\f099";
}

.fa-at:before {
    content:"\f1fa";
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 55px;
    background-color: var(--color-lightpink);
}

footer div {
    width: 95%;
    border-top: 5px solid var(--color-darkgrey);
}
