body {
  background-color: var(--light-color);
}

.dnd-section {
  overflow: hidden; 
}

.header .custom-menu a {
  text-decoration: none; 
  padding: 1rem 2rem;
  border: 2px solid var(--dark-color);
  border-radius: 2rem;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .custom-menu a svg {
  margin-right: .5rem;
}

.header .custom-menu a:hover svg path {
  fill: white;
}

.header .custom-menu li:first-child a {
  background: var(--primary-color) !important;
}

.header .custom-menu li a:hover,
.header .custom-menu li:first-child a:hover  {
  background: var(--secondary-color) !important;
  color: white !important;
}

.image-column {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.image-column__inner {
  position: relative;
  aspect-ratio: 1 / 1;
  height: auto !important;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--primary-color);
  border: 4px solid var(--dark-color);
  max-width: 100%;
}

.image-column__inner img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: top center;
}

.cv-hero h1 {
  font-weight: bold;
  color: white !important;
  letter-spacing: 4px;
  font-size: 8vh;
  filter: drop-shadow(2px 4px 3px rgba(0,0,0,.25));
  margin: 0;
  text-shadow: rgb(1, 22, 30) 2px 0px 0px, rgb(1, 22, 30) 1.75517px 0.958851px 0px, rgb(1, 22, 30) 1.0806px 1.68294px 0px, rgb(1, 22, 30) 0.141474px 1.99499px 0px, rgb(1, 22, 30) -0.832294px 1.81859px 0px, rgb(1, 22, 30) -1.60229px 1.19694px 0px, rgb(1, 22, 30) -1.97998px 0.28224px 0px, rgb(1, 22, 30) -1.87291px -0.701566px 0px, rgb(1, 22, 30) -1.30729px -1.5136px 0px, rgb(1, 22, 30) -0.421592px -1.95506px 0px, rgb(1, 22, 30) 0.567324px -1.91785px 0px, rgb(1, 22, 30) 1.41734px -1.41108px 0px, rgb(1, 22, 30) 1.92034px -0.558831px 0px;
}

.cv-hero h1 > span:first-child {
  color: var(--secondary-color); !important;
  margin-right: .5rem;
}

.cv-hero h1 > span {
  white-space: nowrap;
}

.cv-hero__title--small {
  font-weight: bold;
  color: var(--dark-color);
  text-transform: uppercase;
}

.cv-hero__title--small:not(.small-emphasis) > span:last-child {
  color: var(--primary-color);
}

.cv-hero__title--small.small-emphasis > span:last-child {
  font-family: "Caveat";
  font-size: 1.5rem;
  margin-left: .5rem;
  text-transform: capitalize;
}

.cv-hero__background span {
  font-family: "Caveat";
  font-size: 20vh;
  opacity: .03;
  font-weight: 900;
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translateX(-55%);
  z-index: 0;
  width: auto;
  white-space: nowrap;
}

.cv-hero__accents svg:first-child {
  position: absolute;
  width: 62px;
  transform: rotate(22deg);
  top: 10%;
  left: -1%;
}

.cv-hero__accents svg:nth-child(2) {
  position: absolute;
  width: 50px;
  transform: rotate(22deg);
  top: 10%;
  right: 5%; 
  z-index: 9;
}

.cv-hero__accents svg:nth-child(3) {
  position: absolute;
  width: 75px;
  top: 60%;
  right: 44%;
  z-index: -1;
}

.cv-hero__row {
  position: relative;
  z-index: 9;
}


.cv-hero__row a:has(svg):hover svg path {
  fill: var(--primary-color);
}


.browser {
  width: 50%;
  max-width: 250px;
  border-radius: 4px;
  position: absolute;
  text-align: center;
}

.browser__inner {
  border: 6px solid;
  outline: 4px solid var(--dark-color);
  border-radius: 4px;
  position: relative;
  text-align: center;
  background-color: white;
  z-index: 9;
}

