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: 100vh; margin: 0 auto; } #wrapper { display: flex; flex-direction: column; width: 100%; max-width: 560px; margin: 0 auto; } nav a { text-decoration: none; /* border: 1px solid yellow; */ border-radius: 500px; padding: 0.2rem; font-weight: 600; display: flex; justify-content: center; color: #c9cacc; letter-spacing: 0.09rem; } nav ul { list-style-type: none; margin: auto; padding: 0em; } nav a:hover { background-color: #2a9d8f; /* background-position-y: -20em; */ /* background-position: bottom; */ /* border-radius: 500px; */ transition: 150ms ease; } header { background-color: #1b1b1b; color: #c9cacc; margin: 0 auto; text-align: center; padding: 2rem; line-height: 1.75rem; border-top: 1.5px solid #666; border-bottom: 1.5px solid #666; } header img { width: 100px; border: 5px solid #666; border-radius: 165px; } h1 { line-height: 2rem; /* border: 1px solid red; */ /* margin: .5rem auto; */ /* justify-content: space-evenly; */ /* text-align: center; */ letter-spacing: 0.01rem; } h1 a { font-size: 3rem; color: #c9cacc; text-decoration: none; } h1 a:hover { color: #2a9d8f; } header h2 { font-weight: 200; font-size: 1.2rem; letter-spacing: 0.01rem; } h2, h3, h4 { letter-spacing: 0.01rem; } #aboutMe { border: 2px solid white; /* padding: 1.5rem; */ letter-spacing: 0.01rem; } #bio { border: 1px solid purple; padding: 1.5rem; text-align: start; } #bio h2 { font-size: 2.2rem; } #bio h4 { color: #666; font-size: 1.5rem; margin: 0 auto 20px; } #bio ul { line-height: 1.35rem; font-weight: 200; margin: 0; padding: 0; list-style-type: none; } #contact { /* justify-content: space-between; */ border: 1px solid red; padding: 1.5rem; } #contact h3 { font-size: 1.5rem; border: 1px solid salmon; } #contact ul { display: flex; /* text-align: start; */ border: 1px solid yellow; list-style-type: none; margin: 0; padding: 0; text-align: center; } .contactLinks li { display: flex; flex-direction: column; flex: 1; border: 1px solid green; } .contactLinks a { display: flex; flex-direction: column; /* flex: 1; */ color: #c9cacc; text-decoration: none; /* border-bottom: 1px solid #c9cacc; */ } .contactLinks a:hover { font-weight: 600; /* border-bottom: 2px solid #c9cacc; */ } #projects { display: flex; flex-direction: column; border: 2px solid green; /* padding: 1.5rem; */ } #projects h2 { margin: 0; padding: 1.5rem; font-size: 2rem; border: 1px solid #3d405b; } .project-item { display: flex; flex-direction: column; border: 1px solid blue; margin: 0 auto; text-align: center; font-weight: 200; letter-spacing: 0.01rem; /* padding: 1.5rem; */ } .project-item a { color: #c9cacc; text-decoration: none; } .project-item a:hover { color: #2a9d8f; } #projects h3 { font-size: 1.5rem; border: 1px solid brown; text-align: left; margin: 0 auto; padding: 1.5rem; letter-spacing: 0.01rem; } .project-skills { color: #666; border: 1px solid red; list-style: none; margin: 0 auto; line-height: 1.25rem; text-align: start; padding: 0 1.5rem; /* padding-top: 0; */ /* padding-bottom: 1.5rem; */ display: flex; align-items: baseline; } .project-skills h4 { border: 1px solid white; font-size: 1.5rem; flex: 1; /* text-align: end; */ } .project-skills li { border: 1px solid green; list-style-type: none; /* display: block; */ } .project-skills ul { flex: 2; line-height: 2rem; } .project-item img { width: 90%; /* border: 2px solid red; */ /* margin: auto; */ /* padding: 1.5rem; */ } footer { color: #666; display: flex; flex-direction: column; justify-content: space-around; align-items: center; margin: 0 auto; border: 1px dotted red; padding: 1rem; /* padding: 1rem; */ /* height: 90px; */ } #copyright { margin: 0.4rem; border: 1px solid yellow; letter-spacing: 0.1rem; } #footLinks { margin: 0.4rem; border: 1px solid blue; letter-spacing: 0.8rem; } #footLinks a { color: #666; } #footLinks a:hover { color: #c9cacc; transition: 160ms ease-in; } @media (min-width: 576px) { #wrapper { width: 560px; /* text-align: center; */ } nav { display: flex; } nav a { margin: auto; padding: 0.5rem; flex: 4; justify-content: flex-start; /* justify-content: space-between; */ } nav li { display: inline-block; } nav ul { display: flex; /* flex: 5; */ } #aboutMe { display: flex; } #bio { flex: 2; } #contact { flex: 1; text-align: end; } .contactLinks { display: flex; flex-direction: column; } .contactLinks li { align-items: flex-end; /* margin: auto; */ } .contactLinks a { flex-direction: row; /* justify-content:space-between; */ } .contactLinks i { /* border: 1px solid purple; */ margin: auto 5px; } #project-container { display: flex; flex-direction: row-reverse; } .project-item img { flex: 2; } .project-skills { flex: 1; margin: 0; padding: 0; text-align: end; flex-direction: column; align-items: flex-end; } .project-skills h4 { margin: 1.5rem; align-self: flex-start; } .project-skills ul { margin: 1.5rem; padding: 0; } .project-item a { align-self: start; } footer { margin: 0 auto; width: 87%; padding: 2rem; flex-direction: row; justify-content: space-between; /* width: 90%; */ } } @media (min-width: 1200px) { #wrapper { width: 920px; } nav { /* width: 150%; */ /* text-align: center; */ } }