/*--------------------------------*/
/* Styles for Index */
/*--------------------------------*/

body, html {
  height: 100%;
  margin: 0;
  /*scroll-behavior: smooth; */
}

.parallax {
  /* the image used */
  background-image: url("cedric-dhaenens-qrBVjQd82w4-unsplash.jpg");

  /* full height */
  height: 100%;

  /* Center and scale the image nicely */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: black;
  background: white;
  padding: 10px;
}

.unsplash-credit {

    position: absolute;
    bottom: 0;
    right: 0;
    padding: 5px;

}

/* Collection of mouse scroll animations */ 

.scroll-anim span:hover {
  border: 3px solid #000; /*rgb(200, 200, 200) */
}
.scroll-anim span {
  position: absolute;
  padding-bottom: 15px;
  margin: 20px;
  bottom: 0;
  left: 50%;
  width: 30px;
  height: 50px;
  margin-left: -15px;
  border: 2px solid #000;
  border-radius: 50px;
  box-sizing: border-box;
}
.scroll-anim span::before {
  position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #000;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
/* Mouse scroll animation end */

  


/*--------------------------------*/
/* Styles for the blogs */
/*--------------------------------*/
body{
    background-color: rgb(245,245,245);
}

.date{
    background-color: rgb(245,245,245);
    text-align: left;
    /* padding-top: 10px; */
    /*padding: 10px;*/
}

.title{
    background-color: rgb(245,245,245);
    text-align: center;
    /*padding: 10px;*/
}

.content{
    background-color: rgb(245,245,245);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
}


.basic-img{
  max-width: 90%;
  max-height: 90%;
  box-shadow: 8px 8px 8px #aaa;
}

.sub-text {
    color: #777;
    font-size: 14px;
    margin-top: 10px;
}

code {
  background-color: rgb(235,235,235);
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-weight: 300;
  padding: 5px;
}

.code-block {
  background-color: rgb(235,235,235);
  font-family: Arial, Helvetica, sans-serif;
  color: black;
  font-weight: 300;
  /* padding: 10px; */
  border-radius: 5px;

}


/* Begin Copy to Clipboard styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
/* End Copy to Clipboard styles */



/* Playing with a slide toggle rather than blur */
/* Remove blur */
/* .spoiler:hover{
    max-width: 90%;
    max-height: 90%;
    padding: 10px;
    -webkit-transition: -webkit-filter blur(0px);
    -moz-filter:blur(0px);
    -o-filter:blur(0px);
    filter: blur(0px);

} */

/* Blur image to avoid spoilers */
/* .spoiler{
    max-width: 90%;
    max-height: 90%;
    padding: 10px;
    -webkit-filter: blur(10px);
    -moz-filter:blur(10px);
    -o-filter:blur(10px);
    filter: blur(10px);
    
} */


/*--------------------------------*/
/* Landing Page specifics */
/*--------------------------------*/


.landing-button:link, .landing-button:visited {
    background-color: rgb(11, 62, 75);
    color: white;
    padding: 14px 25px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    border-style: solid;
    border-color: rgb(255, 255, 255);
    
    /* Hover off */
    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;

}

.landing-button:hover, .landing-button:active, .landing-button:focus {
    cursor: pointer;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    
}

