/* GENERAL STYLES */
body {
  font-family: "Red Hat Text", sans-serif;
  font-size: 100%;
  background-image: url(../images/background_medium.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: black;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.a-span {
  pointer-events: none;
}

.container {
  margin: 0 auto;
  background-color: white;
  max-width: 960px;
}

.section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.styled-strong {
  font-weight: normal;
}

#info-ukraine-div {
  background-image: url(../images/ukraine_6.jpg);
  height: 230px;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: flex-end;
  padding: 2rem 2rem 0 2rem;
}

#info-ukraine-div .info-wrapper {
  width: 60%;
}

#info-ukraine-div p {
  text-align: right;
  font-family: "Red Hat Text", sans-serif;
  font-weight: bold;
  opacity: 0.8;
  color: #383838;
  height: auto;
}
@media screen and (max-width: 768px) {
  #info-ukraine-div {
    padding: 1rem;
  }
  #info-ukraine-div .info-wrapper {
    width: 50%;
  }
  #info-ukraine-div p {
    font-size: 13.5px;
  }
}

/* HEADER */
.topnav {
  overflow: hidden;
  background-color: white;
  border: 2px solid silver;
  border-image-source: linear-gradient(white, silver, white, silver);
  border-image-slice: 10;
  margin: 0 auto;
  padding: 0;
}

.test {
  float: right;
}

.logo {
  display: inline-block;
  flex-direction: row;
  margin: 0 auto;
}

.logo-container {
  float: left;
  margin-left: 3px;
  height: 70px;
  width: 100px;
}

.logo-img {
  height: 130px;
  width: 118px;
  margin-top: -27px;
  margin-left: -12px;
}

.phone {
  width: 130px;
  margin-left: 3px;
  font-size: 15px;
  display: inline-block;
  padding: 0px;
  font-family: "Quicksand", sans-serif;
  color: #8b0000;
}

.test a {
  float: left;
  display: block;
  text-align: center;
  padding: 25px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #4caf50;
  color: white;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  padding: 25px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

#dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 3;
}

#dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  color: silver;
}

#dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover #dropdown-content {
  display: block;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .topnav a,
  .dropdown .dropbtn {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive #dropdown-content {
    position: relative;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100vw;
    text-align: left;
  }

  .topnav.responsive a:hover {
    color: silver;
  }
}

/* MAIN SECTION */
#main {
  background-image: url(../images/main_image.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 360px;
}

.info-img {
  width: 100%;
  height: 50px;
}

/* CATALOG */
.catalog {
  display: block;
  padding: 50px 40px 0px 40px;
  text-align: center;
  font-size: 17px;
}

.catalog h1 {
  font-size: 17px;
}

.furniture {
  padding: 40px 30px 60px 30px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.furniture_section {
  margin: 0;
  padding: 0;
  height: 320px;
  text-align: center;
  font-size: 10px;
  transition: transform 0.5s;
  font-family: "Quicksand", sans-serif;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0;
  transform: scale(0.95);
  transition: box-shadow 0.5s, transform 0.5s;
  border: 1px solid #e7e7e7;
}

@media screen and (max-width: 768px) {
  .catalog {
    padding: 30px 40px 0px 40px;
  }
  .furniture {
    padding: 10px 20px 30px 20px;
    gap: 10px 10px;
  }
  .furniture_section {
    max-height: 150px;
  }
}

.furniture_section:hover {
  transform: scale(1);
  box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
}

.furniture_section a {
  height: 100%;
  display: grid;
  grid-template-rows: 4fr 1fr;
  margin: 0;
  padding: 0;
  color: #dcdcdc;
}

.furniture_section a:hover {
  color: #a9a9a9;
}

.section-img {
  background-size: 70% auto;
  background-repeat: no-repeat;
  background-position: center center;
}

.straight {
  background-image: url(../images/straight_sofas.jpg);
}

.corner {
  background-image: url(../images/hilton7.png);
}

.constriction {
  background-image: url(../images/sofa_constriction.png);
}

.armchairs {
  background-image: url(../images/armchairs.png);
}

.section_image:hover {
  transform: scale(1.1);
}

.furniture-btn {
  color: white;
  padding: 10px 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  background-color: rgba(231, 231, 231, 0.5);
  -webkit-transition-duration: 0.4s; /* Safari */
  transition-duration: 0.4s;
  cursor: pointer;
  outline: none;
  color: black;
  border: 1px solid #e7e7e7;
  width: 100%;
  height: 100%;
  border-radius: 0px 0px 10px 10px;
}

.furniture-btn {
  background-color: #e7e7e7;
}

/* ABOUT */
.about {
  padding-bottom: 70px;
}

.about_p {
  text-align: center;
  font-style: italic;
}

.about li {
  padding-left: 90px;
  padding-right: 40px;
  list-style: none;
  padding-bottom: 20px;
  padding-top: 20px;
}

.done_symbol {
  height: 15px;
  width: 15px;
  position: absolute;
  right: 10px;
}

.about_header {
  margin-top: 0px;
  text-transform: uppercase;
  font-size: 18px;
  text-align: center;
  font-family: "Poiret One", cursive;
  color: #8b0000;
}

.about_subheader {
  text-transform: uppercase;
  font-size: 15px;
  text-align: center;
  font-family: "Muli", sans-serif;
}

.about p {
  font-size: 17px;
  padding-left: 50px;
  padding-right: 40px;
  padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .about p {
    text-align: center;
  }
}

/*DELIVERY */
.delivery_header {
  text-transform: uppercase;
  font-size: 18px;
  text-align: center;
  font-family: "Poiret One", cursive;
  color: #8b0000;
}

.delivery p {
  font-size: 17px;
  padding-left: 50px;
  padding-right: 40px;
  padding-bottom: 20px;
}

/* CONTACTS */
.contacts {
  font-size: 17px;
  min-height: calc(100vh - 222px);
}

.contacts p {
  padding: 10px;
  margin-left: 10px;
}

#location,
#partners {
  margin-top: 10px;
  margin-bottom: 30px;
}

