@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --main-color: black;
  --title-color-01: #666;
  --title-color-02: #999;
  --text-color: #666;
  --background-color: #222;
  --primary-flag-yellow: #FFFF00;
  --primary-flag-red: #FF0000;
  --primary-flag-blue: #0000FF;
  --primary-flag-white: #FFFFFF;
  --primary-flag-black: #000000;
}


html, body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color)
}

header, article, aside, figcaption, figure, footer, hgroup, main, menu, nav, section, p, button, ul, li {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
}

i {
  font-size: 3em;
  padding: .3em;
  transition: zoom 2s ease;
  }
  
i:hover {
    animation: zoom .5s 1;
  }
  
@keyframes zoom {
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

* {
  box-sizing: border-box;
}

a{
 text-decoration: none;
 transition: color 300ms ease;
}

main a:hover{
 color:var(--primary-flag-yellow);
}

header {
  position: fixed;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  z-index: 1000;
  width: 100%;
  -webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s;
}

.headeractive {
  background-color: rgba(34,34,34,1);
}

header img {
  display: inline-block;
  float: left;
  height: 10em;
  width: auto;
  -webkit-transition: all ease-out .5s;
  -moz-transition: all ease-out .5s;
  -o-transition: all ease-out .5s;
  transition: all ease-out .5s;
  padding-left: 1em;
}

.imgactive {
  height: 5em;
}

header ul{
  text-align: right;
  padding-top: 1em;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.inactive {
  display: none;
}

.nav-link.active {
  text-decoration: underline;
}


header li{
  list-style: none;
  text-transform: uppercase;
  color:#FFF;
  padding: .5em;
}

header a{
  text-decoration: none;
  color:var(--color-contrast);
  transition: color 300ms ease;
}

header a:hover{
  color:var(--primary-flag-yellow);
}

.flag {
  display: block;
  width: 4em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 4em;
  margin-bottom: 2em;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
  transform: translateY(0);
  }
  40% {
  transform: translateY(-30px);
  }
  60% {
  transform: translateY(-15px);
  }
}

.presentation {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  height: 50em;
  max-height: 80vh;
  background-image: url("../images/radioman.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: var(--primary-flag-black);
  padding: 0;
  margin: 0;
}

.presentation h1 {
  color: var(--primary-flag-white);
  font-size: 2.5em;
  text-align: center;
  font-weight: 800;
  padding: .5em;
  text-shadow: 1px 1px 10px black;
}

.presentation li{
    list-style: none;
    padding: 5px;
    display: inline;
}

.presentation a:hover{
   color: inherit!important;
}

.presentation li:nth-child(1) {
  color: var(--primary-flag-yellow);
}

.presentation li:nth-child(2) {
  color: var(--primary-flag-red);
}

.presentation li:nth-child(3) {
  color: var(--primary-flag-blue);
}

.presentation li:nth-child(4) {
  color: var(--primary-flag-white);
}

.presentation a {
  color: inherit;
}

.presentation i {
  color: inherit;
}

section {
  width: 100%;
  text-align: center;
  padding-top: 3em;
  padding-bottom: 4em;
}

.podcloud {
 padding: 2em;
}


h1 {
  color:var(--title-color-01);
  font-size:calc(12px + 5vw);
  text-align: center;
  font-weight: 100;
}

h2 {
  color:var(--title-color-01);
  font-size:calc(12px + 1vw);
  text-align: center;
  font-weight: 100;
  margin-top: 2em;
}

h3 {
  color:var(--title-color-02);
  font-size:calc(12px + .5vw);
  text-align: center;
  font-weight: 100;
  margin-top: -1.5em;
}

h4 {
  color:#FFF!important;
  font-size:calc(12px + 1.5vw);
  text-align: center;
  font-weight: 100;
  margin-bottom: -25px;
}

p {
  color:var(--text-color);
  font-size:1.5em;
  text-align: center;
  font-weight: 100;
  width: 80%;
  max-width: 50em;
}

section:focus {
    outline: none !important;
}

figure {
  padding-top: 2em;
  padding-bottom: 2em;
}

section img {
  width:80%;
  max-width: 30em;
}

section figcaption {
  font-style: italic;
  font-weight: 100;
}

.blanc {
}

.gris {
  background-color: #ededed;
}

.titre-flag img{
  display: inline-block;
  vertical-align: middle;
  min-width:1em;
  max-width: 2em;
  margin-left: 1em;
  margin-right: 1em;
}

.titre-flag h1{
  display: inline-block;
  vertical-align: middle;
  font-size:calc(12px + 3vw);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  z-index: 0;
}

/* Container around content */
.container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  z-index: 10
}

/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: white;
  top: 15px;
  border-radius: 50%;
  z-index: 100;
}

.container:nth-child(1n+0)::after {
  border: 4px solid var(--primary-flag-red);
}

.container:nth-child(2n+0)::after {
  border: 4px solid var(--primary-flag-black);
}

.container:nth-child(3n+0)::after {
  border: 4px solid var(--primary-flag-blue);
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
  padding-bottom: 4em;
}


/* Media queries - Responsive */

@media (max-width: 1024px) {

  .timeline::after {
    left: 31px;
    z-index: 0;
  }

  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    z-index: 10;
  }

  .container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
    z-index: 100;
  }

  .left::after, .right::after {
    left: 15px;
  }
  
  .left {
    left: 0%;
  }

  .right {
    left: 0%;
  }
}

/* Equipe */

.row {
display:flex;
flex-flow: row wrap;
align-items: center;
justify-content: center;
}

.column {
width: 25em;
padding: 2em;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  font-size: .8em;
  padding:1em;
  height: 55em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content:space-between;
}

.card img {
  padding: 0;
  max-width: 100%;
}

.card h2 {
  margin-top: 0;
}

.card h3 {
  margin-top: -1.5em;
}

.card i {
  font-size: 1em;
}

.card p {
padding-top: 1em;
}

.card a {
  color: var(--primary-flag-black)
}

.card a:hover {
  color: var(--primary-flag-red)
}

.button {
  border: none;
  outline: 0;
  padding: 8px;
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  font-size: .8em;
  text-align: center;
  cursor: pointer;
  width: 100%;
  transition: 300ms;
  bottom:0;
}

a.button{
  text-decoration: none;
}

a.button:hover{
  text-decoration: none;
}

.button:hover {
  transition: 300ms;
}


footer {
  padding-top: 2em;
  padding-bottom: 2em;
  background-color: rgba(34,34,34,1);
  color: #fff;
  text-align: center;
}


footer ul {
display: flex;
flex-flow: row wrap;
justify-content: center;
}

footer li {
margin: 1em;
}


footer li:nth-child(1):hover {
  color: var(--primary-flag-yellow);
}

footer li:nth-child(2):hover {
  color: var(--primary-flag-red);
}

footer li:nth-child(3):hover {
  color: var(--primary-flag-blue);
}

footer li:nth-child(4):hover {
  color: var(--primary-flag-white);
}

footer a {
  color: inherit;
}

footer i {
  font-size: 2em;
  color: inherit;
}

@media (max-width: 1024px) {

  header {
    justify-content: center;
  }
  
  header img {
    height: 8em;
  }
  
  .presentation {
    height: 100vh;
    max-height: 100vh;
  }
  
  .imgactive {
    height: 3em;
  }
}

@media (max-width: 800px) {

.card {
  height: auto;
  justify-content: center;
  align-content:center;
}

.card h2 {
  font-size: 2em;
}

.card h3 {
  font-size: 1.5em;
}


