body {
    margin: 0;
    font-size: 14px;
    background: #ecf0f1;
}

html, body {
  height: 100%;
}

sup, sub {
line-height:120%;
}

p {
  font-size: 16px;
}
#homelist li, #Seconde li, #Terminale li , #SNIR1 li{
  color: black;
  font-size: 16px;
  line-height: initial;
  letter-spacing: initial;
  list-style-type: none;
}
#Seconde li, #Terminale li , #SNIR1 li{
  color : #4286e2;
}
#Seconde h3, #Terminale h3 , #SNIR1 h3{
  text-decoration: underline;
  color : #e25842;
}
#Seconde {
  float: left;
  margin-left: 15%;
}
#Terminale {
  position: absolute;
  left: 0;
  right: 0;
  height: 140px;
  width: 200px;
  margin: auto;
}
#SNIR1 {
  float: right;
  margin-right: 15%;
}
#menuGauche {
    position: fixed;
    width: 14%;
    height: 100%;
    background-color: #5499c7;
}
#menuDroite {
    position: fixed;
    width: 14%;
    height: 100%;
    margin-left: 86%; 
    background-color: #5499c7;
}

#site {
    position: relative;
    width: 72%;
    height: 250px;
    text-align: center;
    margin: 0 auto -50px;
    min-height: 100%;
}

#principal {
    display: inline-block;
}
#principal ul {
    margin: 0 auto;
}
#principal ul li {
    display: block;
    background-color: #7fffbb;
    width: 100px;
    float: left;
    padding-top: 10px;
    padding-bottom: 10px;
}
#principal ul li:hover {
    background-color: #13703f;
}
#principal li a {
    color: #000000;
    text-decoration: none; 
}
#principal li a:hover {
    color: white;
    background-color: #13703f;
    text-decoration: none;
}

#texte {
    width: 95%;
    margin: auto;
}
#texte a {
    color: blue;
    text-decoration: none;
    float: left;
}    
#texte a:hover {
    color: red;
    text-decoration: underline;
}
#texte ul{
  text-align: initial;
}
#texte .SG {
  text-align: center;
  margin: 0;
  padding: 0;
}
#texte .box a {
   color: #337DFF;
   float: none;
}

.SG .sgLi {
  min-width: 24%;
  margin: 2% .35%;
  display: inline-flex;
  box-shadow: 0 2px 4px rgba(0,0,0, .2);
}
.SG .sgLi:hover {
  box-shadow:0 5px 10px rgba(0,0,0,.15);
}
.SG .box {
  width: 100%;
  height: 100px;
  padding: 1% 2%;
  background: #fff;
  min-height: 10px;
  max-height: 130px;
  box-sizing: border-box;
}

.X{
  margin: auto;
  padding: 1% 2%;
  max-width: 1440px;
  border-radius: 5px;
  background: #ecf0f1;
  box-shadow: 0 2px 6px 0 rgba(0,0,0, .3);
}

h1,h2,h3{
  text-align: center;
  font-family: 'Baloo Tamma', cursive;
}

li{
  color: #2c3e50;
  font-size: 18px;
  line-height: 30px;
  letter-spacing: 1px;
  font-family: 'Raleway', serif;
}

.image-lien img {display : none; }

a.image-lien:hover img {
display : block;
position: absolute;
height : 150px;
margin-left :23%; }


footer {
    display: block;
    text-align: center;
    background-color: #7fffbb;
    height: 60px;
}
footer p {
    color: #164a29;
    font-weight: bold;
    position: relative;
    top: 15px;
}

@media (max-width: 970px)
{
  .SG .sgLi{width: 180px;}
}
@media (max-width: 425px)
{
  .SG .sgLi{width: 100%;}
}

.container {
    width:  100%;
    height: 150px ;
    position: relative;
    overflow: hidden;
    background-color: #48BBD5;
    z-index: -1;
}
.container p {
    text-align: center;
    font-size: 34px;
    position: relative;
    top: 7px;
    font-family: "RibeyeMarrow-Regular", arial, sans-serif;
}

.bird {
    background-image: url(https://www.iamramraj.com/demo/Flying_birds_CSS_animation_examples/bird-cells.svg);
    background-size: auto 100%;
    width: 88px;
    height: 125px;
    will-change: background-position;
    animation-name: fly-cycle;
    animation-timing-function: steps(10);
    animation-iteration-count: infinite;
}
.bird--one {
    animation-duration: 1s;
    animation-delay: -0.5s;
}
.bird--two {
    animation-duration: 0.9s;
    animation-delay: -0.75s;
}
.bird--three {
    animation-duration: 1.25s;
    animation-delay: -0.25s;
}
.bird--four {
    animation-duration: 1.1s;
    animation-delay: -0.5s;
}
.bird-container {
    position: absolute;
    top: 20%;
    left: -7.5vw;
    will-change: transform;
    animation-name: fly-right-one;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
.bird-container--one {
    animation-duration: 15s;
}
.bird-container--two {
    animation-duration: 16s;
    animation-delay: 1s;
}
.bird-container--three {
    animation-duration: 14.6s;
    animation-delay: 9.5s;
}
.bird-container--four {
    animation-duration: 16s;
    animation-delay: 10.25s;
}

 @keyframes fly-cycle {
 100% {
 background-position: -900px 0;
}}

@keyframes fly-right-one {
 0% {
 left: -10%;
 transform: scale(0.3);
}
 10% {
 left: 10%;
 transform: translateY(2vh) scale(0.4);
}
 20% {
 left: 30%;
 transform: translateY(0vh) scale(0.5);
}
 30% {
 left: 50%;
 transform: translateY(4vh) scale(0.6);
}
 40% {
 left: 70%;
 transform: translateY(2vh) scale(0.6);
}
 50% {
 left: 90%;
 transform: translateY(0vh) scale(0.6);
}
 60% {
 left: 110%;
 transform: translateY(0vh) scale(0.6);
}
 100% {
 left: 110%;
 opacity: 1;
 transform: translateY(0vh) scale(0.6);
}}

@keyframes fly-right-two {
 0% {
 left: -10%;
 opacity: 1;
 transform: translateY(-2vh) scale(0.5);
}
 10% {
 left: 10%;
 transform: translateY(0vh) scale(0.4);
}
 20% {
 left: 30%;
 transform: translateY(-4vh) scale(0.6);
}
 30% {
 left: 50%;
 transform: translateY(1vh) scale(0.45);
}
 40% {
 left: 70%;
 transform: translateY(-2.5vh) scale(0.5);
}
 50% {
 left: 90%;
 transform: translateY(0vh) scale(0.45);
}
 51% {
 left: 110%;
 transform: translateY(0vh) scale(0.45);
}
 100% {
 left: 110%;
 transform: translateY(0vh) scale(0.45);
}}

@font-face {
    font-family: "RibeyeMarrow-Regular";
    src :url('../Style/RibeyeMarrow-Regular.ttf');
}