body {
	background: linear-gradient(#154360FF,#D6E7F2);
	text-align: justify;
	font-family: Ink Free, Comic Sans MS, Times New Roman, sans-serif;
	margin: auto;
	min-height: 100vh;
	position: relative;
}

header {
	width: 100%;
	border : 2px solid rgb(45, 89, 154);
	background-color: rgb(156, 209, 236);
	margin: auto auto 15px;
}

footer {
	font-family: Comic Sans MS, Times New Roman, sans-serif;
	padding: 15px 30px 10px;
	display: flex;
	background:#ccc;
	font-style : italic;
	border-top: 2px solid rgb(18, 9, 110);
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	align-items: center;
  	justify-content: center;
  	flex-flow: column wrap
}

#footerMenuIcons {
	max-width: 500px;
	margin-bottom: 5px;
}

#footerMenuIcons img {
	height: 40px;
}

#footerMenuText {
	border-top: 1px solid rgb(18, 9, 110);
	text-align: end;
	font-size: 0.8em;
	width: 100%;
}

section {
	width: 85%;
	margin: auto;
	color: white;
	padding-bottom: 8rem;
}

#logo {
	padding:  0 40px 0 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

#logo img {
	max-height: 80px;
	margin: 10px 0 10px 0;
}

#news {
	display: flex;
	justify-content: space-around;
	width:100%
}

#news img {
	max-height: 600px;
	max-width: 600px;
}

#news h2 {
	text-transform: none;
	text-align: center;
	font-size: 1.5em;
	color: rgb(18, 9, 95);
}

#index figcaption {
	font-family: Arial Black, Times New Roman, sans-serif;
	color: whitesmoke;
	margin:  10px 0px 10px 0px;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
}

.comicsMonth{
	display: flex;
	flex-direction: column;
	align-items: center;
  	justify-content: center;
}

#art{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
  	justify-content: center;
}

#news article {
	border: 1px solid rgb(45, 89, 154);
	padding: 20px 20px 20px 20px;
	color: rgb(18, 9, 95);
	margin: 20px 20px 20px 20px;
	width: 100%;
	text-align: center;
}

#news h4 {
	font-size: 1.2em;
	width: 100%;
}

#author {
	margin-top: 50px;
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
  	justify-content: center;
}

#author aside {
	margin-left: 30px;
	position: relative;
	box-shadow: 0 2px 5px #1c1a19;
	height: auto;
	width: 500px;
	border-radius: 60px 60px;
   	padding: 20px 20px 20px 20px;
   	background: rgb(18, 9, 110);
   	font-style: italic;
}

#author aside::after{
   	content: '';
	position: absolute;
	left: 0;
	top: 20%;
	width: 0;
	height: 0;
	border: 28px solid transparent;
	border-right-color: rgb(18, 9, 110);
	border-left: 0;
	border-bottom: 0;
	margin-top: -14px;
	margin-left: -28px;
}

#author img {
	width: 200px;
	height: auto;
	border-radius: 100px 100px;
	margin-bottom: 60px;
}

#drawingVideo {
	margin-top: 50px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
    justify-content: center;
}

#drawingVideo h3 {
	width: 100%;
	text-align: center;
	color: black;
}

#drawingVideo video {
	width: 400px;
	height: auto;
}

#drawings img {
	max-height: 250px;
	max-width: 300px;
	min-height: 100px;
	min-width: 150px;
	padding: 20px 23px 20px 23px;
	transform: scale(1);
	-webkit-transition: .3s ease-in-out;
	-webkit-transform: scale(1);
	transition: .3s ease-in-out;
}

#drawings img:hover {
	-webkit-transform: scale(1.3);
	transform: scale(1.3);
}

#displayImage {
	display: flex;
  	justify-content: center;
  	background-color: black;
  	height: 100vh;
}

#displayImage img {
	max-height: 99vh; 
	max-width: 100%;
}

