/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    background: url('../images/mainBack.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 800px;
}

.container {
    min-width: 360px;
    max-width: 360px;
    margin: auto;
    color: white;
    text-align: center;
}

.logo img{
    margin-bottom: 0px;
    margin-top:-20px;
}

.collection {   
    margin: 0 auto;
    max-width: 320px;
    font-size: 20px;
    margin-bottom: 60px;
    margin-top: 20px;
}

.download-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center; 
    -webkit-box-align: center; 
        -ms-flex-align: center; 
            align-items: center; 
    -ms-flex-wrap: wrap; 
        flex-wrap: wrap; 
}

.button-container {
    text-align: center; 
    display: -webkit-box; 
    display: -ms-flexbox; 
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column; 
}

.button-container img {
    cursor: pointer;
    margin-bottom: -5px; 
}

.button-label {
    font-weight: 300;
    color: white; 
    font-size: 10px; 
}


.stories-info {
    margin-top: 60px;
    font-size: 20px;
    color:#B285FF;
    font-weight: 500;
    margin-bottom: 60px;
}

.rights {
    color:#E0DFFF;
    margin-top: 20px;
    font-size: 14px;

}

.social-icons img {
    width: 20px;
    margin: 5px;
}

.language {
    text-align: right;
    padding-top: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  margin: 0 5px;
}

.switch > span {
  position: absolute;
  top: 14px;
  pointer-events: none;
  font-family: 'Helvetica', Arial, sans-serif;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .06);
  width: 50%;
  text-align: center;
}

input.check-toggle-round-flat:checked ~ .off {
  color: #fff;
}

input.check-toggle-round-flat:checked ~ .on {
  color: #B285FF;
}

.switch > span.on {
  left: 0;
  padding-left: 2px;
  color: #fff;
}

.switch > span.off {
  right: 0;
  padding-right: 4px;
  color: #B285FF;
}

.check-toggle {
  position: absolute;
  margin-left: -9999px;
  visibility: hidden;
}
.check-toggle + label {
  display: block;
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input.check-toggle-round-flat + label {
  padding: 2px;
  width: 97px;
  height: 35px;
  background-color: #fff;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:before, input.check-toggle-round-flat + label:after {
  display: block;
  position: absolute;
  content: "";
}

input.check-toggle-round-flat + label:before {
  top: 2px;
  left: 2px;
  bottom: 2px;
  right: 2px;
  background-color: #fff;
  border-radius: 60px;
}
input.check-toggle-round-flat + label:after {
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: 48px;
  background-color: #B285FF;
  border-radius: 52px;
  -webkit-transition: margin 0.2s;
  -o-transition: margin 0.2s;
  transition: margin 0.2s;
}

input.check-toggle-round-flat:checked + label {
}

input.check-toggle-round-flat:checked + label:after {
  margin-left: 44px;
}

@media screen and (max-width: 359px) {
    .container {
        padding: 5px;
        width: 100%;
        min-width: 280px;
        -webkit-box-sizing: border-box;
                box-sizing: border-box;
    }

    .logo img {
        max-width: 100%; 
        height: auto; 
    }

    .collection {
        margin: 0 auto;
        max-width: 270px;
        font-size: 16px;
       
    }

    .download-buttons {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .button-container img {
        width: 100%; 
        height: auto;
        margin-bottom: 5px; 
    }

    .button-label {
        font-size: 9px; 
    }
    
    .rights{
        font-size:8px;
    }
    .social-icons img {
        width: 15px; 
    }
}
.button-container img:hover {
    opacity: 0.8;
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}

@media screen and (min-height: 800px) {
    .rights, .social-icons {
        position: fixed;
        left: 50%; 
        -webkit-transform: translateX(-50%); 
            -ms-transform: translateX(-50%); 
                transform: translateX(-50%); 
    }

    .rights {
        bottom: 40px; 
    }

    .social-icons {
        bottom: 0; 
    }
}