/*! HTML5 Boilerplate v7.1.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    max-width: 100em;
    margin: 0 auto;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* remove play button apple safari */

*::-webkit-media-controls-start-playback-button {
  display: none!important;
  -webkit-appearance: none;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  position: relative;
  background-color: black;
  /* height: 75vh; /* this is good for the mobile display */
  height: 660px;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

video[poster] {
    object-fit: cover;
    width: 100%;
  }

header .hero-content {
  position: relative;
  z-index: 2;
  height: 100%;

    }


header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}


.logo {
  width: 100%;
  max-width: 600px;

}
.btn {
  background-color: #ff6400;
  border: none;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .9rem;
  color: white;
  padding: 12px 12px;
  text-align: center;
  font-size: 16px;
  margin: 4px 2px;
  opacity: 1;
  transition: 0.3s;

}

.btn:hover {
  background-color: #da5500;
  cursor: pointer; 
}

h1 {
  font-family: 'Montserrat', sans-serif;
  color: white;
  font-weight: 900;
  font-size: 1.5em;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  
  /*font-weight: 900;*/
  font-size: 1.5em;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  /*text-transform: capitalize;*/
}

p {
  font-family: 'Montserrat', sans-serif;
}

q {
 font-family: 'Montserrat', sans-serif; 
}

span {
  font-weight: 700;
}


.promo {
  /*display: none;*/

   display: flex;
  position: fixed;
  bottom: 0;  
  color: white;
  width: 100%;
  background-color: #091521;
 
  justify-content: center;
  z-index: 2;

  

  
}

.promo .content {
  /*max-width: 600px;*/
  display: grid;
  grid-template-columns: 370px auto;
  align-items: center;

  padding: 10px;
  

  
}

.promo .text {
  grid-column: 1;
  /*padding: 10px;*/
  padding: 0 20px;

}

.promo .column2 {
  grid-column: 2;
  align-self: center;
  justify-self: center;
}



.promo p {
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-size: .8em;
}

.promo h2 {
  margin-block-start: 0em;
  margin-block-end: 0em;
  font-size: 1em;
  
}



.quote {
  font-style: italic;

}

.signature {
  color: #ff6400;
  font-weight: 900;
}

.row-double {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;

}

.single-row {
  max-width: 800px;
  padding: 80px 100px;
  text-align: center;
  min-height: 180px;

}

.description-double {
  /*width: 50%;*/
  padding-right: 50px;
  max-width: 600px;
}

.coluna-movel {
/* width: 50%; */
 text-align: center;
 max-width: 600px;
 /*width: 80%;*/
}

.movel {
  width: 100%;
  padding-top: 20px;
}

.badge{
  height: 50px;
  padding-right: 10px;
  padding-top: 10px
}

.badges {


}


.youtubeframe {
  /* padding: 30px; */
  /* text-align: center; */
  width: 100%;
  max-width: 515px;
  margin: 20px auto;
}

#loops {
  background-image: url("../img/genres.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}


#record {
  background-image: url("../img/record-session.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}


#lessons {
  background-image: url("../img/video-lessons.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}

#testemunho {
  background-image: url("../img/testimonial.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
}



#features {
  display: grid;
  justify-items: center;
  align-items: center;
  /* grid-template-columns: 1fr 1fr 1fr 1fr; */
  grid-template-columns: 25% 25% 25% 25%;
  grid-template-areas:
    
    "genre loop tempo tracks";


}


.squares {
  /*background-color: #000010;*/
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 42px;
  color: white;
  /*width: 80%;*/
}

.genre {
  background-image: url("../img/process-1.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.loop {
  background-image: url("../img/process-2.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.tempo {
  background-image: url("../img/process-3.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

.tracks {
  background-image: url("../img/process-4.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
}

#downloads .single-row {
  padding: 40px 100px;
}


footer {
  background-color: #000010;
  padding-top:  15px;
  
}

.top {
  padding-top: 20px;
}

.bottom {
  padding-bottom: 8vh; /* previously set to 85px; */
}

.cofinanciado {
  background-color: white;
  text-align: center;
  width: 100%;
}

.cofinanciado img {
  width: 250px;/* 80%; */
  /* max-width: 1100px; */
}

/*css redes sociais*/

.soc {
overflow: auto;
  color: #000;
  fill: #fff;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.soc li {
  /*list-style-type: none;*/
  /*float: left;*/
  display: inline-block;
}

.soc svg {
  max-width: 35px;
  height: 35px;
}

.icons {
  height: 50px;
}


/* ==========================================================================
  Youtube embed light
  ========================================================================== */


    .youtube-player {
        position: relative;
        padding-bottom: 56.23%;
        /* Use 75% for 4:3 videos */
        height: 0;
        overflow: hidden;
        max-width: 100%;
        background: #000;
        margin: 5px;
    }
    
  .youtube-player iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 100;
        background: transparent;
    }
    
    .youtube-player img {
        bottom: 0;
        display: block;
        left: 0;
        margin: auto;
        max-width: 100%;
        width: 100%;
        position: absolute;
        right: 0;
        top: 0;
        border: none;
        height: auto;
        cursor: pointer;
        -webkit-transition: .4s all;
        -moz-transition: .4s all;
        transition: .4s all;
    }
    
    .youtube-player img:hover {
        -webkit-filter: brightness(75%);
    }
    
    .youtube-player .play {
        height: 72px;
        width: 72px;
        left: 50%;
        top: 50%;
        margin-left: -36px;
        margin-top: -36px;
        position: absolute;
        background: url("../img/yt_icon_mono_dark.svg") no-repeat;
        cursor: pointer;
    }






 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   /*@media only screen and (min-width: 35em) {*/
  @media only screen and (max-width: 1280px) {
    /* Style adjustments for viewports that meet the condition */
    body {
    /*background-color: red;*/
    }
 
    #features {
    display: grid;
    /* justify-items: center; */
    /* align-items: center; */
    /* grid-template-columns: 1fr 1fr; */
    grid-template-columns: 50% 50%;
    grid-template-areas:
    
    "genre loop"
    "tempo tracks";
    }




  }

@media only screen and (max-width: 736px) {

  body {
    /*background-color: yellow;*/
  }

  .single-row {

    max-width: 800px;
    padding: 30px 30px;
    text-align: center;
    min-height: 100px;


  }

  .row-double {
    display: grid;
    justify-items: center;
    align-items: center;

  }

  .coluna-movel {

    text-align: center;
    max-width: 250px;
    /*width: 80%;*/
  }

/*  .movel {
  width: 100%;
  }*/

  .description-double {
    padding: 20px 40px;
  }

  h1 {
    font-size: .95rem;
  }


  h2 {
  font-size: 1.2em;

  }

  h3 {
    font-size: .8em;
  }

  p {
    font-size: .8em;
  }

  .squares {
    padding: 15px;
  }

 .icons {
   height: 35px;
  }

  .promo .content {
   
  grid-template-columns: 3fr 1fr;
  }

  .bottom {
  /* padding-bottom: 110px; /* altered to the generic 8vh  */
}




}

}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


