@import url("https://fonts.googleapis.com/css2?family=Andada+Pro:ital@1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital@1&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mingzat&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Enriqueta:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  background-color: #4f14a3;
}
a {
  all: unset;
}
a:hover {
  cursor: pointer;
}

.header {
  height: 40px;
  width: 100%;
  background-color: blueviolet;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-family: "Andada Pro", serif;
  position: absolute;
  z-index: 1;
}
.hitem {
  color: white;
  font-size: calc(2vw + 1vh + 0.5rem);
  height: 100%;
  display: flex;
  align-items: center;
}
.hitem:hover {
  background-color: #6d97ce;
}
.logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
}
.logo img {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
}
.home {
  display: flex;
}
.home section {
  height: 70%;
}
.hometext {
  height: 70%;
  width: 600px;
  border: 1px solid rgb(245, 238, 238);
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 50px 50px 20px 20px;
  color: white;
  font-family: "Montserrat", sans-serif;
  background: #6505bf;
  margin-right: 20px;
}
.myprojects {
  overflow: scroll;
}
.home section {
  display: flex;
  justify-content: center;
}

.hometext > *:nth-child(1) {
  font-size: 2vw;
}
.hometext > *:nth-child(2) {
  font-size: 5vw;
}
.hometext > *:nth-child(2) i {
  color: tomato;
}
.hometext > *:nth-child(3) {
  font-size: 3vw;
}
.hometext > *:nth-child(4) {
  font-size: 3vmin;
}
.buttons {
  display: flex;
  justify-content: space-around;
}
.buttons > a {
  background-color: #674ade;
  border-radius: 40px;
  width: 40%;
  font-family: "Mingzat", sans-serif;
  color: whitesmoke;
  font-size: 2.5vw;
  font-weight: bolder;
  outline: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.buttons a:hover {
  background-color: rgba(24, 3, 77, 0.381);
}
.home section {
  display: flex;
}
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 10px;
  padding: 20px;
  justify-items: center;
}
.myprojects {
  background-color: #f8ceec;
  background-image: linear-gradient(315deg, #f8ceec 0%, #a88beb 74%);
}
.project-item {
  width: 300px;
  height: 400px;
  /* background-color: #cfcdcd; */
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(47, 47, 47);
}
.project-item-img {
  height: 50%;
  display: flex;
  align-items: center;
}

.project-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-item-text div {
  font-size: 0.8rem;
  padding: 0;
  color: #000000;
  width: 90%;
}
.project-item-text img {
  width: 20px !important;
}
.project-item-text,
.project-page-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title {
  font-family: "Montserrat", sans-serif;
  padding: 10px;
  font-size: 1.5rem;
  background-color: thistle;
  width: 99%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 5px;
}

.view {
  border-radius: 50%;
  transition: transform 0.3s ease-in-out;
  margin-right: 5px;
}
.view:hover {
  transform: scale(1.2);
}
.github {
  transition: transform 0.5s ease-in-out;
  cursor: pointer;
  border-radius: 50%;
  background-color: rgb(244, 231, 231);
}
.github:hover {
  transform: rotateZ(360deg);
}

.tools {
  margin-top: 10px;
  display: flex;
  align-items: center;
}

.tools img {
  border-radius: 30%;
  margin-left: 10px;
  width: 50px;
}
.description,
.skills {
  font-family: "Montserrat", sans-serif;
  padding: 10px;
  color: white;
}
.description center,
.skills {
  color: black;
  background-color: thistle;
}
.skills {
  width: 90%;
  text-align: center;
  margin-top: 10px;
}
.title,
.skills,
.description center {
  border: 1px solid rgb(47, 47, 47);
}
.description center {
  margin-bottom: 5px;
}
.description {
  text-align: center;
  padding: 10px;
  margin: 5px;
}
.fp-watermark {
  display: none;
}
.contactitem {
  display: flex;
  border: 1px solid white;
  width: 60%;
}
.contacttext {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  color: white;
  font-family: "Montserrat", sans-serif;
  margin-left: 5px;
  font-size: calc(1vw + 0.6em);
}
.contacticons {
  background: #fff;
  display: flex;
  justify-content: space-around;
  width: 60%;
  padding: 20px 1px;
}
.contacticons img {
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}
.contacticons img:hover {
  transform: rotateZ(10deg);
}

.contact h1,
#games {
  font-family: "Montserrat", sans-serif;
  font-size: calc(4vw + 1em);
  color: white;
  text-transform: capitalize;
  margin-bottom: 20px;
}
#games {
  font-size: 2rem;
  text-align: center;
  margin: 0;
  text-shadow: 1px 2px 0px #4f14a3;
}
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contactimg {
  background: #fff;
  /* border-radius: 50%; */
  padding: 1px;
}
.contactsection {
  overflow: hidden;
}
@media (max-width: 1200px) {
  .homeimg img {
    max-width: 100%;
  }
}
@media (max-width: 800px) {
  .hometext {
    width: 80%;
  }
  .homeimg {
    display: none;
  }
  .hometext > *:nth-child(1) {
    font-size: 1rem;
  }
  .hometext > *:nth-child(2) {
    font-size: 2rem;
  }

  .hometext > *:nth-child(3) {
    font-size: 2rem;
  }
  .hometext > *:nth-child(4) {
    font-size: 1rem;
    font-weight: 600;
  }
  .buttons a {
    font-size: 1.3rem;
  }
}
.hometext {
  z-index: 1;
}
.home section {
  height: 100%;
  display: flex;
  align-items: center;
}
.home canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
.about {
  font-family: "Nunito", sans-serif;
  color: white;
  align-items: center;
  justify-content: center;
}
.about div {
  /* width: 100%; */
  font-size: 1rem;
  background-color: #6505bf;
  padding: 20px;
}
.about h1 {
  color: #fd67de;
  background-color: #5209a0;
  padding-left: 10px;
  font-family: "Enriqueta", serif;
  text-shadow: 1px 1px 5px #000000;
}
.glide__slide {
  border: 1px solid rgb(255, 255, 255);
  height: 100px;
  width: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.glide__slide .glideimage {
  width: 80px;
  height: 80px;
  padding: 0;
  margin: 0;
}
.glide__slide .glidetext {
  padding: 0;
  margin: 0;
  width: 100px;
  height: 20px;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.glideimage img {
  width: 100%;
  height: 100%;
}

.glide__arrow {
  border-radius: 50%;
  height: 30px;
  width: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #4212e1;
  border: 1px solid white;
}
.glide {
  padding: 0 !important;
}
.project-page {
  height: calc(100vh - 40px);
  width: 100vw;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-evenly;
  align-items: flex-start;
  overflow-y: scroll;
}
.project-page-text {
  height: 100%;
  width: 60%;
  z-index: 1;
}
.project-page-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.project-page-img img {
  height: 300px;
  /* width: 60%; */
  z-index: 1;
}

.project-page-img img {
  /* width: 100%; */
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.project-page canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
#project1 {
  padding-top: 5px !important;
  overflow: hidden;
}
@media (max-width: 500px) {
  .project-page {
    display: flex;
    align-items: center;
    flex-direction: column-reverse !important;
  }
  .skills,
  .description,
  .project-page-text {
    width: 100% !important;
  }
  .tools img {
    width: 40px;
  }
}
.section {
  padding-top: 50px !important;
}
.contactsection {
  padding-top: 0px !important;
  margin-top: 50px;
  overflow: hidden;
  height: calc(100% - 50px);
}
#project1 {
  padding-top: 50px !important;
  height: 100%;
}
.title {
  z-index: 1;
}
