body {
    margin: 0;
    color: #212121;
}

p.centered{
  text-align: center;
}

.title-page{
  color: #CCCCCC;
  text-align: center;
  padding-top: 10rem;
  font-size:2.3em;
  font-family: 'Estado Headline';
}

#page h1:not(main-title){
  width: 100%;
  /* max-width: calc(550px + 32px); */
  margin: 6rem auto 2rem auto;
  padding: 6rem 2rem 0rem 2rem;
  font-family: 'Estado Headline';
  font-size: 4.5rem;
  text-align: center;
  line-height: 1.1;
  color: #FFFFFF;
}
#page h2{
  font-size: 3.4rem;
  color: #000;
}

@media (max-width: 520px) {
  #page h1:not(main-title){
    font-size: 2.8rem;
    margin: 2rem auto 1rem auto;
    color: #FFFFFF;
    padding: 2rem 1rem 0rem 1rem;
  }
  #page h2{
    font-size: 2.1rem;
    margin-top: 2rem;
  }
}

.desativo{
  pointer-events:none;
  opacity: 0.4;
}
.logo-estadao{
  position: absolute;
  text-align: center;
  width: 100%;
}
.logo-estadao a:link, .logo-estadao a:visited{
  font-size: 4rem;
  color: #ffffff;
  text-decoration: none;
}
#topbarinside{
  display: flex;
  background: red;
  justify-content:space-between;
  background:#FFFFFF;
  border-bottom:1px solid #CCCCCC;
  position: fixed;
  width: 100%;
  padding: 0.1rem 1rem;
  z-index: 4;
  top:0;

  transition: all 0.5s;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
#topbarinside.hidden{
  top:-100px;
}

#topbarinside > .brandbar > a:link{
  color:#666666;
  text-decoration: none;
  margin-top: .5rem;
}
#topbarinside > .brandbar > a:visited{
  color:#666666;
}
#topbarinside > .nav-page{
  font-family: "Estado Fine";
  font-size: 2rem;
  text-align: center;
  padding-top: .9rem;
  font-weight: normal;
  position: absolute;
  left: 50%;

  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
}
@media (max-width: 320px){
  #topbarinside > .nav-page{
    display: none;
  }
}
.entry-header-presidents{
  display: flex;
  flex-wrap:wrap;
  padding-top: 5rem;
  background: #f2f2f2;
}


.entry-header-presidents img{
  border-radius: 50%;
  width: 180px;
}


.entry-header-presidents > #obama{
  width: 50%;
  padding: 3rem 5rem;
  text-align: right;
  border-bottom:5px solid #175997;
  border-right: 1px solid #FFFFFF;
}
.entry-header-presidents .img-head{
  display: inline-block;
  text-align: center;
  width: 100%;
  max-width: 200px;
}
.entry-header-presidents #obama .name{
  color:#175997;
  font-family: "Estado Fine";
  font-weight: 600;
  font-size: 3rem;
}
.entry-header-presidents > #trump{
  width: 50%;
  padding: 3rem;
  text-align: left;
  border-bottom:5px solid #fff;
}
.entry-header-presidents #trump .name{
  color:#971736;
  font-family: "Estado Fine";
  font-weight: 600;
  font-size: 3rem;
}
.entry-content-presidents{
  display: flex;
  flex-wrap:wrap;
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  background: #f1f1f1;
}

.entry-content-presidents p{
  margin: 0;
  padding: 1rem 4rem 4rem 4rem;
  max-width: 100%;
}
.entry-content-presidents figure {
    display: block;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
}

.entry-content-presidents figcaption{
  background: #f1f1f1;
  margin: 0;
  padding: 1rem 4rem 1rem 4rem;
  height: auto;
  text-align:left;

}

.assinatura{
  display: none;


}

.entry-content-presidents p:before{
  text-transform: uppercase;
  text-align: left;
  display: block;
  width: 100%;
  font-family: "Flama";
  padding: 2rem 0 2rem 0;
}

.entry-content-presidents .obama-text p:before{
  content: "Obama";
  color: #175997;
}
.entry-content-presidents .trump-text p:before{
  content: "Trump";
  color: #971736;
}
.entry-content-presidents > .obama-text{
  width: 50%;
  border-right: 5px solid #fff;
}
.entry-content-presidents > .obama-text:before{
  content: "";
  display:block;
  width: 100%;
  border-bottom: 4px solid #175997;
  font-size: 1.8rem;
  color: #175997;
  /*background: #175997;*/
  text-align: right;
  text-transform: uppercase;
  padding: 0.5rem 1rem 0 0;
  background: #fff;
}

