/***************************
 *  ANIMATION ON LOADING  *
***************************/

section#sectionLoader 
{
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 10;
}

	section#sectionLoader div.container
	{
		height: 100vh;
		display: flex;
		justify-content: center;
		align-items: center;
		background-color: #333;
	}

		section#sectionLoader div.container div.loader
		{
			position: relative;
			width: 300px;
			height: 300px;
			background: #333;
			border-radius: 50%;
			box-shadow:  25px 25px 75px rgba(0, 0, 0, 0.25), 10px 10px 70px rgba(0, 0, 0, 0.25);
			border: 2px solid #222;
			display: flex;
			justify-content: center;
			align-items: center;
			overflow: hidden;
		}

		section#sectionLoader div.container div.loader::before
		{
			content:  '';
			position:  absolute;
			inset: 40px;
			border-radius: 50%;
			border:  3px dashed #666;
			box-shadow:  inset -5px -5px 25px rgba(0, 0, 0, 0.25), inset 5px 5px 35px rgba(0, 0, 0, 0.25);
			z-index: 10;
			animation: animate 30s linear infinite;
		}
		section#sectionLoader div.container div.loader::after
		{
			content:  '';
			position:  absolute;
			/*inset: 40px;*/

			width: 100px;
			height: 100px;
			border-radius: 50%;
			border:  3px dashed #666;
			box-shadow:  inset -5px -5px 25px rgba(0, 0, 0, 0.25), inset 5px 5px 35px rgba(0, 0, 0, 0.25);
			background: rgba(0, 0, 0, 0.15);
			z-index: 11;
			animation: animate 10s linear infinite;
		}

			section#sectionLoader div.container div.loader h3
			{
				background-color: transparent;
				color: #777;
			}

			section#sectionLoader div.container div.loader span
			{
				position: absolute;
				top: 50%;
				left: 50%;
				width: 50%;
				height: 100%;
				background: transparent;
				transform-origin: top left;
				overflow: hidden;
				animation: animate 2s linear infinite;
			}

			section#sectionLoader div.container div.loader span::before
			{
				content: '';
				position: absolute;
				top: 30px;
				left: 0;
				width: 100%;
				height: 100%;
				background: #00A6A6;
				transform-origin: top left;
				transform:  rotate(35deg);
				filter: blur(30px) drop-shadow(50px 50px 50px #00A6A6);
				opacity: 0.75;
			}

@keyframes animate
{
	0%
	{
		transform: rotate(0deg);
	}
	100%
	{
		transform: rotate(360deg);
	}
}



/***************************
 *  FONT-TYLE MY WEBSITE  *
***************************/

@font-face{ /*ESTILO TITULO*/
	font-family: "Squada+One"; 
	src: url("../TextStyle/Squada_One/SquadaOne-Regular.ttf");
}
	.titulo { font-family: "Squada+One", bold;
	} /*TITULO GENERICO*/

@font-face{ /*ESTILO TEXTO*/
	font-family: "Tomorrow"; 
	src: url("../TextStyle/Tomorrow/Tomorrow-Light.ttf");
}
	.texto { font-family: "Tomorrow", bold;
	} /*TEXTO GENERICO*/


    
/***************************
 *  GENERIC WEBSITE TYLE  *
***************************/
*
{
    box-sizing: border-box;
}

html
{
	scroll-behavior: smooth;
}

body
{
    margin: 0;
}
body.light-mode
{
	background-color: white;
}
body.light-mode header
{
	background-color: rgb(245, 245, 245);
	border: 3px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
body.light-mode header:hover
{
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
body.light-mode header .container nav a
{
	color:black;
    transition: all 0.5s;
}
body.light-mode header .container nav a:hover
{
	color:brown;
    transition: all 0.5s;
}
body.light-mode #hero
{
	background-image: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.5) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgb(230, 230, 230) 100% /* Color idéntico al fondo de #cardVideoGames */
    ), url("../IMGs/bg_light.webp");
}
body.light-mode #cardVideoGames {
    background: linear-gradient(to bottom, white, rgb(240,240,240));
}

body.light-mode #cardAboutMe {
    background: linear-gradient(to bottom, rgb(240,240,240), rgb(225,225,225), rgb(240,240,240));
}

