:root { --blue: #2c4c5c; --gray: #b8bfc1; --yellow: #f3e308; --lightBlue: #6c8494; --yellowGreen: #9cac54; --lightGreen: #97cd97; --hackerGreen: #70ffaf; --teal: #a7f0dd; --white: #f4fcfb; --black: #000000; /*Margins*/ --margin-PC: 8rem; --margin-Tablet: 6rem; --margin-Phone: 4rem; /*Breakpoints*/ --BreakL: 1328px; --BreakM: 900px; --BreakS: 600px; } * { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; } body { background: var(--white); transition: 0.3s; font-family: "Slabo 13px", serif; font-style: normal; } span { color: var(--white); } .Projects-Heading { display: flex; background-color: var(--blue); transform: skew(14deg); width: 100%; padding: 0 2rem; } #Websites { display: flex; align-items: center; flex-direction: column; } .Websites-Title { margin-top: 2rem; margin-bottom: var(--margin-Phone); font-size: 21px; } @media (min-width: 600px) { .Websites-Title { font-size: 2.5rem; } } @media (min-width: 1328px) { .Websites-Title { margin: 4rem 0; font-size: 45px; padding-left: 2rem; } } /*// Projects //*/ .Grid-Container { display: grid; grid-template-columns: 2fr; column-gap: 2rem; row-gap: 1.2rem; } @media (min-width: 1328px) { .Grid-Container { grid-template-columns: 1fr 1fr; } } .Card { border: 4px solid var(--blue); border-radius: 20px; padding: 1rem; text-align: center; transition: transform 0.3s ease; margin-bottom: var(--margin-Phone); z-index: 10; } @media (min-width: 600px) { .Card { margin-bottom: var(--margin-Tablet); } } .Card:hover p { color: black; } .Card:hover { transform: scale(1.05); } .Card-Title { text-decoration: none; font-size: 16px; font-weight: bold; color: var(--purple); transition: color 0.3s; } @media (min-width: 900px) { .Card-Title { font-size: 24px; margin: 0.5rem 0; } } a:link, p:visited, p:hover, p:active { text-decoration: none; color: inherit; } .Card-Image { height: 8rem; object-fit: cover; transition: 0.3s ease; } @media (min-width: 600px) { .Card-Image { height: 15rem; } } @media (min-width: 1328px) { .Card-Image { height: 16rem; } } .Card-Image:hover { color: var(--beige); }