.zoomOut {
	cursor: zoom-out;
}

#displayImage #exit {
	text-align: center;
	position: absolute;
	right: 0;
	font-size: 2em;
	text-decoration: none;
  	color: orangered;
}

#displayImage #exit:hover {
  	color: orangered;
  	background-color: blanchedalmond;
}

#caricatures img {
	max-height: 350px;
	max-width: 400px;
}

#account {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#account img {
	width: 200px;
	height: auto;
	border-radius: 100px 100px;
	margin-bottom: 20px;
}

#account2 {
	color: rgb(18, 9, 95);
	display: flex;
	justify-content: space-between;
}

header h1 {
	font-family: Chiller, Arial Black, Times New Roman, sans-serif;
	color: rgb(31, 75, 140);
	text-shadow: 1px 1px 2px black;
	font-size: 2.5em;
}

header a {
	text-decoration: none;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 17px 15px;
  text-decoration: none;
  font-size: 1.2em;
}

.active {
  background-color: rgb(45, 89, 154);
  color: white;
}

#log {
	display: flex;
	justify-content: space-around;
	float: right;
	height: 25px;
	align-items: center;
}

#log img {
	height: 50px;
	border-radius: 100px 100px;
}

#userName {
	color: #F3FF84;
	padding-right: 13px;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 1.2em;    
  border: none;
  outline: none;
  color: white;
  padding: 17px 15px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 17px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#index {
	display:flex;
	flex-wrap: wrap;	
}

#intro article {
	font-size: 1.2em;
}

#biographie figure {
	text-align: center;
	width: 280px;
}

#intro {
	display: flex;
	border-bottom: 1px solid rgb(45, 89, 154);
	padding-bottom: 40px;
}

#adminpage .container {
	text-align: left;
	font-family: Trebuchet MS, serif;
}

#alert-primary {
	text-align: center;
	font-size: 1.2em;
	font-family: Times New Roman, serif;
}

#usersManage {
	padding-left: 50px;
	margin-bottom: 50px;
}

#usersManageEnd {
	display: flex;
	justify-content: space-between;
}

#scroller {
	max-width:100%;
	height:300px; 
	overflow:auto;
}

#scroller td {
	padding-left: 10px;
	padding-right: 10px;
	font-size: 0.85em;
}

#scroller th {
	padding-left: 10px;
	padding-bottom: 10px;
}

#intro aside {
	min-width: 450px;
   	text-align: center;
   	align-items: center;
}

#intro aside img {
	max-height: 100%;
	max-width: 100%;
	margin-top: 20px;
	border-radius: 40px 40px;
}

#intro aside form {
	margin-top:-20px;
	margin-left:auto;
	margin-right:auto;
}

h2 {
	font-family: Arial Black, Times New Roman, sans-serif;
	color: white;
	font-size: 2em;
	text-transform: uppercase;
	}

h3 {
	color: white;
	border-bottom : 1px solid black;
	padding-bottom: 10px;
	font-size: 1.4em;
}

footer a {
    text-decoration: none;
}

footer a:hover {
	color: orangered;	
}

Section a {
    text-decoration: none;
    color: blanchedalmond;
}

Section a:hover {
	color: orangered;
}

footer a {
	padding-right: 30px;
}

#bd img {
	width: 100%;
}

#bd figcaption {
	color: rgb(18, 9, 95);
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 100px;
}

#bd2 a {
	text-align: center;
	font-size: 35px;
}

#bd2 a:hover {
   color: orangered;
   background-color: blanchedalmond;
}

#bd2 {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
}

#bd2 form {
	width: 150px;
}

#bd2 select {
	height: 35px;
	background: transparent;
	border: none;
	font-size: 1.2em;
	width: 100px;
	text-align: center;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
}

#caricatures {
	display: flex;
	flex-wrap: wrap;
}

#filesManage {
	display:flex;
	justify-content: space-around;
	margin-bottom: 50px;
}

