* {
  margin: 0;
}

@font-face {
  font-family: Procrastinating Pixie;
  src: url(/ProcrastinatingPixie-WyVOO.ttf);
}

.right {
  float: right;
  margin-right: 2rem;
  margin-top: -2rem;
}
a {
  color: cyan;
  text-decoration: none;
}

h2 a {
  color: white;
  text-decoration: none;
}
h1 a {
  color: white;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}
body {
  background-image: url("/Home%20Images/background.jpg");
  background-color: #000000;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  color: #ffffff;
  font-family: "Kanit", sans-serif;
}
.divider2 {
  background-color: white;
  width: 100vw;
  margin-left: -2vw;
  margin-top: 1.5rem;
  height: 0.1rem;
}
.arrow {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  width: 5rem;
}

.arrow1 {
  position: absolute;
  background-color: white;
  width: 3rem;
  bottom: 7rem;
  height: 0.5rem;
  border-radius: 10px;
  transform: rotate(45deg);
}
.arrow2 {
  position: absolute;
  background-color: white;
  width: 3rem;
  bottom: 7rem;
  height: 0.5rem;
  margin-left: 1.75rem;
  border-radius: 10px;
  transform: rotate(-45deg);
}

mark {
  color: black;
  background-color: cyan;
  border-radius: 20px;
  padding-right: 5px;
  padding-left: 5px;
}
#topbar {
  width: 100%;
  max-width: 100%;
  height: fit-content;
  background-color: #151e30;
  position: fied;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding-top: 1rem;
  margin-top: 0;
  padding-left: 2vw;
  text-align: center;
  display: block;
}

.siteimage {
  height: 25vw;
}
#container3 {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  border: 0.1rem solid white;
  height: fit-content;
  position: relative;
  margin-top: 5rem;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 2vw;
  margin-bottom: 10rem;
}

#container4 {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100vw;
  border: 0.1rem solid white;
  height: fit-content;
  position: relative;
  margin-top: 5rem;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  padding: 2vw;
  margin-bottom: 5rem;
}

h1 {
  margin-right: 70%;
  font-family: "Procrastinating Pixie", sans-serif;
}

.caption {
  background-color: rgba(0, 0, 0, 0.5);
  font-size: 0.75rem;
  color: white;
  width: fit-content;
  margin: auto;
  padding: 10px;
}
.logogrid {
  margin: auto;
  width: 60vw;
}

td {
  vertical-align: top;
}

td img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.gridcon {
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
h4 {
  font-size: 3rem;
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: "Procrastinating Pixie", sans-serif;

  transform: translate(-50%, -50%);
}
h5 {
  font-size: 3rem;
  padding: 10px;
  font-family: "Procrastinating Pixie", sans-serif;
}
.projecttext {
  text-align: center;
}
.mainimage {
  width: 25vw;
  margin-top: 0;
}

h2 {
  text-align: center;
  font-family: "Procrastinating Pixie", sans-serif;
}

.projectgrid {
  display: grid;
  font-family: "Procrastinating Pixie", sans-serif;
  grid-template-columns: 33.333% 33.333% 33.333%;
  grid-template-rows: 11em 11em 11em;

  margin-bottom: 10rem;
  border: 0.05rem solid white;
}
.project {
  text-align: center;
  border: 0.05rem solid white;
  height: 11em;
  color: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: center;
  align-items: center;
}

#p1 {
  background-image: url("/Home%20Images/background.jpg");
}
#p1:hover {
  background-image: none;
}

.project:hover {
  color: black;
  background-color: cyan;
  border: 0.05rem solid cyan;
}

@media only screen and (orientation: portrait) {
  .logogrid {
    width: 90vw;
  }
  .projecttext {
    font-size: 2rem;
  }
  .mainimage {
    width: 40vw;
  }
}
