* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Belanosima", sans-serif;
}

header {
  width: 100%;
  height: 12vh;
  background-color: beige;
  font-size: 1.5rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  text-transform: capitalize;
  padding: 5px;
  box-sizing: border-box;
}

.link-wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
/* main container for breaking points */
.container {
  width: 100%;
  display: flex;
  flex-direction: row;
}

.nav {
  background-image: radial-gradient(
    circle farthest-corner at 22.4% 21.7%,
    rgba(4, 189, 228, 1) 0%,
    rgba(2, 83, 185, 1) 100.2%
  );
  width: 22%;
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.main {
  width: 78%;
  height: 75vh;
  overflow: scroll;
  text-align: justify;
  padding: 0.5em;
  box-sizing: border-box;
}
.projwrap {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
}
main a {
  /* color: black; */
  width: 90%;
  height: 10vh;
  margin: 0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  text-decoration: none;
  background-color: rgb(48, 26, 90);
  text-decoration: none;
}
main a:active {
  background-color: blanchedalmond;
  color: black;
  border: 1px solid rgb(14, 4, 71);
}

h4 {
  position: sticky;
  width: 100%;
  height: 7%;
  margin: 0.5em 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

a {
  color: white;
  width: 42%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
}
a:active {
  background-color: transparent;
}

a img {
  width: 70%;
}
header > button {
  width: 20%;
  padding: 0.2em;
  /* height: 100%; */
}

#btnimg {
  width: 25%;
}
/* this is footer */
footer {
  width: 100%;
  height: 13vh;
  background-color: beige;
  color: rgb(35, 31, 31);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
footer div {
display: flex;
justify-content: space-around;
align-items: center;
}
  

footer a{
  margin: 0.2em;
}

/* media queries */
@media screen and (min-width: 600px) {
  main div a {
    width: 45%;
    margin: 0.2em;
  }
  .projwrap {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
  a {
    width: 42%;
    /* height: auto; */
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }
  a img {
    width: 50%;
  }
  #btnimg {
    width: 20%;
  }
}

@media screen and (min-width: 768px) {
  main div a:hover {
    border: 2px solid rgb(87, 255, 3);
    box-sizing: border-box;
  }
  main div a {
    width: 25%;
    margin: 0.2em;
  }

  .container {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .link-wrapper {
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }

  .nav {
    background-image: radial-gradient(
      circle farthest-corner at 22.4% 21.7%,
      rgba(4, 189, 228, 1) 0%,
      rgba(2, 83, 185, 1) 100.2%
    );
    width: 100%;
    height: 15vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    user-select: none;
    box-sizing: border-box;
  }

  .main {
    width: 100%;
    height: 60vh;
    padding: 0.2rem;
    box-sizing: border-box;
    text-align: justify;
    scroll-snap-type: mandatory;
  }
  a {
    width: 10%;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-decoration: none;
    /* border-radius: 50%; */
  }
  a img {
    width: 40%;
  }
  a:hover > img {
    width: 45%;
    transition-duration: 0.2s;
  }
  #btnimg {
    width: 15%;
  }
}

@media screen and (min-width: 1024px) {
  main div a {
    width: 20%;
    margin: 0.2em;
  }

  a {
    width: 10%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    text-decoration: none;
  }
  a img {
    width: 30%;
  }
  #btnimg {
    width: 10%;
  }
}

/* menu button event */
.toggle_menu_mobile {
  display: none;
}
.allwrap {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* dark theme */
.darktheme {
  background-color: #121212;
  color: white;
  border: 0.5px inset white;
  box-sizing: border-box;
}