.browser-accent {
  position: absolute;
  background-color: var(--dark-color);
  border-radius: 4px;
  top: 9px;
  left: 9px;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.browser__top > * {
  background: rgba(255, 255, 255, .6);
  padding: .1rem;
}

.browser--primary {
  top: 10%;
  right: calc(100% - min(150px, 70%));
  z-index: 1;
}

.browser--primary .browser__inner {
  border-color: var(--secondary-color);
}

.browser--primary .browser__top,
.browser--primary .browser__main:before{
  background-color: var(--secondary-color);
}

.browser--tertiary {
  width: 70%;
  max-width: 400px;
  top: 53%;
  left: 53%;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}

.browser--tertiary.active {
  opacity: 1;
}

.browser--tertiary .browser__inner {
  border-color: var(--primary-color);
}

.browser--tertiary .browser__top,
.browser--tertiary .browser__main:before {
  background-color: var(--primary-color);
}

.browser--secondary {
  bottom: -5%;
  right: calc(100% - min(200px, 67%));
  z-index: 2;
  opacity: 0;
  transition: opacity .5s ease-in-out;
}

.browser--secondary.active {
  opacity: 1;
  -webkit-animation: blink-2 0.9s 5 both;
	        animation: blink-2 0.9s 5 both;
}

.browser--secondary .browser__inner {
  border-color: var(--tertiary-color);
}

.browser--secondary .browser__top,
.browser--secondary .browser__main:before {
  background-color: var(--tertiary-color);
}

.browser__top {
  text-align: right;
}

.browser__main {
  padding: 30px;
  position: relative;
}

.browser__main:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: .15;
  z-index: -1;
}

.browser__title {
  font-family: 'JetBrains Mono';
  font-weight: bold;
  color: var(--dark-color);
  font-size: 1.5rem; 
}

.browser__content {
  font-family: 'JetBrains Mono';
  font-size: .9rem; 
}

#progress-bar {
  width: 100%;
  height: 2rem;
  border-radius: 4px;
  border: 2px solid var(--dark-color);
  margin-top: 1rem;
  position: relative;
}

#progress-bar > * {
  position: absolute;
  top: 10%;
  left: 2%;
  width: 1rem;
  height: 80%;
  border: 1px solid var(--dark-color);
  background: var(--secondary-color);
  opacity: 0;
  transition: all .3s ease-in-out;
}

#progress-bar > .active {
  opacity: 1;
}

.pointer {
  position: absolute;
  opacity: 0;
  transition: all .5s ease-in-out;
  z-index: 9999999999;
  width: 100px;
  height: auto;
  top: 83%;
  left: 81%;
  transform: rotate(-15deg);
}

.pointer.active {
  opacity: 1;
  -webkit-animation: slide-in-br 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
	        animation: slide-in-br 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

@media screen and (max-width: 767px) {
  .cv-hero__title--small.small-emphasis > span:last-child {
    margin: 0;
  }
  .cv-hero h1 {
    line-height: 1.1;
  }
  .cv-hero__accents svg:first-child {
   left: -16%; 
  }
  .resume__title {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .resume__description {
    max-width: 100% !important;
  }
  .cv-resume .resume {
    padding: 30px 10px 30px calc(30px + 2rem);
  }
  .custom-menu, .mobile-menu-trigger {
    display: none !important; 
  }
  .browser__title {
    font-size: .8vw; 
  }
  .browser__content {
    font-size: .6vw; 
  } 
}

/**
 * ----------------------------------------
 * animation blink-2
 * ----------------------------------------
 */
@-webkit-keyframes blink-2 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}
@keyframes blink-2 {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 1;
  }
}

/**
 * ----------------------------------------
 * animation slide-in-br
 * ----------------------------------------
 */
@-webkit-keyframes slide-in-br {
  0% {
    -webkit-transform: translateY(1000px) translateX(1000px);
            transform: translateY(1000px) translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-br {
  0% {
    -webkit-transform: translateY(1000px) translateX(1000px);
            transform: translateY(1000px) translateX(1000px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) translateX(0);
            transform: translateY(0) translateX(0);
    opacity: 1;
  }
}