/* MODA IMAGE on BLOG */
  /* Styles for the modal */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(14, 54, 60, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 10;
    
  }

  .modal-content {
    max-width: 80%;
    max-height: 80%;
  }

  .modal-img {
    width: 100%;
    height: 100%;
    object-fit: contain;

  }
/* ------------------------------ */


/* Sitcky Panel */
#sticky-content{
  font-size:1.3rem;
  color:var(--accent3);
  position: fixed;
  width: 450px;
  height: 11px;
  width:fit-content;
  height: auto;
  z-index: 1;
  display:none;
}
#sticky-content a {
  color:var(--alink);
}
/* ----------------------------------------------------------------- */

.light-theme .logo-light,
.dark-theme .logo-dark { display: block; }
.line{
  z-index:3;
  /* background-color: red; */
  width: inherit;
  height:15px;
  box-shadow: 2px 2px 44px hsla(0, 0%, 0%, 0.15);
  color:var(--foreground-primary)
}
.hero{
  background: var(--background-primary);
}

.main-box {
  background: var(--background-primary);
  /* background-color: red; */
  display: flex;
}
.left-main{
    /* border:2px solid palevioletred; */
    margin: 40px 0px 0px 140px;
  padding:40px;
}
.main-main{
    /* border:2px solid yellow; */
    background: var(--background-secondary);
    border-radius: 10px;
    box-shadow: var(--blogGlow);
    border:1px solid gold;
    word-wrap: break-word;
}
.main-main pre{
  font-size: 16px;
  word-wrap: break-word;
}
.right-main{
    width:350px;
    margin: 40px 100px 0px 5px;
    /* border:2px solid red; */
}
.main-main img{
  max-width: 700px;
  cursor: url(/assets/images/eye.png),auto;

}


li{padding-left:20px;list-style-type: none;}

/* ---- MEDIA QUERIES ---- */

@media(width>50px){
  .main-box{display:block}
  .main-main{
    padding:50px 15px;
    margin: 0px 0px;
    /* background-color: red; */
  }
  .left-main, .right-main{
    display:none;
  }
  .container-hero{
    flex-flow: column wrap !important;
    border:2px solid red;
    padding: 0 !important;
    margin:0 !important;
    width: 200px;
  }
}
@media(width>400px){  .main-main{margin:0px 40px;}}
@media(width>950px){
  .main-box{display:flex;}
  .right-main{
    display:flex;
  }
  .main-main{
    width:950px;
    max-width: 950px;
  }

  #sticky-content{
    display:block;
    top:89px;
    right:-120px;
  }
}
@media(width>1250px){
  #sticky-content{
    display:block;
    top:89px;
    right:0px;
  }
}
@media(width>1550px){
  .main-main{
    padding: 30px 40px;
    margin:40px 300px 40px 0px;
    width: 950px;
    max-width: 950px;
    /* background-color: #ffcccc; */
  }
  .left-main, .right-main{
    display:flex;
  }
  #sticky-content{
    top:140px;
    right:230px;
  }
}











  /*-----------------------------------*\ 
    #BLOG SECTION
  \*-----------------------------------*/
  .hero .pattern-bg {
    position: absolute;
    top: 50%;
    right:50%;
    transform: translateY(-50%);
    width: 70%;
    height: 220px;
    /* background: url(../images/pattern.png); */
    background-size: contain;
    opacity: 0.2;
  }
  .blogHero > img:first-child{
    max-width: 600px;
    /* position: absolute; */
    /* right:80%; */
    /* top:81.5%; */
  }


  .blog > h2:first-child{
    font-size:55px;
  }

.blog img{
  align-content: center;
  justify-content: center;
  border-radius: 10px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.3);
  padding:0px 0px 5px 0px;
  margin:30px 0px 30px 0px;
  background-color: var(--accent3);
  position:relative;
  transition: ease .5s !important;
}
.blog img:hover{
background-color: rgba(2, 251, 255, 0.841);
transform: translateY(-10px);
box-shadow: 0px 11px 10px rgba(0, 0, 0, 0.5);
}
.blog .h2{
  color:var(--accent2);
  width: 100%;
  padding:0px 0px 0px 30px;
  margin: 0px 280px 0px 0px;
  font-size:3rem;
}

.blog .h3{
  color:var(--accent);
  width: 100%;
  padding:0px 0px 0px 30px;
  margin: 0px 280px 0px 0px;
  font-size:2.3rem;
}
.blog h3.error{
color:#ff5050;
text-decoration:underline;
}
.blog h3.error:before{
  content:"Error:";
}

.blog div.error{
  background-color: #ffe6e6;
  border-top: 3px dashed red;
  padding-bottom: 2px;
}
div.error p{
  color:black !important;
}
b.code{
background-color:rgb(53,55, 60);
color:white;
padding:4px;
font-weight: 100;
}
b.error{
background-color: #ffcccc;
color:#4d0000;
padding:4px;
font-weight: 100;
}
p.note{
  background-color:lightgreen;
  border-left: 9px solid green;
  margin-bottom: 15px;
  color:black !important; 
  margin:0px 0px 25px 0px;
  padding:10px 10px;
}
p.note::before{
  content:"Note: ";
  font-weight: bold;
}
.summaryTitle{
    color:var(--accent);
    font-size: 3.7rem !important;
  }

@media(width>50px){
.blog img{
  width:100%;
}

}

@media(width>1050px){
  .blog img{
    width:60%;
  }
}