@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

	* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}
	body{
		margin:0px;
		background:white;
		font-family: "Rubik", sans-serif;
	}
	h1{
		font-size:28px;
		margin:20px;
		color:#000;
	}
	.container {
		display:flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		padding-top: 50px;
	}
	
	.container a{
		color: white;
		
	}

	.item1{
		background-color:#7AC484;
		margin: 20px;
		width: 300px;
		height: 80px;
		display:flex;
		justify-content: center;
		align-items: center;
		border-radius: 40px;
	}
	.item2{
		background-color:grey;
		margin: 20px;
		width: 150px;
		height: 50px;
		display:flex;
		justify-content: center;
		align-items: center;
		border-radius: 40px;
	}
	
	.item3{
		background-color:#0F7DD7;
		margin: 20px;
		width: 300px;
		height: 80px;
		display:flex;
		justify-content: center;
		align-items: center;
		border-radius: 40px;
	}
	
	.item4{
		background-color:#E48BC6;
		margin: 20px;
		width: 300px;
		height: 80px;
		display:flex;
		justify-content: center;
		align-items: center;
				border-radius: 40px;

	}
	
	
		
	.item1:hover, .item2:hover, .item3:hover, .item4:hover {
		box-shadow: 0px 0px 20px black;
	}
	
	.item {
		color:#000;
		text-decoration:none;
		font-size:18px;
	}
	
	.header{
		display: flex;
		flex-direction: row;
		justify-content:space-between;
		align-items: center;
		background:#015668;
		 padding: 10px 20px;
    width: 100%;
	}
	
	

	
	
	.logo img{
    width: 540px;
    display: block;
}
	
	nav{
		margin-right: 20px;
	}
	
	nav a{
    position: relative;
    display: inline-block;

    text-decoration: none;
    color: white;

    padding: 20px;
    font-size: 14pt;
    font-weight: 200;
}

/* línia invisible inicialment */
nav a::after{
    content: "";
    position: absolute;

    left: 50%;
    bottom: 10px;

    width: 0;
    height: 1px;

    background-color: white;

    transform: translateX(-50%);
    transition: width 0.25s ease;
}

/* línia quan passes el cursor */
nav a:hover::after{
    width: 80%;
}
	
	.pi{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	#myadmin{
		position:fixed;
		bottom: 40px;
		right: -10px;
	}

#myadmin img{
		width: 70px;
		transform: rotate(90deg);
	}
	
	.hero{
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items:flex-start;
		
	}
	
	.cicle{
		text-align: left;
		padding: 40px;
	
		width: 50%;
		
	}
	
	.ciclefoto{
		width: 50%;
	}
	
	.ciclefoto img{
		width: 100%;
		
	}
	
	.cfgs{
		font-weight: 600;
		color: grey;
		font-size: 14px;
	}

	.cicle .gint {
		font-size: 50px;
		font-weight: 600;
	}
	
	.cicle .gint2 {
		font-size: 30px;
		color: grey;
	}
	
	.cicle .gint3 {
		margin-top: 20px;
		font-size: 20px;
		color: grey;
	}
	
	


	#burg{
		display: none;
	}

#burg2{
		display: none;
	}

	.pr1{
		font-size: 34px;
		color: black;
		font-weight: 600;
		margin-bottom: 20px;
		
	}

.titulo1{
		font-size: 34px;
		color: black;
		font-weight: 600;
		margin-bottom: 20px;
		margin-top: 10px;
	text-align: center;
		
	}



	.proj_recents{
		padding: 10px 40px;
		
	}

.main{
		padding: 10px 40px;
		
	}
	
	
	.pr_main{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
		flex-wrap: wrap;
		gap: 30px;
	}


	.pr_link{
		
		border:solid 1px;
		border-radius: 20px;
		width: 20%;
		text-decoration: none;
		color: grey;
		font-weight: 400;
	}
	
	.pr_link:hover{
		box-shadow: 0px 0px 20px black;
	}







	.pr_img img{
		border-radius: 20px;
		width: 100%;
	}
	
	.pr_titul{
		color: black;
		font-weight:600;
		font-size: 20px;
	}
	.pr_titul, .pr_autor, .pr_curs, .pr_assignatura{
		
		margin-left: 20px;
		
			
	}
	
	.pr_autor{
		font-size: 12px;
	}
	
	.pr_assignatura{
		font-size: 12px;
	}
	
	 .pr_curs{
		 margin-bottom: 10px;
		 font-size: 12px;
	}
	


.user_main{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
		gap: 30px;
	}

.user_link{
		
		border:solid 1px;
		border-radius: 20px;
		width: 20%;
		text-decoration: none;
		color: grey;
		font-weight: 400;
	}
	
.user_link:hover{
	box-shadow: 0px 0px 20px black;
}
	


	.user_img img{
		border-radius: 20px;
		width: 100%;
	}

.user_nom{
	text-align: center;
	margin-bottom: 10px;
}




.decobreix{
	margin-top: 30px;
}
	
.decobreix a{
	background:#0F88E0;
	padding: 10px 20px;
	border-radius: 20px;
	color: white;
	text-decoration: none;
}

.decobreix a:hover{
	background:#9BAC3C;

}

.arxiu{
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	

}

.arxiu_bt{
	margin-top: 0px;
	margin-bottom: 30px;
}
	
.arxiu_bt a{
	background:#0F88E0;
	padding: 10px 20px;
	border-radius: 20px;
	color: white;
	text-decoration: none;
	font-size: 13px;
}

@media only screen and (max-width: 768px) {
	.ciclefoto{
		display: none;
	}
	
	.cicle{
		text-align: left;
		padding: 40px;
	
		width: 100%;
		
	}
	#navegacio{
		display: none;
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100vw;
		height: 100vh;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background: #015668;
		
	}

	#burg{
		display: flex;
		position: absolute;
		top: 10px;
		right: 10px;
	}
	
	

#burg2{
		display: none;
	position: absolute;
		top: 10px;
		right: 10px;
	}
	.header{
		display: flex;
		flex-direction: row;
		justify-content:space-between;
		align-items: center;
		background:#015668;
		 padding: 20px 0px;
    width: 100%;
	}
}	