div {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

body,
html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

p,
a {
  font-family: "Titillium Web";
  text-decoration: none;
}

.Screen {
  width: 100vw;
  height: auto;
  min-height: 100vh;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  -ms-flex-direction: column;
  -o-flex-direction: column;
  flex-direction: column;
}

.Landing_Section {
  width: 100%;
  height: 100vh;
  background-image: url(../images/PS_Theme.webp);
  background-size: cover;
  background-position: center;
  justify-content: space-between;
}

.h1_Projects {
  font-family: "Poppins";
  font-size: clamp(3em, 6vw, 7.5em);
  font-weight: 600;
  padding-bottom: 5vh;
  color: white;
  text-shadow: 0px 0px 20px grey;
  letter-spacing: -2px;
  margin-left: 5%;
  margin-bottom: 2vh;
}

.Category_Section {
  width: 90vw;
  padding-left: 5vw;
  padding-right: 5vw;
  height: auto;
  align-items: center;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 15vh;
  margin-bottom: 5vh;
}

.Category_Item {
  display: flex;
  width: 29vw;
  height: 20vw;
  margin-left: 0.25vw;
  margin-right: 0.25vw;
  box-shadow: 0px 0px 3px 0px grey;
  margin-top: 1vw;
  margin-bottom: 1vw;
  align-items: center;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  transition: 0.3s ease;
  min-width: 20rem;
}

.Category_Item p {
  text-transform: uppercase;
  font-family: "Titillium Web";
  font-weight: 600;
  font-size: clamp(1em, 1.5vw, 1.5em);
  color: white;
  width: 90%;
}

.Projects_Section {
  width: 90vw;
  padding-left: 5vw;
  padding-right: 5vw;
  flex-direction: column;
  height: auto;
  margin-top: 5vh;
  margin-bottom: 10vh;
}

.Category_List {
  width: 100%;
  height: auto;
  margin-top: 5vh;
  margin-bottom: 5vh;
}

.Category_List_Heading {
  font-family: "Manrope";
  font-weight: 500;
  font-size: clamp(1em, 3vw, 4em);
  margin-top: 2vh;
  margin-bottom: 2vh;
}

.Category_List_Holder {
  width: 100%;
  height: auto;
  flex-direction: row;
  flex-wrap: wrap;
}

.Category_List_Item {
  display: flex;
  width: 30vw;
  height: 20vw;
  box-shadow: 0px 0px 5px 0px grey;
  margin-top: 1vw;
  margin-right: 0.5vw;
  margin-left: 0.5vw;
  justify-content: flex-end;
  transition: 0.3s ease;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-width: 20rem;
}

.CLI_Heading {
  width: 90%;
  height: auto;
  font-family: "Manrope";
  font-size: clamp(0.81em, 1.25vw, 1.5em);
  font-weight: 900;
  color: white;
  text-shadow: 0px 0px 5px black;
  text-transform: uppercase;
  margin: 0;
}

.CLI_Overlayer {
  width: 90%;
  padding-bottom: 1.5vw;
  padding-top: 1.5vw;
  padding-left: 5%;
  padding-right: 5%;
  justify-content: flex-end;
  background-color: rgb(0, 0, 0, 0.5);
  transition: 0.3s ease;
}

.CI_Overlayer {
  width: 100%;
  height: 100%;
  justify-content: flex-end;
  background-color: rgb(0, 0, 0, 0.6);
  transition: 0.3s ease;
  align-items: center;
}

.Category_List_Item:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.Category_Item:hover .CI_Overlayer {
  background-color: rgb(0, 0, 0, 0.3);
  cursor: pointer;
}

/*
  * The following code is for the mobile version of the website
  */

@media (max-width: 700px) {
  .Category_List_Item,
  .Category_Item {
    height: 35vw;
    width: 40vw;
    min-width: unset;
    margin-left: 0.5vw;
    margin-right: 0.5vw;
  }
}
