html {
  font-family: 'Montserrat' !important;
}

::selection {
  background: rgba(194,194,194,0.45);
}

body {
  margin: 0;
  font-family: 'Montserrat';
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

.navbar {
  --bs-navbar-padding-x: 0;
  --bs-navbar-padding-y: 0.5rem;
  /*--bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);*/
  /*--bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);*/
  /*--bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);*/
  /*--bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);*/
  --bs-navbar-brand-padding-y: 0.3125rem;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  /*--bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);*/
  /*--bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);*/
  --bs-navbar-nav-link-padding-x: 0.8rem;
  --bs-navbar-toggler-padding-y: 0.25rem;
  --bs-navbar-toggler-padding-x: 0.75rem;
  --bs-navbar-toggler-font-size: 1.25rem;
  /*--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");*/
  --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
  --bs-navbar-toggler-border-radius: var(--bs-border-radius);
  --bs-navbar-toggler-focus-width: 0.25rem;
  --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
  /*position: relative;*/
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}

.navbar-dark {
  font-family: 'Montserrat';
  --bs-navbar-color: rgba(255, 255, 255, 0.55);
  --bs-navbar-hover-color: rgba(255,182,10,0.75);
  --bs-navbar-disabled-color: rgba(255, 255, 255, 0.25);
  --bs-navbar-active-color: #FFB60A;
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.1);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#main_name {
  font-weight: 200;
  letter-spacing: 7px;
  font-size: 0.9rem;
  display: none;
  transition-duration: 0s;
  padding-left: 10px;
}

#work-h1 {
  letter-spacing: 2px;
  text-align: center;
  padding: 2.5rem 2rem 5.5rem 2rem;
  font-size: 4.5rem;
}

.work-p {
  font-family: 'Montserrat';
  text-align: center;
  padding: 2.5rem 4rem 5.5rem 4rem;
  font-size: 1.5rem;
}

#job-overview p {
  margin-bottom: 0;
}

#job-overview {
  padding-top: 3rem;
  padding-bottom: 2rem;
  max-width: 90%;
}

@media (max-width: 768px) {
  #job-overview {
    max-width: 75%;
  }
}

#about_h1 {
  font-family: 'Montserrat';
  letter-spacing: 2px;
  text-align: center;
  padding: 5rem;
  font-size: 2.5em;
}

#about_text {
  font-family: 'Montserrat';
  text-align: center;
  margin: 0px 12rem 5rem 12rem;
  font-size: 25px;
  line-height: 2em;
}

@media (max-width: 768px) {
  #about_text {
    margin: 0px 5rem 3rem 5rem;
    font-size: 21px;
  }
}

.summary-text {
  letter-spacing: 1rem;
  font-weight: 100;
  /*font-size: 28px;*/
  font-weight: 300;
  font-family: 'Montserrat';
  margin-bottom: 1rem !important;
}

@media (min-width:768px) {
  .justify-content-md-start {
    justify-content: center!important;
  }
}

.wrapper {
  min-height: 100%;
  overflow: visible;
  perspective: 10px;
  transform-style: preserve-3d;
  position: relative;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.background {
  z-index: -2;
  transform: translateZ(-30px) scale(4);
  will-change: transform;
}

.midground {
  z-index: -1;
  transform: translateZ(-10px) scale(2);
  will-change: transform;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
  clear: both;
  font-weight: 400;
  color: var(--bs-dropdown-link-color);
  text-align: right;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}

.rowspan-2 {
  grid-row: span 2;
}

.colspan-2 {
  grid-column: span 2;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*grid-auto-rows: 180px;*/
  gap: 1.5rem;
  width: min(90%, 70rem);
  margin-inline: auto;
  padding-block: 2rem;
}

.work-grid-cover-div {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/9;
}

.work-grid-cover-image, .work-grid-cover-div video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas: "a a" "b c" "f f" "d e";
  }
}

@media (max-width: 768px) {
  .a {
    grid-area: a;
  }
}

@media (max-width: 768px) {
  .b {
    grid-area: b;
  }
}

@media (max-width: 768px) {
  .c {
    grid-area: c;
  }
}

@media (max-width: 768px) {
  .d {
    grid-area: d;
  }
}

@media (max-width: 768px) {
  .e {
    grid-area: e;
  }
}

