/* ====== BASE STYLES ====== */
html {
  font-size: 62.5%;
}
body {
  margin: 0;
  font-size: 1.6rem;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
h1 {
  text-transform: uppercase;
  font-family: "Telefon Black", Sans-Serif;
  margin-top: 3%;
  color: #1a1a1a;
  font-size: clamp(1rem, 5vw + 1rem, 3rem);
}
h1:hover {
  filter: grayscale(5%);
}
.white-text {
  color: #fff;
}
p {
  text-align: justify;
  letter-spacing: 1px;
  font-size: clamp(1rem, 0.8vw + 0.5rem, 1.6rem);
  padding: 0 20px;
}

.center {
  text-align: center;
}
.center:hover {
  transition: transform 2s;
  transform: scale(1.1);
}
a {
  color: #ffd583;
  text-decoration: none;
}
q {
  font-style: italic;
}
img {
  filter: grayscale(75%);
  border-radius: 8px;
  max-width: 100%;
  height: 340px;
  display: block;
  margin: 0 auto;
}
img:hover {
  filter: grayscale(5%);
  transition: transform 1s;
  transform: scale(1.1);
}
footer {
  padding: 2%;
  background-color: black;
}

footer p {
  color: #fff;
}

/* ====== NAVBAR ====== */
.Navbar {
  overflow: hidden;
  background-color: black;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}
.Navbar a {
  float: left;
  display: block;
  color: white;
  padding: 14px 16px;
  font-family:
    Avant Garde,
    Helvetica;
  font-size: 20px;
  text-align: center;
  position: relative;
}
.Navbar a:hover {
  background-color: #f4f4f4;
  color: black;
  font-weight: bold;
}
.Navbar a.active {
  background-color: #a9a9a9;
}
@media screen and (max-width: 576px) {
  .Navbar a {
    width: 25%;
    font-size: 12px;
  }
}

/* ====== LAYOUT CONTAINERS ====== */
.container {
  padding: 20px;
  background-color: #fff;
  width: 100%;
}
#Home {
  height: 100vh;
}
.home-container {
  background: linear-gradient(
    360deg,
    rgba(15, 26, 31, 0.5) 50%,
    rgba(125, 125, 125, 0.5) 69%,
    rgba(255, 255, 255, 0.5) 91%
  );
  color: white;
  width: 100%;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.home-container h1 {
  text-transform: uppercase;
  font-family: "Telefon Black", Sans-Serif;
  margin-top: 3%;
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
}

/* ====== VIDEO ====== */
#Typing_Video {
  position: fixed;
  right: 0;
  top: 0;
  min-width: 100%;
  z-index: -1;
}

/* ====== AVATAR ====== */
.avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.avatar-heading {
  font-size: 4rem;
  color: #ffd583;
  font-family: fantasy;
  line-height: 1.5px;
}
.avatar-container img {
  max-height: 200px;
}
@media screen and (max-width: 576px) {
  .avatar-container img {
    max-height: 150px;
  }
}
#wave-emoji {
  display: inline-block;
  font-size: 4rem;
  animation: wave 3s linear infinite;
  transform-origin: 70% 70%;
}
@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  50% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* ====== BUTTONS ====== */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5%;
}
.button-container a {
  color: #ffd583;
  padding: 10px 20px;
  border: solid 2px #ffd583;
  font-family: Arial, Helvetica, sans-serif;
}
.button-container a:hover {
  transform: scale(1.1);
  transition: transform 0.5s ease-in-out;
}

/* ====== ANIMATIONS ====== */
.svg-dropdown {
  animation: arrowanim 1s ease-out infinite;
  transform-origin: 0% 0%;
  position: absolute;
  bottom: 10px;
}
@keyframes arrowanim {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(5px);
  }
}
@keyframes moveVideoText {
  from {
    top: -100vw;
  }
  to {
    top: 0vw;
  }
}

* {
  box-sizing: border-box;
}

