/*=========*/
/* GENERAL */
/*=========*/

html,body{
	width: 100%;
	height: 100%;
	margin: 0;
	color: white;
	text-align: center;
	font-family: Serif, Arial, Helvetica, sans-serif;
	overflow-x:hidden;
}
.home_main,.services_main{
	width: 100%;
	padding-top:5px;
	flex:1;
}
.services_background{
	background: #F5F5DC;
	width: 100%;
	height: 100%;
	display:flex;
	flex-direction:column;
}
#service_h1{
	color:black;
	font-family:serif;
	font-size:50px;
	margin-top:5px;
}
.blur {
	background: rgba(255, 255, 255, 0.15);
	display:block;
	height: 100%;
}
.fixed{
	position:fixed;
	bottom:0;
}
footer{
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
}
.hello{
	font-family: "Festive", Arial, Helvetica, sans-serif;
	line-height: 50px;
	font-size: 80px;
	font-style: italic;
	margin:0;
	height: 20;
}
/* ========= */
/*END GENERAL*/
/* ========= */

/* ========= */
/*    MENU   */
/* ========= */
.topnav{
	overflow: hidden;
}
/* Style the links inside the navigation bar */
.topnav a{
	float: left;
	color: #f2f2f2;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
	font-size: 17px;
}
/* Change the color of links on hover */
.topnav a:hover{
	background-color: none;
	color: black;
}
/* Right-aligned section inside the top navigation */
.topnav-right{
	float: right;
}
.services_topnav{
	background-color:#910f3f;
	padding:5px;
}
.devis_btn{
	background-color:#042a5e;
	line-height:1em;
	border-top-left-radius:40px;
	border-top-right-radius:40px;
	border-bottom-right-radius:40px;
	border-bottom-left-radius:40px;
	padding-left:40px;
	padding-right:40px;
	padding-top:16px;
	padding-bottom:16px;
	font-size: 0.9375rem;
}
/* .devis_btn:hover{ */
/* 	color:yellow; */
/* } */

/*=========*/
/*END MENU*/
/*=========*/

.profile-img{
	width: 180px;
	height: 150px;
}

/*=========*/
/* FLEXBOX */
/*=========*/

.flex-container{
	display: flex;
	flex-direction: column;
	align-items: center;
	align-content: center;
}
.contact-box{
	flex-grow:1;
	align-self:center;
}

.events_flex_container{
	display: flex;
	flex-direction: row;
}
.event-box{
	border-radius:5%;
	padding:20px;
	margin-left:10px;
	margin-right:10px;
	flex-grow:1;
	align-self:center;
}
.event-title-type:hover{
	color:gray;
}
.box-img{
	width:400px;
	object-fit:cover;
	border-radius:5%;
}
.box-img:hover{
	opacity:0.5;
}
.event-box a{
	text-decoration:none;
	color:black;
}

/*=========*/
/* END FLEXBOX */
/*=========*/

/*=========*/
/* FONT AWESOME ICONS */
/*=========*/

.social_icon{
	padding:7px;
	border: 2px solid white;
	border-radius:50%;
	width:45px;
	height:45px;
	margin-top:55px;
	margin-right:10px;
}
.fa{
	font-size: 45px !important;
	text-decoration: none;
}
.fa:hover {
	opacity: 0.7;
}
/* END FONT AWESOME ICONS */

/*=========*/
/*GENERAL*/
/*=========*/
.li-without-style{
	list-style:none;
}
li{
	list-style: square;
}
em{
	font-weight: bold; font-style: normal;
}
.center{
	text-align:center;
}
.italic{
	font-style:italic;
}

/* burger menu */
/* Burger toggle button */
.burger-toggle {
  display: none;
}

.burger-icon {
  display: none;
  flex-direction: column;
  width: 30px;
  cursor: pointer;
  z-index: 1001;
  margin: auto;
}

.burger-icon span {
  background: #000000;
  border-radius: 2px;
  height: 4px;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}

/* Show burger icon on small screens */
@media only screen and (max-width: 500px) {
  .burger-icon {
    display: flex;
  }

  .burger-menu {
    display: none;
    flex-direction: column;
    background-color: #910f3f;
    position: absolute;
    left: 0;
    width: 100%;
  }

  .burger-menu a {
    padding: 15px;
    text-align: center;
    float: none;
  }

  #burger-toggle:checked + .burger-icon + .burger-menu {
    display: flex;
  }

  .topnav-right {
    float: none;
  }
  .devis_btn{
	width:50%;
	margin:auto;
  }
}
/* end burger menu test */

/* flipping cards */
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  margin: 10px auto;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 5%;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg) scaleX(0.9);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flip-card-front {
  background-color: transparent;
  color: black;
}

.flip-card-back {
  background-color: #910f3f;
  color: white;
  transform: rotateY(180deg);
  padding: 10px;
  margin:auto;
  text-align:center;
}
/* end flipping cards style */

/* MEDIA QUERIES */
/* Adapt to smaller devices */

@media only screen and (max-width: 1400px) {
	footer{
		min-height:150px;
	}
	.social_icon{
		padding:5px;
		border: 2px solid white;
		border-radius:50%;
		width:35px;
		height:35px;
		margin-top:35px;
		margin-right:10px;
	}
	.fa{
		font-size:35px!important;
	}
}
@media only screen and (max-width: 1340px) {
	.events_flex_container{
		flex-direction:column;
	}
	.box-img{
		width:300px;
	}
}
@media only screen and (max-width: 850px) {
	footer{
		min-height:150px;
	}
	.social_icon{
		padding:5px;
		border: 2px solid white;
		border-radius:50%;
		width:20px;
		height:20px;
		margin-top:25px;
		margin-right:10px;
	}
	.fa{
		font-size:20px!important;
	}
}
@media only screen and (max-width: 750px) {
	.background{
		width: 100%;
		height: 100%;
	}
	.flex-container{
		align-content: center;
	}
	.hello{
		font-size:50px;
		height:10%;
	}
	.profile-img{
		width:100px;
		height:100px;
	}
	.fa{
		padding:10px;
		font-size: 20px !important;
	}
	footer{
		min-height:200px;
	}
}
@media only screen and (max-width: 410px) {
	.box-img{
		width: 300px;
	}
	.flip-card{
		width:200px;
		height:200px;
	}
	.box-img{
		width:200px;
	}
}
@media only screen and (max-width: 350px) {
	.social_icon{
		margin-top:20px;
	}
}