@media (max-width: 768px) {
  .f {
    grid-area: f;
  }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(130,125,107,0.68);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  pointer-events: none;
}

.work-grid-cover-div:hover .overlay {
  opacity: 1;
}

.bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
}

.bubble {
  position: absolute;
  width: 40px;
  height: 40px;
  background: #181818;
  border-radius: 50%;
  opacity: 1;
}

/* !st circle and sibling -- */

.bubble:nth-child(1) {
  width: 35vw;
  height: 35vw;
  left: 20%;
  animation: c1 80s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(1) {
    width: 45vw;
    height: 45vw;
  }
}

.bubble:nth-child(4) {
  width: 35vw;
  height: 35vw;
  left: 20%;
  animation-delay: 64s;
  animation: c1r4 80s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(4) {
    width: 45vw;
    height: 45vw;
  }
}

/* 2nd circle and sibling -- */

.bubble:nth-child(2) {
  width: 70vw;
  height: 70vw;
  left: 80%;
  animation: c2 120s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(2) {
    width: 85vw;
    height: 85vw;
  }
}

.bubble:nth-child(5) {
  width: 70vw;
  height: 70vw;
  left: 80%;
  animation-delay: 136s;
  animation: c2r5 120s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(5) {
    width: 85vw;
    height: 85vw;
  }
}

/* 3rd circle and sibling -- */

.bubble:nth-child(3) {
  width: 55vw;
  height: 55vw;
  left: -30%;
  animation: c3 200s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(3) {
    width: 90vw;
    height: 90vw;
  }
}

.bubble:nth-child(6) {
  width: 55vw;
  height: 55vw;
  left: -30%;
  animation-delay: 224s;
  animation: c3r6 200s infinite linear;
}

@media (max-width: 800px) {
  .bubble:nth-child(6) {
    width: 90vw;
    height: 90vw;
  }
}

/* 1st circle and sibling animation -- */

@keyframes c1 {
  from {
    bottom: 400px;
    transform: translateX(0);
  }
  to {
    bottom: 1200px;
    transform: translateX(200px);
  }
}

@keyframes c1r4 {
  from {
    bottom: -800px;
    transform: translateX(0);
  }
  to {
    bottom: 400px;
  }
}

/* 2nd circle and sibling animation -- */

@keyframes c2 {
  from {
    bottom: -400px;
    transform: translateX(0);
  }
  to {
    bottom: 1200px;
    transform: translateX(100px);
  }
}

@keyframes c2r5 {
  from {
    bottom: -1400px;
    transform: translateX(0);
  }
  to {
    bottom: -400px;
  }
}

/* 3rd circle and sibling animation -- */

@keyframes c3 {
  from {
    bottom: -100px;
    transform: translateX(0);
  }
  to {
    bottom: 1200px;
    transform: translateX(-100px);
  }
}

@keyframes c3r6 {
  from {
    bottom: -1300px;
    transform: translateX(0);
  }
  to {
    bottom: -100px;
  }
}

.social-icons {
  color: #FCB415;
  transition: 0.5s ease;
}

.social-icons:hover {
  color: #fff;
}

/* Next Project design */

.next-project {
  background-color: #0e0e0e;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.next-project-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.next-project-preview {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.next-project-preview video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.next-project-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #666;
  text-align: center;
}

.next-project-link a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s ease;
}

.next-project-link a:hover {
  color: rgba(255,182,10,0.75);
}

@media (max-width: 768px) {
  .next-project-container {
    flex-direction: column;
    text-align: center;
  }
}

/* About page image */

.about-divider {
  width: 150px;
  height: 1px;
  background-color: #ccc;
  margin: 3rem auto 2rem auto;
  border-radius: 1px;
  opacity: 0.5;
}

.about-profile-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.about-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.about-info p {
  font-size: 1.1rem;
  color: #aaa;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 0.3rem;
}

@media (max-width: 768px) {
  .about-profile-section {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-image img {
    width: 150px;
    height: 150px;
  }
}

p {
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.list-inline {
  padding-left: 0;
  padding-top: 1rem;
  list-style: none;
}

/* About page work-history */

.work-history {
  max-width: 75%;
}

@media (max-width: 767px) {
  .work-history {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .work-history .col-md-4 {
    padding-top: 1.2rem;
  }
}

