/* geral */

html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  color: ghostwhite;
  font-family: "EB Garamond", Times, Serif;
  background-image: url("/user/themes/quark/images/body.jpg");
  margin: auto;
}

h1, h2, h3, h4, h5, h6, .como, .tags, .blog-date, #listing-footer {
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: .2rem;
}

.card h1,
.e-content h1 {
  font-family: "EB Garamond", Times, Serif;
  line-height: 1.15;
  font-size: 400%;

}

.card h2,
.e-content h2 {
line-height: 1.15;
font-size: 400%;
font-weight: 100;
}

.content-title h2 {
  font-size: 600%;
}

.card h3,
.e-content h3 {
  font-weight: 100;
  font-size: 200%;
}

.card h4,
.e-content h4 {
  font-weight: 100;
}

section {
  text-align: center;
}

p > img {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

a {
  color: white;
}

a:hover {
  color: white;
}

a:focus {
  box-shadow: none;
}

a:active {
  color: white;
}

a:visited {
  color: white;
}



/* header */

#header {
  height: 100%;
}


#header .container {
  justify-content: center;
  padding-bottom: 0;
  align-items: center;
  flex-direction: column;
  display: flex;
  background: radial-gradient(circle closest-side, rgba(0,0,0,1) 0, rgba(255,255,255,.12) 30%, rgba(0,0,0,0) 100%);
  background-repeat: no-repeat;
}

.navbar {
  display: flex;
  flex-direction: column;

  margin: 0;

    margin-top: calc(25% - 175px);

}

.navbar h1 {
  display: none;
}

.navbar img {
  background-color: white;
  border-radius: 100%;
  width:350px;
  align-self:center;
}

.logo {
  display: flex;
  position: relative;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  z-index: 99;
 animation-duration: 20s;
  animation-delay: .5s;
}

.logo a {
  line-height: 0;
  width: fit-content;
  position: relative;

}

.logo a:hover img {
  background-color: crimson;
      transition: 0.3s;
}


body .linhapequena {
  border: 3px solid black;
  border-bottom: 0;
  border-top: 80px solid white;
  height:100px;
  width:4px;
  background-color: white;
  overflow: visible;
  margin: 0;
  margin-top: -1px;
  animation-duration: 6s;
  animation-delay: 1s;
}

.como {
  text-transform: uppercase;
  width: fit-content;
  border: 2px solid black;
  outline: 4px solid white;
  line-height: 0.8;
  font-size: 80%;
  letter-spacing: 5px;
  color:black;
  background-color:white;
  margin: 4px;
  animation-delay: 1.6s;
}

.como a {
  color: black;
  display: inline-block;
  width: 100%;
  height: 100%;
  padding: 1em;
  transition: 0.3s;
}

.como a:hover {
  text-decoration: none;
  color: white;
  background-color: black;
}

#messages,
#grav-login {
  width: 100%;
}

.toast {
  max-width: 30rem;
  margin: 0 auto;
}

/* conteudo */

#body-wrapper .container {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
   animation-delay: 2s;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 0;
  flex: 1;
  min-width: 35%;
  background: none;
  border: 0;
  min-height:80vh;
  max-width:calc(50% - 4px);
}


.card * {
  word-break: break-word;
}

.card:nth-of-type(odd) .blog-date:before,
.card:nth-of-type(even) .blog-date:after {
  position: absolute;
   border: 4px solid white;
  border-radius: 100%;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  margin:0;
  padding:0;
  margin-top: 2px;
  right: 18px;
}

.card:nth-of-type(even) .blog-date:before,
.card:nth-of-type(even) .blog-date:after {
  left: 18px;
}

.card:nth-of-type(even) .blog-date:before {
  content: "";
  background: white;
  border: 0;
  height: 4px ;
  width: 20px;
  padding: 0;
  margin-right:calc(4em - 20px);
  margin-top: 10px ;
}

.card:nth-of-type(odd) .blog-date:after {
  content: "";
  background: white;
  border: 0;
  height: 4px;
  width: 20px;
  padding: 0;
  margin-left:calc(4em - 20px);
  margin-top: 10px;
}

.card:nth-of-type(odd) {
  margin-top: -20vh;
  padding-bottom: 30vh;
}

