@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/*COLORS*/
:root {
	--background-color: white;
	--text-title-color: ☐ #053D4E;
	--text-color: #323638;
	--icon-color: #323638;
	--icon-menu-color: #707780;
	--menu-color:#707780;
	--text-selected-color: #355CC0;
	--background-selected: #EBF0FF;
	--background-hover:#F7F9FA;
	--border-color: #E6E9ED;
}
/*COLORS*/


/*GLOBAL STYLE*/
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: "Nunito Sans", sans-serif;
}
/*GLOBAL STYLE*/


/*CABEZA*/

/*HEADER*/
header {
	z-index: 200;
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0.45rem 2rem 0.45rem 1.27rem;
	border-bottom: 1px solid var(--border-color);
	position: fixed;
	background-color: var(--background-color);
	top: 0;
	left: 0;
}

/*LEFT SECTION*/
.left {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;

}

/*MENU*/
.menu-container {
	height: 100%;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.menu {
	width: 1.5rem;
	height: 37%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.menu div {
	width: 100%;
	height: 0.15rem;
	background-color: var(--menu-color);
	transition: all 0.2 ease;
}

.menu.menu-toggle div:first-child {
	width: 40%;
	transform: rotate(-35deg) translate(-30%,175%);
}

.menu.menu-toggle div:last-child {
	width: 40%;
	transform: rotate(35deg) translate(-30%,-160%);
}
/*MENU*/

/*LEFT SECTION*/

/*RIGHT	 SECTION*/
.right {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.6rem;
}

/*USER*/
.right a {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 0.5rem;
	transition: background-color 0.2s ease;
}

.right a:hover {
	background-color: var(--background-hover);
}

.right img {
	width: 1.5rem;
	margin: 0.5rem;
}

.right .user {
	width: 2.1rem;
	border-radius: 50%;
}
/*USER*/

/*RIGHT	 SECTION*/

/*HEADER*/

/*CABEZA*/


/*SIDEBAR*/
.sidebar {
	margin-top: 4rem;
	width: 4rem;
	height: calc(100vh - 4rem - 3rem); 
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	padding: 1.1rem 0;
	border-right: 1px solid var(--border-color);
	overflow-y: auto;
	background-color: var(--background-color);
	transition: width 0.5s ease;
}

.sidebar.menu-toggle {
	width: 18.75rem;
}

.sidebar a {
	display: flex;
	align-items: center;
	gap: 1.3rem;
	padding: 0.9rem 0.7rem;
	text-decoration: none;
	margin: 0 0.5rem;
	border-radius: 0.5rem;
	white-space: nowrap;
	overflow: hidden;
	color: var(--text-color);
}

.sidebar a:hover {
	background-color: var(--background-hover);
}

.sidebar a.selected {
	color: var(--text-selected-color);
	background-color: var(--background-selected);
}

.sidebar a.search {
	padding: 1rem 0.7rem;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0.2rem;
}

.sidebar img {
	width: 1.6rem;
}
/*SIDEBAR*/


/*CUERPO*/

/*TEXTO*/
main {
	margin-top: 4rem;
	margin-left: 4rem;
	padding: 2rem;
	padding-bottom: 5rem; 
	transition: margin-left 0.5s ease;
}

main.menu-toggle {
	margin-left: 18.75rem;
}
/*TEXTO*/


/*BIENVENIDOS*/
.conclusion-section {
    margin-top: 3rem;
    padding: 1.5rem;
    background-color: var(--background-hover);
    border-left: 4px solid var(--text-selected-color);
    border-radius: 0.5rem;
}
/*BIENVENIDOS*/


/*ACERCA*/


/*ACERCA*/
.map-container {
    margin: 2rem 0;
}

.map-container h3 {
    font-size: 1.1rem;
    color: var(--text-selected-color);
    margin-bottom: 0.8rem;
}

/* Asegurar que el contenedor principal no se pegue a los bordes */
.content-wrapper {
    padding: 0 1rem;
}
/*ACERCA*/


/*ACTIVIDADES*/
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.6;
}

main h1, main h2 {
    color: var(--text-title-color);
    margin-bottom: 1.5rem;
}

main h1 {
    text-align: center;
    font-size: 2.2rem;
}

main p {
    color: var(--text-color);
    margin-bottom: 1.2rem;
    text-align: justify;
}

.games-container {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
}

.game-card {
    display: flex;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-card img {
    width: 40%;
    object-fit: cover;
    height: auto;
}

.game-info {
    padding: 1.5rem;
    width: 60%;
}

.game-info h3 {
    margin-bottom: 0.8rem;
    color: var(--text-selected-color);
}
/*ACTIVIDADES*/


/*PIE DE PAGINA*/
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3rem; /* Altura del footer */
	background-color: #000;
	border-top: 1px solid var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 200; /* Para que esté al nivel del header */
	color: #FFF;
	font-size: 0.9rem;
}
/*PIE DE PAGINA*/

/*CONTACTAME*/
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%; /* Relación de aspecto 16:9 */
    position: relative;
    height: 0;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.social-section {
    text-align: center;
}

.social-section h3 {
    color: var(--text-title-color);
    margin-bottom: 1.5rem;
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    border-radius: 0.8rem;
    transition: all 0.3s ease;
    background-color: var(--background-color);
}

.social-card:hover {
    background-color: var(--background-hover);
    border-color: var(--text-selected-color);
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.social-card img {
    width: 1.8rem;
}

.social-card span {
    font-weight: 600;
}
/*CONTACTAME*/


/*RESPONSIVE*/
@media (max-width: 500px) {
	.right .icons-header {
		display: none;
	}

	.sidebar {
		width: 0;
	}

	main {
		margin-left: 0;
	}

	main.menu-toggle {
		margin-left: 0;
	}

	.menu.menu-toggle div:first-child {
		width: 100%;
		transform: rotate(-45deg) translate(-0.2rem,0.3rem);
	}

	.menu.menu-toggle div:nth-child(2) {
		opacity: 0;
	}

	.menu.menu-toggle div:last-child {
		width: 100%;
		transform: rotate(45deg) translate(-0.2rem,-0.3rem);
	}

	.social-grid {
	    flex-direction: column;
	}
	    
	.social-card {
	    justify-content: center;
	}

	.game-card {
	        flex-direction: column;
	    }

	    .game-card img {
	        width: 100%;
	        height: 200px;
	    }

	    .game-info {
	        width: 100%;
	    }
	}

	.conclusion-section {
	    margin-top: 3rem;
	    padding: 1.5rem;
	    background-color: var(--background-hover);
	    border-left: 4px solid var(--text-selected-color);
	    border-radius: 0.5rem;
	}
}
/*RESPONSIVE*/