@media screen and (max-width: 800px) {


header {position: fixed; z-index: 10;}

header nav {height: 20px; background-color: black;}

div.bgblack {
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 21px; 
background-color: black;
z-index: 10;
}

.wrapper {
	width: 100%;
	max-width: 100%;
}

main nav {position: fixed; top: 20px; width: 100%;  z-index: 10; height: 65px;}

main {height: 100%; max-width: 100%; background-size: auto 100%;}


#nav1 {display: none;}

div.overlay ul a li {height: auto; padding-top: 2%; padding-bottom: 2%;}

li.fermer {margin-top: 20px;}

div.logo{margin-top: 5px;}

.symbole {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	height: 30px;
	padding-right: 15px;
}

div.logo-int {
	background: black;
	height: 5px;
	width: 40px;
}

div.logo-ext {
	background: black;
	height: 5px;
	width: 20px;
}

.mac {
	height: 100%;
	font-family: 'Carrois Gothic', sans-serif;
	font-size: 2rem;
	font-weight: 400;
}

.invisible {
	height: 100%;
	font-family: 'Carrois Gothic', sans-serif;
	font-size: .82rem;
	font-weight: bold;
	margin-top: -8px;
	color: black;
}

.mac,
.invisible {
	text-shadow: 0px 0px 7px rgba(255,255,255,.7);
}

a.menu {margin-top: -10px;}

a#menu {padding-right: 15px;}


.wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	min-width: 320px;
	max-width: 100%;
	margin: auto;
}

div.frame {
	width: 70%;
	height: auto;;
	padding: 10px 10px 10px 20px;
	font-size: 1.3rem;
	letter-spacing: 1px;
	background-color: rgba(0,0,0,.8);
}

div.frame div:first-child {
	font-size: 1rem;
	margin-bottom: 0px;
}

div.date {
	margin-top:10px;
	font-size: 1rem;
	line-height: 1.2rem;

}

div.frame a {
	position: absolute;
	right: 20px;
	bottom: 15px;
	font-size: 2rem;
	font-style: normal;
	font-weight: 400;
	color: white;
	text-decoration: none;
	padding: 0px 10px;
	border: solid 1px transparent;
}

div.frame a:hover {
	border: solid 1px #f5e851;
	color: #f5e851;
}

div.titre {flex-direction: column; margin: 110px 0px 0px 0px;}

div.titre a {position: absolute; margin-top: 60px; margin-bottom: 0px;}

div.line,
div a.hide {display: none;}


section.pubs,
footer nav,
div.titre a span {display: none;}


section.accueil,
section.expos,
section.bio,
section.musee {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 300px;
	max-width: 100%;
}

section.accueil article,
section.bio article {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
}

section.accueil article img {
	position: relative;
	top: 0px;
	left: 0px;
	display: block;
	max-width: 100%;
}

div.encours {
	position: relative;
	width: 100%;
	top: -40px;
	left: -50px;
	padding-left: 10px;
	background: rgba(255,255,255,.75);
}

div#encours {
	display: block;
	top: 0px;
	position: relative;
	top: -5px;
	left: -50px;
	height: 2px;
	background: #f5e851;
	width: 150px;
	transition: width .3s;
}

div.artiste {
	position: relative;
	top: -35px;
	left: -40px;
	margin-bottom: 0px;
}

div.expos-date {
	left: 0px;
	position: relative;
	top: -40px;
	left: -40px;
	margin-bottom: 0px;
}

footer {
	position: relative;
	top: -70px;
}

footer section {
	top: -40px;
	flex-direction: column;
}

footer section article {
	position: relative;
	top: 0px;
	padding: 20px 20px;
}

footer section article h1 {
	position: relative;
	display: block;
	font-size: 2rem;
	font-weight:400;
	margin-top: 0px;
	margin-bottom: 0px;
	color: white;
}

.nouvelles {
	position: relative;
	top: -70px;
}

div.expos {
	position: relative;
	top: 70px;
}

section.expos,
section.collections,
section.bio {
	position: relative;
	top: 60px;
}

footer.expos {
	position: relative;
	top: -30px;
}

section.collections {
	display: flex; 
	flex-direction: column;
}

section.collections_texte {
	padding: 15px;
	margin-top: -20px;
}

section.bio {
	display: flex; 
	flex-direction: column;
}


section.collections article {
	margin-bottom: 10px;
}

section.collections article header {
	background-color: rgba(255,255,255,.65);
}

section.collections article header div {
	position: relative;
	top: -50px;
	left: 90%;
	font-size: 2rem;
	font-weight: bold;
}

div.collection2 {
	margin-top: 70px;
	padding-left: 15px;
}

div#selection {
	display: block;
}

div.bio a {
	display: block;
	margin: auto;
	margin-top: 50px;
	font-size: 1rem;
}

section.bio {
	position: relative;
	top: 100px;
	padding: 15px;
}

section.bio article p {
	min-width: 95%;
}


section.bio aside {
	margin-top: 20px;
	margin-bottom: 20px;
	border: solid 15px white;
	box-shadow: 3px 3px 5px rgba(0,0,0,.3);
}

.bio {
	position: relative;
top: 30px;
}

#artist {
	display: block;
	max-width: 100%;
	height: auto;
}


img.musee {
	top: 20px;
}

div.propos {
	padding: 15px;
}

section.musee {
position: relative;
	padding: 15px;
	top: -50px;
}

section.musee article {
	font-size: 1.2rem;
	line-height: 1.6rem;
}

div.mission_vision {
	display: block;
}

div#directeur,
div#historique {
	display: none;
}

section.musee div.titre {
	position: relative;
	top: -100px;
	display: grid;
	grid-template-columns: 260px 1fr;
	height: 100px;
	grid-gap: 20px;
	justify-content: center;
	margin-left: 0px;
}

section.musee div.titre h1 {
	display: inline-block;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: 2.5rem;
	font-weight:300;
	color: #818181;
	margin: 0px;
}

div.directeur_line,
div.biblio_line {
	width: 100%;
}

div.directeur {
	position: relative;
	top: -90px;
	display: block;
}

img.directeur {
	position: relative;
	top: 0px;
	margin-bottom: 40px;
}

section.musee div#titre2 {
	position: relative;
	top: -200px;
	display: grid;
	grid-template-columns: 150px 1fr;
	height: 100px;
	grid-gap: 20px;
	justify-content: center;
	margin-left: 0px;
	margin-bottom: -220px;
}

li {
	padding-right: 15px;
	margin-bottom: 10px;
}









}