.card:nth-of-type(even) {
  margin-top: 50vh;
  padding-bottom: 10vh;

}

.card:nth-of-type(1) {
  margin-top: 30vh;
}

.maisquedois .card:nth-of-type(1) {
  margin-top: 0;
}

.card:nth-of-type(2) {
  margin-top: 100vh;
}


.card .card-header {
  padding: 0;
}

.card:nth-of-type(odd) .card-header {
  text-align: right;
}

.card:nth-of-type(even) .card-header {
  text-align: left;
}

.card:nth-of-type(odd) .card-body .p-name {
  text-align: right;
}

.card .card-body {
  position: relative;
  padding: 4em 4em 0 4em;
  text-align: left;
  font-size: 100%;
  flex: 0;
  animation-duration: .25s;
  animation-delay: 0.15s;
}

.card .card-body .p-name {
  margin: 0;
  margin-top: -10px;
  margin-bottom: 1rem;
  font-weight: 800;

}

.card .card-body .link-post {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.card .card-body .link-post:before {
position: absolute;
border: 4px none white;
border-radius: 100%;
content: "";
display: block;
height: 12px;
width: 12px;
margin:0;
padding:0;
top: -18px;
right: 22px;
transition: 0.15s;
}

.card:nth-of-type(even) .card-body .link-post:before {
  left: 22px;
  transition: 0.15s;
}


.card .card-body:hover .link-post:before {
  background:  crimson;


}





.card img {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

.blog-date {
  display: flex;
  margin: 0;
  text-transform: uppercase;
  font-weight: 300;
  color: crimson;
}

.card:nth-of-type(odd) .blog-date {
  justify-content: flex-end;
}

.tags {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 800;
  font-size: 120%;
  color: #598c9f;
  padding: 0 4em;
  margin: 0 -16px 0 -12px;
}

.tracinho {
  width:4px;
  background-color: white;
  height: auto;
  border: 0;
  padding: 0;
  margin: 0;
}

.tracinho:nth-of-type(even) {
  width:0;
}

.tracinho:nth-last-of-type(1) {
  margin-right: calc(50% - 4px);
}



/*   footer */

#footer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 350px;
  height: 350px;
  margin-bottom:20vh;
  margin-left: auto;
  margin-right: auto;
  border-color: white;
  border: solid white 12px;
  background: black;
  text-align: center;
  border-top-left-radius: 100%;
  border-top-right-radius: 100%;
  border-bottom-right-radius: 100%;
  border-bottom-left-radius: 100%;
  align-items: center;
  margin-top: 200px;
}



#footer:hover:after  {
  background: crimson;
}





#footer:before {
  border: 3px solid black;
  border-top: 0;
  border-bottom: 100px solid white;
  height:200px;
  width:10px;
  background-color: white;
  overflow: visible;
  margin: 0;
  margin-top: -212px;
  content: '';
    position: absolute;


}
  /*
  border: 3px solid black;
  border-bottom: 100px solid white;
  border-top: 0;
  height:100px;
  background-color: white;
  width:4px;
  overflow: visible;
  display: block;
  top: -211px;
  */




#listing-footer {
  width: calc(60% + 80px);
  min-height: 80px;
  margin-top: 20px;
  margin-bottom: 20px;
  display: flex;
  color: crimson;
  text-transform: uppercase;
  font-weight: 300;
  justify-content: space-between;
  font-size: 200%;
}

#listing-footer span {
  color: grey;
  padding: 20px;
}

#listing-footer a {
  color: white;
  padding: 20px;
}

#footer a:hover, #footer a:focus, #footer a:active {
  text-decoration: none;
  color: crimson;
}

.sobe {
    margin-top: 2em;
}

.sobe a:after {
  content: "\f0d8";
  font-family: "Font Awesome 5 Free";
  font-size: 200%;
  font-weight: 600;
  padding: 20px;
  text-decoration: none;
}

.antes:before {
  content: "\f0d9";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-right: 1em;
}

.depois:after {
  content: "\f0da";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  margin-left: 1em;
}

.social {
  width: 70%;
  margin-top: 10px;
  padding-top: 30px;
  flex-direction: column;
  display: flex;
  border-top: solid white 4px;
}




