/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
   */


   .clearfix:after, .clearfix:before {
       content: '';
       clear: both;
       display: table;
   }


   html, body, div, span, applet, object, iframe,
   h1, h2, h3, h4, h5, h6, p, blockquote, pre,
   a, abbr, acronym, address, big, cite, code,
   del, dfn, em, img, ins, kbd, q, s, samp,
   small, strike, strong, sub, sup, tt, var,
   b, u, i, center,
   dl, dt, dd, ol, ul, li,
   fieldset, form, label, legend,
   table, caption, tbody, tfoot, thead, tr, th, td,
   article, aside, canvas, details, embed, 
   figure, figcaption, footer, header, hgroup, 
   menu, nav, output, ruby, section, summary,
   time, mark, audio, video {
   	margin: 0;
   	padding: 0;
   	border: 0;
   	font-size: 100%;
   	font: inherit;
   	vertical-align: baseline;
   }
   /* HTML5 display-role reset for older browsers */
   article, aside, details, figcaption, figure, 
   footer, header, hgroup, menu, nav, section {
   	display: block;
   }

   a{
   	text-decoration: none;
   }
   a:hover{
      cursor: pointer;
   }
   body {
   	line-height: 1;
   }
   ol, ul {
   	list-style: none;
   }
   blockquote, q {
   	quotes: none;
   }
   blockquote:before, blockquote:after,
   q:before, q:after {
   	content: '';
   	content: none;
   }
   table {
   	border-collapse: collapse;
   	border-spacing: 0;
   }

   /* End Reset CSS */

   body,a{
   	font-family: 'Oswald', sans-serif;
   	color: #86226c;
   	text-align: center;
   }

  .video-contato__contato p {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 300;
  }

  .contato__redes-sociais{
    margin-right: 15px;
  }

   header {
   	background-image: url(../images/bg-header.jpg);
   	background-repeat-y: no-repeat;
   	-webkit-animation: bg 10s infinite linear; /* Safari 4+ */
   	-moz-animation:    bg 10s infinite linear; /* Fx 5+ */
   	-o-animation:      bg 10s infinite linear; /* Opera 12+ */
   	animation:         bg 10s infinite linear; /* IE 10+, Fx 29+ */
	padding-top:170px;
   }

   .logo img{
   	display: block;
   	margin: 0 auto;
   	position: relative;
   }

   .logos-wrap__logos img {
   	display: block;
   	margin: 0 auto;
   }

   .pedidos__header p{
   	font-weight: 300;
   }

	.content{
		position: relative;
	}

   .youtube__video{
    position: relative;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    margin-bottom: 10px;
   }

   .youtube__video iframe {
     position: absolute;
     top:0;
     left: 0;
     width: 100%;
     height: 100%;

   }

   main {
       max-width: 1226px;
       margin: 0 auto;
   }

   article.video-contato {
      border-top: 1px solid;
   }

   .youtube {
       width: 100%;
   }

   .contato:not(:first-child) {
       padding-top: 15px;
   }

   .contato {
       padding-bottom: 15px;
   }

   .contato:nth-child(n+2) {
       border-top: solid 1px;
   }

   .contatos{
      box-sizing: border-box;
      padding: 0 3%;
   }

   .contatos__header {
       font-size: 35px;
       font-family: 'Open Sans', sans-serif;
       margin-bottom: 5px;
       font-weight: bold;
   }

   .contatos__header img {
      vertical-align: middle;
   }

   .contatos__telefone {
      font-size: 22px;
      font-family: 'Open Sans', sans-serif;
      margin-bottom: 5px;
   }

   .contatos__emails {
      font-size: 21px;
      font-family: 'Open Sans', sans-serif;
      font-weight: 300;
   }

   .contatos__emails p,
   .contatos__telefone p {
      display: inline-block;
      padding-left: 40px;
      background-repeat: no-repeat;
    } 

    .contatos__emails p{
      background-image: url('../images/email.png');
      background-position: 5px 4px;
    }

    .contatos__telefone p{
      background-image: url('../images/fone.png');
      background-position: 5px 7px;
      padding-top: 5px;
      padding-bottom: 9px;
    }

   footer {
       padding-bottom: 20px;
   }

   /*Media queries*/

   @media screen and (min-width: 320px) and (max-width: 764px) {

      article.pedidos {
          margin-top: 15px;
      }

      article.video-contato {
         margin-top: 20px;
         padding-top: 20px;
      }

   	.pedidos__header h2 {
   		font-size: 48px;
         margin-bottom: 10px;
   	}

   	.pedidos__header p {
   		font-size: 16px;
   	}

      .logos-wrap {
          margin-top: 20px;
      }

   	.logo img{
   		max-width: 50%;
   	}

   	.logos-wrap__logos{
   		margin: 20px auto;
   	}	

   	.logos-wrap__logos img {
   		max-width: 40%;
   	}

      .youtube {
         margin-top: 20px
      }

      .youtube__header h2 {
         font-size: 25px;
         margin-bottom: 13px;
      }

      .contatos__header h2{
          font-size: 80%;
          margin-top: 10px;
      }

      .contatos__header h3{
          font-size: 40%;
      }

      .redes-sociais > div {
          margin: 10px auto;
      }

      .contatos{
        margin-top: 10px;
      }

      .video-contato__contato p{
        font-size: 21px;
      }
   }

   @media screen and (min-width: 765px) {
      
      article.video-contato {
		margin-top: 46px;
		padding-top: 18px;
      }

      .youtube__header h2 {
         font-size: 35px;
         margin-bottom: 13px;
      }

   	.pedidos__header h2 {
   		font-size: 56px;
         margin-bottom: 19px;
   	}

   	.pedidos__header p {
   		font-size: 26px;
   	}

      .logos-wrap {
          margin-top: 35px;
      }

   	.logos-wrap__logos{
   		width: calc(100% - 100px);
   		width: calc((100% / 4) - 100px);
   		display: inline-block;
   	}

      .youtube {
          width: 60%;
          float: left;
		  margin-left: 250px;
      }

      .contatos {
          width: 40%;
          float: left;
      }

      .contatos__header h2{
          font-size: 100%;
          font-weight: bold;
          margin-bottom: 10px;
      }

      .contatos__header h3{
          font-size: 60%;
      }

      .redes-sociais > div {
          display: inline-block;
      }

      .redes-sociais__facebook {
          margin-right: 20px;
      }

      .video-contato__contato p:nth-child(1){
        float: left;
      }

      .video-contato__contato p:nth-child(2){
        float: right;
      }
   }

@-webkit-keyframes bg {
	0%   { background-position: 0 0; }
	100% { background-position: -943px 0; }
}
@-moz-keyframes bg {
	0%   { background-position: 0 0; }
	100% { background-position: -943px 0; }
}
@-o-keyframes bg {
	0%   { background-position: 0 0; }
	100% { background-position: -943px 0; }
}
@keyframes bg {
	0%   { background-position: 0 0; }
	100% { background-position: -943px 0; }
}