* {
  padding: 0;
  margin: 0;
}
button {
  display: block;
  border: none;
}
button:focus,
input:focus,
textarea:focus,
a:focus {
  outline: none !important;
}
a:hover {
  text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}
body {
  background: #000;
  font-size: 18px;
  font-family: "Roboto", sans-serif;
  color: #555;
}
header {
  max-width: 1200px;
  margin: 0 auto;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}
.navbar {
  height: 120px;
}
.header-and-intro {
  background: url(assets/img/bg-main.png) no-repeat top;
}
.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.header.default {
  position: relative;
}
.header.fixed {
  position: fixed;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background: #000;
  z-index: 1;
  width: 100%;
}
.header-size {
  height: 235px;
}
.nav-item a {
  color: #ffffff !important;
  font-size: large;
  padding-right: 25px;
  font-family: "Oranienbaum", serif;
  cursor: pointer;
}
.nav-item a:hover,
.phone:hover,
.socials img:hover,
.logo:hover {
  opacity: 0.7;
}
.nav-item a:active,
.phone:active,
.socials img:active,
.logo:active {
  color: pink !important;
}
.header > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 46px 0 20px;
}
.socials {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: flex-start;
  padding: 0 20px;
}
.header-phone {
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: flex-start;
  text-align: center;
  padding: 0 20px;
}
.header-phone a {
  display: block;
  font-family: "Oranienbaum", serif;
}
.phone {
  color: #ffffff !important;
}
.intro {
  height: 550px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.logo {
  max-width: 220px;
}
.intro-title {
  font-family: "Oranienbaum", serif;
  color: #ffffff;
  font-size: 20px;
  padding-top: 40px;
}
.intro-text {
  font-family: "Oranienbaum", serif;
  color: #c3af92;
  text-decoration: underline;
}
h1,
h2 {
  font-family: "Oranienbaum", serif;
}
.dressy-help {
  position: relative;
  overflow: hidden;
}
.rotated-strip {
  position: absolute;
  top: 50px;
  left: -58px;
  width: 300px;
  height: 38px;
  line-height: 36px;
  font-size: 18px;
  background: #ff0c3a;
  -webkit-box-shadow: 5px 5px 5px #bbb;
  box-shadow: 5px 5px 5px #bbb;
  color: #ffffff;
  -webkit-transform: rotate(-40deg);
  -ms-transform: rotate(-40deg);
  transform: rotate(-40deg);
}
.dressy-help_title {
  padding: 60px 0 20px;
}
.dressy-help_desc {
  font-size: 18px;
  font-weight: bold;
  line-height: 30px;
  padding: 20px 150px;
}
.dressy-help-photo img {
  width: 100%;
}
.dressy-help-photo-subtitle {
  font-size: 14px;
  padding: 8px;
}
.how-get-it_wrapper {
  max-width: 690px;
  padding: 0 15px;
  margin: 0 auto;
}
.how-get-it_title {
  padding: 40px 0;
}
.how-get-it p {
  padding-bottom: 30px;
}
.how-get-it p:last-child {
  padding: 0 0 60px 40px;
}

/* table */
.table-wrap {
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.table-wrap td {
  border: 1px solid #ddd;
  padding: 8px 15px;
  text-align: center;
  vertical-align: top;
}
.table-wrap tr:first-child {
  font-family: "Oranienbaum", serif;
  font-size: 26px;
  color: #000;
  font-weight: bold;
}
.table-wrap tr:first-child td {
  padding: 30px;
}
.table-wrap tr:nth-child(2) {
  font-weight: bold;
  color: #000;
  background: #d8f0d8;
}
.table-wrap tr:last-child td {
  padding: 30px 15px;
}
.table-wrap td button {
  width: 100%;
  height: 50px;
  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;
  color: #fff;
  background: #ff0c3a;
  border-radius: 3px;
}
.table-wrap td button:hover {
  -webkit-transform: scale(0.98);
  -ms-transform: scale(0.98);
  transform: scale(0.98);
}
.table-wrap td button:active {
  background: #e1143b;
}
.table-wrap tr:first-child {
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  -o-transition: transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;
}
.table-wrap tr:first-child:hover {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* modal */
.popup-open {
  cursor: pointer;
}
.popup-fade {
  display: none;
}
.popup-fade:before {
  content: "";
  background: #000;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  z-index: 9999;
}
.popup {
  position: fixed;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 3px;
  background: #fff;
  z-index: 99999;
  opacity: 1;
}
.popup-wrapper {
  overflow-x: auto;
  width: 80vw;
}
.popup-close {
  position: fixed;
  top: 20px;
  right: 20px;
  color: #fff;
  z-index: 99999;
  opacity: 1;
}
.popup-table {
  width: 100%;
  border-collapse: collapse;
  font-weight: bold;
  color: #000;
  background: #fff03f;
  text-align: center;
  line-height: 1.2;
}
.popup-table tr:nth-child(1),
.popup-table tr:nth-child(6) {
  font-size: 20px;
  background: #ffd138 !important;
}
.popup-table td {
  border: 2px solid #fcc334;
  padding: 1vw;
}
.popup-table tr:nth-child(3) span {
  font-size: 13px;
}
.popup-table tr:nth-child(7) span {
  display: inline-block;
  width: 26px;
  border: 1px solid #000;
  margin: 20px 1px;
}
.popup-table td:first-child {
  text-align: left;
}
.first-column {
  width: 55%;
}
.other-columns {
  width: 15%;
}
.popup-table button {
  width: 100%;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 3px;
  padding: 0 10px;
  margin: 30px auto 20px;
  text-transform: uppercase;
}
/* modal end*/

.products-packages h2 {
  font-size: 26px;
  font-weight: bold;
  padding: 100px 0 30px;
}
.packages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.package {
  max-width: 300px;
  height: 470px;
  border: 3px solid #ddd;
  font-weight: bold;
  color: #000;
  padding: 30px;
  margin: 0 10px 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.package:hover {
  border: 3px solid #bfbfbf;
  -webkit-box-shadow: 0 0 20px 10px #ddd;
  box-shadow: 0 0 20px 10px #ddd;
}
.package p:nth-child(3),
.package p:nth-child(5) {
  font-weight: normal;
}
.package p:nth-child(2),
.package div:nth-child(2) p {
  font-size: 23px;
}
.package div:nth-child(2) {
  text-align: center;
}
.package div:nth-child(2) p:first-child {
  display: inline-block;
  position: relative;
  font-weight: normal;
  color: #aaa;
}
.package div:nth-child(2) p:first-child:before {
  border-bottom: 2px solid red;
  position: absolute;
  content: "";
  left: -10%;
  width: 120%;
  height: 50%;
  -webkit-transform: rotate(-7deg);
  -ms-transform: rotate(-7deg);
  transform: rotate(-7deg);
}
.package p:nth-child(1),
.package p:nth-child(2),
.package p:nth-child(7) {
  text-align: center;
}
.package button {
  width: 220px;
  height: 50px;
  color: #fff;
  background: #ff0c3a;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 14px;
  margin: 30px auto 0;
}
.package button:hover {
  -webkit-transform: scale(0.98);
  -ms-transform: scale(0.98);
  transform: scale(0.98);
}
.package button:active {
  -webkit-box-shadow: 0 0 5px #ff0c3a;
  box-shadow: 0 0 5px #ff0c3a;
}
.how-it-works_title {
  text-transform: uppercase;
  padding: 70px 0 50px;
}
.how-it-works_content div {
  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;
  font-size: 26px;
  line-height: 30px;
}
.how-it-works a {
  margin: 20px;
  overflow: hidden;
}
.how-it-works img {
  width: 200px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: -webkit-transform 0.3s;
  -o-transition: transform 0.3s;
  transition: transform 0.3s;
  transition: transform 0.3s, -webkit-transform 0.3s;
}
.how-it-works img:hover {
  -webkit-transform: scale(1.3);
  -ms-transform: scale(1.3);
  transform: scale(1.3);
}
.how-it-works_desc {
  max-width: 420px;
  padding: 20px;
}
footer {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  font-size: 12px;
  padding: 0 15px 30px;
}
footer button {
  width: 100px;
  height: 40px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  background: #000;
  border: 1px solid #fff;
  margin: 30px auto 50px;
}
footer button:hover {
  -webkit-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}

@media only screen and (max-width: 728px) {
  .header > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: start;
    margin-top: 20px;
  }
  .nav-item a {
    font-size: 16px;
  }
  .socials {
    padding: 0 10px 10px 0;
  }
  .header-phone {
    font-size: 14px;
    padding: 0 10px 0 0;
  }
  .rotated-strip {
    top: 25px;
    left: -100px;
  }
  .dressy-help_title {
    font-size: 28px;
    padding: 85px 30px 10px;
  }
  .dressy-help_desc {
    font-size: 16px;
    line-height: 25px;
    padding: 20px;
  }
  .how-get-it_title,
  .how-it-works_title {
    font-size: 28px;
    padding-bottom: 40px;
  }
  .books-image {
    -o-object-position: -140px;
    object-position: -140px;
  }
  .how-it-works_content div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    font-size: 20px;
  }
  .how-it-works img {
    padding: 5px;
  }
  .how-it-works_desc {
    padding: 0 15px 50px;
  }
  footer span {
    display: block;
  }
}
@media only screen and (max-width: 380px) {
  .popup-wrapper {
    max-width: 280px;
    max-height: 480px;
  }
  .popup-close {
    top: 10px;
    right: 10px;
  }
  .popup-table {
    font-size: 14px;
  }
  .popup-table tr:nth-child(1),
  .popup-table tr:nth-child(6) {
    font-size: 12px;
  }
  .popup-table tr:nth-child(3) span {
    font-size: 10px;
  }
  .popup-table tr:nth-child(7) span {
    width: 26px;
    margin: 5px 1px;
  }
  .popup-table button {
    height: 30px;
    padding: 0 10px;
    margin: 5px auto 5px;
    font-size: 12px;
  }
}