/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

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

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

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

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

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

.quaklylogowrapper {
  width: 100%;
  height: 350ptpt;
  padding-bottom: 0pt;
}

.quaklyicon {
  margin-top: 15%;
  width: 150pt;
  height: 150pt;
  background: url('../icon.png');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
  border-radius: 24%;
  /*
  -webkit-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.45);
  -moz-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.45);
  box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.45);*/
}

#downloadButton img{
  width:200pt;
  max-width: 70% !important;
}
  
.textwrapper {
  padding-bottom: 20pt;
  color: white;
}

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


body {
  background-color: #8B32D5;
  font-family: 'Open Sans';
}

nav {
  padding-top: 5pt;
}
nav a {
  display: block;
  padding: 5pt 13pt;
  text-decoration: none; 
  font-weight: 600;
  border-radius: 7pt;
  box-shadow: none;
  color: white; 
  background-color: none; 
  opacity: 0.7;
  font-size: 13pt;
  transition: all .25s ease-in;	  
}

nav a.active {
  background-color: white !important;
  box-shadow: rgba(0,0,0,0.2) 0px 0px 5px;
  color: #8B32D5;
  opacity: 1;
}

nav a:hover{
  color: white; 
  opacity: 1.0;
}

nav a.active:hover{
  color: #8B32D5 !important; 
  opacity: 1.0;
}

nav ul {
  text-align: center;
  /* weitere Angaben */
}

nav li {
  display: inline-block;
  /* weitere Angaben */
}
.rainbow-top {
    display: none;
  z-index: -100;
  position: absolute;
  height: 12%;
  width: 100%;
  margin: auto;
  top: 0;
  background: red; /* For browsers that do not support gradients */
  background: -webkit-linear-gradient(left, orange , yellow, green, cyan, blue, violet); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, orange, yellow, green, cyan, blue, violet); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, red, orange , yellow, green, cyan, blue, violet, violet); /* Standard syntax (must be last) */
  
  overflow: none;
}


.rainbow-top::after {
    display: none;
  width: 100%;
  height: 100%;
  background: #F7F8F9;
  background: linear-gradient(to top, rgba(247,248,249,1.0) , rgba(247,248,249,0.8));
  content: "";
  position: absolute;
  top: 2pt;
}



#terms h2 {
  font-weight: bold !important;
}

section {
  //max-width: 500pt;
  margin: 0 auto;
}

.quaklyLogo{
  margin-top: 60pt !important;
}

.quaklyLogo:before{
  background-image:url('../img/ms-icon-310x310.png'); /* with class ModalCarrot ??*/
  background-size: 100% 100%;
  position:absolute; /*or absolute*/
  content:'';
  z-index:100000; /*a number that's more than the modal box*/
  width: 80px;
  height: 80px;
  display: inline-block;
  left:calc(50% - 40px);
  top:90px;
  border-radius: 15pt;
  box-shadow: rgba(0,0,0,0.2) 0px 0px 5px;
}

.wrapper {
  width: 500pt;
  max-width: 80%;
  padding: 15pt 30pt;
  background-color: white;
  z-index:100000;
  margin: 15pt auto;
  margin-top: 30pt;
  border-radius: 18pt;
  box-shadow: rgba(0,0,0,0.05) 0px 0px 20px;
  
}

.wrapper h1{
  font-weight: 700;
  text-align: center;
}

.wrapper h4{
  font-weight: 400;
  opacity: 0.7;
  text-align: center;
}

.roundedBlueButton {
  border: none;
  border-radius: 50pt;
  padding: 8pt 30pt;
  font-weight: 600;
  font-size: 10pt;
  color:white;
  background-color: #0EB7FF;
  margin: 5pt;
}

.roundedBlueButton:hover {
  background-color: #0CAAED;
}

.cleanButton {
  border: none;
  padding: 8pt 30pt;
  font-weight: 600;
  font-size: 10pt;
  color:rgb(50,50,50);
  opacity: 0.7;
  background: none;
  margin: 5pt;
}

.cleanButton:hover {
  opacity: 1.0;
}


.apple-signin-button {
  width: 220pt;
  height: 45pt;
  margin: 10pt auto;
  cursor: pointer;
}


.phone-signin-button {
  width: 220pt;
  height: 45pt;
  margin: 10pt auto;
  background: #0CAAED;
  border-radius: 22.5pt;
  color:white;
  cursor: pointer;
}

.phone-signin-button a {
  width: 100%;
  height: 100%;
  font-size: 16.5pt;
  vertical-align: middle;
  line-height: 45pt;
  display: inline-block;
  text-align: center;
  
}

@media only screen 
and (min-device-width: 120px) 
and (max-device-width: 999px) 
and (-webkit-min-device-pixel-ratio: 3) { 
  .rainbow-top {
    display: none !important;
  }
  
  .quaklyLogo:before{
    display: none !important;
  }
}

@media only screen 
and (min-device-width: 375px) 
and (max-device-width: 667px) 
and (-webkit-min-device-pixel-ratio: 2) { 
  .rainbow-top {
    display: none !important;
  }
  
  .quaklyLogo:before{
    display: none !important;
  }
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/*
@media (prefers-color-scheme: dark) {
                
                body { 
                    background-color: #121212;
                    color:white;
                } 
                #terms {
                    background-color: #121212;
                    color:white;
                }
                a:link {
                    color:green;
                }
                a:visited {
                  color: green;
                }
            }
*/

/*
@media (prefers-color-scheme: dark) {
  body {
    background: rgb(5,5,5);
  }
  .wrapper {
    background: rgb(15,15,15);
    color: rgba(240,240,240, 0.8);
  }
}*/


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !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) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}