html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none;
  color: black;
}
main {
  margin-top: 7rem;
  background-color: #faf9f6;
}
html {
  background-color: #faf9f6;
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #faf9f6;
  display: flex;
  padding: 1rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.1rem solid black;
}
.headertext {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.headnav {
  display: flex;
  gap: 1rem;
}

.svglogo {
  max-width: 4rem;
  min-width: 3rem;
}
.hometext {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
  width: 90%;
}
.pgi {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}
.vidcontent {
  max-width: 20rem;
  max-height: 20rem;
  border-radius: 3rem;
}
.squarevid {
  max-width: 15rem;
  border-radius: 2rem;
}
.vidcontent:hover {
  max-width: 25rem;
  max-height: 25rem;
  cursor: pointer;
}
.squarevid:hover {
  max-width: 17rem;
  cursor: pointer;
}
.footcontainer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
footer {
  margin-top: 8rem;
  margin-bottom: 3rem;
  margin-left: 2rem;
  margin-right: 2rem;
  background-color: #faf9f6;
}
.ikke {
  max-width: 50%;
  border-radius: 2rem;
  margin-top: 3rem;
}
.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem;
  align-items: center;
}
.abouttext {
  max-width: 80%;
}
.contact {
  margin: auto;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.contacticons {
  display: flex;
  gap: 3rem;
}
.svglogo:hover {
  width: 3.5rem;
}

@media screen and (width>800px) {
  .projectgrid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
    margin: auto;
    width: 75%;
  }

  .i1 {
    grid-column: 1 / 3;
  }
  .i3 {
    grid-row: 2 / 4;
  }
  .i4 {
    grid-column: 2 / 4;
  }
  .i5 {
    grid-column: 2 / 4;
  }
  .vidcontent:hover {
    max-width: 32rem;
    max-height: 32rem;
  }
  .vidcontent {
    max-width: 30rem;
    max-height: 30rem;
    border-radius: 3rem;
  }
  .headnav {
    gap: 4rem;
  }
  .headertext {
    gap: 1rem;
  }
  .ikke {
    max-width: 40%;
    border-radius: 3rem;
  }
  .about {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    margin: 2rem;
    align-items: center;
  }
  .abouttext {
    max-width: 40%;
  }
}

@media screen and (width>1200px) {
  .projectgrid {
    width: 60%;
  }
}
@media screen and (width>1900px) {
  .projectgrid {
    width: 40%;
  }
}
