@keyframes scaleupdown {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes slideleft {
  100% {
    transform: translate(100%);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 orangered;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.rotate {
  transform: rotate(180deg);
}

.infinity {
  animation: scaleupdown 0.3s infinite;
}

.typewriter {
  overflow: hidden;
  /* Ensures the content is not revealed until the animation */
  border-right: 0.5rem solid var(--blue);
  /* The typwriter cursor */
  white-space: nowrap;
  /* Keeps the content on a single line */
  animation: typing 2.5s steps(40, end), blink-caret 0.75s step-end infinite;
}
@media screen and (max-width: 48.625em) {
  .typewriter {
    border-right: none;
    animation: none;
  }
}
.typewriter__wrap {
  display: inline-block;
}
@media screen and (max-width: 48.625em) {
  .typewriter__wrap {
    display: block;
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: var(--blue);
  }
}

.bg-music {
  display: none;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color-red: #cb2e29;
  --primary-color-blue: #44548f;
  --secondary-color-blue: #8086a8;
  --white: #d8cbc3;
  --margin-top-lg: 4rem;
  --dark: #170e13;
  --light: #d8cbc3;
  --blue: #8086a8;
}

:root:has(.light-mode) {
  --light: #170e13;
  --dark: #d8cbc3;
  --blue: #44548f;
}

a:link,
a:hover {
  text-decoration: none;
}

.preload * {
  transition: none !important;
  animation-duration: 0.001s !important;
}

html {
  font-size: 62.5%;
}

body {
  background-color: var(--dark);
  color: var(--light);
  font-family: "body", sans;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.imgwidth-100 {
  width: 100%;
}

.margin-top-sm {
  margin-top: 1rem;
}

.margin-top-md {
  margin-top: 3rem;
}

.margin-top-lg {
  margin-top: 4rem;
}

.margin-bot-sm {
  margin-bottom: 1rem;
}

.margin-bot-md {
  margin-bottom: 3rem;
}

.margin-bot-lg {
  margin-bottom: 4rem;
}

.container {
  height: 100vh;
  min-height: 780px;
  display: grid;
  grid-template-rows: 10rem 1fr 10rem;
  grid-template-columns: [outer-start] 1fr [center-start] repeat(4, 1fr) [foot-start] repeat(
      2,
      1fr
    ) [foot-end center-end] 1fr [outer-end];
  position: relative;
  z-index: 3;
}
@media screen and (max-width: 87.5em) {
  .container {
    background-position: right -150px bottom 0;
  }
}
@media screen and (max-width: 75em) {
  .container {
    background-position: right -220px bottom 0;
  }
}
@media screen and (max-width: 62.375em) {
  .container {
    background-size: cover;
    background-position: right -300px bottom -100px;
  }
}
@media screen and (max-width: 48.625em) {
  .container {
    background-position: right -350px bottom -100px;
  }
}

.btn {
  border: none;
  color: var(--white);
  background-color: transparent;
  text-decoration: none;
  display: inline-block;
  font-family: "heading-bold", sans;
  text-transform: uppercase;
  transition: 0.25s;
  cursor: pointer;
}
.btn--large:hover,
.btn--large:focus {
  animation: pulse 1s;
  box-shadow: 0 0 0 1rem transparent;
  border-color: orangered;
}
.btn--large {
  font-size: 2rem;
  padding: 2rem 5rem;
  background-color: var(--primary-color-red);
}

.hide-robot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
}
.contact {
  margin-top: 5rem;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media screen and (max-width: 31.25em) {
  .contact__form {
    grid-template-columns: 1fr;
  }
}
.contact__wrap {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.contact__wrap--span {
  grid-column: 1/-1;
}
.contact__label {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--light);
  left: 1rem;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  font-size: 1.3rem;
}
.contact__input {
  font-family: "body";
  padding: 1rem;
  border: none;
  width: 100%;
}
.contact__input:focus + label {
  top: -2rem;
  transform: translateY(0);
  left: 0;
  opacity: 1;
  visibility: visible;
}
.contact__input:focus {
  box-shadow: inset 0 -5px 0 0 var(--primary-color-red);
  outline: 0;
}
.contact__input:focus::placeholder {
  color: transparent;
}
.contact .hero__cta {
  grid-column: 1/-1;
}
.contact__postmsg {
  margin-top: 1rem;
  color: var(--light);
  display: inline-block;
  animation: fadeIn 1s;
}

.modal__popup {
  width: 80%;
  max-width: 900px;
  height: 100%;
  background-color: var(--dark);
  color: white;
  position: absolute;
  top: 10rem;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.4s;
  z-index: 999;
  padding: 1rem;
  border: 1px solid var(--light);
}
.modal__popup-inner {
  padding: 3rem;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: var(--light);
  height: calc(100% - 20px);
}
.modal__popup-inner p {
  color: var(--light);
}

.modal--active {
  transform: translate(-50%, 0%) scale(1);
}

.modal__close {
  position: absolute;
  right: 20px;
  top: 20px;
  opacity: 0;
  visibility: hidden;
  transform: rotate(0);
  transition: 0.7s;
  z-index: 999;
}
.modal__close svg {
  width: 50px;
  height: 50px;
  fill: var(--light);
}
.modal__close--active {
  transform: rotate(180deg);
  opacity: 1;
  visibility: visible;
}

#overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  background-color: #000;
  opacity: 0.9;
  z-index: 998;
}

.trigger__link {
  cursor: pointer;
}

.skills {
  list-style: none;
  margin-top: 4rem;
  display: flex;
  gap: 1rem;
}
@media screen and (max-width: 48.625em) {
  .skills {
    justify-content: center;
  }
}

.skill {
  position: relative;
}
.skill__icon {
  width: 4rem;
  height: 4rem;
}
@media screen and (max-width: 25em) {
  .skill__icon {
    width: 100%;
  }
}
.skill__icon:hover + .skill__tooltip {
  opacity: 1;
}
.skill__tooltip {
  position: absolute;
  top: 50px;
  left: 0;
  opacity: 0;
  transition: all 0.5s;
  background-color: var(--light);
  color: var(--dark);
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
}
.skill__tooltip::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  top: -5px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid var(--light);
}

.slide {
  position: absolute;
  display: block;
}
.slide:hover img {
  transform: scale(1.05) !important;
}
.slide img {
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  transition: all 0.4s;
}
@media screen and (max-width: 75em) {
  .slide img {
    width: 40rem;
    height: 40rem;
  }
}
@media screen and (max-width: 62.375em) {
  .slide img {
    width: 30rem;
    height: 30rem;
  }
}
@media screen and (max-width: 31.25em) {
  .slide img {
    width: 20rem;
    height: 20rem;
  }
}

.nav {
  position: absolute;
  top: 400px;
}

.activenext {
  z-index: 99;
  animation: slidenext 0.5s ease-in-out;
}

.activeprev {
  z-index: 99;
  animation: slideprev 0.5s ease-in-out;
}

.current {
  z-index: 98;
}

.non-active {
  display: none;
}

@keyframes slidenext {
  0% {
    transform: translateX(400px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes slideprev {
  0% {
    transform: translateX(-400px);
  }
  100% {
    transform: translateX(0);
  }
}

@font-face {
  font-family: heading;
  src: url("../fonts/GIL.ttf");
}

@font-face {
  font-family: heading-bold;
  src: url("../fonts/GILB.ttf");
}

@font-face {
  font-family: heading-cond;
  src: url("../fonts/GILC.ttf");
}

@font-face {
  font-family: body;
  src: url("../fonts/futura-light.ttf");
}

h1 {
  font-size: 5.2rem;
  line-height: 1.1;
  font-family: "heading-bold", sans;
  text-transform: uppercase;
  color: var(--light);
}

h2 {
  font-size: 3rem;
  line-height: 1;
  font-family: "heading-cond", sans;
  color: var(--blue);
}

h3 {
  font-size: 2rem;
  color: var(--blue);
  font-weight: normal;
}

.header {
  padding: 2rem 5rem;
  grid-column: outer-start / outer-end;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header__logo {
  flex: 0;
}
@media screen and (max-width: 49.875em) {
  .header__logo {
    flex: 1;
  }
}
.header__logo-img {
  width: 5rem;
  height: 5rem;
}
.header__logo-img:hover {
  animation: scaleupdown 0.4s ease-out;
}
.header__items {
  list-style: none;
  display: flex;
  gap: 2rem;
  font-size: 2rem;
}
@media screen and (max-width: 49.875em) {
  .header__items {
    display: none;
  }
}
.header__link {
  position: relative;
  color: var(--light);
}
.header__link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color-red);
  top: -0.5rem;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.1s ease-in-out;
}
.header__link:link,
.header__link:visited {
  text-decoration: none;
}
.header__link:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
.header__link--active::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color-red);
  top: -0.5rem;
  left: 0;
  transform: scaleX(1);
  transition: none;
}
.header__options {
  list-style: none;
  display: flex;
  gap: 0rem;
}
.header__options--hide {
  opacity: 0;
}
.header__option {
  width: 5rem;
  height: 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__option-mode:hover,
.header__option-sound:hover {
  animation: scaleupdown 0.4s ease-out;
}
.header__option-sound .header__option-icon {
  width: 4rem;
  height: 4rem;
}
.header__option-light {
  transform: rotate(180deg);
}
.header__option-icon {
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  transition: all 0.5s;
}
.header__mobmen {
  width: 5rem;
  height: 5rem;
  display: none;
}
.header__mobmen-icon {
  display: block;
  width: 5rem;
  height: 5rem;
  cursor: pointer;
}
.header__mobmen-icon:hover {
  animation: scaleupdown 0.4s ease-out;
}
@media screen and (max-width: 49.875em) {
  .header__mobmen {
    display: flex;
    margin-left: 1rem;
    justify-content: center;
    align-items: center;
  }
}

.header__option-sound svg {
  transition: all 1s;
}

#icon-sound-two .no-sound-bar {
  transition: all 0.5s;
}

.no-sound-bar-toggle {
  transform: scale(0);
  transform-origin: 50% 50%;
}

.hero {
  grid-column: center-start / center-end;
  align-content: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10rem;
}
@media screen and (max-width: 75em) {
  .hero {
    grid-column: outer-start / outer-end;
    padding-left: 5rem;
    padding-right: 7rem;
  }
}
@media screen and (max-width: 62.375em) {
  .hero {
    gap: 5rem;
  }
}
@media screen and (max-width: 49.875em) {
  .hero {
    flex-direction: column-reverse;
    padding-left: 5rem;
    padding-right: 5rem;
  }
}
@media screen and (max-width: 62.375em) {
  .hero h1 {
    font-size: 4rem;
  }
}
@media screen and (max-width: 31.25em) {
  .hero h1 {
    font-size: 3rem;
  }
}
.hero__par {
  margin-top: 1.2rem;
  font-size: 2.4rem;
  line-height: 1.4;
  margin-left: 1rem;
  margin-right: 1rem;
}
@media screen and (max-width: 49.875em) {
  .hero h1,
  .hero h2,
  .hero h3,
  .hero .hero__cta {
    text-align: center;
  }
}
@media screen and (max-width: 49.875em) {
  .hero__text {
    text-align: center;
  }
}

@media screen and (max-width: 49.875em) {
  .orb {
    margin-top: 2rem;
  }
}

.orb__wrap {
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 5px solid var(--light);
  outline-offset: 20px;
  position: relative;
  overflow: hidden;
}
.orb__wrap--no-hide {
  overflow: visible;
}
@media screen and (max-width: 75em) {
  .orb__wrap {
    width: 40rem;
    height: 40rem;
  }
}
@media screen and (max-width: 62.375em) {
  .orb__wrap {
    width: 30rem;
    height: 30rem;
  }
}
@media screen and (max-width: 31.25em) {
  .orb__wrap {
    width: 20rem;
    height: 20rem;
  }
}
.orb__wrap:hover img {
  transform: scale(1.2);
  filter: none;
}
.orb__wrap--no-trans:hover img {
  transform: none;
}

.orb__man {
  width: 50rem;
  height: 50rem;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
}
@media screen and (max-width: 75em) {
  .orb__man {
    width: 40rem;
    height: 40rem;
  }
}
@media screen and (max-width: 62.375em) {
  .orb__man {
    width: 30rem;
    height: 30rem;
  }
}
@media screen and (max-width: 31.25em) {
  .orb__man {
    width: 20rem;
    height: 20rem;
  }
}

.orb__img {
  display: block;
  width: 100%;
  filter: grayscale(100%);
  transition: all 0.3s;
  border-radius: 50%;
}

.orb__img--no-filt {
  filter: none;
}

.orb__icon {
  transition: all 0.5s;
}
.orb__icon svg {
  width: 2rem;
  height: 2rem;
  fill: var(--light);
}

.orb .orb__icon--cont-1,
.orb .orb__icon--cont-2 {
  background: var(--dark);
  border-radius: 50%;
  border: 1px solid var(--light);
  width: 4rem;
  height: 4rem;
  position: relative;
}
.orb .orb__icon--cont-1 svg,
.orb .orb__icon--cont-2 svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.orb__icon:first-child {
  position: absolute;
  bottom: -1rem;
  left: 0;
}

.orb:hover .orb__icon--cont-1 {
  transform: translateY(-10rem) translateX(10rem);
}
@media screen and (max-width: 75em) {
  .orb:hover .orb__icon--cont-1 {
    transform: translateY(-7rem) translateX(7rem);
  }
}
@media screen and (max-width: 31.25em) {
  .orb:hover .orb__icon--cont-1 {
    transform: translateY(-3rem) translateX(4rem);
  }
}

.orb:hover .orb__icon--cont-2 {
  transform: translateY(-10rem) translateX(-10rem);
}
@media screen and (max-width: 75em) {
  .orb:hover .orb__icon--cont-2 {
    transform: translateY(-7rem) translateX(-7rem);
  }
}
@media screen and (max-width: 31.25em) {
  .orb:hover .orb__icon--cont-2 {
    transform: translateY(-3rem) translateX(-4rem);
  }
}

.orb__icon--stay:first-child {
  transform: translateY(-22rem) translateX(-5rem);
}
@media screen and (max-width: 75em) {
  .orb__icon--stay:first-child {
    transform: translateY(-20rem) translateX(-5rem);
  }
}
@media screen and (max-width: 62.375em) {
  .orb__icon--stay:first-child {
    transform: translateY(-15rem) translateX(-5rem);
  }
}
@media screen and (max-width: 31.25em) {
  .orb__icon--stay:first-child {
    transform: translateY(-10rem) translateX(-5rem);
  }
}
.orb__icon--stay:first-child:hover {
  transform: translateY(-22rem) translateX(-5rem) scale(1.5) !important;
}
@media screen and (max-width: 75em) {
  .orb__icon--stay:first-child:hover {
    transform: translateY(-20rem) translateX(-5rem) scale(1.5) !important;
  }
}
@media screen and (max-width: 62.375em) {
  .orb__icon--stay:first-child:hover {
    transform: translateY(-15rem) translateX(-5rem) scale(1.5) !important;
  }
}
@media screen and (max-width: 31.25em) {
  .orb__icon--stay:first-child:hover {
    transform: translateY(-10rem) translateX(-5rem) scale(1.5) !important;
  }
}

.orb__icon:nth-child(2) {
  position: absolute;
  bottom: -1rem;
  right: 0;
}

.orb__icon--stay:nth-child(2) {
  transform: translateY(-22rem) translateX(5rem);
}
@media screen and (max-width: 75em) {
  .orb__icon--stay:nth-child(2) {
    transform: translateY(-20rem) translateX(5rem);
  }
}
@media screen and (max-width: 62.375em) {
  .orb__icon--stay:nth-child(2) {
    transform: translateY(-15rem) translateX(5rem);
  }
}
@media screen and (max-width: 31.25em) {
  .orb__icon--stay:nth-child(2) {
    transform: translateY(-10rem) translateX(5rem);
  }
}
.orb__icon--stay:nth-child(2):hover {
  transform: translateY(-22rem) translateX(5rem) scale(1.5) !important;
}
@media screen and (max-width: 75em) {
  .orb__icon--stay:nth-child(2):hover {
    transform: translateY(-20rem) translateX(5rem) scale(1.5) !important;
  }
}
@media screen and (max-width: 62.375em) {
  .orb__icon--stay:nth-child(2):hover {
    transform: translateY(-15rem) translateX(5rem) scale(1.5) !important;
  }
}
@media screen and (max-width: 31.25em) {
  .orb__icon--stay:nth-child(2):hover {
    transform: translateY(-10rem) translateX(5rem) scale(1.5) !important;
  }
}

.orb__icon--stay svg {
  width: 2rem;
  height: 2rem;
}

.footer {
  grid-row: 3 / -1;
  grid-column: foot-start / foot-end;
  display: flex;
  align-items: center;
  justify-content: end;
}
@media (max-width: 48.625em) {
  .footer {
    grid-column: outer-start / outer-end;
    justify-content: center;
  }
}
.footer .social {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.footer .social__item-link:link,
.footer .social__item-link:visited {
  text-decoration: none;
  color: var(--white);
  display: block;
  display: flex;
  align-items: center;
}
.footer .social__item-link:link:hover > span,
.footer .social__item-link:visited:hover > span {
  transform-origin: left;
  transform: scaleX(1);
}
.footer .social__item-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}
.footer .social__item-tag {
  display: inline-block;
  transform-origin: left;
  transform: scaleX(0);
  margin-left: 0.5rem;
  transition: all 1s;
  color: var(--light);
}
@media (max-width: 48.625em) {
  .footer .social__item-tag {
    display: none;
  }
}

@media screen and (min-width: 48.625em) {
  .mobmenfull {
    display: none;
  }
}

@media screen and (max-width: 48.625em) {
  .body--mobile {
    overflow-y: hidden;
  }
  .mobmenfull__wrap {
    position: relative;
    background-color: var(--dark);
    height: 100vh;
    padding: 10rem 5rem;
    border-right: 1px solid var(--light);
    transform: translate(-1000px);
    transition: transform 1s ease-in-out;
    position: absolute;
    z-index: 9999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
  }
  .mobmenfull__wrap--active {
    transform: translate(0px);
    overflow-y: scroll;
  }
  .mobmenfull__items {
    position: relative;
    font-size: 5rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  .mobmenfull__btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
  }
  .mobmenfull__icon {
    z-index: 9999999999999;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
  }
  .mobmenfull__icon:hover {
    animation: scaleupdown 0.4s ease-out;
  }
}