body.light-mode #cardTechnoInfo {
    background: linear-gradient(to bottom, rgb(240,240,240), white);
}
body.light-mode #cardVideoGames .content p
{
	color: black;
}
body.light-mode #cardTechnoInfo .content p
{
	color: black;
}


body.dark-mode
{
	background-color: black;
}
body.dark-mode header
{
	background-color: rgb(10, 10, 10);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
body.dark-mode header:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}
body.dark-mode header .container nav a
{
	color:white;
    transition: all 0.5s;
}
body.dark-mode header .container nav a:hover
{
	color:brown;
    transition: all 0.5s;
}
body.dark-mode #hero
{
	background-image: linear-gradient(
        to bottom, 
        rgba(0,0,0,0.5) 0%, 
        rgba(0,0,0,0.3) 50%, 
        rgb(10, 10, 10) 100% /* Color del dark-mode */
    ), url("../IMGs/bg_dark.webp");
}
body.dark-mode #cardVideoGames {
    background: linear-gradient(to bottom, black, rgb(15,15,15));
}

body.dark-mode #cardAboutMe {
    background: linear-gradient(to bottom, rgb(15,15,15), rgb(30,30,30), rgb(15,15,15));
}

body.dark-mode #cardTechnoInfo {
    background: linear-gradient(to bottom, rgb(15,15,15), black);
}
body.dark-mode #cardVideoGames .content p
{
	color: white;
}
body.dark-mode #cardTechnoInfo .content p
{
	color: white;
}

h1 {font-size: 3.5em;}
h2 {font-size: 2.7em;}
h3 {font-size: 2em;}
p  {font-size: 1.25em;}
a  {text-decoration: none;}
ul {list-style: none;}
li {font-size: 1.25em;}

img
{
    width: 50%;
    height: 50%;
}

