@font-face {
    font-family: "Roboto Flex";
    src: url("https://digitalupgrade.com/images/misc/RobotoFlex-VariableFont_GRADXTRAYOPQYTASYTDEYTFIYTLCYTUCopszslntwdthwght.woff2") format("woff2");
}

html {
	background: #000;
}

body {
	background-color: #131316;
	background: linear-gradient(180deg, rgba(64, 36, 117, 0.3) 0%, rgba(64, 36, 117, 0) 100%);
	color: #fff;
	/*font-family: 'Arial', sans-serif;*/
	font-family: "Mona Sans", "Mona Sans Header Fallback", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	font-feature-settings: unset;
	padding: 0;
	margin: 0;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
}

ul {
	list-style: none;
}

h1 {
	color: #fff;
	text-align: center;
	font-size: 10vw;
	font-weight: 800;
	line-height: 200px;
	margin-bottom:0;
	letter-spacing: -0.03em;
}
.web-developer {
	margin-top:0;
}

.parent-icon-scroll {
	width: 100vw;
    display: flex;
    justify-content: center;
}
.icon {
	width: 100px;
	height: 100px;
	overflow: hidden;
	position: fixed;
	animation-name: scroll-icon;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: cubic-bezier(0.455, 0.03, 0.515, 0.955);
	margin-top: 0;
	opacity: 0;
}
.icon::before {
	content: "";
	box-sizing: border-box;
	width: 100px;
	height: 100px;
	position: absolute;
	top: -36px;
	left: 0;
	border: solid 3px #fff;
	transform: rotate(45deg);
}
@keyframes scroll-icon {
	0% {
		margin-top: 0;
		opacity: 0;
	}
	5% {
		margin-top: 0;
		opacity: 1;
	}
	25% {
		opacity: 1;
	}
	50% {
		margin-top: 24px;
		opacity: 0;
	}
	100% {
		margin-top: 24px;
		opacity: 0;
	}
}

