@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@300;400;500;600;800&display=swap');

::-webkit-scrollbar {
  width: 16px;
}

::-webkit-scrollbar-track {
  background-color: transparent;
  transition: background-color 10s ease-in-out 0.2s;
  background-color: var(--menuBG);
}

::-webkit-scrollbar-track:hover {
  background-color: var(--cardBG);
}

::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--thumbBGHover);
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
}

body {
  font-family: "Poppins", sans-serif;

  background-color: var(--bodyBG);
  color: var(--textColor);
}

button {
  border: none;
  background-color: transparent;
  user-select: none;
}

button:hover {
  cursor: pointer;
}

a {
  text-decoration: none;
}

.email {
  color: var(--contactTextColor);
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 0.5ch;
}

.email:hover {
  cursor: pointer;
  text-decoration: underline;
}

h1 {
  font-weight: 500;
  font-size: 32px;
  line-height: 32px;
}

p {
  font-weight: 400;
  font-size: 12px;
  color: var(--textColor);
}

small {
  color: var(--textColor);
  font-weight: 300;
  font-size: 12px;
}

.invisible {
  opacity: 0;
}

.bodySection {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 7vh 30px;

  max-width: 1000px;
  margin: 0 auto;
}

#bottom {
  padding-top: 7vh;
}

.cardList {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.containedButton {
  font-weight: 600;
  font-size: 20px;

  padding: 12px 24px;
  width: fit-content;
  height: fit-content;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;

  background-color: var(--buttonBG);
  color: var(--textColor);
}

.containedButton>svg {
  width: 20px;
  height: 20px;
}

.smallContainedButton {
  font-weight: 600;
  padding: 12px 24px;
  width: fit-content;
  height: fit-content;

  display: grid;
  place-items: center;

  background-color: var(--buttonBG);
  color: var(--textColor);
}

.projectButton {
  padding: 0px 2px 2px 8px;
  border-bottom: 1px solid var(--textColor);
  border-left: 1px solid var(--textColor);
  color: var(--textColor);
  background-color: transparent;
}

.projectButton:active {
  border-bottom: none;
  border-left: none;

  border-top: 1px solid var(--textColor);
  border-right: 1px solid var(--textColor);
}

.sectionTitle {
  margin: 60px 0px 0px 0px;
  text-align: center;
  font-weight: 800;
  font-size: 32px;
  color: var(--textColor);
}

.projectCard {
  background-color: var(--cardBG);
  width: 100%;
  padding: 12px;
  border-radius: 10px;


  display: flex;
  flex-direction: column;
  gap: 6px;
}

.projectCard>.buttonWrap {
  display: flex;
  gap: 8px;
}

.projectCard>.technologies {
  display: flex;
  gap: 5px;
  width: 100%;
  overflow: hidden;
}

.technologies>li {
  color: var(--textColor);
  background-color: var(--tagBG);

  font-size: 11px;
  font-weight: 400;

  padding: 4px 10px;
  border-radius: 4px;
}

.cardTitle {
  color: var(--textHighlight);
  font-size: 16px;
  font-weight: 600;
}

.largeShadow {
  box-shadow: 0px 8px 12px 4px rgba(0, 0, 0, 0.30);
}

.smallShadow {
  box-shadow: 1px 2px 3px 0px rgba(0, 0, 0, 0.50);
}

.bothShadows {
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.30), 1px 2px 3px 0px rgba(0, 0, 0, 0.50);
}

.underEffect {
  box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.30) inset, 1px 2px 3px 0px rgba(0, 0, 0, 0.50) inset;
}

.containedButton,
.smallContainedButton {
  transition: 0.25s;
}

.containedButton:hover,
.smallContainedButton:hover {
  transform: scale(1.04);
}

.containedButton:active,
.smallContainedButton:active {
  transform: scale(0.96);
}

.email {
  font-weight: 300;
  font-size: 14px;
}

.fadeIn {
  animation: fadeIn 1s forwards;
}

@media screen and (min-width: 520px) {

  h1,
  .sectionTitle {
    font-size: 40px;
    line-height: 40px;
  }

  .bodySection {
    padding: 10vh 60px;
  }

  #bottom {
    padding-top: 10vh;
  }

  .projectButton {
    font-size: 18px;
    border-bottom: 2px solid;
    border-left: 2px solid;

    border-top: 2px solid transparent;
    border-right: 2px solid transparent;
  }

  .projectButton:hover {
    border-top: 2px solid;
    border-right: 2px solid;

    border-bottom: 2px solid transparent;
    border-left: 2px solid transparent;
  }

  .projectButton:active {
    border: 2px solid;
  }

  .containedButton {
    gap: 10px;
    padding: 16px 30px;
    font-size: 24px;
  }

  .containedButton>svg {
    height: 20px;
  }

  .miniButton {
    padding: 5px;
    width: 40px;
    height: 40px;
  }

  .cardTitle {
    font-size: 24px;
  }

  p {
    font-size: 16px;
  }

  .navButton {
    font-size: 14px;
  }
}

@media screen and (min-width: 774px) {

  h1,
  .sectionTitle {
    font-size: 48px;
    line-height: 48px;
  }

  .projectButton {
    font-size: 18px;
    border-bottom: 3px solid;
    border-left: 3px solid;

    border-top: 3px solid transparent;
    border-right: 3px solid transparent;
  }

  .projectButton:hover {
    border-top: 3px solid;
    border-right: 3px solid;

    border-bottom: 3px solid transparent;
    border-left: 3px solid transparent;
  }

  .projectButton:active {
    border: 3px solid;
  }

  .containedButton {
    gap: 12px;
    padding: 20px 36px;
    font-size: 28px;
  }

  .containedButton>svg {
    height: 24px;
  }

  .miniButton {
    height: 45px;
    width: 45px;
  }

  .cardTitle {
    font-size: 28px;
  }

  .bodySection {
    padding: 10vh 80px;
  }

  p {
    font-size: 24px;
  }
}