/*GLOBAL*/
body{
	border: 2px solid #FFF4E8;
	background: #AB004A;
	color: #FFF4E8;
}
.full-menu{
	color: #FFF4E8;
	background: #AB004A99;
	border-color: #FFF4E8;
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
    box-shadow: 0.25rem 0.25rem 0rem #FFF4E8;
}

a, a:link, a:visited, a:active{
	color: #FFF4E8;
}

.logo a:hover{
	box-shadow: .25rem .25rem 0rem #FFF4E8;
}

.menu li a{
    border: solid 1px #FFF4E8;
}
.menu li a:hover {
    box-shadow: .25rem .25rem 0rem #FFF4E8;
}
.menu li a:active{
	box-shadow: 0 0 0;
    -webkit-transform: translate(0rem, 0rem);
}


/*HEADER*/
/*Title*/
h1{
	text-align: right;
    margin: 0 5%;
   	margin-block-end:-1.7rem;
}
.h1-grid{
	display: block;
	margin: 0 auto;
	border-bottom: 2px dashed #FFF4E850;
}

/*Infos*/
.project-info{
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	/*border-top: 2px dashed #FFF4E850;
	border-bottom: 2px dashed #FFF4E850;*/
	max-width: 1400px;
	margin: 8rem auto 4rem;
}
h2{
	min-width: initial;
	padding: initial;
	margin: initial;
}
h2 li{
	font-size: 18px;
	font-weight: 500;
	letter-spacing: initial;
	margin-top:initial;
	padding: 0 0 .5rem 1rem;
}
.project-categories li{
	font-family: 'Clash Display', sans-serif;
	list-style: none;
}
.project-categories, .project-varia, .project-tasks{
	padding: 1rem 1rem 0.5rem;
}
.project-tasks{
	border-right: 2px dashed #FFF4E850;
	border-left: 2px dashed #FFF4E850;
}
.project-tasks li{
	list-style: "| ";
	margin-top:initial;
	padding: 0 0 .5rem 1rem;
}
.project-categories dt, .project-varia dt, .project-tasks dt{
	font-weight: 300;
	font-style: italic;
	padding-bottom: 0.3rem;
}
.project-varia dd{
	padding: 0 0 .5rem 1rem;
}
.project-info a{
	text-decoration: underline;
}
.project-info a:hover{
	text-decoration: none;
}

/*CONTENT*/
/*Texts*/

mark{
	background-color: #FFF4E8;
	color: #AB004A;
}
.project-content h2{
	margin-bottom: 1em;
}
.project-content a{
	text-decoration: underline;
}
.project-content a:hover{
	text-decoration: none;
}
.project-content .project-intro, .project-content .project-text{
	margin: 5rem auto 5rem;
	line-height: 1.8em;
	font-weight: 300;
}
.project-content .project-intro{
	font-size: 20;
	text-align: center;
	max-width: 960px;
}
.project-content .project-text{
	max-width: 800px;
}

.project-content .project-text ol, .project-content .project-text ul{
	margin: 2rem;
	line-height: 1.7rem;
}
.project-content .project-text li{
	margin: 1rem 0;
}

/*Images*/
.project-image{
	text-align: center;
	margin: 1em auto;
}
.project-image>figure{
	position: relative;
	display: inline-block;
	margin-right: auto;
	margin-left: auto;
	max-width: 1060px;
}
.project-image .credits{
	margin-top: 0.5rem;
	text-align: right;
	font-size: 12;
	font-weight: 300;
}
.project-image img{
	width: 90%;
}

/*NEXT PROJECT*/

.next-project{
	max-width: 960px;
	margin: 10em auto;
	padding: 0 1em;
}
.next-project h1{
	font-size: 100;
	padding: initial;
	line-height: 0.8;
	margin: 2rem 0 4rem;
}
.next-project figure{
	display: flex;
}
.next-project figure img{
	max-width: 960px;
	margin: 0 auto;
	height: 100%;
	max-height: 50vh;
	transition: all 0.3s ease;
	transform-origin: left top;
}
.next-project img:hover{
	transform: scale(1.03);
}

/*FOOTER*/

button{
	color: #FFF4E8;
	border-color:#FFF4E8;
}
button:hover, button:focus {
	box-shadow: .25rem .25rem 0rem #FFF4E8;
}
button:active{
	box-shadow: 0 0 0;
    -webkit-transform: translate(0rem, 0rem);
}
.footer-contacts-grid{
	border-top:  2px dashed #FFF4E850;
}

/*MEDIA QUERIES*/

/*Large devices*/
@media screen and (max-width: 1286px){
	.project-image>figure{
	max-width: 900px;
	}
}

/*Classic devices (landscape tablets, laptops)*/
@media screen and (max-width: 1200px){
	.project-content{
		padding:1rem;
	}
	.next-project figure img{
		max-width: 780px;
	}
}
@media screen and (max-width: 1080px){
   	h1{
   		margin-block-end:-1.5rem
   	}
}
@media screen and (max-width: 960px){
	.next-project figure img{
		height: initial;
		max-height: initial;
		width: 95%;
	}
	h1{
   		margin-block-end:-1.2rem
   	}
}

@media screen and (max-width: 850px){
   	h1{
   		margin-block-end:-1rem
   	}
}

/*Medium devices (landscape phones, portrait tablets)*/
@media screen and (max-width: 768px){
	.project-info{
		grid-template:'header header''main right';
		padding-bottom:0;
	}
	.project-categories{
		grid-area: header;
		padding-bottom:1.5em;
	}
	.project-tasks{
		grid-area: main;
		border-left: 0;
	}
	.project-varia{
		grid-area: right;
	}
	.next-project h1 {
		font-size: 70px;
	}
	.next-project figure img:hover{
		transform: none;
	}
	.next-project-quote{
		display: block;
		opacity: 1;
		margin: 0 0 1% 3%;
		font-size: 16;
		font-weight: 300;
	}
	.next-project figure:hover .next-project-quote{
		transform: none;
	}
}

/*Small devices (portrait phones)*/
@media screen and (max-width: 576px){
	.project-categories h2{
		font-size: 25px;
	}
	.project-categories{
		border-bottom: 0;
	}
	.project-info{
		display:block;
	}
	.project-tasks{
		border-right: 0;
		border-top:2px dashed #FFF4E850;
		border-bottom:2px dashed #FFF4E850;
	}
	.next-project{
		margin-top:5em;
	}
	.next-project h1 {
		font-size: 60px;
	}
   	h1{
   		margin-block-end:-0.7rem
   	}
}

/*Very small devices (SE)*/
@media screen and (max-width: 490px){
	.project-categories{
		display:block;
	}
	.project-content p{
		font-size: 18px;
	}
	.project-intro{
		text-align: left;
		margin-top:1rem;
	}
	.next-project h1 {
		font-size: 42px;
	}
}
@media screen and (max-width: 410px){
	h1{
		font-size: 40;
		margin-block-end:-0.6rem

	}
	.project-varia dd:before{
		content:"| ";
	}
}