/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
*{
  margin:0;
  padding:0;
  scroll-behavior:smooth;
  box-sizing: border-box;
}

ol, ul {
    list-style: none;
}

a{
  text-decoration: none;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #444444;
}

:root{
  --primary-green: #799c1f;
  --second-green: #90b828;
  --primary-orange: #ff7403;
}

/*--------------------------------------------------------------
# Backgrounds
--------------------------------------------------------------*/
#backgroundTop{
  background-image: url("../img/shapeLogo.png");
  background-repeat: no-repeat;
  background-color: var(--primary-green);
  height: 900px;
  z-index: -11;
  position: absolute;
}

#backgroundBottom{
  height: 500px;
  background-color: #f6f6f5;
  margin-top: -400px;
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
#mobile-btn{
  display: none;
  width: 40px;
  height: 40px;
}

.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i{
  color: var(--primary-orange);
}

.mobile-nav-overly{
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, .7);
  top: 0px;
}

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  z-index: 9999;
  overflow-y: auto;
  background: #fff;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

@media screen and (max-width: 991px){

  #mobile-btn{
    display: flex;
  }

}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#headerTop{
  padding-top: 50px;
}

#headerNav ul{
  border-bottom: 1px solid white;
  padding-left: unset;
  padding-bottom: 10px;
}

#headerNav ul li a{
  color: white;
  margin-right: 25px;
  font-size: 20px;
  font-weight: 300;
}

#headerNav ul li:last-child a{
  margin-right: unset;
}

#headerNav .dropdown ul.left, #headerNav .dropdown ul.right {
  display: block;
  position: absolute;
  right: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 25px 0;
  z-index: 99;
  opacity: 1;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  width: 300px;
  text-align: center;
}

#headerNav .dropdown ul.right{
  right: 30px;
}

#headerNav .dropdown ul.more{
  right: 0px !important;
} 

#headerNav .dropdown ul.left{
  right: -30px;
}

#headerNav .dropdown ul.left li, #headerNav .dropdown ul.right li{
  margin-bottom: 15px;
}

#headerNav .dropdown:hover > ul {
  opacity: 1;
  top: 120%;
  visibility: visible;
}

#headerNav .dropdown ul.right a, #headerNav .dropdown ul.left a{
  font-size: 15.5px;
  color: var(--primary-green);
  margin-right: unset;
}

#headerNav .dropdown ul.right a:hover, #headerNav .dropdown ul.left a:hover{
  color: var(--primary-orange);
  transition: 0.2s;
  margin-right: unset;
}

#loginButtonHeader{
  background-color: var(--primary-orange);
  color: white;
  font-size: 15px;
  font-weight: 600;
  transition: .3s;
}

#loginButtonHeader:hover{
  background-color: white;
  color: var(--primary-orange);
  transition: .3s;
}

#headerNav.active{
  background-color: white;
  position: fixed;
  z-index: 111111;
  padding: 20px;
  border-radius: 5px;
}

@media screen and (max-width: 991px) {

  #headerNav ul li{
    margin-bottom: 35px;
    text-align: center;
  }

  #headerNav .dropdown ul.more{
    right: -111px !important;
  } 

  #headerNav ul li a{
    color: var(--primary-orange);
    margin-right: unset;
  }

  #loginButtonHeader{
    align-self: center;
    padding: .4rem 1rem;
    height: 42.5px;
  }

  #loginButtonHeader:hover{
    border: 2px solid var(--primary-orange);
  }

  #headerNav .dropdown ul.right {
    right: -20px;
  }

  #headerNav .dropdown ul.left {
    right: -45px;
  }

}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
#hero{
  margin-top: 100px;
  margin-bottom: 100px;
}

#hero span{
  color: white;
}

#hero span{
  max-width: 900px;
  font-weight: 300;
  font-style: italic;
  font-size: 20px;
  text-align: center;
}

#hero span:first-child{
  font-weight: 700;
  font-size: 29px;
  font-style:unset;
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
# Content | thePostStack
--------------------------------------------------------------*/

#thePostStack, #firstLink, sidebar{
  background-color: white;
  border-radius: 5px;
}

#firstLink img{
  width: 100%;
  border-radius: 5px;
}

#thePost{
  margin-bottom: 70px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

#thePost h2{
  width: 100%;
  margin-top: 15px;
  margin-bottom: 10px;
}

#thePost h2 a{
  color: black;
  font-weight: 800;
  font-size: 32px;
}

#postContentBox{
  width: 100%;
  padding: 15px;
}

#info-post{
  color: black;
}

#info-post a{
  color: var(--primary-orange);
}

span.litlleBar{
  display: block;
  margin: 0px 10px 10px 10px;
}

#post-text{
  max-width: 100%;
  color: black;
  overflow: hidden;
  font-size: 18px;
  font-weight: 300;
  text-overflow: ellipsis;
  display: inline-block;
}

