/*HOJA DE ESTILOS WEB CODESPRINTS GRUMETS*/

/*ESTILOS GENERALES*/

html{
	padding: 0;
	margin: 0;
}

body{
	background: radial-gradient(circle 700px at 80% 20%, #3da9d8 0%, #6bbdda 15%, #a8d5e8 40%, #f8f8f8 100%);}


a {
	color: #3da9d8;
	text-decoration: none !important;
}

a:hover {
	cursor: pointer;
	text-decoration: none;

}

a:visited {
	color: #7c96a1;
}


h1{
	font-size: 7rem;
	font-weight: 600;
	line-height: 1.2;
}

h1.main-title{
	font-size: 7rem !important;
	font-weight: 600;
	line-height: 1.2;
	text-align:center;
	margin: 6rem;
}


.cs-social-icon{
  width: 1.6rem !important;
  height: 1.6rem !important;}


.cs-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color:#3da9d8;
}

.cs-social-link:hover {
  color:#23527c;
}

/*TIPOGRAFÍA*/
h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
}

body, p {
  font-family: 'Roboto', sans-serif;
}


/*BARRA DE NAVEGACIÓN*/
	
.codesprints-nav {
	position: sticky;
	top: 2rem;
	z-index: 10;
	width: fit-content;
	margin: 2rem auto;
	background: hsla(0, 0%, 100%, 0.15);
	backdrop-filter: blur(12px) saturate(1.2);
	-webkit-backdrop-filter: blur(12px) saturate(1.2);
	border-radius: 9999px;
	padding: 0 1rem;
	box-shadow: inset 0 0 2px 1px rgba(255,255,255,0.3),
	            0 8px 32px rgba(0,0,0,0.25);
}

.codesprints-nav ul {
	padding: 0;
	margin: 0;
	margin-right: 2rem;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 2rem;
	height: 64px;
}

.codesprints-nav ul li.active a {
	color: #3da9d8;
}

.codesprints-nav ul li a {
	text-decoration: none;
	color: #22263e;
	transition: color 0.2s ease;
}

.codesprints-nav ul li a:hover {
	color: #2eaadc;
}

.codesprints-nav ul li a:active {
	color: #2eaadc;
}

.codesprints-nav ul li a:focus-visible {
	color: #4a5080;
}

.codesprints-nav ul li img {
	height: 50px ;
	display: block;
}

.logo-grumets{
	height: 40px !important ;
}

.codesprints-nav ul li a {
	text-decoration: none;
}



/*BANNER*/
	
.banner {
	padding: 1rem;
	margin: 2rem;
	border-radius: 1rem;
	text-align: center;
}

.banner h1 {
	font-size: 8rem;
	font-weight: 600;
	line-height: 1.2;
}

.banner h2 {
	font-size: 2rem;
	font-weight: 300;
	line-height: 1.2;
}


@media (min-width: 576px) {
	.banner {
		padding: 4rem 2rem;
	}
}

/*CONTENEDORES*/

.cs-container{
	font-size: 1.6rem;
	line-height: 1.6;
	padding: 5rem 10rem;
	margin: 2rem auto;
	width: 95%;
	background: rgba(248, 248, 248, 0.6);
	border-radius: 20px;
	box-shadow: inset 0 0 2px 1px rgba(255,255,255,0.3),
	            0 8px 32px rgba(0,0,0,0.25);
}

.cs-container-flex{
	margin: 5rem auto;
	width: 95%;
	display: flex;
	gap: 2rem;
	flex-direction: row;
}


a.container-button:hover .cs-container {
	box-shadow: inset 0 0 2px 1px rgba(255,255,255,0.5),
	            0 12px 40px rgba(0,0,0,0.35);
	background: linear-gradient(135deg, rgba(61, 169, 216, 0.25), rgba(248, 248, 248, 0.6));
	color:#3da9d8;
	text-decoration: none;
}

a.container-button .cs-container {
	font-size:2rem;
	font-weight: 600;
	color: black;
	text-align: center
}


.cs-container-grid{
	margin: 5rem auto;
	width: 95%;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 4rem;
}