#newsManage {
	display:flex;
	justify-content: space-around;
}

#like {
	background:none;
	border:none;
}

form button {
	background-color: #2d599a;
	color: white;
	padding: 5px 10px;
	text-align: center;
	cursor: pointer;
	border-radius: 40px 40px;
	margin-top :10px;
	margin-bottom :10px;
	border: none;
}

form button:hover {
	background-color: #555;
}

form div {
	margin-top :10px;
}

#formsPopup {
	max-width: 650px;
	text-align: center;
	margin: auto auto 30px;
	color: rgb(253, 253, 253);
	font-family: Trebuchet MS, sans-serif;
	background: rgb(51, 49, 49);
	padding: 10px 10px 10px 10px;
	border-radius: 40px 40px;
	z-index: 1;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
}

#formsPopup img{
	max-width: 400px;
	max-height: 250px;
}

.orderForm {
    display: flex;
    justify-content: space-around;
    border-bottom: 1px solid rgb(45, 89, 154);
    margin : auto;
}

#drawings {
	width: 90%;
}

.drawingsItems {
	width: 90%;
	margin: auto;
	display:flex;
	flex-wrap: wrap;
}

.zoomIn {
	cursor: zoom-in;
}

.popup {
	width: 180px;
	background-color: #333333;
	color: #ffffff;
	text-align: center;
	padding: 8px 8px 8px 8px;
	position: absolute;
	border-radius: 40px 40px;
	top: 175px;
	right: 0;
	z-index: 1;
	margin-right: 15px;
	-webkit-animation: fadeIn 1s;
	animation: fadeIn 1s;
	cursor: grab;
}
.popupSuccess {
	background-color: #024313;
}
.popupFailure {
	background-color: #880000;
}

@media screen and (max-width: 1024px) {
	
	section {
		font-size: 1.2em;
		width: 95%;
	}

	#drawings {
		width: 100%;
		text-align: center;
	}

	header h1 {
		font-size: 2em;
	}

	section article {
		font-size: 1.1em;
		padding-right: 0;
	}
	
	#news {
		flex-wrap: wrap;
		align-items: center;
	  	justify-content: center;
	}

	#news h3 {
		text-align: center;
	}

	#intro {
		flex-direction: column-reverse;
	}
  	
   	#intro aside {
		max-height: 100%;
	}

  	#intro aside::after {
		border: 0;
	}

   	#intro {
		flex-wrap: wrap;
	}

	.topnav {
		position: relative;
	}

	.topnav a {
		float: none;
		display: block;
		text-align: center;
		font-size: 30px;
	}
		
	#log {
		float: none;
		text-align: center;
		font-size: 1.5em;
	}
	
	#news img {
		max-height: 100%;
		max-width: 100%;
	}
	
	#userName {
		display: none;
	}
	
	.topnav .dropdown {
		float: none;
	}
	
	.topnav .dropdown-content {
		position: relative;
	}
	
	.topnav .dropdown .dropbtn {
		font-size: 30px;
	    display: block;
	    width: 100%;
	    text-align: center;
  	}

  	.form-control {
		width: 90%;
   	}

	#formsPopup {
		max-width: 100%;
		font-size: 30px;
	}

	.form-group input {
		height: 40px;
	}

	.form-group input[type="checkbox"] {
		width: 70px;
		height: 25px;
	}
	
	.form-group select {
		height: 40px;
	}

	form button {
		font-size: 1.2em;
	}
	
	#adminpage .container {
		display: inline;
	}
	
	#adminpage h4 {
		font-size: 1.2em;
	}
	
	#drawings img {
		max-height: 100%;
		max-width: 100%;
		padding: 0 0 0 0;
	}

	#drawings img:hover {
		transform: none;
	}

	#account2 {
		display: inline;
	}
}

@-webkit-keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}

@-webkit-keyframes fadeOut {
	from {opacity: 1;}
	to {opacity: 0;}
}