.title-word-different {
	background: linear-gradient(260deg,#3d67ff 0%, #9773ff 30%, #efceff 60%), #fff;
	-webkit-text-fill-color: transparent;
	-webkit-background-clip: text;
}

.main-container {
	perspective: 1px;
	transform-style: preserve-3d;
	height: 100vh;
	scroll-behavior: smooth;
	margin-bottom: 50px;
}

.main-subtitle {
	color: #808080;
	font-size: 48px;
}

.name {
	font-size: 18px;
	line-height: 2.1;
	letter-spacing: 3px;
	font-weight: 400;
}

.all-links {
	text-decoration: none;
	color: #fff;
}

.name-link {
	font-weight: 700;
	padding: 20px;
	margin: 0;
}

section {
	display: grid;
	place-items: center;
	align-content: center;
	min-height: 100vh;
}

.section-title {
	line-height: 5rem;
	text-align: center;
	font-size: 4em;
	font-weight: 800;
	letter-spacing: -0.03em;
	margin: 0 50px;
}
.section-subtitle {
	text-align: center;
	font-size: 1.4em;
	line-height: 2rem;
	color: #808080;
	font-weight:400;
}

.contained {
	max-width: 70vw;
	margin: 0 auto
}

.hidden {
	opacity: 0;
	filter: blur(5px);
	transform: translateX(-100%);
	transition: all 1s;
}

.show {
	opacity: 1;
	filter: blur(0);
	transform: translateX(0);
}

.center-text {
	text-align: center;
}

.logos {
	display: flex;
}
.logo {
	flex: 1;
}

.logo-img {
	border-radius: 20px;
	margin: 3vw 6vw;
	max-width: 12vw;
	max-height: 12vw;
	transition: max-width 0.2s ease-in-out, max-height 0.2s ease-in-out, box-shadow ease-in-out 0.2s, margin ease-in-out 0.2s;
	box-shadow: 0 0 0 1px #000, 0 30px 30px rgba(0,0,0,.07), 0 15px 15px rgba(0,0,0,.06), 0 10px 8px rgba(0,0,0,.05), 0 4px 4px rgba(0,0,0,.04), 0 2px 2px rgba(0,0,0,.03);
}
.logo-img:hover {
	margin: 2vw 6vw 4vw 6vw;
	box-shadow:
	0 8px 16px 0 rgba(132, 237, 193, 0.2),
    0 12px 40px 0 rgba(132, 237, 193, 0.15),
    0 16px 64px 0 rgba(132, 237, 193, 0.1);
}

.logo:nth-child(2) {
	transition-delay: 200ms;
}
.logo:nth-child(3) {
	transition-delay: 400ms;
}
.logo:nth-child(4) {
	transition-delay: 600ms;
}

.software-container {
    margin-top:200px;
}
.languages {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    color: rgb(255,255,255);
    justify-content:center;
    display:flex;
    position:relative;
    align-items:center;
    margin-bottom:200px;
}
.languages-block {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-left-width: 1px;
    border-right-width: 1px;
    display:grid;
    max-width:950px;
    font-family: "Roboto Flex", sans-serif;
    color:#808080;
}
.lang {
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-align: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    flex-direction: column;
    height: 100%;
    display: flex;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    --tw-divide-x-reverse: 0;
    border-right-width: calc(1px * var(--tw-divide-x-reverse));
    border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse)));
    overflow: hidden; /* Asegúrate de ocultar el texto que se sale del contenedor */
    position: relative;
}
.lang.last {
    border-right-width: calc(1px* calc(1 - var(--tw-divide-x-reverse)));
}
.num {
    font-size: 10rem;
    line-height: 0.9;
    font-weight: 600;
    font-variation-settings: "wdth" 35, "YTFI" 788;
    padding-bottom: 2rem;
    color:#fff;
    border-bottom: 1px solid #e5e7eb;
}
.keys,
.exp {
    border-bottom: 1px solid #e5e7eb;
    opacity: 1;
    transition: opacity 150ms ease-in-out; /* Añade una transición suave para el estado normal */
    display: flex;               /* Usa flexbox para alinear el contenido */
    justify-content: center;    /* Centra el contenido horizontalmente */
    align-items: center;        /* Centra el contenido verticalmente */
    height:100px;
    box-sizing: border-box;
    font-family: "Mona Sans", "Mona Sans Header Fallback", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight:400;
    font-size:1.3em;
}
.exp {
    font-size:1.5em;
}
.info-lang {
    position: relative;
    height:350px;
    margin-top:40px;
}
.lang-name {
    text-transform: uppercase;
    transform: rotate(180deg); /* Rota el texto 180 grados para invertir la dirección */
    max-width: 100%;
    width: 100%;
    display: flex;
    font-weight: 500;
    font-variation-settings: "wdth" 35;
    writing-mode: vertical-rl; /* Texto en modo vertical de derecha a izquierda */
    text-orientation: sideways; /* Orienta el texto para que sea legible de abajo hacia arriba */
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    animation-direction: alternate;
    font-size: 8rem;
    line-height: 1;
    align-items: center;
    position: absolute; /* Posiciona el texto para que se pueda mover */
    bottom: 0; /* Empuja el texto hacia el fondo del contenedor */
    left: 0;
    color:#fff;
    height:inherit;
    justify-content:right;
}
.lang-quote {
    font-family: "Mona Sans", "Mona Sans Header Fallback", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size:1.2em;
    font-weight:400;
    quotes:none;
    transform: translateY(0%);
    height:inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lang:hover .lang-name.first {
    transform: rotate(180deg) translateY(58%); /* Primer elemento */
}

.lang:hover .lang-name.second {
    transform: rotate(180deg) translateY(57%); /* Segundo elemento */
}

.lang:hover .lang-name.third {
    transform: rotate(180deg) translateY(57%); /* Tercer elemento */
}

.lang:hover .lang-name.fourth {
    transform: rotate(180deg) translateY(54%); /* Cuarto elemento */
}
.lang:hover .lang-quote {
    opacity: 1; /* Muestra el texto alternativo en hover */
}
/* Oculta el texto alternativo por defecto */
.lang .lang-quote {
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}
.lang:hover .keys,
.lang:hover .exp {
    opacity: 0;
    transition: opacity 150ms ease-in-out; /* Añade una transición suave */
}
.lang:nth-child(2) {
	transition-delay: 200ms;
}
.lang:nth-child(3) {
	transition-delay: 400ms;
}
.lang:nth-child(4) {
	transition-delay: 600ms;
}



.personal-projects > div:nth-child(1){
	transition-delay:  200ms;
}
.personal-projects > div:nth-child(2){
	transition-delay:  400ms;
}
.personal-projects > div:nth-child(3){
	transition-delay:  600ms;
}

.personal-projects {
	display:flex;
	justify-content: space-around;
	flex-direction: row;
	margin-bottom: 25px;
}
.personal-projects > div {
	flex:1;
	margin: 0 15px;
	box-shadow: 0 0 0 1px #999999;
	--borderWidth: 3px;
  background: #1D1F20;
  position: relative;
  border-radius: var(--borderWidth); 
}
.personal-projects > div::after {
	content: '';
  position: absolute;
  top: calc(-1 * var(--borderWidth));
  left: calc(-1 * var(--borderWidth));
  height: calc(100% + var(--borderWidth) * 2);
  width: calc(100% + var(--borderWidth) * 2);
  background: linear-gradient(60deg, #f79533, #f37055, #ef4e7b, #a166ab, #5073b8, #1098ad, #07b39b, #6fba82);
  border-radius: calc(2 * var(--borderWidth));
  z-index: -1;
  animation: animatedgradient 3s ease alternate infinite;
  background-size: 300% 300%;
  
}
.container-coding-projcts {
	border-radius: var(--borderWidth);
	height: calc(100% - 61px);
}
.personal-projects > div > div {
	padding:30px;
	background-color: #262626;
}
.title-personal-coding {
	text-align: center;
}
.expanation-personal-coding {
	text-align: justify;
}
@keyframes animatedgradient {
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


.code-htmlTagExt{color:#808080}
.code-htmlTagInt{color:#569cd6}
.code-htmlTagAtr{color:#9cdcfe}
.code-htmlEqual{color:#cccccc}
.code-htmlTagAtrCont{color:#ce9178}
.code-commented{color:#6a9955}


@keyframes scroll {
	0% {
		transform: translateX(0);
   }
	100% {
		transform: translateX(calc(-300px * 7));
   }
}

.footer-div {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
	padding: 24px;
	word-wrap: break-word;
	background-color: #1a1a1a;
}
.ul-external-links {
	display: flex;
	align-items: center;
}
.ul-external-links li {
	margin-right: 16px;
	color: #999999;
}
.sr-only {
	position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    word-wrap: normal;
    border: 0;
}

.contenedor-flex {
    min-width: 50%;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: flex-start;
}
.setlistImage {
  border-radius: 12px;
  display: inline-block;
}

.setlistImage img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

@media(prefers-reduced-motion) {
	.hidden {
		transition: none;
	}
}

@media(max-width:1920px) {
	.contained {
		max-width: 75vw;
	}
	.contenedor-flex {
	    min-width: 90%;
	}
}

@media(max-width:1300px) {
	.personal-projects {
		flex-direction: column;
	}
	.personal-projects > div {
		margin-bottom: 25px;
	}
	.languages-block {
	    grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.lang.first, .lang.third {
        border-left-width: 0;
    }
    .lang.last {
        border-right-width: 0;
    }
}

@media(max-width:768px) {
	h1 {
		font-size:16vw;
		line-height:20vw;
	}
	.contained {
		max-width: 85vw;
	}
	.contenedor-flex {
	    flex-wrap: wrap;
	    min-width: 0;
	}
}

@media(max-width:480px) {
    .software-container {
        margin-top:100px;
    }
	.section-title {
		font-size:48px;
		margin: 0 15px;
	}
	.section-subtitle {
		font-size: 18px;
		text-align: justify;
	}
	.name {
		width:100vw;
		background-color: rgba(12, 12, 12, 0.6);
		padding:12px 0;
		margin-top:0;
	}
	.name-link {
		text-align:center;
	}
	.main-subtitle {
		font-size: 24px;
	}
	.contained {
		max-width: 90vw;
	}
	.logos {
		flex-direction: column;
	}
	.logo-img, .logo-img:hover {
		max-width: 35vw;
		max-height: 35vw;
		margin: 3vw 6vw;
	}
	.footer-div {
		flex-direction: column;
	}
	.ul-external-links {
		padding:0;
	}
	.ide-father {
		margin-bottom: 75px;
	}
}

/*Snowfall and this stuff*/
@keyframes snowfall {
	from {
		transform: translate3d(var(--sw-tx, 0), var(--sw-ty, -10vh), 0);
   }
	34% {
		transform: translate3d(var(--sw25-tx, 0), var(--sw25-ty, 20vh), 0);
   }
	67% {
		transform: translate3d(var(--sw75-tx, 0), var(--sw75-ty, 60vh), 0);
   }
	100% {
		transform: translate3d(var(--sw100-tx, 0), var(--sw100-ty, 100vh), 0);
   }
}

.snow {
	width: var(--sw-s, 10px);
	height: var(--sw-s, 10px);
	filter: blur(var(--sw-f, 0));
	left: var(--sw-l, 0);
	transform: translate3d(0, -10vh, 0);
	animation: snowfall var(--sw-t, 10s) var(--sw-d, 0s) infinite linear;
	opacity: var(--sw-o, 1);
	position: absolute;
	border-radius: 50%;
	background-color: #fff;
}
.snow-container {
	overflow: hidden;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	pointer-events: none;
	z-index: 9999;
	display:none;
}

.autumn-leaf {
	width: var(--al-s, 50px);
	height: var(--al-s, 50px);
	filter: blur(var(--al-f, 0));
	left: var(--al-l, 0);
	transform: translate3d(0, -10vh, 0);
	animation: autumnFall var(--al-t, 10s) var(--al-d, 0s) infinite linear;
	opacity: 1;
	position: absolute;
	border-radius: 50% 50% 0 0;
	background-color: #8B4513;
	border: 2px solid #D2691E;
	clip-path: polygon(50% 0%, 65% 10%, 75% 20%, 80% 30%, 85% 40%, 90% 50%, 85% 60%, 80% 70%, 70% 80%, 60% 90%, 50% 100%, 40% 90%, 30% 80%, 20% 70%, 15% 60%, 10% 50%, 15% 40%, 20% 30%, 25% 20%, 35% 10%);
}
.autumn-leaves-container {
	overflow: hidden;
	width: 100%;
	height: 100vh;
	position: fixed;
	left: 0;
	top: 0;
	pointer-events: none;
	z-index: 9999;
	display: none;
}
@keyframes autumnFall {
  from {transform: translate3d(7rem, -5vh, 0)}
  10% {transform: translate3d(-8rem, 10vh, 0)}
  20% {transform: translate3d(4rem, 20vh, 0)}
  30% {transform: translate3d(-6rem, 30vh, 0)}
  40% {transform: translate3d(7rem, 40vh, 0)}
  50% {transform: translate3d(-5rem, 50vh, 0)}
  60% {transform: translate3d(6rem, 60vh, 0)}
  70% {transform: translate3d(-5rem, 70vh, 0)}
  80% {transform: translate3d(6rem, 80vh, 0)}
  90% {transform: translate3d(-6rem, 90vh, 0)}
  100% {transform: translate3d(7rem, 100vh, 0)}
}


.spring-petal {
  width: var(--sp-s, 10px);
  height: var(--sp-s, 10px);
  filter: blur(var(--sp-f, 0));
  left: var(--sp-l, 0);
  transform: translate3d(0, -10vh, 0);
  animation: springFall var(--sp-t, 5s) var(--sp-d, 0s) infinite linear;
  opacity: 1;
  position: absolute;
  border-radius: 50% 50% 0 0;
  background-color: #9dff9d;
  clip-path: polygon(40% 10%, 80% 40%, 50% 80%, 5% 60%);
  border-right: 30px solid transparent;
}
.spring-petals-container {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 9999;
  display: none;
}
@keyframes springFall {
  from {transform: translate3d(4rem, -5vh, 0)}
  10% {transform: translate3d(-5rem, 10vh, 0)}
  20% {transform: translate3d(1rem, 20vh, 0)}
  30% {transform: translate3d(-3rem, 30vh, 0)}
  40% {transform: translate3d(4rem, 40vh, 0)}
  50% {transform: translate3d(-2rem, 50vh, 0)}
  60% {transform: translate3d(3rem, 60vh, 0)}
  70% {transform: translate3d(-2rem, 70vh, 0)}
  80% {transform: translate3d(3rem, 80vh, 0)}
  90% {transform: translate3d(-3rem, 90vh, 0)}
  100% {transform: translate3d(4rem, 100vh, 0)}
}

.sunbeam-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(75deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(105deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0) 60%),
              linear-gradient(85deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 70%);
  opacity: 0.7;
  z-index: 9998;
  mix-blend-mode: overlay;
  transform: skewX(-10deg);
  display: none;
}

