html {height: 100%; width: 100%;}
body {font-family: sans-serif; background: url("../img/sayagata-400px.png") repeat; z-index: 1; height: 100%; width: 100%; background-position: center; background-attachment: fixed; overflow: hidden;}

.hidden {display: none;}
.menu-item {display: none; z-index: 3;}

#bg-overlay {position: fixed; top: 0px; width: 100%; height: 100%; background-color: #fff; opacity: 0; z-index: 2; transition: .3s all; overflow: hidden;}
body.menu-shown #bg-overlay {opacity: 0.3;}

#mobile-menu-wrap {z-index: 3; position: absolute; top: 15px; left: 15px; }
#mobile-menu-wrap a {font-size: 20px; padding: 20px 20px 20px 24px; display: block; color: #fff; background-color: #0001;}
#mobile-menu-wrap a:hover {color: #fff; background-color: #0005;}

.bg {border-radius: 5px; background-color: rgba(0, 0, 0, .5); padding: 20px;}
.bg a,p {color: #fff;}


#links-wrap {font-size: 70px; width: 50%;  margin: 25% auto 0; overflow: hidden; padding: 50px; position: relative; overflow-y: auto;}
#links-wrap a {transition: .3s all;}
#links-wrap .link {display: inline-block; float: left; text-align: center;}
#links-wrap .link img {opacity: .8; transition: .3s all;}
#links-wrap .link img:hover {opacity: 1;}

.link-text {font-size: large;  margin: -10px; padding-bottom: 20px; text-align: center;}
#btn-menu {	font-size: 80px; color: #fff; text-align: center;}
#btn-menu:hover {color: darkgrey;}

#pic-info-wrap {color: #fff; font-size: 16px; position: absolute; bottom: 15px; left: 15px;}
#pic-info-wrap a:hover, #pic-info-wrap a:active {color: #fff; text-decoration: none;}

#clock-wrap {color: #fff; font-size: 20px; position: absolute; top: 15px; right: 15px; text-align: center;}
#audio-wrap {color: #fff; font-size: 20px; position: absolute; bottom: 15px; right: 15px; text-align: center;}

#iframe-div { width:100%; height:100%; margin: 0px; padding: 0px;}
#iframe-wrap {width: 160px; height: 90px;}
#iframe-wrap {color: #fff; font-size: 20px; position: absolute; bottom: 15px; right: 15px; text-align: center; margin: 0px; padding: 0px;}
#iframe-wrap:hover {width: calc(100% - 30px); height: calc(100% - 30px); z-index: 100;}

/* dans les CARDS */
#cards-wrap { position: absolute; top: 15%; left: calc(50% - 200px);}
#links-wrap-card {
	position: relative;
	display: flex;
    align-items: center;
    justify-content: space-evenly;
	text-align: center;
	font-size: 70px;
	width: 100%; 
	margin: 0% auto 0;
	padding: 50px 0px;
	overflow: hidden;
}
#links-wrap-card #btn-menu { font-size: 70px; text-align: center; }
#links-wrap-card #btn-menu,a,p {color: grey;}
#links-wrap-card #btn-menu:hover, a:hover {color: darkgrey;}


@media (min-width: 768px) {
  #links-wrap {max-height: 50%; font-size: 80px; margin-top: 10%;}
}
@media (max-width: 768px) {
  #links-wrap {width: 85%; padding: 40px 10px;}
  #clock-wrap {max-height: 50%; font-size: 30px;}
  #cards-wrap { }
}
@media (max-width: 576px) {
  #links-wrap {width: 90%; padding: 40px 10px; margin: 35% auto 0;}
  #btn-menu {font-size: 70px;}
  #pic-info-wrap {font-size: 15px; display: none;}
  #clock-wrap {max-height: 70%; font-size: 15px; }
  #cards-wrap { width: 94%; top: 10%; left: 0%;}
  .bg { padding: 5px;}
}