/*
    Lisa Monpierre
    EFRITS SAS
 
    Training center website
    Dec. 2021
*/

.portals
{
	width: 100%;

	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	margin: auto;
}
.portal
{	
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: 0 auto;
	padding: 0 10px;

	text-shadow: none;
}

.portal video
{
	width: 100%;	
	box-shadow:none;
	clip-path: inset(1px 1px);
}

.portal img
{
	width: 100%;	
	padding: 10px;
	box-shadow:none;
}
.portal img:hover
{
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
	padding: 10px;
	border-radius: 6px;
}

.portalParaph
{
	margin: 40px 0;
	padding: 30px;
	min-height: 500px;
	
	background-image: url("../resource/background/bkg1.png");
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
}

/*
.portalParaph div
{
	width: 100%;
	min-height: 350px;
}*/
.portalImg
{
	display: flex;
	padding: 0;
	border-radius: 6px;
}
.portalVideo
{
	width: 100%;
	clip-path: inset(1px 1px);
}
.portalVideo video
{
	padding: 0;
	margin: 2% 0 !important;
	min-height: fit-content;
	min-width:100%;
	background-size: contain;
	z-index: -1;
	border-radius : 6px;
}
.portalButton
{
	font-size: 130%;
	margin: 5px auto 10px;
	height: 80px;
	
	background-color: white;
	font-weight: bold;
	outline:none;
	text-shadow: none;
	color: black;
	box-shadow: none;
}
.portalButton:hover
{
	color: black;


}
.portalSubTitle
{
	color:#D2691E;
	font-weight:bold;
	width:100%;

}

@media 	only screen and 
		(min-width: 541px) 
		/* portrait tablet */
{
	#portals
	{
		min-height: 450px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: 80%;
		margin: 10px auto;
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto 20px;
	}
	.portalButton
	{
		font-size: 24px;
		margin: 10px auto 50px;
		width: 100%;
	}
}

@media 	only screen and 
		(max-width: 540px) 
		/* portrait mobile */
{
	#portals
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: 100%;
		margin: 10px auto;
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto 20px;
	}
	.portalButton
	{
		width: 100%;
		margin: 10px auto 50px;
	}
}

@media 	only screen and 
		(min-width : 1825px) 
		/* desktop */
{
	#portals
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: calc(100% / 3);
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto 20px;
	}
	.portalButton
	{
		margin: 10px auto 50px;
		width: 40%;
	}
}

@media	only screen and 
		(orientation: landscape) and 
		(min-width: 1601px) and 
		(max-width: 1824px) 
		/* desktop */
{
	#portals
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: calc(100% / 3);
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto 20px;
	}
	.portalButton
	{
		font-size: 24px;
		margin: 10px auto 50px;
		width: 40%;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 1225px) and 
		(max-width: 1600px) 
		/* laptop */
{
	.portals
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: calc(100% / 3);
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto;
	}
	.portalButton
	{
		font-size: 22px;
		margin: 10px auto 50px;
		width: 40%;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 961px) and 
		(max-width: 1224px) 
		/* landscape tablet */
{
	#portals
	{
		min-height: 500px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portal
	{
		width: calc(100% / 3);
	}
	.portalImg
	{
		width: 100%;
	}
	.portalButton
	{
		font-size: 22px;
		margin: 10px auto 50px;
		width: 80%;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(max-device-width: 960px) 
		/* landscape mobile */
{
	#portals
	{
		min-height: 450px;
		width: 100%;

		display: flex;
		flex-wrap: wrap;
		align-content: space-around;
		margin: auto;
		padding: 0;
	}
	.portalImg
	{
		width: 100%;
		margin: 0 auto 20px;
	}
	.portal
	{
		width: 100%;
	}
	.portalButton
	{
		margin: 10px auto 50px;
		width: 100%;
	}
}