body {
    margin: 0;
    color: #212121;
    padding-bottom: 96px;
}

.topbar {
    position:absolute;
    top: 0;
    width: 100%;
    margin-bottom: 0px;

    z-index: 1;
}

.main-section {
    /*margin-top: 112px;*/
}

.entry-section {
    width: 100%;
}

.heading-author{
  display: block;
  margin-top: 2rem;
}

.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: 700;
    opacity: .54;
}

.entry-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 64px 0px;
}

.blue{
  background:#1B6826;
  width: 100%;

}
.blue > p {
  color: #FFFFFF;
}
.blue > h2 {
  color: #FFFFFF;
}
.blue > h2::after {
  background: #FFFFFF;
  height: 1px ;
}
p {
    width: 100%;
    max-width: 550px;
    margin: 0 auto 32px;
}

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;
}

/* */



/* figure */

figure {
    margin: 0 auto;
}

figure img {
    width: 100%;
    vertical-align: bottom;
}

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

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

.medium-figure {
    max-width: 600px;
    width: 100%;
}

.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: 3;
}

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

.hamburger-button {
    position: fixed;
    top: 0;
    right: 0;
    width: 48px;
    height: 48px;
    border: none;
    font-size: 24px;
    color: #F77C27;
    z-index: 3;
    background: #FFFFFF;
    display: -webkit-box;
    padding: 0;
}

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

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

.menu {
    position: fixed;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100vh;
    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;
}



.cronologia {
  text-align: center;
}

.cronologia > p{
  font-size: 1.8rem;
  text-align: left;
  max-width: 550px;
  margin: auto;
  margin-top: 5rem;
  color: #FFFFFF;
  opacity: 1;
}

.cronologia > .fase{
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 0rem;
  color: yellow;
  font-weight: bolder;
  letter-spacing: 0.8rem;
}
.cronologia > iframe{
  width: 500px;
  height: 300px;
  margin-top: 4rem;
  -webkit-box-shadow: 0px 1px 5px 7px rgba(0,0,0,0.09);
  -moz-box-shadow: 0px 1px 5px 7px rgba(0,0,0,0.09);
  box-shadow: 0px 1px 5px 7px rgba(0,0,0,0.09);

}
.cronologia > .time{
  text-align: center;
  font-weight: bold;
  font-size: 4rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-top: 4rem;
}

.cronologia > .time > span{
  font-weight: bolder;
  opacity: 0.3;
  font-size: 3rem;
  margin-bottom: 2rem;
  vertical-align: middle;
}
.cronologia > .pais{
  text-align: center;
  font-size: 3rem;
  opacity: 0.4;
  color: #FFFFFF;
  font-style: italic;
  margin: 1rem 0;
}
.cronologia > .data-jogo{
    text-align: center;
    color:#FFFFFF;
    opacity: 0.9;
    text-transform: uppercase;
    margin-top: 1rem;
}
.img-jogador {
  padding-right: 5rem;
}
.img-jogador > img{
  width: 200px;
  border-radius: 50%;
}
.jogadores{
  display: flex;
  background: red;
}




.dark{

background: #e5e5e5; /* Old browsers */
background: -moz-linear-gradient(top, #e5e5e5 1%, #ffffff 8%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #e5e5e5 1%,#ffffff 8%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #e5e5e5 1%,#ffffff 8%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

.brasao{
  display: inline-block;

  border: 2px solid #FFFFFF;
  width: 100px;
  height: 100px;
  text-align: center;
  vertical-align: middle;
  padding: 3rem;
  margin: 2rem 2rem;
  font-size: 5rem;
  text-shadow: 0px 0px 4px rgba(0, 0, 0, 1);
}
.brasil{
  background: url("../img/brasao.jpg") no-repeat;
  background-size: 150%;
}
.turquia{
  background: url("../img/brasao-turquia.jpg") no-repeat;
  background-size: 150%;
}
.alemanha{
  background: url("../img/brasao-alemanha.jpg") no-repeat;
  background-size: 150%;
}
.china{
  background: url("../img/brasao-china.jpg") no-repeat;
  background-size: 150%;
}
.belgica{
  background: url("../img/brasao-belgica.jpg") no-repeat;
  background-size: 150%;
}
.costa-rica {
  background: url("../img/brasao-costa-rica.jpg") no-repeat;
  background-size: 150%;
}
.inglaterra {
  background: url("../img/brasao-inglaterra-2.jpg") no-repeat;
  background-size: 150%;
}


#jogadores{
  display: flex;
  position: relative;
  flex-wrap: wrap;
  flex-direction:row;
  justify-content: space-around;
  align-items:flex-start;
  max-width: 1000px;
  padding-top: 0;
}

#jogadores > div{
  width: 30%;
  margin-top: 5rem;
}