#readMore{
  display: inline-block;
  background: var(--primary-orange);
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  float: right;
  margin-top: 15px;
  margin-bottom: 10px;
  border: 1px solid var(--primary-orange);
}

#readMore:hover{
  background-color: white;
  color: var(--primary-orange);
  transition: 0.3s;
}

#count-pages{
  margin-bottom: 70px;
}

#count-pages a{
  color: var(--primary-orange);
}

@media screen and (max-width: 768px){
  
  #thePost h2 a{
    font-size: 22.5px;
  }

  #info-post{
    margin-bottom: 10px;
  }

  #info-post span, #info-post a{
    font-size: 11.5px;
    display: flex;
    align-items: center;
  }

  span.litlleBar{
    margin: 0px 10px 0px 10px;
  }

}

@media screen and (max-width: 525px){
  #info-post span, #info-post a{
    font-size: 10.5px;
  }

  #thePost h2 a{
    font-size: 15.5px;
  }
}

/*--------------------------------------------------------------
# Content | sidebar
--------------------------------------------------------------*/
sidebar{
  padding: 60px 0px 20px 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

sidebar div{
  margin-bottom: 50px;
}

#title{
  color: black;
  font-size: 30px;
  font-weight: 600;
  border-bottom: 2px solid var(--primary-orange);
  width: 100%;
  display: block;
  margin-bottom: 25px;
}

#search{
  height: 125px;
}

#search form{
  width: 100%;
  height: 54px;
  padding-right: 5px;
}

#search form input{
  width: 272px;
  height: 100%;
  border-color:1px solid #bbbab8;
}

#search button{
  width: 60px;
  background-color: var(--primary-orange);
  border: none;
  color: white;
  font-size: 28px;
  border-radius: 3px;
}

#category-links a{
  color: black;
  width: 80%;
  align-self: flex-end;
  border-bottom: 1px solid var(--primary-orange);
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: 300;
  margin-bottom: 25px;
}

#last-posts img{
  height: 75px;
}

#last-posts a{
  color: black;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--primary-orange);
  padding-bottom: 25px;
}

#last-posts h2{
  font-size: 18px;
  padding-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
}

@media screen and (max-width: 991px){

  #search form input{
    width: 88%;
  }

}

@media screen and (max-width: 768px){
  
  #search form input{
    width: 85%;
  }

}

@media screen and (max-width: 575px){
  
  #search form input{
    width: 80%;
  }

}

@media screen and (max-width: 460px){
  
  #search form input{
    width: 70%;
  }

}

/*--------------------------------------------------------------
# footer
--------------------------------------------------------------*/
footer{
  padding: 100px 0px 0px 0px !important;
  background-color: var(--primary-green);
  background-image: url("../img/footer-shape.png");
  background-repeat: no-repeat;
  height: 500px;
}

#footerBoxes div ul{
  height: 100%;
}

#footerBoxes div:first-child, #footerBoxes div:nth-of-type(2){
  border-right: 1px solid white;
}

#footerBoxes div:nth-of-type(2) ul li{
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
}

#footerBoxes div:nth-of-type(3) ul{
  margin-bottom: unset;
}

#footerBoxes div:nth-of-type(3) ul li{
  font-weight: 300;
  font-style: italic;
}

#footerBoxes div:nth-of-type(3) ul li.ftTitle{
  font-style: unset;
  font-weight: 700;
  font-size: 20px;
}

#footerBox, #footerBox a{
  color: white;
}

#footerBox span{
  font-weight: 700;
  font-size: 20px;
}

#footerLogo{
  width: 150px;
}

#redesSociais{
  width: 150px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#redesSociais a{
  width: 45px;
  height: 45px;
  border-radius: 5px;
  background-color: var(--primary-orange);
  display: flex;
  justify-content: center;
  align-items: center;
}

#footerCopyright{
  margin-top: 100px;
  width: 100%;
  height: 100px;
  background-color: white;
  font-size: 15px;
}

#todos{
  float: right;
}

#footerCopyright a{
  color: var(--primary-orange);
}

@media screen and (max-width: 992px) {

  footer{
    height: 1100px;
  }

  #footerBoxes ul{
    padding-left: unset;
  }

  #footerBoxes div:first-child, #footerBoxes div:nth-of-type(2){
    border-right: unset;
  }

  #footerBoxes div:nth-of-type(2){
    margin-top: 70px;
  }

}

@media screen and (max-width: 768px) {

  #footerCopyright{
    font-size: 13px;
    height: 140px;
    padding-top: 15px;
    padding-bottom: 15px;
  }

  #footerCopyright span{
    text-align: center;
    margin-top: 15px;
  }

  #todos{
    float: unset;
  }

}

