/* https://fonts.google.com/ */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);

* {
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
}

/* Navigation */

nav {
  width: 100%;
  height: 80px; 
  position: fixed; 
  top: 0;
  background:white;
  z-index: 100;
}

nav .icon {
  display: none;
}

.logo {
  padding: 5px 5px;
  vertical-align: middle;
}

nav ul {
  padding: 0px;
  margin: 0px auto;
  list-style: none;
  text-align: center;
}
nav ul li {
  display: inline-block;
  padding: 0px 10px;
  border-right: 1px solid grey;
}

nav ul li:first-child {
  border-right: none;
}

nav ul li:last-child {
  border-right: none;
}

nav ul li a {
  padding: 2px 0;
  color: black;
  font-size: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

nav ul li a:hover {
  color: #34495E;
}

a.active {
  border-bottom: 2px solid #bf1e2e;
}

section.active {}

/* Headings */

h1 {
  font-size: 2rem;
  text-align: center;
  margin: 0 0;
  color: #0c5991;
}

h3 {
  margin-top: 40px;
  color: #0c5991;
}


.container {
  position: relative;
  max-width: 100%;
}

.center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bottomcenter {
  position: absolute;
  bottom: 40%;
  left: 0px;
  right: 0px;
  background-color: white;
}

img {
  max-width: 100%;
  height: auto;
}

.banner {
  width: 100%;
  opacity: 1;
}

/* Sections */

section {
  width: 100%;
  display: block;
  vertical-align: middle;
  height: auto;
  margin-bottom: 100px;
}

/* Section Home */

.entreprise {
  margin-top: 20px;
  color:black;
  /* background-image: url(geometric-1732847_1920.jpg); */
}

/* Section Prestations */

.presta {
  color:black;
  width: 100%;
}


.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 2px;
  /* background-color: #2196F3; */
  padding: 5px;
  margin: 60px 0px;
}

.grid-container > div {
  /* background-color: rgba(255, 255, 255, 0.8); */
}

.item1 {
  grid-row: 1 / span 2;
  text-align: right;
}

.image {
  width: 100%;
  float: right;
}

/* Section Demarche */

.demarche {
  background: #white;
  color:black;
}

.accordion {
  background-color: #c6deef;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 16px;
  transition: 0.4s;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 0px 0px 0 rgba(0,0,0,0.19);
}

.actived, .accordion:hover {
  background-color: #7ab3d9;
}

.accordion:after {
  content: '\002B';
  font-size: 1.5rem;
  color: #bf1e2e;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.actived:after {
  content: "\2212";
  color: #777;
}

.panel {
  padding: 3px 18px;
  margin: 0px 0;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}

/* Section Open Source */

.opensource {
}

/* Cartouche Footer */

footer {
  height: auto;
  background: #4693cb;
  color: white;
  width: 100%;
  padding: 5px 10px;
}

footer a:link {
  color:white;
}

footer a:visited {
  color:white;
}

.grid-container-footer {
  display: grid;
  grid-template-columns: 20% auto 20% auto 20% auto;
  grid-gap: 10px;
  /* background-color: #2196F3; */
  padding: 20px 0;
  margin: 10px 10px;
}

.grid-container-footer > div {
  /* background-color: rgba(255, 255, 255, 0.8); */
  text-align: right;
  align-self:center
}

/* Animation (non utilisé) */

@keyframes movein {
  0%    {top: 200px;}
  100%  {top: 0px;}
}

.anim {
  animation-name: movein;
  animation-duration: 4s;
}

/* Adaptations styles pour ecrans mobiles */

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

  nav ul li a {
    display: none;
  }

  h1 {
    font-size: 1rem;
  }

  .grid-container-footer {
    grid-template-columns: auto auto;
  }
  .grid-container-footer > div {
    text-align: left;
}