#location p,
#partners p {
  padding: 0px 10px;
  margin: 0px 10px;
}

.contacts h3 {
  text-align: center;
  font-family: "Quicksand", sans-serif;
  text-transform: uppercase;
  font-size: 20px;
}

.contacts a:hover {
  color: #6c7a86;
}

.contacts ul {
  list-style: disc;
}

.contacts li {
  margin-left: 50px;
  margin-top: 10px;
}

.contact_type {
  display: flex;
  padding-left: 50px;
  align-items: center;
}

.partners-adress {
  margin: 10px;
}

@media screen and (max-width: 768px) {
  .contact_type {
    padding-left: 20px;
  }
}

.contact_img {
  height: 40px;
  width: 40px;
  align-self: center;
}

.partners_img {
  height: 40px;
  width: 40px;
  align-self: start;
}

.color {
  color: #4886bd;
  font-weight: 600;
  text-shadow: 1px black;
  opacity: 0.8;
}

/* FOOTER */
.footer {
  font-size: 10px;
  background: linear-gradient(to right, white, silver, white, silver, white);
  padding: 30px;
  background-color: white;
  flex-wrap: wrap;
  align-items: center;
}

.footer_info {
  margin: 0 auto;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  text-decoration: underline;
  margin-bottom: 30px;
}

.footer_contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

@media screen and (max-width: 600px) {
  .footer_contacts {
    min-width: 250px;
    justify-content: center;
  }

  .footer_info {
    margin-bottom: 15px;
  }
}

.footer_contact {
  height: 35px;
  margin-left: 20px;
  margin-right: 20px;
  font-size: 14px;
  min-width: 130px;
}

@media screen and (max-width: 600px) {
  .footer_contact {
    min-width: 250px;
    padding-left: 30px;
  }
}

.social_icon {
  height: 30px;
  width: 30px;
  margin-top: 10px;
  margin-left: 10px;
  border-radius: 50%;
}

.footer_contact a:hover {
  color: white;
}

.social_icon:hover {
  background-color: white;
}

#phone_icon {
  margin-bottom: 10px;
}

#phone_icon:hover {
  background-color: transparent;
}

.social_info {
  margin-left: 5px;
  display: inline-block;
}

.social_p {
  position: relative;
  bottom: 10px;
}

/* SOFAS */
.straight_sofas {
  height: 4100px;
}

.sofas {
  padding-top: 30px;
  padding-bottom: 100px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  flex-direction: row;
  min-height: calc(100vh - 350px);
}

@media screen and (max-width: 768px) {
  .sofas {
    padding-bottom: 50px;
    min-height: 100px;
  }
}

.chairs {
  text-align: left;
}

.product-button {
  background: linear-gradient(to bottom, silver, white, silver);
  border-radius: 6%;
  font-size: 8px;
  width: 100px;
  line-height: 1px;
}

