:root {
  /* Set sans-serif & mono fonts */
  /*--sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;*/
    --sans-font:"Open Sans", Lato, Roboto, Aptos, Arial, Calibri, "Century Gothic", Helvetica, Verdana;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
  --standard-border-radius: 5px;
  --border-width: 1px;

  /* Default (light) theme */
  --bg: #fff;
  --accent-bg: #f5f7ff;
  --text: #212121;
  --text-light: #585858;
  --border: #898EA4;
  --accent: #0d47a1;
  --accent-hover: #1266e2;
  --accent-text: var(--bg);
  --code: #d81b60;
  --preformatted: #444;
  --marked: #ffdd33;
  --disabled: #efefef;
}

/* Dark theme */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #212121;
    --accent-bg: #2b2b2b;
    --text: #dcdcdc;
    --text-light: #ababab;
    --accent: #67dcdf;
    --accent-hover: #ffe099;
    --accent-text: var(--bg);
    --code: #f06292;
    --preformatted: #ccc;
    --disabled: #111;
  }
  /* Add a bit of transparency so light media isn't so glaring in dark mode */
  img,
  video {
    opacity: 0.8;
  }
}
html {
  /* Set the font globally */
  font-family: var(--sans-font);
  scroll-behavior: smooth;
}

/* Make the body a nice central block */
body {
  color: var(--text);
  background-color: var(--bg);
  font-size: 1.15rem;
  line-height: 1.5;
  display: grid;
  grid-template-columns: 1fr min(45rem, 90%) 1fr;
  margin: 0;
}
body > * {
  grid-column: 2;
}

/* Make the header bg full width, but the content inline with body */
body > #intro {
  background-color: var(--accent-bg);
  border-bottom: var(--border-width) solid var(--border);
  text-align: center;
  padding: 0 0.5rem 2rem 0.5rem;
  grid-column: 1 / -1;
}

#navbar{
  float: right;
  display: inline;
	position:fixed;
	width: 100%;
	height:40px;
  top:0;
	transition:0.4s;	
	z-index: 99;
	padding: 10px 10px;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-position: center;
  /*background-color: var(--accent-bg);*/
  background-color: rgba(103, 220, 223,0.8);
  color: var(--text);
}
#navbar a {  
  color: rgb(0, 0, 0);
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 30px; 
  line-height: 25px;
  border-radius: 4px;
}
#navbar a:hover {
  background-color: rgb(60, 115, 170);
  color: white;
}

#actualite_festival > img {
  width: 940px;
  height: 1327px;
}

.saut_de_ligne{
  height: 2rem;
}

p {
  max-width: 40rem;
  margin: 1rem auto;
}
#main {
  padding-top: 1.5rem;
}
td{
	padding:15px;
	text-align:center;
}
td img{
	max-width: 100%;
	width:50px;
	height:auto;
  border:0;
}
#logo_mobilizon{
  width:100px;
}

.actualite_carousel{
  max-width: 1000px;
  position: relative;
  margin: auto;
}
.carousel_page{
  display: none;
}
.carousel_prev, .carousel_next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.carousel_next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.carousel_prev:hover, .carousel_next:hover {
  background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.page_texte {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.page_num {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}


#footer {
  margin-top: 4rem;
  padding: 2rem 1rem 1.5rem 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
  border-top: var(--border-width) solid var(--border);
}

/* Format headers */
h1 {
  font-size: 3rem;
  margin-top: 4rem;  
  padding: 2rem 1rem 1.5rem 1rem;
  border-top: var(--border-width) solid var(--border);
  max-width: 1200px;
  margin: 1rem auto;
}

h2 {
  font-size: 2.6rem;
  margin-top: 3rem;
}

h3 {
  font-size: 2rem;
  margin-top: 3rem;
}

h4 {
  font-size: 1.44rem;
}

h5 {
  font-size: 1.15rem;
}

h6 {
  font-size: 0.96rem;
}

p {
  margin: 1.5rem 0;
}

/* Prevent long strings from overflowing container */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

/* Fix line height when title wraps */
h1,
h2,
h3 {
  line-height: 1.1;
}

/* Format links & buttons */
a,
a:visited {
  color: var(--accent);
}

a:hover {
  text-decoration: none;
}

#actualite_festival > img {
    width: 720px;
    height: 1020px;
  }


@media screen and (max-width: 1450px) {
  #navbar a{
    font-size: 20px;
  }
}

@media screen and (max-width: 1050px) {
  #actualite_festival > img {
    width: 500px;
    height: 700px;
  }
}

/* Reduce header size on mobile */
@media only screen and (max-width: 1050px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  #actualite_festival > img {
    width: 330px;
    height: 470px;
  }

  #navbar{
    height:300px;
    width:220px;
    right:0;
  }

  #navbar a {
    float: none;
    display: block;
    text-align: left;
    
  }
  

}


@media screen and (max-width: 580px) {
  #actualite_festival > img {
    width: 260px;
    height: 370px;
  }
}
