/*------------------------------------*\
    #1 - RESET & CLEARFIX
\*------------------------------------*/

/**
* Eric Meyer's CSS Reset + Nicolas Gallagher's Clearfix
* https://github.com/reefat/css-reset
*/

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;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

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;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  margin: 0;
  outline: 0;
  padding: 0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

main,
section,
article,
footer,
header {
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
*,
:after,
:before {
  box-sizing: border-box;
}
html {
  background: #fff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}
body {
  font-family: Montserrat, sans-serif;
}
img {
  width: 100%;
}
b {
  font-weight: bold;
}

/* css */

header {
  display: inline-grid;
  width: 100%;
  margin: auto;
  background-image: url("../images/desktop/background.jpg"),
    linear-gradient(180deg, rgba(193, 133, 129, 0) 0%, #c18581 1.81%);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: 0% 0%;
}
.main {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 5%;
  align-items: center;
}

.main-title {
  display: inline-block;
  width: 50%;
}
.main-title h1 {
  line-height: 4.5rem;
  font-size: 3rem;
  display: block;
  font-weight: 600;
}
.big-title {
  font-size: 4.5rem;
}
.main-title .badge {
  display: inline-block;
  margin-bottom: 2%;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  width: auto;
  background: linear-gradient(
    131.14deg,
    #7f28c4 4.53%,
    #e2197c 70.61%,
    #e5231b 102.64%
  );
  border-radius: 1.5rem 0px;
}
.beforeafter {
  display: inline-block;
  width: 50%;
}
.badges {
  display: flex;
  width: 100%;
  justify-content: center;
  margin: -3% auto;
}
.beforeafter .badge {
  display: flex;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: #be7a8a;
  background-color: #171615;
  border-radius: 1.5rem 0px;
  font-weight: 800;
  margin: auto 11%;
}
.threediv {
  display: grid;
  background-image: url("../images/desktop/bottle.svg"),
    url("../images/desktop/brush.svg"),
    url("../images/desktop/dlugosc i rozmiar.png");
  background-repeat: no-repeat;
  background-size: 40%, 50%, 55%;
  background-position: 0% 0%, 100% 0%, 0% 50%;
  z-index: auto, auto, -1000;
}
.second {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 5%;
  justify-content: center;
  /* background-image: url("../images/desktop/bottle.svg"),
    url("../images/desktop/brush.svg");
  background-repeat: no-repeat;
  background-size: 40%, 50%;
  background-position: 0% 0%, 100% 0%; */
}
.CTA-badge {
  width: auto;
  background-color: white;
  border-radius: 2.5rem 0;
  padding: 1rem;
}
.CTA-badge h2 {
  line-height: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
}
#price {
  font-size: 2rem;
}
sup {
  font-size: medium;
  vertical-align: super;
}
.button {
  padding: 1rem;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  width: 80%;
  background-color: #171615;
  border-radius: 4px;
  text-align: center;
  align-content: center;
  max-width: 120px;
}

.third {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 2% 5% 5%;
  justify-content: right;
  /* background-image: url("../images/desktop/dlugosc i rozmiar.png");
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: 0% 0%; */
}
.sub-title {
  text-align: right;
  width: 45%;
  color: white;
}
.sub-title h2 {
  line-height: 3.5rem;
  font-size: 3rem;
  font-weight: 600;
  padding-bottom: 1rem;
}
#percentage {
  font-size: 4rem;
}
.sub-title p {
  font-size: 2.2rem;
  line-height: 1.8rem;
}
#s-subtitle {
  font-size: 1.2rem;
  line-height: 1rem;
}
#xs-subtitle {
  font-size: 0.8rem;
}

.grids {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: left;
  color: white;
  padding: 5%;
}
.grid {
  width: 40%;
  margin: 2% auto;
}
.grid h2 {
  font-size: 2rem;
  padding-bottom: 2rem;
  font-weight: 600;
}
.grid-component {
  display: inline-flex;
  align-items: center;
}
.grid img {
  width: 50%;
}
.grid p {
  font-size: 1rem;
  line-height: 1.2rem;
  padding-left: 1rem;
}
section {
  margin-bottom: 2rem;
}
.videoframe {
  margin: 0;
  width: 100%;
  padding-bottom: 55.5%; /* 16:9 */
  height: 0;
  position: relative;
}
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