@media (max-width: 720px) {

  #jogadores{
    padding: 2rem;
  }
  #jogadores > div{
    width: 50%;
    margin-top: 5rem;
  }
  .texto-down{
    padding: 1rem 1rem;
    font-size: 1.6rem;
  }
}


@media (max-width:480px) {

  #jogadores{
    padding: 0rem;

  }
  #jogadores > div{
        margin: auto;
    margin-top: 2rem;
        width: 300px;

  }
  .texto-down{
    padding: 1rem 1rem;
    font-size: 1.6rem;
    max-width: 300px;
  }
}


/* entire container, keeps perspective */
.flip-container {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
  margin-bottom: 3rem;
  cursor: pointer;
}

.flip-container img{
  position: absolute;
  z-index: 1;
  border: .6rem solid yellow;
  width: 280px;
  height: 300px;
}

	.flip-container:hover .flipper,
  .flip-container.hover .flipper {
		-webkit-transform: rotateY(180deg);
		-moz-transform: rotateY(180deg);
    -o-transform: rotateY(180deg);
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 280px;
	height: 300px;
  padding: 0;
}



.flipper {
  display: block;
	-webkit-transition: 0.6s;
	-webkit-transform-style: preserve-3d;
	-moz-transition: 0.6s;
	-moz-transform-style: preserve-3d;
  -o-transition: 0.6s;
	-o-transform-style: preserve-3d;
	transition: 0.6s;
	transform-style: preserve-3d;
	position: relative;

}

.front, .back {
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;

}

.front {
	z-index: 2;
  cursor: pointer;
}

.back {
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
	transform: rotateY(180deg);
	background: #222222;
  font-size: 1.4rem;
    overflow-y:auto;
    color: #e2e2e2;
    font-size: 1.7rem;
    line-height: 2.3rem;

}

.back > img{
  display: block;
}

.front .name {
	font-size: 1.7rem;
	display: inline-block;
  background: rgba(76,76,76,0);
  background: -moz-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(19,19,19,1) 68%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(76,76,76,0)), color-stop(68%, rgba(19,19,19,1)));
  background: -webkit-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(19,19,19,1) 68%);
  background: -o-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(19,19,19,1) 68%);
  background: -ms-linear-gradient(top, rgba(76,76,76,0) 0%, rgba(19,19,19,1) 68%);
  background: linear-gradient(to bottom, rgba(76,76,76,0) 0%, rgba(19,19,19,1) 68%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313', GradientType=0 );
	color: #f8f8f8;
	padding: 25px 25px;
  width: 96%;
	bottom:6px;
	left:6px;
	position: absolute;
  line-height: 2.2rem;
    z-index: 2;
}

.front .name > strong {
  font-size: 2.5rem;
}

.back-title {
	font-weight: bold;
	color: #00304a;
	position: absolute;
	top: 180px;
	left: 0;
	right: 0;
	text-align: center;
	text-shadow: 0.1em 0.1em 0.05em #acd7e5;
	font-family: Courier;
	font-size: 2em;
}
.motivos > li > h4{
  font-size: 3rem;
}
.motivos > li > p{
  margin-top: 3rem;
}
.motivos > li > h4 >  span{
  color:#CCCCCC;
  font-size: 3rem;
  margin-right: 1rem;
  font-weight: 900;
  z-index: 2;
}
.motivos{

  list-style: decimal;
}


.grey{
  background: #e2e2e2;
  width: 100%;
}
.grey > .author{
  font-weight: 500;
  max-width: 400px;
  text-align: center;
}
.darkness{
  background: #333333;
  width: 100%;
}

.darkness > h2{
  color: #FFFFFF;
}
.darkness > h2::after{
  background: #FFFFFF;
}


.linhafina{
  font-size: 2.2rem;
  text-align: center;
}



@media (max-width: 800px) {
  .linhafina{
    font-size: 1.8rem;
    text-align: center;
    padding: 2rem;
  }
p{
  padding: 1rem 2rem;
}
  .cronologia > p{
    font-size: 1.8rem;
    text-align: left;
    max-width: 550px;
    margin: auto;
    padding: 2rem;
    color: #FFFFFF;
    opacity: 1;
  }
  .cronologia > .time{
    text-align: center;
    font-weight: bold;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #FFFFFF;

  }

  .cronologia > .time > span{
    font-weight: bolder;
    opacity: 0.3;
    font-size: 3rem;
    margin-bottom: 2rem;
    vertical-align: middle;
  }
  .cronologia > .pais{
    text-align: center;
    font-size: 2rem;
    opacity: 0.4;
    color: #FFFFFF;
    font-style: italic;
    margin: 1rem 0;
  }
  .brasao{
    display: inline-block;
    border: 1px solid #FFFFFF;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    padding: 1rem;
    font-size: 3rem;
  }

}
