*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

body{
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow: auto;
  position: relative;
  background: linear-gradient(-45deg, #0f2027, #162160, #000428, #434343);
  background-size: 400% 400%;
  animation: gradientMove 20s ease-in-out infinite;
}
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
canvas#galaxy {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  display: block;
}

header{
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
.navbar-brand{
  color: white;
  transition: 0.2s;
}
.navbar-brand:hover,
.navbar-brand:focus{
  text-decoration: underline !important;
   color: rgb(42, 181, 116);  
}
.navbar-nav{
  margin-left: 30%;
}
.navbar-nav a{
  margin-left: 10%;
}
.navbar-nav .nav-link {
  color: rgb(255, 255, 255) ;
  transition: color 0.2s, background 0.2s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
   text-decoration: underline;
   color: rgb(42, 181, 116);         
}
.navbar-nav .nav-link.active{
  color:rgb(42, 181, 116) ;
  text-decoration: underline;
}

/* styling for main */
main{
  display: block !important;
  margin-top: 5%;
  color: white !important;
  position: relative;
  min-height: 70vh;
}
.job{
  margin-left: 4%;
  color: rgb(139, 139, 139);
  font-size: larger;
}
.pdesc h3{
  margin-left: 4%;
  font-size: 45px;
}
.pdesc h2{
  margin-left: 4%;
  font-size: 55px;
  color: rgb(42, 181, 116);
}
.summary{
  margin-left: 4%;
  font-size: large;
  color: rgb(194, 191, 191);
}

/* Styling for changing page */
.section {
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  min-height: 70vh;
}
.section.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

#main-content.fade-blur {
  opacity: 1;
  filter: blur(0);
  transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), filter 0.9s cubic-bezier(0.4,0,0.2,1);
}
#main-content.fade-blur.fade-blur-out {
  opacity: 0;
  filter: blur(8px);
}

/* styling for card (Bootstrap/service cards only) */
.card-body {
  background-color: #162160;
  color: white;
  transition-duration: .5s;
}
.card-body:hover{
  background-color: #000428;
  color: rgb(42, 181, 116);
  transition-duration: .5s;
}

/* styling for resume page - scoped only to .resume */
.resume .container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 2vw;
}

.resume .tabs {
  display: flex;
  gap: 5px;
  margin: 20px 0 20px 0;
  background: linear-gradient(90deg, #181a20 60%, #21243a 100%);
  border-radius: 8px;
  padding: 15px 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.resume .tab {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1.15em;
  color: #ccc;
  padding: 10px 10px;
  border-radius: 10px;
  margin: 0 4px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.resume .tab.active {
  background: #142b23;
  color: #00e184;
  border: 2px solid #15e084;
}
.resume .tab i {
  font-size: 1.1em;
}

.resume .tab-content {
  display: none;
}
.resume .tab-content.active {
  display: block;
}
@keyframes fadeIn {
  from { opacity: 0;}
  to { opacity: 1;}
}

.resume h1 {
  color: rgb(42, 181, 116);
  font-size: 2.5em;
  margin-top: 0;
  margin-bottom: 36px;
  font-family: 'Fira Mono', monospace;
  font-weight: 700;
}

.resume .card {
  background: #191e26;
  border-radius: 10px;
  padding: 38px 32px 28px 32px;
  margin-bottom: 36px;
  box-shadow: 0 0 0 1px #22293a, 0 6px 48px 0 rgb(0 0 0 / 0.13);
  transition: box-shadow 0.2s;
}
.resume .card:hover {
  box-shadow: 0 0 0 1px rgb(42, 181, 116), 0 8px 50px 0 rgb(0 0 0 / 0.17);
}

.resume .card h2 {
  color: #fff;
  font-size: 1.5em;
  margin: 0 0 12px 0;
  font-family: 'Fira Mono', monospace;
  font-weight: 700;
}
.resume .company {
  font-size: 1.18em;
  color: #b7b7b7;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.resume .date-row {
  color: #bbb;
  font-size: 1.15em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.resume .card p {
  font-size: 1.06em;
  line-height: 1.6;
  color: #d9e1e8;
  margin: 0 0 22px 0;
  letter-spacing: 1.2px;
  font-family: 'Fira Mono', monospace;
  font-weight: 400;
}

.resume .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.resume .tags span {
  background: #01291b;
  color: rgb(42, 181, 116);
  font-size: 1em;
  border-radius: 18px;
  padding: 7px 22px;
  font-family: inherit;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: 1px;
  border: 1.5px solid #038e54;
  transition: background 0.15s, color 0.15s;
}
.resume .tags span:hover {
  background: rgb(42, 181, 116);
  color: #191e26;
}

@media (max-width: 820px) {
  .resume .tabs { flex-wrap: wrap; }
  .resume .tab { font-size: 1em; padding: 8px 18px; }
  .resume .container { padding: 0 4vw; }
  .resume .card { padding: 26px 10px 16px 10px; }
  .resume h1 { font-size: 2em; }
}

::-webkit-scrollbar {
  width: 9px;
  background: #1c1e23;
}
::-webkit-scrollbar-thumb {
  background: #2e3747;
  border-radius: 6px;
}

/* Tab switching for resume only */
.resume .tab-content { display: none; }
.resume .tab-content.active { display: block; }
.resume .tab.active { color: rgb(42, 181, 116); }

.contact.list-unstyled{
  border: 2px solid red;
}