@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

	body {  
	display: flex;  
	flex-direction: column;  
	min-height: 100vh;  
	background: url(images/back.png) no-repeat center center fixed;  
	background-size: 50% auto;  
	background-color: #011627;
	font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;  
}


#home-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 0;
  background: none;
  border: none;
}

#home-link img {
  display: block;
}

#home-link:hover {
  transform: none;
  background: none;
}

	.logo {  
		display: block;  
		margin: -40px auto -20px auto;  
		max-width: 800px;  
		width: fit-content;  
		}

	#container {    
		width: 1000px;    
		display: flex; 
		justify-content: flex-start;   
		margin: 0 auto; 
		background-color: rgba(1, 22, 39, 0.8);
		border-radius: 100px 5px 100px 100px; 
	}

	.block {  
		text-align: left;
		padding: 20px;
		display: flex;  
		flex-direction: column;  
		align-items: flex-wrap;
	}

.ma-liste {
  list-style-type: disc; 
  padding-left: 1.5em;
}

.ma-liste li {
  	font-size: 20px;	
		color: #4a819b;	
		text-align: left;  
		padding: 10px;	
		font-family: "Lora", serif;
		line-height: 0.8;	
}

	h2 {
		font-size: 30px;
		font-weight: 500;			
		color: #ffecd1;	
		text-align: left;	
		display: inline-block;
	}

	p {	
		font-size: 20px;	
		color: #4a819b;	
		text-align: left;  
		line-height: 1.5;	
		padding: 10px;	
		font-family: "Lora", serif;	}

	a {  
		display: inline-block;  
		color: #ffecd1;  
		background-color: #4a819b;  
		font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;  
		font-size: 25px;  
		font-weight: 150;  
		text-align: center;  
		line-height: 1;  
		padding: 5px 30px;  
		border-radius: 5px 5px 30px 30px;  
		text-decoration: none;  
		transition: all 0.3s ease;}

	a:hover {  background-color: #3a6f84;  
		transform: scale(1.05);}

	main {  flex: 1;}.highlight {  
		color: #ffecd1;  
		font-size: 18px;  
		border-radius: 5px 5px 30px 30px;  
		padding: 5px 30px;  
		line-height: 1;}

	.logiciels {    
		display: flex;     
		justify-content: left;    
		gap: 15px;    
		flex-wrap: wrap;    
		margin: 20px 5px;}

	.logiciels img {    
		width: 60px;     
		height: auto;}

	.logiciels-large {
  display: flex;
  justify-content: flex-wrap;
  width: 50%;
  margin: 0 25px;
	gap: 20px;
}

	.gif-droite {    
		position: fixed;    
		top: -100px;    
		right: 300px;    
		width: 150px;    
		max-width: 25vw;    
		z-index: 1000;    
		transition: width 0.3s ease;}

	footer {  
		background-color: #011627;  
		border-top: 2px solid #ffecd1;  
		padding: 30px 0;  
		text-align: center;}

	footer p {  
		font-size: 14px;  
		line-height: 1;  
		color: #ffecd1;  
		font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;  
		text-align: center;}

	footer a {  
		display: inline-block;  
		color: #ffecd1;  
		background-color: #4a819b;  
		font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;  
		font-size: 18px;  
		font-weight: 150;  
		text-align: center;  
		line-height: 1;  
		padding: 1px 20px;  
		border-radius: 50px 5px 50px 50px;  
		text-decoration: none;  
		transition: all 0.3s ease;}

	footer a:hover {  
		background-color: #3a6f84;  
		transform: scale(1.05);}


/* RESPONSIVE */

@media (max-width: 768px) {
  body { background-size: 120% auto; background-position: center top; }
  .logo { max-width: 90%; margin: 0 auto 20px auto; }
  .gif-droite { width: 120px; right: 10px; top: 10px; }
  #container { width: 90%; margin: 0 auto; }
}


@media (max-width: 480px) {
  .gif-droite { width: 60px; right: 10px; top: 10px; }
  h2 { font-size: 0.95em;; padding: 15px 5px; }
  p { font-size: 16px; padding: 5px; }
  a { font-size: 20px; padding: 5px 15px; }
  .logiciels img { width: 50px; }
 
  .ma-liste {
    padding-left: 1em;
  }

  .ma-liste li {
		font-size: 0.95em;
  }
}



@media (max-width: 375px) {
  body { background-size: 140% auto; background-position: center top; }
  .logo { max-width: 80%; margin-top: 10px; }
  .gif-droite { width: 50px; top: 5px; right: 5px; }
  #container { margin: 0 10px; }
  h2 { font-size: 18px; padding: 10px 5px; }
  p { font-size: 14px; }
  a { font-size: 16px; padding: 4px 10px; }
}