/* Reset and common styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body
{
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden; 
}



body {
  font-family: 'Helvetica', sans-serif;
}

/* Header styles */
.logo {
  width: 6vw;
  cursor: pointer;
}

.navbar {
	height:15vh;
	display: flex;
	align-items: center;
	background: linear-gradient(90deg, rgba(0, 102, 102, 1) 0%, rgba(3, 130, 130, 1) 100%);
}

nav ul {
  list-style: none;
  display: flex;
  margin-left: auto;
  margin-right: 3vw;
}

nav ul li {
  margin: 0 5vw;
  text-align:center;

}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 1.7vw;
  padding-left:2vh;
}

nav ul li a:hover{
	text-decoration:underline;
}

/* Top section styles */
.top_div {
	
  height: 105vh;
  width: 100%;
  background-image: url(images/mathematiques_small.jpg);
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5vw;
  border-bottom: 1px solid black;
  border-top: 2px solid black;
}

.coursdemaths{
	color:white;
	font-size:7vw;
	padding-top:8vh;
	padding-left:5vw;
	margin-right:3vw;
}

.coursperso{
	color:white;
	font-size:4vw;
	padding-left:5vw;
	margin-right:3vw;	
	
}

.bouton_commencer {
  color: white;
  background-color: #038181;
  border: none;
  margin-top: 3vh;
  margin-bottom:10vh;
  font-size: 5vh;
  border-radius: 0.5rem;
  padding: 2vh 2vw;
  cursor: pointer;
  align-items:center;
}

.bouton_commencer:hover {
  background-color: #019292;
}

/* Main content styles */
.maindiv {
  background-image: url(images/math_symbol.png);
  background-repeat: repeat;
  background-size: 8vw;
  padding: 3% 8%;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid black;
}
.div-texte{
	/* background-color:white; */
	min-width:65vw;
	max-width:70vw;
	background-color:#E0F7FA;
	padding:5vw;
	padding-top:3vh;
	padding-bottom:1.5vh;
	margin-bottom:7vh;
	border-radius:15px;
	border:3px solid #000000;
	margin-top:7vh;
}

.mess-bienv{
	font-size:12vh;
	text-align:center;
	color:#112e6a;
}

.explication{
	font-size:2vw;
	padding-bottom:3vh;
}

.explication_home{
	font-size:2.6vw;
	padding-bottom:3vh;

}

/* Contact page */

.questions{
	font-size:6vh;
	color:  #017373;
}

.attention{
	width:5vw;
	height:5vw;
	margin-right:2vw;
}

/* .attention2{ */
	/* width:5vw; */
	/* height:5vw; */
	/* margin-right:2vw; */
/* } */

/* About us page */

.titre-pres{
	font-size:7vh;
	text-align:center;
}


.pres{
	padding-bottom:5vh;
	width:50vw;
	border-radius:2rem;
	display:flex;
	float:right;
	border: 3px solid #000000;
	margin-bottom:7vh;
	margin-top:5vh;

	
}

.texte-gauche-pres{
	width:60%;
}

.div-photo-pres{
		width:40%;
		display:flex;
		justify-content:center;
		align-items:center;
		padding-right:2vw;
	
}
.photos_pres{
	max-height:35vh;
	border-radius:10px;
	border:2px solid black;
	margin-top:3vh;
	
}

.text-pres{
	font-size:1.2rem;
	margin-left:3vw;
	padding-bottom:3vh;
	
}


.expli_horaires{
	font-size:1.7vw;
	line-height:2.6vw;
}

/* Footer styles */
.bottom_header {
  background: #006666;
  text-align: center;
  padding: 3vh 0;
}

.text_bottom {
  font-size: 1rem;
  color: white;
}

/* Responsive adjustments */
@media screen and (max-width: 1300px) {

	
  .logo {
    width: 9vw;
  }
  
 .navbar{
		height:15vh;
		width:100%
  }
  nav ul li a {
    font-size: 3vw;
  }
	.coursdemaths{
	font-size:10vw;
		
	}
	
	.coursperso{
		font-size:7vw;	
	}

  .bouton_commencer {
    font-size: 3.5vw;
	padding: 2vh 3vw;
	margin-bottom:10vh
  }

  .top_div {
    height: 65vh;
    padding: 2vh 5vw;
	padding-bottom:20vh;
	align-items: center;
  }

  .maindiv {
	background-size:30vw;
  }
  .mess-bienv{
	font-size:8vh;
  }
  .explication{
	font-size:5vw;
	}
	.explication_home{
		font-size:6.4vw;

	}

	.div-texte{
		min-width:100%;
		margin-bottom:5vh;
		margin-top:5vh;
	} 
	.pres{
	width:90%;
	flex-direction:column;
	float:left;
	border-radius:2rem;
	margin-left:5%;
	margin-top:1vh;

	
	}

	.texte-gauche-pres{
		width:100%;
	}

	.div-photo-pres{
		width:100%;
		
	}
	.photos_pres{
		max-width:50vw;
		max-width:400px;
		max-height:50vw;
		border-radius:10px;
		border:2px solid black;
		
	}

	.text-pres{
		font-size:3.7vw;
		margin-left:3vw;
		padding-bottom:3vh;
		
	}
	.questions{
	font-size:6vw;
	}
		
	.expli_horaires{
		font-size:5vw;
		line-height:8.6vw;
	}
	.email{
	 font-size:4vw;	
	}
	.attention{
		width:5vh;
		height:5vh;
	}
	
	}

@media screen and (max-width: 700px) {
  nav ul li {
    margin: 0 3vw;
	font-size:3vw;
  }
  
  .top_div{
	    max-height: 55vh;  
  }

  .bouton_commencer {
    font-size: 4vw;
	margin-bottom:2vh;
  }
  
  .navbar{
	  height:10vh;
  }
    .mess-bienv{
	font-size:5vh;
  }
  

}




