body { /* box-sizing: border-box; */ color: #c9cacc; background-color: #1b1b1b; font-size: 15px; font-family: "Source Code Pro", monospace; font-weight: 400; line-height: 1.725; text-rendering: geometricPrecision; min-height: 100%; display: block; flex-direction: column; margin: 0; } #links ul { /* display: inline; */ /* display: inline-block; */ list-style-type: none; margin: 0; padding: 0; overflow: hidden; /* background-color: black; */ /* padding: 4rem auto; */ } #links li { float: right; } #links li a { display: block; color: #c9cacc; font-weight: 600; text-align: center; letter-spacing: 0.18rem; padding: 14px 16px; text-decoration: none; } header { background-color: #1b1b1b; color: #c9cacc; margin: 0 auto; text-align: center; padding: 2rem; line-height: 0.75rem; border-top: 1.5px solid #c9cacc; border-bottom: 1.5px solid #c9cacc; } header img { width: 150px; border: 5px solid #f4f1de; border: 5px solid grey; border-radius: 165px; } h1 { font-size: 2.5rem; padding: 1rem; } h1 a { color: #c9cacc; text-decoration: none; } h1 a:hover { color: #81b29a; } h1 a:active { color: #3d405b; } h2, h3, h4 { letter-spacing: 0.1em; font-weight: 800; } /* h2 { font-size: 1.3rem; } */ main { width: 700px; margin: 0 auto; } #aboutMe { display: flex; border: 2px solid black; /* width: 70%; */ padding: 1.5rem; margin: 0 auto; text-align: center; justify-content: center; } @media (max-width: 620px) { #aboutMe { display: block; justify-content: center; } #contact { display: table; } #projects { height: auto; overflow: scroll; } } #bio { width: 400px; margin: 0 auto; padding: 1.5rem; text-align: start; } #contact { border: 1px solid red; width: fit-content; text-align: end; margin: 0 auto; padding: 1.5rem; } .contactLinks li { list-style: none; line-height: 2rem; letter-spacing: 0.15rem; } .contactLinks a { color: #c9cacc; text-decoration: none; border-bottom: 1px solid #c9cacc; } .contactLinks a:hover { font-weight: 600; border-bottom: 2px solid #c9cacc; } #projects { display: block; /* width: 70%; */ border: 2px solid red; padding: 1.5rem; margin: 0 auto; height: auto; /* justify-content: center; */ /* overflow: auto; */ } .project-item { display: block; border: 1px solid blue; margin: 10px auto 20px; height: auto; text-align: center; justify-content: center; /* background-color: #282c34; */ /* color: #ffffff; */ font-weight: 200; padding: 2rem auto; /* padding: auto auto 50px; */ /* padding: 1.1rem; */ } .project-item a { color: #c9cacc; text-decoration: none; } .project-item a:hover { color: #81b29a; } .project-item img { max-height: 200px; /* width: 45%; */ border: 2px solid red; margin: 0 auto; } #projects h2 { margin: 0 auto; padding: 1.5rem; border: 1px solid #3d405b; } #projects h3 { border: 1px solid brown; text-align: left; padding: 1.5rem; } #projects h4 { font-weight: 400; } .project-skills { color: #666; border: 1px solid red; list-style: none; width: 33%; margin: 0 auto; text-align: end; float: left; line-height: 1.15rem; }