/* 
 theme Name:HTML5;
 Date : JANUARY 2020 ;
 DESCRIPTION : LEARN BASIC HTML5;
 version : 1.0;
 author: Marouane aradda;
 Author url: *http://www.ffgrfgfhrz.com;
*/

body {
    background-image: url(imgs/h.jpg);
    background-color: gainsboro;
    /*color:darkgrey*/
    font-size: 90%; /* baze fonte size = 14px */
    font-family: Arial, 'Lucida Sans Unicod' ;
    text-align: left;
    line-height: 1.5;
    }

.bgimage {
  background-size: 100% 100% ;
    width: 100% ;
    height: 100vh;
} 
  a {text-decoration: none;}
  /*a:link, a:visited {color: springgreen;} */
  /*a:hover, a:active { color: mediumseagreen ;} */ 
  h2 {
    color: #3B5998;
}

  h2:hover{opacity: 0.5;}
  h1{
    color:#3B5998;
}

h1:hover {opacity: 0.5;}
 .body{
    margin: 0 auto;
    width: 75%;
    clear: both;
}   

 .mainHeader img {
    width:100%;
}

 



/* ------------------- main content-------------------*/
.mainContent { 
    width: 70%;
    float:left;
}
.top-content {
    background-color: #fff;
    padding: 3%;
    margin-top: 3%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    
}
.post-info {
    font-size: 90%;
    color: #999;
    font-style: italic;
    margin-top: -25px ;
}
.post-content { 
display: block;
}
/*-- the side bar ------------------*/
.theSidebar {
    width:24%;
    margin:2% 0 0 2% ;
    float:left;
    padding: 2%;
    background-color: white;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;   
}
/*----------- footer -------------*/
.footer {
    margin-top: 20px;
    float: left;
    width: 100%;
    margin: 25px 0;
    background-color: #3B5998;
    height: 60px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    
}   
.footer p {
     text-align: center;
    color: white ;
    width: 90%;
}
/*------------- html5 --------------*/
.post-img {
    width: 100%;
}
figure {
    margin: 25px 0;
    font-size: 80%;
    color: #999;
}


/* Style all font awesome icons */
/*.fa {
   padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ; */
}
/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

/* Set a specific color for each brand */

/* Facebook */
.fa-facebook {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background: #3B5998;
  color: white;
    margin:10px 10px;
}
.fa-facebook:hover {
  opacity: 0.7;
}


/* Twitter */
.fa-twitter {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background: #55ACEE;
  color: white;
    margin: 10px 10px;
}
.fa-twitter:hover {
  opacity: 0.7;
}

/* insta */
.fa-instagram {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background:#ff6600;
  color: white;
    margin: 10px 10px;
}
.fa-instagram:hover {
  opacity: 0.7;
}
/*youtube*/
.fa-youtube {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background:red;
  color: white;
    margin: 10px 10px;
}
.fa-youtube:hover {
  opacity: 0.7;
}
 /* snapshat */
.fa-whatsapp {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background:springgreen;
  color: white;
    margin: 10px 10px;
}
.fa-whatsapp:hover {
  opacity: 0.7;
}
/* google */
.fa-google {
      padding: 20px;
  font-size: 20px;
  width: 10px;
  text-align: center;
  text-decoration: none;
  border-radius: 50% ;
  background:red;
  color: white;
    margin: 10px 10px;
}
.fa-google:hover {
  opacity: 0.7;
}
/*.fa-whatsapp a:link, a:visited {color: white;} */ 
/* Style buttons */
.btn {
  /*background-color: DodgerBlue;
  border: none;
  color: white;
  padding: 12px 30px;
  cursor: pointer;
  font-size: 20px;*/
    border-radius: 20px 
    margin-top: 20px;
    float: right;
    width: 100%;
    margin: 25px 0;
    background-color: DodgerBlue;
    height: 60px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
}

/* Darker background on mouse-over */
.btn:hover {
  background-color: RoyalBlue;
    text-shadow: none;
}



#myBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom of the page */
  right: 30px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #3B5998; /* Set a background color */
--++++  color: white; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  padding: 15px; /* Some padding */
  border-radius: 30px; /* Rounded corners */
  font-size: 18px; /* Increase font size */
}

#myBtn:hover {
  background-color: #555; /* Add a dark-grey background on hover */
  position: fixed;
}

/* -------------------------------------------------------------------------------------- */

/* Style the header with a grey background and some padding */
.header {
  overflow: hidden;
  background-color: #f1f1f1;
    padding: 10px ;
    border-radius: 10px;
    margin-top: 30px;
}

/* Style the header links */
.header a {
  float: left;
  color: black;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

/* Style the logo link (notice that we set the same value of line-height and font-size to prevent the header to increase when the font gets bigger */
.header a.logo {
  font-size: 25px;
  font-weight: bold;
}

/* Change the background color on mouse-over */
.header a:hover {
  background-color: #ddd;
  color: black;
}

/* Style the active/current link*/
.header a.active {
  background-color: dodgerblue;
  color: white;
}

/* Float the link section to the right */
.header-right {
  float: right;
}

/* Add media queries for responsiveness - when the screen is 500px wide or less, stack the links on top of each other */
@media screen and (max-width: 888px) {
    .body{
    margin: 0 auto;
    width: 95%;
    clear: both;
}   
    .header {
    margin-top: 10px;
}
  .header a {
    float: none;
    display: block;
    text-align: left;
      text-align: center;
  }
  .header-right {
    float: none;
  }
    .mainContent { 
    width: 100%;
    
}
    .theSidebar {
    width:94%;
     
}
    .ytb{
        text-align: center;
    }
}