@view-transition {
  navigation: auto;
}
: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;
  padding: 0 2rem;
}

.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(--black);
  transition: color 0.3s;
  border-bottom: 2px solid var(--blue);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  width: calc(40% + 10px);
  margin: 0 auto;
  margin-top: var(--margin-Phone);
  justify-content: center;

  @media (min-width: 900px) {
    font-size: 24px;
  }
}

a:link,
p:visited,
p:hover,
p:active {
  text-decoration: none;
  color: inherit;
}

.Card-Image {
  height: 8rem;
  object-fit: cover;
  transition: 0.3s ease;
  border-radius: 20px;

  @media (min-width: 600px) {
    height: 15rem;
    width: 30rem;
  }

  @media (min-width: 1328px) {
    height: 16rem;
  }
}

.Card-Image:hover {
  color: var(--beige);
}

.Card-Text {
  font-size: 1.2rem;
  display: flex;
  color: black;
  justify-content: center;
  margin: 0 auto;
  line-height: 1.5rem;
  width: 80%;
  margin-top: var(--margin-Phone);

  @media (min-width: 672px) {
    font-size: 1.2rem;
  }
}