/* pagina do post */

.interior #header {
  margin-bottom: 20px;
}

.interior #header .container {
  background: none;
}

.interior .navbar {
  margin-top: 30px;
}


.interior .navbar h1 {
  display: none;
  margin-bottom: 20px;
  font-size: 140%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 16px;
  color: black;
}


.interior .navbar img {
  width: 100px;
  background: none;
}



.interior .linhapequena {
  height: 50px;
  border-top: 40px solid white;
}

.interior .logo a:after {
  border: 4px solid white;
  border-radius: 100%;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  left: 40px;
  position: absolute;
  top:188px;
  margin:0;
  padding:0;
  transition: 0.15s;
}



.interior .logo a:hover img {
 background: #262626;
}


.logo a:hover:after {
 background: crimson;
}


.interior .blog-date {
  align-self: center;
}

.content-item {
  flex-direction: column;
  display: flex;
  margin: auto;
  padding: 40px 10vw 0 10vw;
  align-items: center;
}

.e-content * {
  word-break: break-word;
}

.content-title {
  display: flex;
  flex-direction: column;
}

.content-title .p-name {
  word-break: break-word;
}



.e-content {
  text-align: left;
  font-size: 150%;
  line-height: 1.3;
  margin-bottom: 2rem;

}


.e-content a {
  color: #D6E8FA;
  text-decoration: underline;

}


.e-content a:hover {
  color: #598c9f;

}


.content-item img {
  padding:  2em 0;
  width: 100%;
  max-width: 800px;
}

.interior #footer {
  margin-top: 120px;
  margin-bottom: 60px;
  width: 250px;
  height: 250px;
}

.interior #footer:before {
  border: 3px solid black;
  border-top: 0;
  border-bottom: 50px solid white;
  height:100px;
  width:10px;
  background-color: white;
  overflow: visible;
  margin: 0;
  margin-top: -112px;
  content: '';
  position: absolute;
}

.interior #footer:after {
  border: 4px solid white;
  border-radius: 100%;
  content: "";
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  top: -132px;
  margin:0;
  padding:0;
  transition: 0.15s;
}

.interior .sobe {
  margin-top: 0.5em;
}

.interior #listing-footer {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 200%;
}

.interior .antes:before {
  content: "\f0da";
  margin-right: 0;
}

.interior .depois:after {
  content: "\f0d9";
  margin-left: 0;
}

.interior .social {
  margin-top: -30px;
  border: none;
}


/* interiores */

@media only screen and (max-width: 768px) {

  .interior .logo h1 {
    display: none;
  }

  body:not(.interior) #body-wrapper .container {
    flex-direction: column;
    padding: 0;
  }

  body:not(.interior) .navbar {
    margin-top: calc(100% - 100px);
  }

  body:not(.interior) .navbar img {
    width: 200px;
  }



  html:not(.interior) .naoprimeiro .navbar {
    margin-top: 30px;
  }

  html:not(.interior) .naoprimeiro .linhapequena {
    display: none;
  }


  html:not(.interior) .naoprimeiro #header .container {
    background: none;
  }


  body:not(.interior) .card {
    width: 100%;
    min-height: inherit;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  body:not(.interior) .card:nth-of-type(odd), .card:nth-of-type(even) {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
  }

  body:not(.interior) .card:nth-of-type(1) {
    margin-top: 20vh;
  }


.card .card-body {

  padding: 2em 2em 0 2em;
  }


  body:not(.interior) .tags {
    letter-spacing: inherit;
  }

  body:not(.interior) #footer {
    width: 300px;
    height: 300px;
    margin: 0 auto 2em auto;
  }

  body:not(.interior) #footer:before {
    display: none
  }


  body:not(.interior) .social {
  margin-top: 0;
  padding-top:0 ;
  border: none;
}


  .card h2,
  .e-content h2 {
  line-height: 1.15;
  font-size: 150%;
  font-weight: 100;
  }

  .content-title h2 {
    font-size: 150%;
  }

  .card h3,
  .e-content h3 {
    font-weight: 100;
    font-size: 100%;
  }

}


#error {
  background: ghostwhite;
color: black;
padding: 30px;
}
