:root {
    --primary-color: #c72727;
    --secondary-color: #f99500;
    --light-color: #f3f3f3;
    --dark-color: #333;
    --max-width: 1200px;
}

.category {
    --cinemapub-color: #f99500;
    --strategievideo-color: #c72727;
    --conseilastuce-color: #3363b7;
    --actualite-color: #ffbc00;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.5;
    background: var(--light-color);
}

.Main-title {
    font-size: 29px;   
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Staatliches', cursive;
    margin-bottom: 0.55rem;
    line-height: 1.3;
}

a {
    color: #333;
    text-decoration: none;

}

ul {
    list-style: none;
} 

p {
    margin: .5rem 0;
}

.textred {
    color: #C73131;
}

img {
    width: 100%;
}


/* Utility */

.container {
    max-width: var(--max-width);
    margin: auto;
    padding: 0 2rem;
    overflow: hidden;
}

.category {
    display: inline-block;
    color: #fff;
    font-size: 0.55rem;
    text-transform: uppercase;
    padding: 0.4rem 0.6rem;
    border-radius: 15px;
    margin-bottom: 0.5rem;
}

.category-cinemapub { background: var(--cinemapub-color);}
.category-strategievideo { background: var(--strategievideo-color);}
.category-conseilastuce { background: var(--conseilastuce-color);}
.category-actualite { background: var(--actualite-color);}

.btn {
    display: inline-block;
    border: none;
    background: var(--dark-color);
    color: #fff;
    padding: 0.5rem 1.5rem;
}

.btn-light { background: var(--light-color); 

}

.btn-primary { 
    background: var(--primary-color);
    border-radius: 5px;
}

.btn-secondary { background: var(--secondary-color);}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn:hover {
    opacity: 0.9;
}

.card {
    background: #fff;
    padding: 1rem;
}

.Webfolio {
    border: 4px #fff solid;
    width: 170px;
    position: relative;
    top: -15px;
    right: -58px;  
}

.bg-main {
    background: #ffbc00;
    color: #fff;
}

.bg-dark {
    background: var(--dark-color);
    color: #fff;
}

.bg-dark {
    background: #444;
    color: #fff; 
}

.bg-primary {
    background: var(--primary-color);
    color: #fff;
}

.bg-secondary {
    background: var(--secondary-color);
    color: #fff;
}

.bg-light {    
    background: url('../img/articles/QuiSuisJe_NandrianVid_Couverture.jpg') no-repeat center center/cover;
    color: #333;
}

.bg-videos {
    background: #1a1a1a;
    color: #fff;
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark a,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary a,
.bg-secondary h1,
.bg-secondary h2,
.bg-secondary h3,
.bg-secondary a {
    color: #fff;
}

.py-1 { padding: 1.5rem 0; }
.py-2 { padding: 2rem 0; }
.py-3 { padding: 3rem 0; }
.p-1 { padding: 1.5rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.l-heading {
    font-size: 3rem;
}

.list li {
    padding: .5rem 0;
    border-bottom: #555 dotted 1px;
    width: 90%;
}

.list li a:hover {
    color: var(--primary-color) !important;
}


/* Inner page grid container */

.page-container {
    display: grid;
    grid-template-columns: 5fr 2fr;
    margin: 2rem 0;
    grid-gap: 1.5rem;
}

.page-container > *:first-child {
    grid-row: 1 / span 2;
}


/* Navigation */

.favicon {
    width: 42%;
}


#main-nav {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
}

#main-nav .container {
    display: grid;
    grid-template-columns: 6fr 3fr 2fr;
    padding: 1rem;
    align-items: center;
}

#main-nav .logo {
    width: 180px;
}

#main-nav ul {
    display: flex;
    justify-self: end;
}

#main-nav ul li a {
    padding: 0.75rem;
    font-weight: bold;
}

#main-nav ul li a.current {
    background: var(--primary-color);
    color: #fff;
}

#main-nav ul li a:hover {
    background: var(--light-color);
    color: var(--dark-color);
}


/* Showcase */

#showcase {
    color: #fff;
    background: #333;
    padding: 2rem;
    position: relative;
}

#showcase:before {
    content: '';
    background: url('../img/articles/Couverture_NandrianVid_Blog.jpg') no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

#showcase .showcase-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    height: 50vh;
}

#showcase .showcase-content {
    z-index: 1;
}

#showcase .showcase-content p {
    margin-bottom: 1rem;
}


/*************/
/* Home Info */
/*************/

#home-info {
    height: 370px;
}

