@import 'reset.css';

:focus {
    outline: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

b,
strong {
    font-weight: 700;
}

body {
    width: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Rubik', Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.4em;
    color: #fff;
    background: #282728;
}

.wrap {
    width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    background: #070602;
}

section {
    margin: 50px 0;
}

button,
textarea,
input {
    font-family: 'Rubik', sans-serif;
}

.offer {
    background: url('../img/offer-bg.jpg') 50% 0 no-repeat;
    min-height: 609px;
    padding-top: 40px;
    padding-bottom: 30px;
}

.offer__head {
    text-align: center;
    text-transform: uppercase;
}

.offer__title {
    font-size: 33px;
    line-height: 100%;
}

.offer__name {
    font-size: 59px;
    font-weight: 700;
    color: #f6ff01;
    line-height: 100%;
    margin-top: 5px;
}

.offer-bullet {
    display: flex;
    justify-content: flex-end;
    margin: 60px 0 30px;
}

.offer-bullet__item {
    display: flex;
    align-items: center;
    height: 42px;
    font-size: 22px;
    background: rgba(5, 4, 0, 0.9);
    padding: 0 15px;
    margin-bottom: 5px;
}

.offer-bullet__item:before {
    display: block;
    width: 21px;
    height: 16px;
    background: url('../img/check-icon.png') 0 0 no-repeat;
    margin-right: 10px;
    content: '';
}

.offer-bullet__item:last-child {
    margin-bottom: 0;
}

.offer__photo {
    position: relative;
}

.offer__image {
    position: relative;
    z-index: 2;
    display: block;
}

.offer__best-seller {
    position: absolute;
    right: 50px;
    top: 165px;
    display: block;
    z-index: 5;
}

.offer__sale {
    position: absolute;
    left: 35px;
    top: 110px;
    font-size: 39px;
    font-weight: 700;
    line-height: 60px;
    height: 60px;
    padding: 0 45px 0 15px;
    background: #d80007;
    border-radius: 10px 0 0 10px;
    box-shadow: 0 0 10px rgba(7, 6, 2, 0.15);
    transform: rotate(63deg);
    z-index: 1;
}

.offer__info {
    position: absolute;
    right: 0;
    bottom: 60px;
}

/*   price   */

.price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 20px;
}

.price__label {
    font-size: 13px;
}

.price__old {
    margin-right: 20px;
}

.price__old-value {
    font-size: 30px;
    line-height: 100%;
}

.price__old-value span {
    text-decoration: line-through;
}

.price__old-value i {
    font-size: 0.7em;
    font-style: normal;
    text-transform: uppercase;
}

.price__new {
    color: #f6ff01;
    font-weight: 700;
    font-size: 40px;
    line-height: 100%;
    margin-top: 5px;
}

.price__new i {
    font-size: 0.7em;
    font-style: normal;
    text-transform: uppercase;
}

/*   stock   */

