/*****************************/
/* BELOW 1200px (Landscape Tablets) */
/*****************************/

@media (max-width: 75em) {
  	/*** INDEX ***/
  	.img_index p {
    	font-size: 2rem;
  	}

  	/*** INDEX2 ***/
  	.index2 p {
    	font-size: 1.4rem;
  	}
	
	.index2 img {
		height: 600px;
	}
	
	/*** VOIR POSSESSION **/
	.voir_possession {
		margin : 0 2rem;
	}
	
	/*** MEMBERS AREA ***/
	/*** MEMBERS SUBSCRIBE ***/
	/*** MEMBERS VERIFICATION ***/
	.membersform,
	.login_form,
	.members_informations {
		padding: 0 1rem;
	}
	
}

/*****************************/
/* BELOW 944px (Tablets) */
/*****************************/
@media (max-width: 59em) {
	/*** GENERAL ***/
	p {
		font-size: 1.8rem;
	}

	h1 {
		font-size: 2.4rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	h3 {
		font-size: 1.2rem;
	}

	.menu-items {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
	}

  	/*** OTHER SECTIONS ***/
  	/*** INDEX ***/
  	.img_index p {
    	font-size: 1.7rem;
  	}

  	/*** INDEX2 ***/
  	.index2 {
    	grid-template-columns: 1fr;
  	}
	
  	.index2 p {
    	font-size: 1.6rem;
  	}
	
	.index2 img {
		margin: 0 auto;
	}

	/*** VOIR POSSESSION **/
	.voir_possession {
		margin : 0 2rem;
	}
	
	/*** LES FORFAITS ***/
	.lesforfaits_prix {
		grid-template-columns: repeat(2, 1fr);
	}
	
	/*** MEMBERS AREA ***/
	.membersform label {
		font-size: 1.2rem;
	}
	
	/*** MEMBERS VERIFICATION **/
	.members_informations {
		grid-template-columns: repeat(2,1fr);
	}
	
	.gridspanfour {
		grid-column: span 2;
	} 
	
	/*** MEMBERS PAY ***/
	.members_payments {
		font-size: 1.2rem;
	}
}

/*****************************/
/* BELOW 704px (Smaller Tablets) */
/*****************************/
@media (max-width: 44em) {
  /*** GENERAL ***/

  	h1 {
    	font-size: 1.6rem;
  	}

  	h2 {
    	font-size: 1.2rem;
  	}

  	h3 {
    	font-size: 0.8rem;
  	}
		
  	/*** MOBILE NAVIGATION ***/
  	.navbar {
    	opacity: 1;
  	}

  	.navbar-container input[type="checkbox"],
  	.navbar-container .hamburger-lines {
    	display: block;
  	}

  	.navbar-container {
    	display: block;
    	position: relative;
    	height: 90px;
  	}

  	.navbar-container input[type="checkbox"] {
		position: absolute;
		display: block;
		height: 32px;
		width: 30px;
		top: 20px;
		left: 20px;
		z-index: 5;
		opacity: 0;
  	}

  	.navbar-container .hamburger-lines {
		display: block;
		height: 23px;
		width: 35px;
		position: absolute;
		top: 17px;
		left: 20px;
		z-index: 2;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
  	}

  	.navbar-container .hamburger-lines .line {
		display: block;
		height: 4px;
		width: 100%;
		border-radius: 10px;
		background: #333;
  	}

  	.navbar-container .hamburger-lines .line1 {
    	transform-origin: 0% 0%;
    	transition: transform 0.4s ease-in-out;
  	}

  	.navbar-container .hamburger-lines .line2 {
    	transition: transform 0.2s ease-in-out;
  	}

  	.navbar-container .hamburger-lines .line3 {
    	transform-origin: 0% 100%;
    	transition: transform 0.4s ease-in-out;
 	 }

  	.navbar .menu-items {
		padding-top: 100px;
		background: #999;
		height: 100vh;
		max-width: 300px;
		transform: translate(-150%);
		display: flex;
		flex-direction: column;
		margin-left: -40px;
		padding-left: 50px;
		transition: transform 0.5s ease-in-out;
		box-shadow: 5px 0px 10px 0px #aaa;
		font-family: "Oswald", sans-serif;
  	}

  	.navbar .menu-items li {
		margin-bottom: 1.5rem;
		font-size: 0.8rem;
		font-weight: 500;
  	}

  	.menu-items a:link,
  	.menu-items a:visited {
    	color: black;
  	}

  	.menu-items a:hover,
  	.menu-items a:active {
    	color: red;
  	}

  	.logo {
		position: absolute;
		padding: 0;
		margin: 0;
		top: 5px;
		right: 5px;
 	 }

  	.has-submenus:after {
    	content: "\025BC";
    	color: red;
  	}

  	.has-submenus:hover > ul,
  	.has-submenus:focus > ul {
		display: block;
		opacity: 1;
		z-index: 99999;
  	}

  	.has-submenus ul {
    	opacity: 1;
    	background: gray;
    	/*font-family: "Oswald", sans-serif;*/
  	}

  	.has-submenus ul a:link,
  	.has-submenus ul a:visited {
    	color: black !important;
  }
	
  	.has-submenus ul a:hover,
  	.has-submenus ul a:active {
    	color: red !important;
  	}

  	.navbar-container input[type="checkbox"]:checked ~ .menu-items {
    	transform: translateX(0);
  	}

  	.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
    	transform: rotate(35deg);
  	}

  	.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
    	transform: scaleY(0);
  	}

  	.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    	transform: rotate(-35deg);
  	}


  	/*** OTHER SECTIONS ***/
  	/*** INDEX ***/
  	.img_index p {
    	font-size: 1.4rem;
  	}
	
  	/*** INDEX2 ***/
  	.gen-container p {
    	font-size: 1.6rem;
  	}
	
	/*** LES FORFAITS ***/
	/*** MEMBERS PAY ***/
	.lesforfaits_prix,
	.members_payments {
		grid-template-columns: 1fr;
	}
	
	/*** MEMBERS PAY ***/
	.members_payments {
		font-size: 1.6rem;
	}
	
}

/*****************************/
/* BELOW 544px (Phones) */
/*****************************/
@media (max-width: 34em) {
	
	p {
		font-size: 1.4rem;
	}
  	/*** OTHER SECTION ***/

  	/*** INDEX ***/
  	.img_index {
    	height: 60vh;
  	}
	
	/*** VOIR POSSESSION ***/
	.voir_possession {
		grid-template-columns: 1fr;
	}
	
	ul.counter {
		flex-flow: row wrap;
	}
	
	/*** MEMBERS VERIFICATION **/
	.members_informations {
		grid-template-columns: 1fr;
		padding: 0;
	}
	
	.gridspanfour {
		grid-column: span 1;
	} 
}
