* {
  box-sizing: border-box;
}
/* Custom CSS for Terminal Aesthetic */
body {
  background-color: #1a1a1a;
  color: #f8f8f2;
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}


body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #1a1a1a;
}

.item {
  cursor: pointer; /* Changes the cursor to a hand icon when hovering over the item */
}

.item:hover {
  --expand: 1;
}

.item__content {
  position: relative;
  overflow: hidden;
}

.item__content:before,
.item__content:after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  background: #0d0d0d;
  border: 2px solid #fff;
  top: 0;
  left: 0;
  z-index: -1;
  transition: transform 0.2s;
  transform: translate(-100%, -100%);
}

.item:hover .item__content:before,
.item:hover .item__content:after {
  transform: translate(0, 0);
}

.item__content:after {
  --expand: 1;
  transform: translate(calc(var(--expand) * -2%), calc(var(--expand) * -2%));
  transition: transform 0.2s; /* Added transition */
}

.item:hover .item__content:after {
  transform: translate(0, 0) scale(1.02);
}

.item:hover .item__content {
  box-shadow: 0 0 10px #c7edef; /* Adds a glow effect on hover */
  animation: glow 5s infinite; /* Adds an animated glow effect */
}

@keyframes glow {
  0% { box-shadow: 0 0 5px #c7edef; }
  50% { box-shadow: 0 0 20px #c7edef, 0 0 30px #c7edef; }
  100% { box-shadow: 0 0 5px #c7edef; }
}

a {
  color: #c7edef;
}


#home, #resume, #work_experience, #contact {
  display: none;
}

/* Styling for the rest of the page */

#hero h2 {
  color: #f8f8f2;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.notification {
  display: flex;
  flex-direction: column;
  isolation: isolate;
  position: relative;
  width: 60rem;
  height: 12rem;
  background: #29292c;
  border-radius: 1rem;
  overflow: hidden;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: 17px;
  
  --gradient: linear-gradient(to bottom, #2eadff, #3d83ff, #7e61ff);
  --color: #32a6ff
}

.notification:before {
  position: absolute;
  content: "";
  inset: 0.0625rem;
  border-radius: 0.9375rem;
  background: #18181b;
  z-index: 2
}

.notification:after {
  position: absolute;
  content: "";
  width: 0.25rem;
  inset: 0.65rem auto 0.65rem 0.5rem;
  border-radius: 0.125rem;
  background: var(--gradient);
  transition: transform 300ms ease;
  z-index: 4;
}

.notification:hover:after {
  transform: translateX(0.15rem)
}

.notititle {
  color: var(--color);
  padding: 0.65rem 0.25rem 0.4rem 1.25rem;
  font-weight: 500;
  font-size: 3.1rem;
  transition: transform 300ms ease;
  z-index: 5;
}

.notification:hover .notititle {
  transform: translateX(0.15rem)
}

.notibody {
  color: #FFFFFF;
  padding: 0 1.25rem;
  transition: transform 300ms ease;
  z-index: 5;
}

.notification:hover .notibody {
  transform: translateX(0.25rem)
}

.notiglow,
.notiborderglow {
  position: absolute;
  width: 20rem;
  height: 20rem;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle closest-side at center, white, transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.notiglow {
  z-index: 3;
}

.notiborderglow {
  z-index: 1;
}

.notification:hover .notiglow {
  opacity: 0.1
}

.notification:hover .notiborderglow {
  opacity: 0.1
}

.note {
  color: var(--color);
  position: fixed;
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
  width: 75%;
}
.scroll-btn {
  position: fixed;
  bottom: 20px;
  left: 4%;
  transform: translateX(-50%);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.scroll-btn.show {
  opacity: 1;
}

.scroll-btn a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.scroll-btn span {
  font-size: 14px;
  margin-bottom: 5px;
}

.scroll-btn svg {
  width: 60px;
  height: 27px;
}