/* ====== CONTACT FORM ====== */
input.input-text,
textarea.input-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
input.input-text:hover {
  box-shadow: 0 0 5px #00004d inset;
}
input[type="submit"] {
  background-color: black;
  color: white;
  font-weight: bold;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
input[type="submit"]:hover {
  background-color: #fff;
  color: black;
  transform: scale(1);
  transition: transform 1.5s;
}
form {
  border-radius: 15px;
  background-color: #f2f2f2;
  padding: 30px;
}

/* ====== ABOUT/TECH STACK ====== */
#About {
  min-height: 100vmin;
  background-color: #282727;
  padding: 5vw 10vw;
}
@media (min-width: 1080px) {
  #About {
    padding: 5vw 20vw;
  }
}

#About h1 {
  color: #fff;
}
.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #282727;
  color: #fff;
}
.about-container h1 {
  color: #fff;
  text-align: left;
}
.tech-stack-container {
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  height: 93%;
  width: 100%;
}
.tech-stack-container h1 {
  color: #fff;
}
.tech-stack-images {
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 10px 0;
  gap: 30px;
}

@media (max-width: 576px) {
  .tech-stack-images {
    display: grid;
    grid-template-columns: auto auto;
  }
}

.tech-stack-item {
  background-color: #4e4a4a;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
  min-width: 150px;
}
.tech-stack-item p {
  color: #fff;
  text-align: center;
}
.tech-stack-item:hover {
  background-color: rgb(255, 213, 131, 0.8);
  transition: background-color 0.3s ease-in-out;
}
.tech-stack-item:hover p {
  color: #4e4a4a;
}
.tech-logo {
  filter: grayscale(30%);
  width: 50px;
  height: auto;
  padding: 2px;
}

/* ====== GITHUB BANNER/PROJECTS ====== */
.github-banner-container {
  margin-top: 10vmin;
  width: 100%;
}
.github-banner {
  background-color: #4e4a4a;
  padding: 20px;
  border-radius: 15px;
  margin: auto 0;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.github-banner a {
  display: flex;
  width: 100%;
  justify-content: space-between;
  color: #fff;
}
.github-banner:hover {
  transform: scale(1.015);
}
.github-banner p {
  padding: 0;
}
.arrow-svg {
  transform: rotate(270deg);
}
.github-banner-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* ====== PROJECTS SECTION ====== */
#Projects {
  padding: 5vw 10vw;
  background-color: #3c3e42;
}
@media (min-width: 1080px) {
  #Projects {
    padding: 5vw 20vw;
  }
}
.github-projects-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}
.github-projects-container h1 {
  color: #fff;
}
.github-projects {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.github-project {
  display: flex;
  flex-direction: row;
  border-radius: 5px;
  padding: 12px;
  position: relative;
}
.project-info {
  position: absolute;
  bottom: 0;
  left: 12px;
  color: #fff;
  background-color: rgba(0, 0, 1, 0.8);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  visibility: hidden;
}
.github-project img {
  filter: grayscale(10%);
  border-radius: 0;
  width: 100%;
  object-fit: cover;
}
.project-thumbnail {
  max-width: 400px;
  height: 400px;
  background-color: #fff;
  border: 2px solid #fff;
  overflow: hidden;
  padding: 5px;
}
.github-project p {
  color: #fff;
}
.github-project:hover .project-info {
  visibility: visible;
}

/* ====== CONTACT SECTION ====== */
#Contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #fff;
  padding: 5vw 4vw;
}
@media (min-width: 1080px) {
  #Contact {
    padding: 5vw 20vw;
  }
}
.contact-image {
  display: block;
  text-align: center;
}
.contact-image img {
  display: inline-block;
  filter: grayscale(0.4);
  width: 20px;
  height: 20px;
  margin: 0 6px;
}
.contact-container {
  width: 100%;
  background-color: #fff;
  padding: 10px 20px;
}
.contact-one {
  background-color: black;
}

/* ====== RESPONSIVE BREAKPOINTS ====== */
@media (max-width: 992px) {
  .container,
  .about-container {
    padding: 10px;
  }
  .project-thumbnail {
    max-width: 300px;
    height: 200px;
  }
}
@media (max-width: 768px) {
  .github-projects {
    flex-direction: row;
    gap: 16px;
  }
  .project-thumbnail {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 576px) {
  .Navbar a {
    width: 25%;
  }
  .avatar-container img {
    max-height: 150px;
  }
}