.furniture_constriction {
  height: 300px;
}

.sofa_img,
.sofa_image,
.sofa_image2 {
  display: block;
  height: 100%;
  width: 300px;
  object-fit: contain;
  transition: box-shadow 0.5s, transform 0.5s;
}

.sofa_img:hover,
.sofa_image:hover,
.sofa_image2:hover {
  box-shadow: 0;
  transform: scale(0.85);
  transition: box-shadow 1s, transform 1s;
}

.sofa_image {
  height: 300px;
  width: 320px;
}

.sofa_image2 {
  height: 330px;
  width: 340px;
}

.sofa_item,
.sofa_hide_item {
  width: 400px;
  height: 330px;
  text-align: center;
  font-size: 10px;
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 768px) {
  .sofa_hide_item {
    display: none;
  }
}

.sofa_item h2 {
  position: absolute;
  z-index: 2;
  bottom: 5px;
}

.sofa_item img {
  z-index: 1;
}

.sofa_item a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  align-items: center;
}

.sofa_item a:hover {
  color: silver;
}

/*PRODUCT CARD */
.product_card,
.chair_card {
  padding-top: 30px;
}

.card_image {
  width: 600px;
}

.product_header h2 {
  color: #8b0000;
  font-family: "Poiret One", cursive;
  z-index: 100 !important;
  margin-bottom: -20px;
  margin-left: 20%;
  position: relative;
}

@media screen and (max-width: 768px) {
  .product_header h2 {
    font-size: 18px;
    margin-bottom: -10px;
  }
}

.table_header {
  text-align: center;
  color: #6c7a86;
}

.card h3 {
  font-family: "Muli", sans-serif;
}

.slider {
  display: flex;
  justify-content: space-around;
  text-align: center;
  align-items: center;
  padding: 0px 20px;
}

.slider button {
  font-size: 20px;
  font-stretch: ultra-condensed;
  border-radius: 20%;
  outline: none;
  background: radial-gradient(white, silver);
  border-radius: 30%;
  line-height: 20px;
  width: 25px;
  height: 30px;
}

.slider button:hover {
  cursor: pointer;
}

.slider button:disabled {
  opacity: 0.7;
  color: grey;
  cursor: default;
}

.current_img {
  width: 600px;
  height: 400px;
  background-position: center center;
  background-size: 600px 600px;
  background-repeat: no-repeat;
}

@media screen and (max-width: 425px) {
  .current_img {
    width: 230px;
    height: 150px;
    background-size: 220px 220px;
  }
}

.slider_arrow {
  z-index: 3;
}

.prev_arrow {
  left: 30px;
}

.next_arrow {
  right: 30px;
}

.slider2-image {
  width: 300px;
  height: 300px;
}

.product_images {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin: 0 auto;
}

@media screen and (max-width: 425px) {
  .product_images {
    height: 50px;
  }
}

.product_image {
  width: 100px;
  height: 100px;
  cursor: pointer;
}

@media screen and (max-width: 425px) {
  .product_image {
    width: 50px;
    height: 50px;
  }
}

/*SWIPER STYLES*/
.swiper-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  background-size: 90%;
  background-repeat: no-repeat;
}
@media screen and (max-width: 576px) {
  .swiper-slide {
    background-size: 80%;
  }
}

.gallery-top {
  height: 600px;
  width: 100%;
}
@media screen and (max-width: 425px) {
  .gallery-top {
    height: 250px;
  }
}

.gallery-thumbs {
  height: 100px;
  width: 80%;
  box-sizing: border-box;
  padding: 10px 0;
}
@media screen and (max-width: 425px) {
  .gallery-thumbs {
    height: 50px;
  }
}

.gallery-thumbs .swiper-slide {
  width: 20%;
  opacity: 1;
}
@media screen and (max-width: 425px) {
  .gallery-thumbs .swiper-slide {
    height: 50px;
  }
}

.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 0.5;
}

.swiper-button-next,
.swiper-button-prev {
  color: #8b0000 !important;
  outline: none;
  border: none;
  position: absolute;
}

.swiper-button-next:focus,
.swiper-button-prev:focus {
  border: none;
  outline: none;
}

.swiper-button-prev {
  left: 40px !important;
}
@media screen and (max-width: 425px) {
  .swiper-button-prev {
    left: 10px !important;
  }
}

