@charset "UTF-8";
@import "main.css";

:root{
	/* MAIN */
	--theme-background-color : #FFF;
	--theme-section-margin-top: 100px;

	/* INDEX */
	--theme-global-margin : 200px;
	--theme-figcaption-margin : 25px;
	--project-global-margin: 30px;
}

*{}


section div {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-gap: 200px;
	margin-top: 100px;
}

/*//////////////////////////////////*/

section article{
	/*width:100%;*/
}

section article figure img{
	width: 100%;
}

section article hgroup {
	margin-bottom: 20px;
}

section article:nth-child(odd) hgroup{
	margin-left: var(--project-global-margin);
}


section article:nth-child(even) hgroup{
	margin-right: var(--project-global-margin);
}

section article .date{
	font-size: 15px;
}

section article h3, section article h3 a {
	font-family: var(--theme-font-family);
	font-weight: normal;
	font-size: 30px;
	margin: 10px 0;
}

figure{
	position: relative;
}

figure figcaption{
	position: absolute;
	top:50%;
	top:50%;
	width: max-content;
	width: -moz-max-content;    /* Firefox */
  	width: -webkit-max-content; /* Chrome */
	transform-origin: center;
	font-size: 15px;
}

section article:nth-child(odd) figure figcaption{
	transform: translateX(-50%) rotate(90deg);
	left: calc(100% + var(--theme-figcaption-margin));
}

section article:nth-child(even) figure figcaption{
	transform: translateX(50%) rotate(90deg);
	right: calc(100% + var(--theme-figcaption-margin));
}

.type{
	background-color: #000;
	color:#FFF;
	padding: 5px 10px;
	border-radius: 10px;
	width: max-content;
	width: -moz-max-content;    /* Firefox */
  	width: -webkit-max-content; /* Chrome */
	margin-bottom: 10px;
}

h2{
	font-size: 125px;
	font-family: 'Oswald', sans-serif;
	font-weight: bold;
	width: calc(100% - calc(var(--project-global-margin) * 2));
	margin: 0 auto;
}

h3{
	font-size: 50px;
	font-family: 'Oswald', sans-serif;
	font-weight: bold;
}

.subtitle{
	margin-bottom: 30px;
}

.cta{
	background-color: #FFEF2C;
}

/*///////////////////////////////////////////////////////////////*/

@media screen and (max-width: 690px) {
	:root{
		--theme-section-margin-top: 50px;	
	}

	h2{
		font-size: 80px;
	}

	h3{
		font-size: 30px;
	}

	section div {
		display: block;
	}

	section article{
		margin-top: 50px;
	}
	
	section article .date{
		font-size: 10px;
	}

	section article h3 {
		font-size: 20px;
	}

	section article hgroup{
		margin: 0 var(--project-global-margin);
		margin-bottom: var(--project-global-margin);
	}

	figure figcaption{
		position: relative;
	}
	
	section article:nth-child(odd) figure figcaption{
		transform: translateX(0) rotate(0deg);
		left:var(--project-global-margin);
		top:5px;
	}
	
	section article:nth-child(even) figure figcaption{
		transform: translateX(0) rotate(0deg);
		left:var(--project-global-margin);
		top:5px;
	}
}

@media print{
	:root{
		
	}
}