/*
    Lisa Monpierre
    EFRITS SAS
 
    Training center website
    Dec. 2021
*/

#stories, #storiesId
{
	width: 80%;

	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	padding: 0 35px;
	margin: 0 auto;
}
#storiesId
{
	margin: 50px auto;
}

#storiesColorId
{
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: auto;
}

.storyImgColor
{
	padding: 0;
    margin: 0 auto;
}

.storyImg
{
	height: 150px;
	
	padding: 0;
    margin: 0 auto;

}

.storyColor
{
	background-color: #373737;
	border-radius: 6px;
	padding: 20px;
	margin: 10px;
	color: white;
	min-height: 400px;

	
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
}

.story
{
	color: black;
	text-align: center;

	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: 0 auto;
	padding: 0;
	width: 100%;
}

.storyTitle
{
	width: 100%;

	color: #373737;
	text-align: center;
}
.storySubTitle
{
    width: 100%;

    color: #454859;

    font-weight: normal;
    text-align: center;
    margin: 0 auto;
}

.storyAuthorColor
{
	width: 100%;
	height:fit-content;
    text-align: center;
	color: white;
	margin: 20px 0;
	font-weight: bold;
}

.storyAuthor
{
	margin: 20px auto;
    font-weight: 400;	
    color: #454859;
	width: 100%;
	height:50px;
    text-align: center;
}


.storyAuthorMobile
{
	height: 70px !important;
	font-size: 25px !important;
}

.storyImg
{
	padding: 0;
    margin: 0 auto;
}

.storyText
{
	text-align: left;
	padding: 0 5px;
	margin: 0 auto;
	width: 90%;

}

.recommendation
{
	padding:20px;
	box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 1);
	border-radius:100%;
}

@media 	only screen and 
		(min-width: 541px) 
		/* portrait tablet */
{
	.recommendation
	{
		width: 60%;
		margin: auto;
	}
	#storiesColorId
	{
		width: 100%;
	}
	#storys
	{
		min-height: 450px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyAuthor
	{
		font-size: 20px;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyText
	{
		text-align: center;
		height:fit-content;
	}
	.story
	{
		min-height: 100px;
		width: 90%;
		padding: 10px;
	}
	.storyColor
	{
		width: 90%;
	}
	.storyButton
	{
		margin: 0 auto;
		width: 100%;
	}
}

@media 	only screen and 
		(max-width: 540px) 
		/* portrait mobile */
{
	.recommendation
	{
		width: 100%;
		margin: auto;
	}
	#storiesColorId
	{
		width: 100%;
	}
	#storys
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 20px;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyText
	{
		text-align: center;
		height:fit-content;
	}
	.story
	{
		width: 100%;
	}
	.storyColor
	{
		width: 100%;
	}
	.storyButton
	{
		width: 100%;
		margin: 0 auto;

	}
}

@media 	only screen and 
		(min-width : 1825px) 
		/* desktop */
{
	.recommendation
	{
		width: 60%;
		margin: 0 0 0 auto;
	}
	#storiesColorId
	{
		width: 80%;
	}
	#storys
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyText
	{
		text-align: justify;
		height:200px;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 18px;
	}
	.story
	{
		width: calc(100% / 3.2);
	}
	.storyColor
	{
		width: calc(100% / 2.1);
	}
	.storyButton
	{
		margin: 10px auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 1601px) and 
		(max-width: 1824px) 
		/* desktop */
{
	.recommendation
	{
		width: 60%;
		margin: 0 0 0 auto;
	}
	#storiesColorId
	{
		width: 80%;
	}
	#storys
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 18px;
	}
	.storyText
	{
		text-align: justify;
		height:200px;
	}
	.story
	{
		width: calc(100% / 3.2);
	}
	.storyColor
	{
		width: calc(100% / 2.1);
	}
	.storyButton
	{
		margin: 10px auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 1225px) and 
		(max-width: 1600px) 
		/* laptop */
{
	.recommendation
	{
		width: 60%;
		margin: 0 0 0 auto;
	}
	#storiesColorId
	{
		width: 80%;
	}
	#storys
	{
		min-height: 500px;
		width: 500px;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 18px;
	}
	.storyText
	{
		text-align: justify;
		height:200px;
	}
	.story
	{
		width: calc(100% / 3.2);
	}
	.storyColor
	{
		width: calc(100% / 2.1);
	}
	.storyButton
	{
		margin: 10px auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 961px) and 
		(max-width: 1224px) 
		/* landscape tablet */
{
	.recommendation
	{
		width: 80%;
		margin: 0 0 0 auto;
	}
	#storiesColorId
	{
		width: 100%;
	}
	#storys
	{
		min-height: 450px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 18px;
	}
	.storyText
	{
		text-align: center;
		height:fit-content;
	}
	.story
	{
		min-height: 100px;
		width: 90%;
		
		padding: 10px;
	}
	.storyColor
	{
		width: calc(100% /2.1);
	}
	.storyButton
	{
		margin: 0 auto;
		width: 100%;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(max-device-width: 960px) 
		/* landscape mobile */
{
	.recommendation
	{
		width: 100%;
		margin: auto;
	}
	#storiesColorId
	{
		width: 100%;
	}
	#storys
	{
		min-height: 450px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.storyImg, .storyImgColor
	{
		height:150px;
	}
	.storyText
	{
		text-align: center;
		height:fit-content;
	}
	.storyAuthor, .storyAuthorColor
	{
		font-size: 35px;
	}
	.story
	{
		min-height: 100px;
		width: 90%;
		
		padding: 10px;
	}
	.storyColor
	{
		width: 90%;
	}
	.storyButton
	{
		margin: 0 auto;
		width: 100%;
	}
}