button.btn
{
	font-size: 1.5em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    transition: all 0.5s;
	text-transform: uppercase;
	position: relative;
	background: #1c2526;
	cursor: pointer;
	overflow: hidden;
	z-index: 1;
	transition: all 0.3s ease;
}
button.btn::before
{
	content: '';
	position: absolute;
	inset: -2px;
	background: linear-gradient(45deg,#ff7497,#4b0b1b);
	z-index: -1;
	transition: all 0.3s ease;
}
button.btn::after
{
	content: '';
	position: absolute;
	inset: 2px;
	background-color: #1c2526;
	border-radius: 5px;
	z-index: -1;
}
button.btn:hover
{
	transform: translateY(-2px);
	color:#a1a1a1;
}
button.btn:hover::before
{
	background: linear-gradient(45deg,#4b0b1b,#ff7497);
	filter: blur(1px);
}
button.btn:active
{
	transform: scale(0.95);
}
button.btn .shine
{
	position: absolute;
	top:-50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(12deg,transparent,rgba(255,255,255,0.2),transparent);
	transform: translateX(-100%);
	transition: transform 0.5s ease;
	z-index: 0;
}
button.btn:hover .shine
{
	transform: translateX(100%);
}



.container
{
    margin: auto;
}

.color-acento {color:brown}





header
{
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
}
header:hover
{
	box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
header .container
{
    display: flex;
    flex-direction: column;
    align-items: center;
}
header .container #sectionBtn
{
    margin: 0px;
    padding: 40px 30px 20px 30px;
    font-weight: bold;
    font-size: 1.5em;
} header .container #sectionBtn input
    {
        width: 0;
        height: 0;
    } header .container #sectionBtn input::before
        {
            content: '\f011';
            font-family: "FontAwesome";
            font-size: 3em;
            color: brown;
            height: 0em;
            width: 0em;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 8px;
            box-shadow: inset 4px 4px 6px 1px rgba(0, 0, 0, 0.2),
                        inset -4px -4px 6px 1px rgba(255, 255, 255, 0.7),
                        -0.5px -0.5px 0px rgba(255, 255, 255, 1),
                        0.5px 0.5px 0px rgba(0, 0, 0, 0.15),
                        0px 12px 10px 10px rgba(0, 0, 0, 0.05);
        } header .container #sectionBtn input:checked::before
            {
                color: rgb(121, 29, 29);
                box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.3),
                            -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
            
            }
header .container nav
{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}
header .container nav a
{
    padding: 5px 12px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.5s;
}
header .container nav a:hover
{
    color:brown;
    transition: all 0.5s;
}



#hero
{
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	flex-direction: column;
	height: 90vh;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
#hero h1
{
	color: white;
}



#cardVideoGames
{
	text-align: center;
	margin-top: -1px; /* Elimina cualquier borde visible */
}
#cardVideoGames .content
{
	padding: 200px 12px;
}
/*#cardVideoGames .content img
{
	padding: 10px 0px;
	margin: 20px;
	border-radius: 20px;
	width: 75%;
	height: 75%;
}*/



#cardAboutMe
{
	background-color: rgb(30,30,30);
	color:white;
	display: flex;
    flex-direction: column;
    align-items: center;
	text-align: center;
}
#cardAboutMe .container
{
	padding: 150px 12px;
}
#cardAboutMe .container .card
{
	background-image: linear-gradient(
		0deg,
		rgba(0,0,0,0.5),
		rgba(0,0,0,0.5)
	)
	,url("../IMGs/youtubeSpoiler.jpg");
	background-size: cover;
	background-position: center center;
	padding: 50px;
	margin: 20px;
	border-radius: 15px;
}
#cardAboutMe .container .card nav.links img
{
	height: 4em;
	width: 4em;
	transition: all 0.5s;
}
#cardAboutMe .container .card nav.links img:hover
{
	height: 8em;
	width: 8em;
	transition: all 0.5s;
}



#cardTechnoInfo
{
	text-align: center;
}
#cardTechnoInfo .content
{
	padding: 200px 12px;
}
/*#cardTechnoInfo .content img
{
	padding: 10px 0px;
	margin: 20px;
	border-radius: 20px;
	width: 75%;
	height: 75%;
}*/



footer
{
	background-color: rgb(230, 230, 230);
	padding-bottom: 1em;
}
footer .container #license
{
    display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	/*background-color: rgb(30, 30, 30);*/
	color: white;
}
body.light-mode footer {
    background-color: rgb(245, 245, 245);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.2);
}
body.light-mode footer p{
	color: black;
}

body.dark-mode footer {
    background-color: rgb(10, 10, 10);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0px -5px 10px rgba(255, 255, 255, 0.1);
}
body.dark-mode footer p{
	color: white;
}
@media (min-width: 720px)
{
	header
	{
		position: fixed;
		width: 100%;
		z-index: 9999;
		border-radius: 0 0 30px 30px;
	}
	header .container
	{
		flex-direction: row;
		justify-content: space-between;
	}
	header .container nav
	{
		flex-direction: row;
		padding-bottom: 0;
		padding-right: 15px;
	}
	#hero h1
	{
		font-size: 5em;
	}
	#cardVideoGames .content
	{
		display: flex;
		justify-content: space-evenly;
	}
	#cardVideoGames .content .text-container
	{
		width: 50%;
		max-width: 600px;
		text-align: justify;
		padding-right: 15px;
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
	}
	#cardVideoGames .content .text-container h2
	{
		margin-top: 0;
	}
	#cardVideoGames .content .image-container
	{
		background-image: url(../IMGs/i1.webp);
		background-size: cover;
		background-position: center;
		height: 500px;
		width: 575px;
		border-radius: 15px;
	}
	#cardAboutMe .container
	{
		width: 50%;
		padding: 100px 12px;
	}
	#cardAboutMe .container .card h2
	{
		font-size: 3.5em;
	}
	#cardAboutMe .container .card p
	{
		font-size: 2em;
	}
	#cardAboutMe .container .card
	{
		box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
	}
	#cardAboutMe .container .card button
	{
		font-size: 2em;
	}
	#cardTechnoInfo .content
	{
		display: flex;
		justify-content: space-evenly;
	}
	#cardTechnoInfo .content .text-container
	{
		width: 50%;
		max-width: 600px;
		text-align: justify;
		padding-left: 15px;
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
	}
	#cardTechnoInfo .content .text-container h2
	{
		margin-top: 0;
	}
	#cardTechnoInfo .content .image-container
	{
		background-image: url(../IMGs/i2.webp);
		background-size: cover;
		background-position: center;
		height: 500px;
		width: 575px;
		border-radius: 15px;
	}
}