
/*Mise en page générale */

body {
  background-color: black;
  color: white; 
  margin: 70px;
  padding: 20px;
  --r-main-font-size: 16pt;
}

audio {
  filter: hue-rotate(90deg) brightness(0.5);
}

main {
  height: 100%;
}

.droit { 
  font-size: small;
}
.reveal a { 
  color: orangered; }

.reveal a:visited {
  color: rgb(246, 189, 145); 
}

.reveal a:hover {
  color: whitesmoke;  
}

.reveal section h1 {
  color: rgb(208, 93, 5); 
  text-align: center;
  font-variant: small-caps;
  font-size: 50px;
  padding: 5px;
}

.reveal .sommaire aside,
.histoire aside,
.video aside,
.flashcard aside,
.zone3 aside,
.pitch aside,
.zone1 aside,
.zone2 aside, 
.zone3 aside
 {
  margin: auto;
  padding: 10px; 
  text-align: center;
  font-size: 20px;
  margin-bottom: 55px; 
}

.reveal .intro h1 {
  margin: auto;
  padding: 60px; 
  text-align: center;
  font-size: 100px;
  margin-bottom: 80px; 
  font-variant: small-caps;
}


/* section zone video */
#movie1 {
  border-radius: 25px; 
  outline: none;
  border: solid 4px rgb(212, 91, 47);
  width: 832px; 
  height : 464px; 
  margin :auto; 
  padding: 30px;
  border-style:double; 
  margin-bottom: 70px;
}

.reveal #movie1 table {
  font-variant: small-caps;
  color : white; 
  border-collapse: separate;
  border-spacing: 10px; 
  margin-left: 10px;
}

.video a img {
  padding-top: 30px;
}
 /*section map - zone 1 */ 
 
 #map { 
  height: 600px;
  width: 650px ;
  margin: auto; 
}

 /*slide 1*/

 #machine p {
  display: inline-block; /*le padding s'adapte au texte */ 
  margin : auto;
  padding: 15px;
  box-sizing: border-box;
  background-color: rgb(189, 188, 185);
  border: solid 3px rgb(241, 235, 235);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: medium ;
  color : black;
  text-align: justify;
  
}
#machine .photo img{
  width : 350px;
  height : 250px;
  height: auto;
}

/*section zone histoire */
#histoires .photo 
 {
  padding: 20px;
  margin-bottom: 50px;
  box-sizing: border-box;
  margin: auto;
  background-color: antiquewhite;
  border: solid 3px burlywood;
  font-variant: small-caps;
  color : black;
  font-size: x-large;  
}

#histoires .photo h2 {
  color: black;
  font-style: bold;
  font-variant: small-caps;
}

#histoires{
  margin: 3px;
}
#histoires .photo img{
  height: auto;
}

/* section flashcard*/
.carte {
  width: 500px;
  height: 350px;
  perspective: 800px;
  margin: auto;
  display: flex;
  border : solid whitesmoke 3px;
  border-style: double;
}

.recto, .verso {
  width: 100%;
  height: 100%;
  position: absolute;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2em;
  border: 1px solid;
  border-style: groove #bb3204;
  border-radius: 10px;
  transition: transform 0.6s;
  text-align: center;
  cursor: pointer; 
}

.recto {
 background: radial-gradient( rgb(212, 91, 47), crimson, darkorange, 70%,bisque, darkred);
 color: rgb(5, 4, 4);
 font-variant: small-caps;

}

.verso {
  transform: rotateY(180deg);
  background: radial-gradient( rgb(212, 91, 47), crimson, darkorange, 70%,bisque, darkred);
  color: rgb(18, 17, 17);
  
}

.carte.flipped .recto {
  transform: rotateY(180deg);
}
.carte.flipped .verso{
  transform: rotateY(0);
}

button {
  margin: 5mm;
  padding: 10px;
  display :inline-block;
  background-color: rgb(255, 193, 145);
  background: radial-gradient(darkorange, bisque,  darkred);
  border: solid 1px whitesmoke;
  border-radius: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  color: #0c0b0b; 
  cursor: pointer; 
}

.button {
  padding-top: 50px;
  display: flex;
  gap: none;
  width: auto;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

button:hover{
  opacity: 0.8;
}

.fin {
  text-align: center;
  font-size: 2rem;
  font-weight: 200;
  color: #bb3204;
}


/* section images intro + image zone 3 */

.overlay1{
  position: relative;
  width: 65%;
  aspect-ratio: 2351 / 1475; /* ratio exact de l'image */
  margin: auto;
}

.overlay1 img,
.overlay1 svg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.overlay1 svg{ pointer-events: none; }
.overlay1 svg a{ pointer-events: all; }   
.overlay1 svg rect {pointer-events:all;}       
                        
.media-row {
  display: flex;
  align-items: center;
  gap : 30px
}

.media-row img,
.media-row video {
  flex: 1;
  max-width: 400px;
  height: auto;
}

#movie2 {
  margin-bottom: 20px;
}

/*section exercice, zone 3 */

.exercice aside {
  
  padding-left: 400px;
  text-align: justify;
  padding-bottom: 20px;
  font-size: 20px;
}

.terrestre, .oceanique, .litosphere, .asthenosphere, .manteauSup, .manteauInf,.noyauExt, .noyauInt
{
  border: solid 2px orangered;
  border-radius: 20px;
  border-style: dashed;
  gap: 30px;
  padding: 20px;
  margin: 20px;
  width: 250px;
  height: 250px;

}

.item {
  border: solid 2px wheat;
  border-radius: 20px;
  gap: 30px;
  padding: 20px;
  width: 200px;
  height: 100px;
  font-size: medium;
  position : absolute;
  background-color: rgb(7, 7, 7);
}

.terrestre h2, 
.oceanique h2, 
.litosphere h2, 
.manteauSup h2, 
.manteauInf h2, 
.noyauExt h2, 
.noyauInt h2,
.asthenosphere h2
  {
  font-variant: small-caps; 
  font-size: 1em;
  border: solid 2px wheat;
  }

.container h2{
  font-variant: small-caps; 
  font-size: 1em;
  border: solid 2px wheat;
}

.set-container 
  {
  position: relative;
  top: -200px;
  left: 45px;
  }

.bloc {
  border: #bb3204 solid 2px;
  margin: 5px;
}

.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
}

 