#home-info .info-img {
    float: left;
    width: 50%;
    background: url('../img/articles/Decouvrez_Creations_Video_NandrianVid.jpg') no-repeat center center/cover; 
    min-height: 100%;
}

#home-info .info-content {
    float: right;
    width: 50%;
    height: 100%;
    text-align: center;
    padding: 50px 30px;
    overflow: hidden;
}

#home-info .info-content p {
    padding-bottom: 30px;
}


/**************/
/* About and video */
/**************/

#about-info .info-right {
    float: right;
    width: 50%;
    min-height: 100%;
}

#about-info .info-right img {
    display: block;
    margin: auto;
    width: 50%;
    border-radius: 50%;
    border: 8px white solid;
}

#about-info .info-left {
    float: left;
    width: 50%;
    min-height: 100%;
}

#about-info .info-left h1 {
    line-height: 40px;
}

.testimonial {            
    padding: 20px;
    margin-bottom: 40px;
    height: 220px;
    border-radius: 5px; 
}

.Mes-vidéos {
   position: absolute;
   top: 1462px;
   right: 1229px;
}

.Slogan {
   position: absolute;
   top: 58px;
   right: -260px;   
   font-size: 20px; 

}

.lead {
   text-align: center;   
   font-size: 22px;
   position: absolute;
   top: 98px;
   right: -114px;   
   font-size: 13px; 
}

.Img-DN {
   width: 35%;
   position: absolute;
   top: 164px;
   right: -238px;   
   font-size: 20px; 
   border:2px ;
   -moz-border-radius:7px;
   -webkit-border-radius:7px;
   border-radius:7px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  top: 20px;
  left: -65px;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: relative;
  left: 0px;
  top: 60%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none; 
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 13px;
  padding: 8px 12px;
  position: absolute;
  top: -3px;
  left: 155px;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 13px;
  width: 13px;
  margin: 0 2px;
  position: relative;
  top: 10px;
  left: -100px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.commentaire1 {
    position: absolute;
    top: 462px;
    right: -5px;   
    font-size: 13px; 
}


/* Home Articles */
#home-articles .articles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

#home-articles .articles-container > *:first-child,
#home-articles .articles-container > *:last-child {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    align-items: center;
    grid-column: 1 / span 2;
}

#home-articles .articles-container > *:last-child {
    grid-column: 2 / span 2;
}

#article .meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eee;
    padding: 0.5rem;
}

#article .meta .category {
    margin-top: 0.4rem;
}


/* Pagination Articles */
ul{ border:0; margin:0; padding:0; }
 
#pagination-digg li
{
    border:0; 
    margin:0; 
    padding:0;
    font-size:11px;
    list-style:none;
    margin-right:2px;
}
 
#pagination-digg a
{
    border:solid 1px #9aafe5
    margin-right:2px;
}
 
#pagination-digg .previous-off, #pagination-digg .next-off 
{
    border:solid 1px #DEDEDE
    color:#888888
    display:block;
    float:left;
    font-weight:bold;
    margin-right:2px;
    padding:3px 4px;
}
 
#pagination-digg .next a, #pagination-digg .previous a 
{
    font-weight:bold;
}
 
#pagination-digg .active
{
    background:#FFFFFF;
    color:#000000;
    font-weight:bold;
    display:block;
    float:left;
    padding:4px 6px;
}
 
#pagination-digg a:link, #pagination-digg a:visited 
{
    color:#0e509e
    display:block;
    float:left;
    padding:3px 6px;
    text-decoration:none;
}
 
#pagination-digg a:hover
{
    border:solid 1px #0e509e
}


/****************/
/* Contact Form */
/****************/

#contact-form .form-group {
    margin-bottom: 20px;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
}

#contact-form input, #contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px #ddd solid;
}

#contact-form textarea {
    height: 200px;
    margin-bottom: 20px;
}

#contact-form input:focus, #contact-form textarea:focus {
    outline: red;
    border-color: #f7c08a;
}

#contact-form .form-group button {
    margin-left: 50%;
}


/* Footer */
#main-footer {
    background: var(--dark-color);
    color: #fff;
}

#main-footer img {
    width: 150px;
}

#main-footer a {
    color: #fff;
}

#main-footer .footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.5rem;
}

#main-footer .footer-container > *:last-child {
    background: #444;
    grid-column: 1 / span 4;
    text-align: center;
    padding: .5rem;
    font-size: 0.75rem;
}

#main-footer .footer-container input[type='email'] {
    width: 90%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

#main-footer .footer-container input[type='submit'] {
    width: 90%;
}

.box {
    float: left;
    width: 33.3%;
    padding: 50px;
    text-align: center;
}

.box i {
    margin-bottom: 10px;
}