.entry-content-presidents > .trump-text{
  width: 50%;
  border-left: 5px solid #fff;
}

.entry-content-presidents > .trump-text:before{
  content: "";
  display:block;
  width: 100%;
  border-bottom: 4px solid #971736;
  font-size: 1.8rem;
  color: #971736;
  /*background: #971736;*/
  text-align: left;
  text-transform: uppercase;
  padding: 0.5rem 0 0 1rem;
  background: #fff;
}

@media (max-width: 960px) {
  .entry-header-presidents > #obama{
    width: 100%;
  }
  .entry-header-presidents > #trump{
    width: 100%;
  }
  .entry-content-presidents > .obama-text{
    width: 100%;
    margin-bottom: 4rem;
  }
  .entry-content-presidents > .trump-text{
    width: 100%;
    margin-bottom: 4rem;
  }
  .entry-header-presidents{
    display: none;
  }
  p{
    padding: 2rem;
  }

  .space-white{
    height: 50px;
  }
  figure img {
      max-width: 100%;
      margin: auto;

  }
  .assinatura{/*
    display: block;
    text-align: center;
    margin-bottom: 6rem;
    margin: auto;
    width: 100%;*/
  }
  .assinatura img{
    width: 100%;
    max-width: 550px;
  }


}


.topbar {
    position: absolute;
    top: 0;
    width: 100%;
    margin-bottom: 0px;
    background: transparent;
    z-index: 1;
    text-align: center;
    border: none;
    text-decoration: none;

}
.inside{
  display: flex;
}


#header-trump, #header-obama{
  width: 50%;
  background: red;
}

#header-trump > header{
  background: blue;
  text-align: center;
}
#header-obama > header{
  background: yellow;
  text-align: center;
}
.entry-header{
  display: block;
  width: 100%;
  height: 100vh;
  background: url("../img/capa2.jpg") no-repeat;
      -webkit-background-size:cover;
      -moz-background-size:cover;
      -o-background-size:cover;
      background-size:cover;
      background-position:center;
      text-align: center;

}

.opening-title {
  margin: 0;
  position: absolute;
  top: calc(80%);
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
}

.title h1{
  font-size: 8rem;
}

.main-section {


}

.entry-section {
    width: 100%;
}

.kicker {
    display: block;
    width: 100%;
    max-width: 550px;
    margin: 0 auto 8px;
    padding: 0 16px;
    text-align: center;
    color: #8ba566;
}

.lead {
    width: 100%;
    max-width: calc(550px + 32px);
    margin: 0 auto 64px;
    padding: 0 16px;
    font-weight: 100;
    text-align: center;
    font-family: "Freight Text";
    font-size: 2.4rem;
    line-height: 3rem;
    letter-spacing: 0.07em;
    opacity: 0.85;
}

.entry-content {
    padding: 0 16px;
}

p {
    width: 100%;
    max-width: 450px;
    margin: 2rem auto 32px;
    font-family: "Freight Text";
    font-size: 2rem;
}

p:last-of-type {
    /*margin-bottom: 54px;*/
}

.row {
    width: 100%;
    max-width: 942px;
    margin: 0 auto;
}

.row p {
    margin-bottom: 32px;
}

.margin-note {
    width: 100%;
    max-width: 180px;
    float: left;
}

.entry-sub {
    float: right;
    width: 100%;
    max-width: 360px;
    margin-left: 16px;
}

/* */

@media (max-width: 958px) {
    .margin-note {
        float: right;
        margin: 0 0 16px 16px;
    }
}

@media (max-width: 720px) {
    .entry-sub {
        float: none;
        max-width: 550px;
        margin: 0 auto 32px;
    }
}

/* figure */

figure {
    margin: 0 auto;
    text-align: center;
}

figure img {
    max-width: 100%;
    margin: auto;

}

.extra-large-figure {
    max-width: 1440px;
}

.large-figure {
    max-width: 720px;
}

.medium-figure {
    max-width: 550px;
}

.small-figure {

}

figcaption {
    margin-bottom: 32px;
    padding-top: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    opacity: .54;
}

.extra-large-figure figcaption {
    padding: 4px 16px 0;
}

/* menu */

