/*! HTML5 Boilerplate v7.3.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.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
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}



::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #222;
  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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   /* fonts */
   
main {
  max-width:1200px;
  margin:0 auto;
  padding: 0 20px;
}

/* text styles */
h1 {
  font-family:'Montserrat';
  font-size:30px;
  color:#fff;
  font-weight:800;
}

h2 {
  font-family:'Montserrat';
  font-size:22px;
  color:#222;
  font-weight:800;

}

p {
  font-family:'Open Sans';
  font-size:16px;
  color:#222;
  text-align:center;
}

a {
  font-family:'Open Sans';
  font-size:16px;
}

a:active {
  color:#ef0d00;
}

html, body {
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #222;
}
/* start header section */


.logo {
float:left;
padding:20px;

}
.top-buttons {
  float:right;
  padding:20px;
}

.login-Button {
  border: 2px solid #fff;
  border-radius:5px;
  text-decoration:none;
  padding: 10px 24px;
  color: #fff;
  font-weight:bold;
  margin-right:0.5em;
}

.cadastro-Button {
  border: 2px solid #e00c00;
  border-radius: 5px;
  text-decoration:none;
  padding: 10px 24px;
  background-color: #e00c00;
  color: #fff;
  font-weight:bold;
}

.cadastro-Button:hover {
  border-color:#ef0d00;
  background-color:#ef0d00;
}
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}
/* End Header Section */

/* Start Body Section */
.header {
  padding-top:20px;
}
.title {
  margin-top:2em;
  text-align:center;
}

.text-container {
  background-color:#fff;
  opacity:0.9;
  max-width:800px;
  margin-left:2vw;
  border-radius:16px;
  padding:15px;
  float:left;
}


.text-container h2 {
  text-align:center;
  padding:10px;
}
/* checkbox */
input[type=checkbox] {
  box-sizing: border-box;
  padding: 0;
}


.checkbox-container {
  width: 240px;
  display: block;
  margin: auto;
}

.checkbox-container {
  font-family: 'Open Sans';
}

.container-desconto {
  margin-top:8px;
  border:2px dashed #e00c00;
  border-radius:5px;
  width:240px;
  height:50px;
  margin:auto;
}

.container-desconto span{
  text-align: center;
  line-height: 50px;
  color: #e00c00;
  font-family: 'Montserrat';
  font-weight: 800;
}

.container:hover input ~ .checkmark {
  background-color: #f1f1f1;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #fff;
}

.texto-checkbox {
  display:block;
  margin-left:35px;
  margin-bottom:20px;
}

#text {
  display:none;
}
.container {
  display: block;
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 16px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border:#bbb;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border:1px solid #bbb;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #f1f1f1;
}

/* When the checkbox is checked, add a red background */

 .container input:checked ~ .checkmark {
    background-color: #e00c00;
    box-shadow: inset 0 0 0 5px #fff;
  
  }

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
 display:none;
}
/* end checkbox */
.cadastro-main {
  display:block;
  border: 2px solid #e00c00;
  border-radius: 5px;
  text-decoration:none;
  padding: 10px 24px;
  background-color: #e00c00;
  color: #fff;
  font-weight:bold;
  text-align:center;
  max-width:300px;
  margin:auto;
  margin-top:15px;
}
input {
  font-size: 1rem;
  line-height: 1.5;
  padding: 11px 23px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 0;
  outline: 0;
  background-color: transparent;
}
.cadastro-mobile {
  display:none; 
}

/* ==========================================================================
   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
*/

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
* Extends the .sr-only class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
* 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 query */

/* mobile media query */
@media only screen and (min-device-width : 320px) and (max-device-width : 667px) { 

  body, html {
    background-image: linear-gradient(rgba(22, 22, 22, 0.3), rgba(22, 22, 22, 0.3)), url("../img/bg-mobile.jpg");
  }


  .logo {
    display:block;
    position:relative;
    width:200px;
    padding:5px;
    margin:auto;
    float:none;
  }

  .top-buttons {
    display:none;
  }
  .title, h1 {
    margin-top:5vh;
    font-size:20px;
    padding: 0 2.5px;
  }
  .text-container {
    margin:1vw;
    float:none;
  }
  h2 {
    font-size:18px;
    padding:10px;
    margin:auto;
  }
  .checkbox-container {
    padding:4px;
  }
  .container-desconto {
    width:200px;
    margin-bottom:7px;
  }


}
/* end mobile media query */

/* tablet media query */
@media (min-width: 668px) and (max-width: 1024px) {

  body, html {
    background-image: linear-gradient(rgba(22, 22, 22, 0.3), rgba(22, 22, 22, 0.3)), url("../img/bg-tablet.jpg");
  }

  .header {
    margin:auto 7vw;
  }

.text-container {
  width:400px;
  margin-left:7vw;
}
  h1 {
    text-align:left;
    padding:20px;
    margin: auto 7vw;
  }
}
/* end tablet media query */

/* laptop and desktop media query */ 
@media (min-width: 1025px) and (max-width: 1280px) {
  body, html {
    background-image: linear-gradient(rgba(22, 22, 22, 0.4), rgba(22, 22, 22, 0.4)), url("../img/bg_desktop.jpg");
  }
  .header {
    margin:auto 7vw;
  }

  .h1 {
    margin: auto 7vw;
  }
 
  .text-container {
    width:400px;
    margin: auto 7vw;
  }
}

 /* large screens media query */ 
@media (min-width: 1281px) {
body, html {
  background-image: linear-gradient(rgba(22, 22, 22, 0.3), rgba(22, 22, 22, 0.3)), url("../img/bg_large_res.jpg");
}
  .header {
    margin:auto 8vw;
  }
  .text-container {
   width:600px;
   margin:11vh auto;
   float:none;
}
h1 {
  font-size:32px;
}
.cadastro-main {
  max-width:250px;
}
}


/* ==========================================================================
   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 */
    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:
     * https://web.archive.org/web/20180815150934/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;
  }
}
