/* ========== Global Styles ========== */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #07081b;
  color: white;
  line-height: 1.5;
}

/* ========== Header (Navigation Bar) ========== */
.nav-center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  width: 7vw;
}

.nav-bar {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center items within the navbar */
  align-items: center; /* Horizontally center the items */
  height: 100%; /* Take up the full height of the parent container */
}

.nav-bar img {
  width: 30px;
  cursor: pointer;
  margin: 3vh 0; /* Add spacing between icons */
}

/* ========== Main Content ========== */
#main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Welcome Section */
.welcome-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  padding: 20px;
  height: auto;
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 30vw;
}

.details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-item {
  padding-left: 4px;
  display: flex;
  align-items: center;
}

.space {
  height: 20vh;
}

#hi {
  font-size: 4.4rem;
  margin-bottom: 18px;
}

#building,
#locopin {
  width: 1.5em;
  margin-right: 10px;
}

#portrait {
  width: 13vw;
  height: 13vw;
  border-radius: 50%;
  background-image: url("IMG_7251-removebg-preview.png");
  background-size: cover;
  transition: background-image 0.3s ease-in-out;
}

#portrait:hover {
  background-image: url("IMG_6981-removebg-preview.png");
}

/* Mission Section */
#mission {
  margin-top: 18px;
}

#mission-text {
  width: 44vw;
  font-size: 0.9rem;
  line-height: 1.6rem;
}

/* Tech Stack Section*/
.tech {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 160px;
  width: 55vw;
}

.tech img {
  width: 130px;
  height: auto;
}

#tech-text {
  padding-bottom: 40px;
}

/*Project Section*/
#projects {
  scroll-margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 80px 0px;
  width: 30vw;
}

#projects img {
  display: block;
  width: 13vw;
  height: auto;
  border-radius: 10px 10px 0 0;
}

#project-text {
  padding-left: 100px;
}

.desc {
  width: 13vw;

  background-color: #202046;
  border-radius: 0 0 10px 10px;
}
.title {
  font-size: 0.8rem;
  padding-left: 7px;
  padding-top: 5px;
}

.deets {
  display: flex;
  justify-content: flex-start;
}

.deets h6 {
  font-size: 0.7rem;
  padding: 2px 5px 5px 7px;
  color: rgb(176, 176, 176);
}

.project {
  border-radius: 10px;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.project:hover {
  transform: scale(1.05);
  box-shadow: 3px 3px 50px 10px #4e3ede;
}

/*Profile Section*/
#profile {
  width: 37vw;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#profile-text {
  padding-right: 100px;
  line-height: 3.3rem;
}

#profile h3 {
  font-size: 0.9rem;
}

/*ARDUINO PROJECT*/
.center-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 
.main-imgs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  border-radius: 10px;
} */

.front-imgs img {
  width: 35vw;
  height: auto;
}

.info {
  display: flex;
  justify-content: space-between;
  width: 70vw;
  flex-wrap: wrap;
  gap: 2vw 0;
  padding-top: 10vh;
}

.description,
.problem {
  width: 30vw;
  padding-bottom: 70px;
}

.main-imgs {
  width: 50vw;
  height: auto;
  padding: 0; /* Avoid padding inside the container */
  border-radius: 10px; /* Already applied */
}

ul,
ol {
  padding-top: 10px;
  padding-left: 15px;
  padding-bottom: 20px;
}

.centerr {
  display: flex;
  justify-content: center;
  width: 75vw;
}

.margin-bottom {
  margin-bottom: 20px;
}
.margin-top {
  margin-top: 20px;
}

#demonstration {
  scroll-margin-top: 80px;
}

.flexr {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.change-width {
  width: 30vw;
}

#img-small {
  width: 35vw;
  height: auto;
  padding-right: 10vw;
}

/*CODING*/
/* From Uiverse.io by Bastiennnn */
.coding-text {
  padding-top: 6vh;
  padding-bottom: 3vh;
}

.card {
  width: 60vw;
  height: 400px;
  margin: 0 auto;
  background-color: #202046;
  border-radius: 8px;
  z-index: 1;
  transition: 0.5s;
}

.top {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.circle {
  padding: 0 4px;
}

.circle2 {
  display: inline-block;
  align-items: center;
  width: 10px;
  height: 10px;
  padding: 1px;
  border-radius: 5px;
}

.red {
  background-color: #ff605c;
}

.yellow {
  background-color: #ffbd44;
}

.green {
  background-color: #00ca4e;
}

.header {
  margin: 5px;
  margin-top: 5px;
  border-radius: 5px;
}

.code-title {
  width: 52vw;
  display: flex;
  justify-content: center;
}

#title2 {
  color: white;

  font-size: 15px;
}

.code-container {
  text-align: center;
}
#code {
  width: 58vw;
  height: 355px;
  resize: none;
  background-color: #494664;
  border-radius: 5px;
  border: none;
  color: white;
  padding: 10px;
}

/*GENERAL*/
.space {
  height: 30vh;
}

.header-text {
  font-size: 3rem;
}
a {
  text-decoration: none;
  color: white;
}

/*VEX PROJECT*/
.img-box {
  display: flex;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 50px 100px;
}

.img-box img {
  width: 15vw;
  height: auto;
}

.yurp {
  text-align: center;
}

#vexcode {
  width: 10vw;
  height: auto;
}

.vex-imgs {
  width: 30vw;
}

.small-space {
  padding: 50px 0;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  padding-right: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #00000000;
}

/* Scrollbar thumb */
::-webkit-scrollbar-thumb {
  padding-right: 3px;
  border-radius: 3px; /* Smooth rounded edges */
  background-color: white; /* Default color of the scrollbar thumb */
  transition: background-color 0.3s ease-in-out; /* Faster transition for better user experience */
}

/* Scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover {
  background-color: #4e3ede; /* Highlight color on hover */
}
