/***
 * style.css 
 *
 * Copyright ©2024 Laboratoire ThéMA - UMR 6049 - CNRS / Université de Franche-Comté
 * 
 * Gaspard QUENTIN
 ***


/*************************************************************************
 * CSS reset
 * ***********************************************************************/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}



/*************************************************************************
 *
 * Styles for index.html
 *
 *************************************************************************/
body {
  width: 100%;
  height: 100%;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 21px;
}

p, li {
  color: #666;
}


section li {
  margin-left: 10px;
  margin-bottom: 5px;
}
section li::before {
  content: "• ";
}

h1, h2, h3 {
   color: #2d2d2d;
   line-height: 42px;
   margin: 10.5px 0;
   text-rendering: optimizeLegibility;
}

h2 {
  font-size: 26px;
  color: #2d2d2d;
}

header {
  background-color: rgb(245, 245, 245);
  padding: 8px 6px 1px 6px;
  margin-top: 70px;
  margin-bottom: 30px;
  border-radius: 4px;
}

main, nav > ul, footer, header {
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}

@media only screen and (max-width: 1440px) {
  main, nav > ul, footer, header {
    width: 75%;
  }
}

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

  nav ul li a[href="#download"] {
    display: none;
  }

  nav ul li a[href="#documentation"] {
    display: none;
  }

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

section#main {
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}

h1 {
  font-size: 34px;
}

p {
  margin: 0 0 10.5px;
}

footer {
  margin-top: 60px;
  text-align: center;
}

a[href], a[href]:visited {
  color: #09d;
  text-decoration: none;
}

a[href]:hover {
  text-decoration: underline;
}
/***********************************************************************************
 * Navbar
 * *********************************************************************************/

nav ul li:first-child {
    float: left;
}


nav {
  background-color: rgb(238, 238, 238);
  position: fixed;
  z-index: 1000;
  top: 0px;
  width: 100%;
  height: 40px;
  /*box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1);*/
}

nav ul {
    text-align: right;
}

nav ul li:hover a {
  color: #09d !important;
}

nav ul li {
    text-align: left;
    display: inline-block;
}

nav ul li:first-child {
    float: left;
}

nav a[href], nav a[href]:visited {
    display: block;
    /*font-weight: bold;*/
    color: #666;
    font-size: 20px;
    text-decoration: none !important;
    padding: 10px 0px 10px 0px;
}

.highlight {
  background-color: #ececec;
  transition: background-color 1s ease;
}