/* .overlay {
  position: absolute;
  background: black;
  opacity: 0.5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: white;
  z-index: 20;
}
.play-button {
  height: 40px;
  width: 65px;    
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  position: absolute;
  bottom:15px;
  left:15px;
}
.play-button:hover {
  background-color: rgba(0, 173, 238, 0.9);
  cursor:pointer;
}
.play-button:after {
  content: "";
  display: block;
  position: absolute;
  top: 10.5px;
  left: 24px;
  margin: 0 auto;
  border-style: solid;
  border-width: 9.5px 0 9.5px 17px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 1);
  } */

.product {
  display: inline-flex;
  color: black;
  width: 90%;
  justify-content: center;
  margin: 4%;
}
.product-img {
  display: inline-block;
  width: 60%;
}
.product img {
  width: 100%;
}
.product-txt {
  display: inline-block;
  text-align: left;
  margin-left: 5%;
}
.product-txt h2 {
  line-height: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.mobile-display-flex,
.mobile {
  display: none;
}

@media screen and (min-width: 1801px) {
  /* .main-title h2 {
    font-size: 3.5rem;
  } */
  .big-title {
    font-size: 6rem;
    line-height: 7rem;
  }
  .beforeafter .badge {
    font-size: 1rem;
    margin: auto 13%;
  }
  .CTA-badge h2,
  .product-txt h2 {
    line-height: 1.8rem;
    font-size: 1.2rem;
  }
  .sub-title h2 {
    line-height: 5rem;
    font-size: 4.5rem;
  }
  #percentage {
    font-size: 5rem;
  }
  .sub-title p {
    line-height: 3.5rem;
    font-size: 3.5rem;
  }
  #s-subtitle {
    font-size: 2rem;
  }
  #xs-subtitle {
    font-size: 1.5rem;
  }
  .grid h2 {
    font-size: 3rem;
    line-height: 3rem;
  }
  .grid p {
    font-size: 1.5rem;
    line-height: 1.8rem;
  }
}

@media screen and (max-width: 1800px) {
  .main-title h1 {
    font-size: 3.5rem;
  }
  .beforeafter .badge {
    font-size: 1rem;
    margin: auto 13%;
  }
  .big-title {
    font-size: 5rem;
    line-height: 5rem;
  }
  .CTA-badge h2,
  .product-txt h2 {
    line-height: 1.8rem;
    font-size: 1.2rem;
  }
  .sub-title h2 {
    line-height: 4rem;
    font-size: 3.5rem;
  }
  #percentage {
    font-size: 4.5rem;
  }
  #xs-subtitle {
    font-size: 1rem;
  }
  .grid h2 {
    font-size: 2rem;
  }
  .grid p {
    font-size: 1.2rem;
    line-height: 1.5rem;
  }
}
@media screen and (max-width: 1600px) {
  .big-title {
    font-size: 4rem;
    line-height: 4rem;
  }
  .beforeafter .badge {
    font-size: 0.8rem;
    margin: auto 11%;
  }
  .sub-title h2 {
    line-height: 3rem;
    font-size: 2.5rem;
  }
  #s-subtitle {
    font-size: 1rem;
  }
  .grids {
    top: 78%;
  }
}

@media screen and (max-width: 1200px) {
  .big-title {
    font-size: 3.5rem;
    line-height: 3rem;
  }
  .beforeafter .badge {
    padding: 0.8rem 1.5rem;
    font-size: 0.8rem;
  }
  .sub-title h2 {
    line-height: 2.5rem;
    font-size: 2rem;
  }
  .sub-title p {
    font-size: 2rem;
    line-height: 1.5rem;
  }
  #s-subtitle {
    font-size: 0.9rem;
  }
  .grid h2 {
    font-size: 1.5rem;
  }
  .grid img {
    width: 45%;
  }
  .grid {
    width: 40%;
  }
}