.cs-container-highlight{
	font-size: 1.5rem;
	line-height: 1.6;
	padding: 3rem;
	margin: 2rem 0;
	width: 95%;
	background: rgba(248, 248, 248);
	border-left: solid #3da9d8 5px;
	border-radius: 20px;
	box-shadow: inset 0 0 2px 1px rgba(255,255,255,0.3),
	            0 8px 32px rgba(0,0,0,0.25);
}

/*ELEMENTOS LISTA*/



.cs-element-title:visited{
	color:#3da9d8;
}

.cs-element-title:hover{
	color: #23527c;
}

.cs-element-status{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	border-radius: 999px;
	color: white;
	padding: 0.3rem 1rem;
}

.upcoming{
 	background-color: #006666;
}

.past{
 	background-color: #CC0099 ;
}

.cs-element-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cs-element-date::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background: url('../img/clock-icon.svg') no-repeat center / contain;
}

.cs-element-location {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cs-element-location::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  background: url('../img/location-icon.svg') no-repeat center / contain;
}

.cs-element-button{
	border: solid #3da9d8;
	border-radius: 999px;
	color: #3da9d8;
	padding: 0.5rem 2rem;
	margin: 4rem 0;
}

.cs-element-button:visited{
	border: solid  #3da9d8;
	color: #3da9d8;
}

.cs-element-button:hover{
	border: solid  #ae5731;
	color: #ae5731;
}

/*ESTILOS SPRINTS*/

.sprint-date{
	font-size: 2rem;
	padding-right: 1rem;
	font-weight: 600;
	color:#3da9d8;
}

.sprint-location{
	font-size: 2rem;
	padding-right: 1rem;
}

h1.sprint-title{
	font-size:6rem !important;
	line-height: 1.4;
	font-weight: 600;
}

.sprint-title-h2{
	font-size: 2.5rem;
	font-weight: 600;
}

.sprint-button{
	display: inline-block;
	border: solid #3da9d8;
	border-radius: 999px;
	color: #3da9d8;
	padding: 0.5rem 2rem;
	margin: 2rem 0;
}

.sprint-button:visited{
	border: solid  #3da9d8;
	color: #3da9d8;
}

.sprint-button:hover{
	border: solid  #ae5731;
	color: #ae5731;
}

.cs-container img{
width:100%;
margin: 2rem 0;
border-radius: 15px;
}

.sprint-info{
display:flex;
flex-direction:row;
gap:1rem;
}

.sprint-item{
	display: inline-block;
	border: solid #1e555c;
	border-radius: 999px;
	color: #1e555c;
	padding: 0.5rem 2rem;
	margin: 2rem 0;
}



/*FOOTER*/

footer p{
	font-size:1rem;
	text-align: center;
}


/* Responsive 
*/
@media (max-width: 768px) {
	.codesprints-nav {
		width: 90%;
		padding: 1rem 0.5rem;
		top: 0.5rem;
		border-radius: 1.5rem; 
	}
	.codesprints-nav ul {
		flex-direction: row;
		align-items: center;
		gap: 2rem;
		height: auto;
		margin-right: 0;
		flex-wrap:wrap;
		justify-content: center;
	}
		.codesprints-nav ul li img {
		height: 40px ;
	}

	.codesprints-nav ul li:nth-child(1) { order: 1; }
	.codesprints-nav ul li:nth-child(2) { order: 3; }
	.codesprints-nav ul li:nth-child(3) { order: 4; }
	.codesprints-nav ul li:nth-child(4) { order: 5; }
	.codesprints-nav ul li:nth-child(5) { order: 2; }

	.cs-container{
	padding: 2rem 3rem;;
	}

	.cs-container-grid{
	grid-template-columns: repeat(1, 1fr);
}

	.sprint-date{
	font-size: 1.5rem;
}

	.sprint-location{
	font-size: 1.5rem;
}

	h1.sprint-title{
	font-size:3rem !important;
	}

	.sprint-info{
	gap:01rem;
	flex-wrap:wrap;
	}

	.sprint-button{
	margin: 0;
}

	.sprint-item{
	margin: 0;
}

}