*,

::before,

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

:root {
  --large-margin: 1.5rem;
  --xlarge-margin: 1.5rem;
  --size: 2rem;
  --gap: 1rem;
  --main-custom-gradient: linear-gradient(0deg, #584EEC 0%, #7341cf 100%),
    linear-gradient(125deg, rgba(255, 255, 255, 0.2) 0%, rgba(68, 68, 68, 0.1) 70%, rgba(255, 255, 255, 0.1) 100%);
  --secondary-custom-gradient: linear-gradient(125deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 60%), linear-gradient(145deg, rgba(255, 255, 255, 0.2) 0%, rgba(68, 68, 68, 0.9) 30%, rgba(68, 68, 68, 0.4) 60%, rgba(255, 255, 255, 0.2) 100%);
}

body {
  font-family: 'Monument', sans-serif;
  font-style: normal;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  opacity: 1;
}

@keyframes Bdanim {
  from {
    transform: translateY(3rem);
    opacity: 0;
  }

  to {
    transform: translateY(0rem);
    opacity: 1;
  }
}

.digital {
  color: var(--color-text-primary);
  font-weight: 300;
  letter-spacing: 1px;
  text-shadow: 0px 0px 8px rgb(255, 255, 255, 0.5);
}


/********************* SCROLL BAR ************************/


::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #584EEC;
}

img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}


/********************* CURSOR ************************/


body,
.button,
.button-secondary,
a {
  cursor: none;
}

html {
  cursor: auto;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 36px;
  height: 36px;
  background-image: url('/assets/img/ui/cursor.svg');
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.custom-cursor.click {
  background-image: url('/assets/img/ui/cursor-click.svg');
  transform: scale(0.2);
  transition: transform 0.05s ease-out;
  width: 36px;
  height: 36px;
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }

  html,
  body,
  a,
  button,
  .button-secondary {
    cursor: auto !important;
  }
}


/********************* MAIN IMG BACKGROUND ************************/


#main .bg-img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-position: 50% 50%;
  top: 0;
}

#main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  z-index: 1;
}

#main::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background: linear-gradient(to bottom, transparent 0%, var(--color-bg-primary) 100%);
  z-index: 1;
  pointer-events: none;
}


.background-layout {
  width: 100%;
  height: 100dvh;
  position: fixed;
  z-index: -10;
  pointer-events: none;
  overflow: hidden;
}

.background-layout svg {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/************************************* BUTTONS ********************************/


.button {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 6rem;
  background: var(--main-custom-gradient);
  background-blend-mode: overlay, normal, normal;
  transition: background-color 0.2s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease;
  gap: 0.6rem;
}

.button svg,
.button-secondary svg {
  fill: var(--color-text-primary);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.1);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 6rem;
  border: 1px solid transparent;
  background-image: var(--secondary-custom-gradient);
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-blend-mode: normal, normal;
  transition: background-color 0.2s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease;
  gap: 0.6rem;
}

.button,
.button-secondary {
  padding: 0.5rem 1rem;
}

.button-secondary:hover {
  background-color: var(--color-bg-fourth);
  transform: translateY(-3px);
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.1);
}

.buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/******************************************* LINKEDIN ICON *********************************************/


.linkedin-icon {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 1rem;
  border-radius: 4rem;
  transition: background-color 0.3s;
  border: 1px solid transparent;
  background-image: var(--secondary-custom-gradient);
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-blend-mode: normal, normal;
  transition: background-color 0.2s ease-out, transform 0.3s ease-out, box-shadow 0.3s ease;
}

.linkedin-icon:hover {
  background-color: var(--color-bg-fourth);
  transform: translateY(-3px);
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.1);
}

.linkedin-icon:hover .cls-1,
.linkedin-icon:hover .cls-1 {
  fill: var(--color-text-primary);
}


/******************************************** RESPONSIVE ***************************************/


@media (min-width: 576px) {
  :root {
    --large-margin: 2rem;
    --xlarge-margin: 3rem
  }

  .buttons {
    flex-direction: row;
  }
}


@media (min-width: 992px) {
  :root {
    --large-margin: 6rem;
    --xlarge-margin: 10rem
  }
}



@media (min-width: 1200px) {
  :root {
    --large-margin: 8rem;
    --xlarge-margin: 14rem
  }

  .button,
  .button-secondary {
    padding: 0.6rem 1.2rem;
  }
}



@media (min-width: 1800px) {
  :root {
    --large-margin: 20rem;
    --xlarge-margin: 32rem
  }
}



@media (min-width: 2200px) {
  :root {
    --large-margin: 34rem;
    --xlarge-margin: 48rem
  }

  .button,
  .button-secondary {
    padding: 0.7rem 1.4rem;
  }
}