@media screen and (max-width: 992px) {
  #bottle {
    top: -13%;
  }
  #brush {
    top: -18%;
  }
  #dlugosc {
    width: 50%;
    top: 50%;
  }
  .main-title h1 {
    line-height: 3.5rem;
    font-size: 2rem;
  }
  .big-title {
    font-size: 2.8rem;
    line-height: 2.2rem;
  }
  .beforeafter .badge {
    bottom: -1.5rem;
    font-size: 0.7rem;
  }
  .CTA-badge {
    left: 42%;
    top: 30%;
  }
  .sub-title {
    top: 52%;
  }
  .sub-title h2 {
    line-height: 2rem;
    font-size: 1.5rem;
  }
  #percentage {
    font-size: 3rem;
  }
  .sub-title p {
    font-size: 1.5rem;
    line-height: 1rem;
  }
  #s-subtitle {
    font-size: 0.8rem;
  }
  .grids {
    top: 75%;
  }
  .grid {
    width: 43%;
    margin-left: 5%;
  }
  .grid h2 {
    font-size: 1.3rem;
  }
  .grid img {
    width: 45%;
  }
  .product img {
    margin: 8% 10%;
  }
  .product-txt {
    margin: 4% auto;
  }
}

@media screen and (max-width: 786px) {
  .mobile {
    display: block;
  }
  .mobile-display-flex {
    display: inline-flex;
  }
  .mobile-block {
    display: inline-block;
    width: 100% !important;
  }
  .mobile-none {
    display: none;
  }
  header {
    background-image: url("../images/mobile/background-mobile.png"),
      linear-gradient(180deg, rgba(193, 133, 129, 0) 0%, #c18581 1.81%);
  }
  .main-title h1 {
    line-height: 2.5rem;
    font-size: 1.8rem;
  }
  .big-title {
    font-size: 3.7rem;
  }
  .main-title .badge {
    margin-bottom: unset;
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
    border-radius: 1.2rem 0px;
  }
  .button {
    width: 100%;
  }
  .beforeafter .badge {
    font-size: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem 0;
  }
  .threediv {
    background-image: unset;
  }
  .third {
    padding: 2% 10% 5%;
  }
  .sub-title h2 {
    line-height: 2.5rem;
    font-size: 2.5rem;
  }
  .sub-title p {
    font-size: 1.8rem;
    line-height: 1.5rem;
  }
  #s-subtitle {
    font-size: 1rem;
  }
  #xs-subtitle {
    font-size: 0.9rem;
  }
  .grids {
    text-align: center;
    padding: 0 5%;
  }
  .grid {
    margin-left: unset;
    margin: 6% auto;
  }
  .grid h2 {
    font-size: 1.4rem;
    padding-bottom: 1rem;
  }
  .grid p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .grid img {
    width: 60%;
  }
  .product {
    margin: 12% auto 5%;
  }
  .product img {
    width: 40%;
    margin-left: 35%;
  }
  .product-txt {
    margin: 4% auto;
  }
}
@media screen and (max-width: 500px) {
  .mobile {
    display: block;
  }
  .mobile-display-flex {
    display: inline-flex;
  }
  .mobile-block {
    display: inline-block;
    width: 100% !important;
  }
  .mobile-none {
    display: none;
  }
  header {
    background-image: url("../images/mobile/background-mobile.png"),
      linear-gradient(180deg, rgba(193, 133, 129, 0) 0%, #c18581 1.81%);
  }
  .main-title h1 {
    line-height: 2.5rem;
    font-size: 1.8rem;
  }
  .big-title {
    font-size: 2.7rem;
  }
  .main-title .badge {
    margin-bottom: unset;
    padding: 0.8rem 1.8rem;
    font-size: 0.8rem;
    border-radius: 1.2rem 0px;
  }
  .beforeafter .badge {
    font-size: 0.6rem;
    padding: 0.8rem 1rem;
    border-radius: 1rem 0;
  }
  .threediv {
    background-image: unset;
  }
  .sub-title h2 {
    line-height: 2.5rem;
    font-size: 2rem;
  }
  .sub-title p {
    font-size: 1.6rem;
    line-height: 1.5rem;
  }
  #s-subtitle {
    font-size: 0.7rem;
  }
  #xs-subtitle {
    font-size: 0.7rem;
  }
  .third {
    padding: 2% 10% 5%;
  }
  .grids {
    text-align: center;
    padding: 0 5%;
  }
  .grid {
    margin-left: unset;
    margin: 6% auto;
  }
  .grid h2 {
    font-size: 1.4rem;
    padding-bottom: 1rem;
  }
  .grid p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .grid img {
    width: 60%;
  }
  .product {
    margin: 12% auto 5%;
  }
  .product img {
    width: 40%;
    margin-left: 35%;
  }
  .product-txt {
    margin: 4% auto;
  }
}
