:root {
    /*
    --main-color: #2DA567;
    --secondary-color: #A52D6B;
    */
    --main-color: hsl(149, 57%, 41%);
    --secondary-color: hsl(329, 57%, 41%);
    --code-text-color: hsl(0 0 60%);
}


html {
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100%;

    background-color: #161616;
    color: white;
    font-family: 'Aldrich', sans-serif;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

body {
    margin: 0;
}

.content {
    padding: 0;
}

.navbar {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    padding: 1rem 2rem;
    margin: 0;
    padding-top: 1.75rem;
}

.navbar ul {
    flex-wrap: nowrap;
    overflow-x: auto;
}

.simple-link {
    text-decoration: none;
    color: hsl(0 0 60%);
    font-weight: bold;

    transition: color 0.3s ease;
}

.simple-link:hover {
    color: hsl(0 0 80%);
}

.simple-link:active {
    color: hsl(0 0 100%);
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 25px 42px;
    border-radius: 1px;

    font-size: 1.25em;
    color: black;
    background-color: var(--main-color);
    transition: all 0.1s ease;
}

.btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}
  
.btn:active {
    filter: brightness(0.9);
    transform: translateY(0);
}

.smaller-button {
    padding: 24px 36px;
}

.section {
    margin: 0 auto;
    padding-top: 10vh;

    min-width: 990px;
    max-width: 1000px;
    height: 95vh;
}

.scroll-into {
    scroll-snap-align: start;
}

.code {
    color: var(--code-text-color);
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
}

.green-text {
    color: var(--main-color);
}

.pinky-text {
    color: var(--secondary-color);
}


#hero {
    display: flex;
    margin-top: 16vh;
    padding-top: 0;
    
    flex-direction: column;
    align-items: center;
}

#hero h1 {
    margin: 0;

    font-size: 3.5rem;
    font-weight: normal;
}

#hero .title {
    margin: 0;
    margin-top: 0.75rem;
    font-size: 5rem;
}

#hero .slogan {
    margin: 0;
    margin-top: 0.5rem;
    margin-bottom: 6rem;
    font-size: 1.5rem;
}

#hero .btn-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
}

h2 {
    margin: 0;
    margin-bottom: 28px;

    font-weight: normal;
    font-size: 2rem;
}


#about-me .yapping {
    margin-top: 0;
    margin-bottom: 5rem;

    font-size: 1.25rem;
    line-height: 1.6;
}

#about-me .indented {
    padding-left: 15%;
}

#projects .project-name{
    flex-basis: 100%;

    font-size: 1.75rem;
    margin-top: 4px;
}

#projects .simple-link{
    color: hsl(0 0 80%);
}

#projects .simple-link:hover{
    color: hsl(0 0 100%);
}

#projects .simple-link:active{
    color: hsl(0 0 100%);
}

.simple-link .green-text{
    color: hsl(149, 57%, 41%);
    transition: color 0.3s ease;
}

.simple-link:hover .green-text {
    color: hsl(149, 57%, 51%);
}
  
.simple-link:active .green-text {
    color: hsl(149, 57%, 51%);
}

#projects .project-list {
    list-style: none;
    margin-top: 1.5rem;
}

#projects .project-list .item {
    margin-bottom: 3.5rem;
}

#projects .project-list .project-link {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
    row-gap: 0;

    font-size: 1.5rem;
    font-weight: normal;
}

.project-link .skills {
    flex-basis: 60%;
}

.skill-tree,
.skill-tree ul {
    list-style: none;
    font-size: 1.5rem;

    margin: 0;
    padding-left: 3.5rem;
    position: relative; 
}

.skill-tree ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0.6rem; 
    width: 1px;
    height: 100%;
    background-color: #888; 
  }

.skill-tree li {
    position: relative;      
    margin: 0.5rem 0;       
}
  
.skill-tree li::before {
    content: '';
    position: absolute;
    top: 0.75rem;
    left: -2.90rem;
    width: 2.6rem; 
    height: 1px;
    background-color: #888;
}

.node,
.leaf {
  display: inline-block;
  padding-left: 0.5rem;
}

.education-list {
    list-style: none;
    font-size: 1.75rem;
    padding-left: 4rem;
}

.career-name {
    font-size: 2rem;
}

.education-list p {
    margin: 0;
    margin-bottom: 0.35rem;
}

.education-list li {
    margin-bottom: 2.5rem;
}

.education-list .career-item {
    margin-bottom: 4.5rem;
}

.card {
    max-width: 580px;
    border: white solid 1px;
    margin: 3rem auto;
    padding-left: 90px;
}

.card p {
    margin: 0;
    margin-bottom: 1.25em;
}

.card .name-info {
    margin-top: 1em;
    margin-bottom: 0.1em;
    font-size: 2.5rem;
}

.title-info {
    position: relative;
    display: inline-block; 
    font-size: 1.25rem;
}

.title-info::after {
    content: "";
    display: block;
    height: 1px;
    background-color: currentColor; 
    margin-top: 4px; 
}

.contact-item {
    margin-bottom: 2rem;
    font-size: 1.25rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-icon {
    fill: white;
    height: 2.5em;
    width: auto;

    margin-right: 1em;
}

#contact .simple-link {
    font-weight: normal;
    color: hsl(0 0 80%);
}

#contact .simple-link:hover {
    color: hsl(0 0 100%);
}

.footer {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.75rem 0;

    font-size: 1rem;
    background-color: var(--main-color);
}

.footer p {
    margin: 0;
    color: black;
}


/* Projects info pages styles */
.man-title {
    padding: 0;
    margin: 0;

    font-size: 1rem;
    font-weight: normal;

    margin-top: 2.75rem;
    padding-left: 2rem;
}

.less-margin-title {
    margin-top: 1.75rem;
}

.man-content {
    padding: 0;
    margin: 0;

    font-size: 1rem;
    font-weight: normal;
    line-height: 1.3;

    padding-top: 0.25rem;
    padding-left: 5rem;
}

.no-height {
    height: auto;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.paddin-left-link {
    margin-left: 0.25rem;
}

.no-width {
    min-width: auto;
    max-width: auto;
    width: auto;
}

.border-sides {
    border-left: white solid 1px;
    border-right: white solid 1px;
}

.wrapper {
    border: 1px solid white;
    padding: 2rem;
    padding-right: 4rem;
    margin: 0;

    margin-top: 5vh;
    margin-right: 29vw;
    margin-left: 29vw;
    min-width: 600px;
    max-width: 800px;
}

.return-icon {
    stroke: hsl(0 0 70%);
    margin: 0;
    padding: 0;
    margin-top: -2rem;
    margin-left: -0.75rem;

    height: 2em;
    width: auto;
}

.return-icon:hover {
    stroke: hsl(0 0 100%);
}

.description-section,
.description-br {
    display: block;
}

.description-section {
    margin-top: 2rem;
}

.description-br {
    margin-top: 0.5rem;
}

.body-bottom-space {
    padding-bottom: 20vh;
}