.stock {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.stock span {
    position: relative;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    padding: 0 20px 0 15px;
    background: #d80007;
}

.stock span:before {
    display: block;
    content: '';
    border-left: 8px solid rgba(255, 255, 255, 0);
    border-bottom: 30px solid #d80307;
    position: absolute;
    top: 0;
    left: -8px;
}

/*   form-text   */

.form-text {
    text-align: center;
    margin-bottom: 40px;
}

.form-text__title {
    font-size: 30px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 15px;
}

.form-text p:not(:last-child) {
    margin-bottom: 5px;
}

.form-text p.yellow {
    color: #f6ff01;
}

/*   order-form   */

.order-form {
    width: 400px;
    margin: 0 auto;
}

.order-form__field {
    display: block;
    width: 100%;
    height: 76px;
    background: #fff;
    border: none;
    color: #070602;
    font-size: 18px;
    padding: 0 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 15px;
}

.order-form__field::-webkit-input-placeholder {
    color: #070602;
}

.order-form__field::-moz-placeholder {
    color: #070602;
}

.order-form__field:-moz-placeholder {
    color: #070602;
}

.order-form__field:-ms-input-placeholder {
    color: #070602;
}

.order-form__field:focus::-webkit-input-placeholder {
    color: transparent;
}

.order-form__field:focus::-moz-placeholder {
    color: transparent;
}

.order-form__field:focus:-moz-placeholder {
    color: transparent;
}

.order-form__field:focus:-ms-input-placeholder {
    color: transparent;
}

.btn {
    display: block;
    width: 400px;
    height: 76px;
    line-height: 76px;
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: 10px;
    background: rgb(178, 4, 10);
    background: linear-gradient(0deg, rgba(178, 4, 10, 1) 0%, rgba(216, 0, 7, 1) 100%);
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
}

h2.title {
    color: #f6ff01;
    font-size: 36px;
    line-height: 42px;
    text-align: center;
    padding: 0 15px;
    margin-bottom: 30px;
}

/*   video   */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed,
.video-container .youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*   brightness   */

.brightness__list {
    position: relative;
    z-index: 2;
    background: url('../img/brightness.jpg') 50% 0 no-repeat;
    padding: 65px 20px 0;
    display: flex;
}

.brightness__item {
    font-size: 16px;
    text-align: center;
}

.brightness__item span {
    display: block;
    font-size: 19px;
}

.brightness__item:nth-child(1),
.brightness__item:nth-child(2) {
    width: 70px;
    margin-right: 20px;
}

.brightness__item:nth-child(3) {
    width: 70px;
    margin-right: 5px;
}

.brightness__item:nth-child(4) {
    width: 94px;
    margin-right: 25px;
}

.brightness__image {
    display: block;
    margin: -90px auto 0;
}

video.gif-video {
    display: block;
    width: 100%;
}

/*   photo   */

.photo {
    margin-top: -170px;
    margin-bottom: 0;
}

h2.photo__title {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
}

.photo__image1 {
    display: block;
    width: 100%;
    margin-top: -30px;
    margin-bottom: 50px;
}

.photo__image2 {
    display: block;
    margin: 0 auto;
}

/*   char   */

.char__image {
    display: block;
}

.char__info {
    padding: 40px 0;
    background: #1b1b1b;
}

.char__title {
    font-size: 25px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.char__list {
    margin-bottom: 30px;
}

.char__item {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
}

.char__item:nth-child(even) {
    background: #070602;
}

.char__item b {
    font-weight: 500;
}

/*   reviews   */

.reviews__list {
    margin-bottom: 20px;
}

.reviews__item {
    padding: 30px 20px;
}

.reviews__item:nth-child(1) {
    padding-top: 0;
}

.reviews__item:nth-child(even) {
    background: #1b1b1b;
}

.reviews__head {
    display: flex;
    align-items: center;
    margin: 0 0 20px;
    background: url('../img/quote-icon.png') 100% 50% no-repeat;
}

.reviews__avatar {
    display: block;
    width: 60px;
    height: 60px;
    margin-right: 25px;
    border-radius: 50%;
    flex-shrink: 0;
}

.reviews__author strong {
    display: block;
    font-weight: 500;
}

.reviews__author span {
    display: block;
    font-size: 16px;
}

.reviews__text {
    display: flex;
}

.reviews__photo {
    display: block;
    width: 190px;
    flex-shrink: 0;
    margin-right: 30px;
    border-radius: 6px;
}

.reviews__text p {
    line-height: 130%;
}

/*   order-info   */

.order-info {
}

.order-info__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: -25px;
}

.order-info__item {
    position: relative;
    width: 200px;
    margin-bottom: 25px;
}

.order-info__item p {
    line-height: 26px;
    text-align: center;
}

.order-info__image {
    display: block;
    border-radius: 50%;
    border: 6px solid #838381;
    margin: 0 auto 10px;
}

.order-info__num {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    font-size: 33px;
    font-weight: 500;
    color: #fff;
    background: #c93030;
    border-radius: 50%;
}

/*   footer   */

.footer {
    background: #000;
    padding: 30px 20px;
}

.footer__copyright {
    display: block;
    margin: 0 auto 15px;
}

.footer__links {
    text-align: center;
}

.footer__links a {
    display: inline-block;
    font-size: 16px;
    color: #a0a0a0;
    text-decoration: none;
    white-space: pre;
    margin-bottom: 5px;
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: #fff;
}

.footer__links a:last-child {
    margin-bottom: 0;
}

#marketing-footer-buttons > button {
    color: #fff;
}
