* {box-sizing: border-box;}

body { font-family: 'Roboto', sans-serif;
background: #010101}

div {border: 0px red solid; }

.main-fon-op {
  background-color: rgb(0, 0, 0, 0.7)
}
.head-fon {
  background-image: url("../images/bg-main.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  background-position-y: -80px;
  height: 821px;
}
.top {
  justify-content: space-between;
}
.menu {
  position: sticky;
  top: 0;
  z-index: 1020;
}
.main-menu {
  height: 40px;
  text-transform: uppercase;
}
a {
  color: #ffff;
  text-decoration: none;
  font-family: 'Oranienbaum', serif;
}
a:hover {
  color: #6ed2f0;
}
nav.navbar {
  padding-left: 0px;
  padding-bottom: 0px;
  padding-right: 0px;
}
.navbar-expand-md .navbar-nav .nav-link {
  padding-left: 3px;
  padding-right: 28px;
  padding-bottom: 0px;
  padding-top: 12px;
}
.tel, .cc {
  text-align: end;
  padding-right: 0px;
}
.tel a {
  font-size: 13px;
  text-decoration: none;
  padding-right: 3px;
}
div.col.tel {
  padding-right: 0px;
}
.navbar-toggler {
  background-color: rgb(0, 0, 0, 0.2);
  border: 3px #ffff solid;
  border-radius: 10px;
  color: white;
  height: 34px;
  margin-left: 3px;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0;
  border: 3px #ffff solid;
}
.navbar-toggler:hover {
  color: #6ed2f0;
  border: 3px #6ed2f0 solid;
}
.cc {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.cc div {
  padding: 5px;
}
.logo {
  margin-top: 0px;
}
.logo p {
  color: #ffff;
  font-size: 24px;
  font-family: 'Oranienbaum', serif;
  margin-bottom: 0px;
  line-height: 25px;
  padding-left: 3px;
}
.logo a {
  text-decoration: underline;
  color: #cdb380;
  padding-left: 3px;
}
.logo img {
  margin-top: 110px;
  padding-left: 3px;
}
.s-help {
  margin-top: -240px;
  background-color: white;
  font-weight: 500;
}
h1 {
  color: black;
  font-family: 'Oranienbaum', serif;
  text-transform: uppercase;
}
h3 {
  color: black;
  font-family: 'Oranienbaum', serif;
  text-transform: uppercase;
  font-weight: 600;
}
.s-help {
  position: relative;
}
.s-help img {
width: 100%;
height: auto;
}
.s-help span {
  padding-top: 4px;
  color: #7e7e7e;
  font-size: 12px;
  font-weight: 300;
}
.new {
  position: absolute;
  border-bottom: 24px solid #fc0b38;
  border-left: 20px solid transparent;
  border-right: 29px solid transparent;
  height: 0;
  width: 158px;
  text-align: center;
  padding-top: 0px;
  color: white;
  font-size: 14px;
  font-weight: 300;
  top: 29px;
  left: -26px;
  box-shadow: 2px 2px 7px #00000099;
  -moz-transform: rotate(320deg); /* Для Firefox */
  -ms-transform: rotate(320deg); /* Для IE */
  -webkit-transform: rotate(320deg); /* Для Safari, Chrome, iOS */
  -o-transform: rotate(320deg); /* Для Opera */
  transform: rotate(320deg);
}
.how-make {
  background-color: white;
  color: #7e7e7e;
}
.how-make p {
  padding-bottom: 5px;
  font-weight: 300;
}
.how-make p.hollyday {
  padding-left: 55px;
  padding-right: 55px;
}
.book {
  background-image: url("../images/2razmera_books_preview_1200_c.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  height: 600px;
}
table {
  background: #fff000;
  color: black;
  font-weight: 700;
  border-collapse: collapse;
  border-color: #fdc500;
  line-height: 15px;
}
tr:nth-child(1),
tr:nth-child(6)  {
  background: #ffd100;
}
tr:nth-child(3) {
  text-align: center;
}
td {
  text-align: center;
  padding: 10px;
}
td:nth-child(1) {
  text-align: left;
  padding-left: 20px;
}
.td-price {
  font-size: 18px;
}
.td-text {
  font-size: 13px;
}
.td-text span {
  font-size: 10px;
}
.change {
  margin-top: 10px;
  margin-bottom: 10px;
}
.change div {
  border: 1px black solid;
  width: 17px;
  padding-top: 2px;
  margin: 2px;
  font-size: 10px;
}
.btn-dark,
.btn-danger {
  color: #fff;
  background-color: black;
  border-color: #343a40;
  border-radius: 2px;
  margin-top: 5px;
  font-size: 10px;
  padding-left: 20px;
  padding-right: 20px;
  font-family: 'Roboto', sans-serif;
}
.btn-danger {
  background-color: #ff0c3a;
  border-color: #dc3545;
  padding: 10px 63px 10px 64px;
  width: 180px;
}
.btn-danger:visited,
.btn-danger:active {
  border: 1px #dc3545 solid;
  background-color: #ff0c3a;
}
.pack {
  background-color: white;
  text-align: center;
}
.row.row-fl {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-left: 50px;
  margin-right: 50px;
}
.card {
  border: 4px #e7e7e7 solid;
  max-width: 240px;
  min-width: 240px;
  position: relative;
}
.card i.fa.fa-shopping-cart  {
  display: none;
}
.card:hover {
  border: 4px #b9b9b9 solid;
  box-shadow: 0px 0px 15px #b9b9b9;
}
.card:hover .btn-danger {
  padding: 10px 54px 10px 55px;
}
.card:hover i.fa.fa-shopping-cart  {
  display: block;
  position: absolute;
  top: 347px;
  left: 74px;
}
.card-body {
  padding: 0.5rem;
  padding-top: 1rem;
  line-height: 20px;
}
.card-body span {
  font-size: 14px;
  color: #7e7e7e;
}
.card-body .price span {
  font-size: 16px;
  color: #7e7e7e;
}
.card-body i {
  padding-right: 5px;
}
.card-body b {
  color: #3d3d4d;
  font-size: 14px;
  font-weight: 800;
}
.card-body s {
  text-decoration: line-through red 1.5px;
  font-size: 16px;
}
p.card-text {
  font-size: 20px;
  font-weight: 800;
  padding-top: 10px;
}
h5.card-title {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 5px;
  padding-top: 3px;
}
.how-make-card {
  background-color: white;
  color: #7e7e7e;
  font-size: 20px;
}
.how-make-card img {
  width: 100%;
  padding: 20px 0px 20px 0px;
}
.up-btn {
  margin: 30px auto;
  width: 85px;
}
a.up {
  text-decoration: none;
  font-size: 12px;
  border: 1px white solid;
  padding: 10px;
}
a.up:hover {
  border: 1px #6ed2f0 solid;
}
footer ul {
  list-style: none;
  padding : 0px;
  color: white;
  font-size: 11px;
  }
footer a {
  font-family: 'Roboto', sans-serif;
}
footer a:hover {
  text-decoration: none;
}
.price {
  position: relative;
  width: 60px;
  margin: 0 auto;
  display: inline;
}
.line {
  position: absolute;
  width: 70px;
  border-bottom: 2px red solid;
  top: 7px;
  left: calc(100%/3 - 70px);
  transform: rotate(350deg);
}

@media only screen and (max-width: 1200px) {
  .book {height: 500px;}
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 26px;
  }
  .row.row-fl {
    margin-left: 30px;
    margin-right: 30px;
  }
}

@media only screen and (max-width: 992px) {
  .book {height: 390px;}
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 2px;
    padding-right: 5px;
  }
  .row.row-fl {
    margin-left: 0px;
    margin-right: 0px;
  }

}

@media only screen and (max-width: 767px) {
  .book {height: 290px;}
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 10px;
    padding-right: 0px;
    padding-bottom: 5px;
    padding-top: 5px;
    background-color: rgb(0, 0, 0, 0.7);
  }
  div.col.tel { padding-left: 0px;}
  footer ul {padding-left: 3px;}

}

@media only screen and (max-width: 513px) {
  .book {height: 250px;}
  .how-make-card {font-size: 16px;}
  .cc {font-size: 14px;
  }
}
@media only screen and (max-width: 415px) {
  .book {height: 190px;}
  tr:nth-child(1) {
    font-size: 12px;
  }
  td {
    padding-left: 2px;
    padding-right: 2px;
  }
  td:nth-child(1) {
    padding-left: 3px;
  }
  .td-price {
    font-size: 12px;
  }
  .td-text {
    font-size: 11px;
  }
  .td-text span {
    font-size: 8px;
  }
  .btn-dark {
    padding-left: 5px;
    padding-right: 5px;
  }
  .card:hover i.fa.fa-shopping-cart  {
    top: 349px;
  }
}
@media only screen and (max-width: 305px) {
  .book {height: 170px;}
  .how-make-card {font-size: 14px;}
}