.swiper-button-next {
  right: 40px !important;
}
@media screen and (max-width: 425px) {
  .swiper-button-next {
    right: 10px !important;
  }
}
/*SWIPER STYLES*/

.card_table {
  margin-top: 50px;
  padding-bottom: 50px;
}

.card_table p {
  margin-left: 5px;
  font-style: italic;
  font-size: 14px;
}

.product_table {
  width: 80%;
  margin: 0 auto;
}

.product_table,
.product_table th,
.product_table td {
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-collapse: collapse;
}

.product_table th,
.product_table td {
  padding: 20px 10px 20px 10px;
  text-align: left;
}

.product_table th {
  width: 30%;
  text-align: center;
  background-color: rgba(173, 216, 230, 0.5);
  font-weight: 550;
  font-family: "Quicksand", sans-serif;
  opacity: 0.8;
}

.table_subheader,
.table_subtitle {
  font-style: italic;
}

.table_subtitle {
  display: none;
}

@media screen and (max-width: 425px) {
  .product_table th,
  .product_table td {
    padding: 10px;
    text-align: left;
  }

  .product_table th {
    display: none;
  }

  .table_subtitle {
    display: inline-block;
  }

  .product_table {
    width: 90%;
  }
}

/*FURNITURE CONSTRICTION */
.constriction {
  padding-top: 50px;
}

.sofa-cover {
  font-size: 17px;
}

.sofa-cover h3 {
  text-align: center;
  font-size: 15px;
  text-align: center;
  font-family: "Poiret One", cursive;
  text-transform: uppercase;
  font-weight: 700;
}

.sofa-cover p,
h3 {
  padding: 0px 50px;
}

.constriction h3 {
  text-align: center;
}

/*.cover {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.cover img {
	height: 300px;
	width: 350px;
}

@media screen and (max-width: 768px) {
	.cover img {
		height: 240px;
		width: 290px;
	}
}

.before_after {
	display: block;
	height: 40px;
}*/

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  padding-left: 50px;
  padding-right: 50px;
}

.services h4 {
  color: #6c7a86;
}

.constriction_image {
  max-height: 100px;
  width: 100%;
}

.relative {
  position: relative;
}

#absolute_before {
  position: absolute;
  top: 190px;
  right: 170px;
  background-color: transparent;
}

#absolute_after {
  position: absolute;
  top: 410px;
  background-color: transparent;
}

.cover_exm {
  height: 250px;
  width: 350px;
}

.service_list {
  width: 380px;
  border: 1px dashed silver;
  border-radius: 10%;
  margin-top: 30px;
  padding: 25px;
  padding-right: 15px;
  position: relative;
}

@media screen and (max-width: 425px) {
  .services {
    padding-left: 0px;
    padding-right: 0px;
  }

  .service_list {
    width: 310px;
    padding: 15px;
    padding-right: 10px;
  }

  .cover_exm {
    height: 220px;
    width: 280px;
    margin: 0 auto;
  }
}

.service {
  display: flex;
  flex-wrap: wrap;
}

.service_list p {
  padding-left: 10px;
  padding-right: 0px;
  width: 85%;
}

.done {
  height: 12px;
  width: 12px;
  margin-top: 25px;
}

.cover_example {
  height: 450px;
  width: 350px;
  text-align: center;
}

.tissues {
  display: block;
  margin-top: 50px;
  text-align: center;
  font-size: 17px;
}

.tissues_img {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-left: 20px;
  padding-right: 20px;
}

.tissues_img img {
  height: 120px;
  width: 180px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .tissues_img img {
    height: 80px;
    width: 140px;
  }
}

.additional_info {
  display: flex;
  margin-top: 30px;
  font-size: 16px;
  font-weight: bold;
  font-family: Bradley Hand, cursive;
  padding-bottom: 70px;
  align-items: center;
}

/*CONSTRICTION SWIPER STYLES*/
.swiper-constriction {
  max-width: 960px;
  height: 350px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .swiper-constriction {
    height: 180px;
  }
}

.before-after-container {
  display: flex;
  justify-content: space-around;
  position: absolute;
  max-width: 960px;
  width: 100%;
}

.swiper-pagination-bullet-active {
  background-color: #8b0000 !important;
}

.before,
.after {
  position: relative;
  bottom: 4em;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 0 20px;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .before,
  .after {
    font-size: 14px;
  }
}

.after {
  background-color: #75c975;
}

.before {
  background-color: #d15757;
}
