*, *::before, *::after { box-sizing: border-box; } @font-face { font-family: Oswald; font-weight: 500; src: url('../fonts/Oswald/static/Oswald-Regular.ttf'); } @font-face { font-family: Poppins; font-weight: 500; src: url('../fonts/Poppins/Poppins-Regular.ttf'); } h1, h2, h3, h4, h5, h6 { margin : 0; font-weight: 200; } body { font-family: "Oswald"; font-weight: 700; } header h2 { font-size: 2rem; font-family: "Oswald", sans-serif; font-weight: 200; color:hsl(0, 0%, 78%); line-height: 2; letter-spacing: 0.05rem; } header p { color: hsl(0, 0%, 58%); text-align: center; line-height: 2.3; padding: 0 5%; font-size: 1rem; font-family: "Poppins",sans-serif; font-weight: 400; margin:0; } .background { position: absolute; background-color: hsl(0, 0%, 9%); width: 100%; height: 74vh; overflow: hidden; } .background::after { content: ""; position: absolute; bottom: -30px; left: -20%; width: 140%; height: 60px; background: white; border-radius: 50%; } .foreground { position: relative; padding: 1px; } header{ text-align: center; color : white; margin: 110px auto 20px; } .tabs-holder { width: 22rem; margin: 0 auto; text-align: center; background-color : hsl(0, 0%, 13%); color: white; border-radius: 500px; display: grid; grid-template-columns: 0.5fr 0.5fr; } .tab { border-radius : 4px; padding: 10px; border-radius: 500px; font-size: 0.75rem; font-weight: 100; font-family: "Poppins"; } .tab.active { background-color : hsl(158, 63%, 47%); } .job-card { width: 20rem; border-radius: 20px; height: 320px; background-color: white; box-shadow: 0 0 0.5rem hsl(0, 0%, 88%); overflow: hidden; padding: 28px 20px 28px 20px; margin-left: auto; margin-right: auto; margin-top:40px; text-align: center; } .job-card-header { display: grid; grid-template-columns: 3.5rem 1fr 1rem; grid-template-rows: 1fr; place-items: center center; gap:1rem; } .job-designator-avatar { background: hsl(0, 0%, 95%); border-radius: 50%; padding: 9px 7px 9px 10px; } .job-designator-avatar > img { width: 100%; } .job-designator-title { color: hsl(0, 0%, 58%); } .job-designator-title > h2 { font-size: 1.5rem; font-family: "Oswald"; color: hsl(0, 0%, 46%) } .job-designator-title > h4 { text-align: left; text-transform: uppercase; font-weight: bold; font-size: 0.75rem; letter-spacing: 0.05rem; margin-top: 4px; font-family: "Poppins"; color: hsl(0, 0%, 78%); } .separator { display: block; height: 1px; border-top: 2px solid hsl(0, 0%, 94%); margin: 20px 0px; } .job-description-container { display: flex; flex-direction: row; } .job-description-image { flex: 0 0 auto; justify-self: center; margin-left: 0.75rem; } .job-description { text-transform: capitalize; font-size: small; font-family: "Poppins"; color:hsl(0, 0%, 58%); margin-left: 1.25rem; } .green-outline-button{ border-radius: 500px; border: 1px solid hsl(158, 63%, 47%); padding :12px; color: hsl(158, 63%, 47%); font-weight: bold; font-family: "Poppins"; width: 94%; margin: 0.25rem; } .job-categories::before { content: ""; border-top: 4rem solid white; border-right: 50vw solid hsl(0, 0%, 9%); border-left: 50vw solid hsl(0, 0%, 9%); border-bottom: solid hsl(0, 0%, 9%); display: block; position: absolute; width: 0; height: 0; bottom: 0; top: 0; left: 0; } .job-categories{ position: relative; background-color: hsl(0, 0%, 9%); width: 100%; overflow: hidden; margin-top: 7vw; } .category-cards { display: flex; flex-flow: row wrap; justify-content: space-evenly; margin-bottom: 8rem; } .category-cards .card { flex: 0 0 44%; border-radius: 1.5rem; padding: 14px; margin: 6px; text-align: center; } .category-cards img { background: hsl(0, 0%, 95%); border-radius: 50%; padding: 10px; } .category-cards .tag-line { font-size: 1.2rem; font-weight: 600; } .category-cards .card-description { text-transform: capitalize; font-size: small; font-family: "Poppins"; color: hsl(0, 0%, 58%); } .design-category { background-color: hsl(355, 53%, 91%); color: hsl(353, 54%, 74%); } .development-category { background-color: hsl(180, 52%, 90%); color: hsl(179, 30%, 57%); } .marketing-category { background-color: hsl(83, 54%, 91%); color: hsl(79, 60%, 67%); } .operations-category { background-color: hsl(275, 57%, 91%); color: hsl(279, 39%, 72%); } .category-cards::after { content: ""; display: block; position: absolute; width: 0; height: 0; left: 0; border-left: 56vw solid hsl(0, 0%, 15%); border-right: 72vw solid hsl(0, 0%, 15%); border-top: 2rem solid hsl(0, 0%, 8%); bottom: 0; } .jobs-by-category::before { content: ""; display: block; border-left: 56vw solid transparent; border-right: 42vw solid transparent; border-top: 1rem solid hsl(0, 0%, 15%); }