.mask {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.mask.on {
    opacity: .5;
    pointer-events: auto;
}

.hamburger-button {

    width: 52px;
    height: 52px;
    border: none;
    font-size: 30px;
    color: #333333;
    z-index: 10000;
    background: rgba( 255, 255, 255, 1 );
    border-radius: 999px;
    padding: 0;
}

.hamburger-button:hover {
    cursor: pointer;
}

.hamburger-button:focus {
    outline:0;
}



.menu {
    position: fixed;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100vh;
    padding-top: 9rem;
    background: #fff;
}

.menu.open {
    right: 0;
}

.transition {
    -webkit-transition: all ease .3s;
            transition: all ease .3s;
}

/* porta-retratos */

.porta-retratos {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 32px;
    padding-top: 16px;
    padding-bottom: 0;
    background-color: #f5f5f5;
}

.porta-retratos img {
    display: block;
    width: 100%;
    max-width: 48px;
    margin-right: 16px;
}

.arquivo-pessoal {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: .54;
}

/* */

html[data-touch='true'] .frame-container {
    display: none;
}

.ampliar {
    max-width: 180px;
}

.margin-text {
    font-size: 14px;
    line-height: 1.5;
}

.entry-credits {
    text-transform: uppercase;
    margin: auto;
    font-size: 14px;
    text-align: center;
    margin-bottom: 32px;
    font-weight: 700;
    opacity: .54;
    line-height: 1.8;
}

.data {
    font-size: 15px;
    text-align: center;
    margin-bottom: 56px;
    opacity: .54;
}


/* CAROL */
.entry-header{
  position: fixed;
  top:0;
  z-index:0;
}
@media (max-width: 520px){
  .entry-header{
    height: 300px;
  }

}


.opening-title{
  display: block;
}

.opening-title h1{
  color: #fff;
  margin-top: -25rem;
}

@media (max-width: 520px){
  .opening-title{
    width: 100%;
    max-width: 100%;
  }
  .opening-title h1{
    color: #fff;
    margin-top: 40%;
    font-size: 3rem;
  }
  .lead{
    color: #000;
    margin-top:30%;
    font-size: 2.2rem;
    font-weight: bold;
  }
}

.opening{
  position: absolute;
  background: #fff;
  width: 100%;
  max-width: 740px;
  padding: 9rem  5px;
  margin: 0;
  top:calc(100%);
  left: 50%;
  z-index:2;

  transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
}
@media (max-width: 520px){
  .opening{
    top: 48rem;
    padding: 1rem 5px;
  }
}

.opening p{
  width: 100%;
  max-width: 540px;
  margin: 0 auto 1.5em auto;
}
@media (max-width: 960px) {
  .opening p{
    padding:0 2rem;
  }
}

.opening p.centered{
  text-align:center;
}


ul.chapters{
  width: 100%;
  display: block;
  list-style: none;
  text-align: center;
}

ul.chapters li{
  width: 100%;
  display: block;
  list-style: none;
  padding-bottom: 2rem;
  color: #999;
  font-size: 2.4rem;
  font-family: "Estado Fine";
  letter-spacing: 0.05em;
}
ul.chapters li:after{
  width: 60px;
  height: 1px;
  border-bottom: 1px solid #ccc;
  content:" ";
  display: inline-block;
}

ul.chapters li a{
  color: #000;
  display: block;
  text-decoration: none;
}
ul.chapters li span{
  font-size: 1.3rem;
  display: block;
}

.video-agile {
  max-width: 550px;
  margin: 0 auto;
}

.opening .video-agile {
  max-width: 740px;
  margin: 0 auto;
}

.arrow-down {
    position: absolute;
    bottom: 35px;
    left: 50%;
    margin-left: -10px;
    width: 21px;
    height: 29px;
    background: url(../img/arrow-down.png) no-repeat center center;
    display: block;
    -webkit-animation: bounce-fade 1.2s infinite;
    -moz-animation: bounce-fade 1.2s infinite;
    -o-animation: bounce-fade 1.2s infinite;
    animation: bounce-fade 1.2s infinite;
}
@-webkit-keyframes bounce-fade {
    0%   { opacity: 0; bottom: 70px; }
    100% { opacity: 1; bottom: 35px; }
}
@-moz-keyframes bounce-fade {
    0%   { opacity: 0; bottom: 70px; }
    100% { opacity: 1; bottom: 35px; }
}
@-o-keyframes bounce-fade {
    0%   { opacity: 0; bottom:70px; }
    100% { opacity: 1; bottom: 35px; }
}
@keyframes bounce-fade {
    0%   { opacity: 0; bottom: 70px; }
    100% { opacity: 1; bottom: 35px; }
}
