*/:root {
  --blue: #007bff;
  --indigo: #6610f2;
  --purple: #6f42c1;
  --pink: #e83e8c;
  --red: #dc3545;
  --orange: #fd7e14;
  --yellow: #ffc107;
  --green: #28a745;
  --teal: #20c997;
  --cyan: #17a2b8;
  --white: #fff;
  --gray: #6c757d;
  --gray-dark: #343a40;
  --primary: #007bff;
  --secondary: #6c757d;
  --success: #28a745;
  --info: #17a2b8;
  --warning: #ffc107;
  --danger: #dc3545;
  --light: #f8f9fa;
  --dark: #343a40;
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}
*,
::after,
::before {
  box-sizing: border-box;
}
html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
article,
aside,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}
[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
/*  burger menu kurinmiydi deesktopda*/
.open__category_ {
  display: none;
}
.nav__ {
  height: 80px;
  width: 100%;
  background-color: #20c997;
  display: flex;
  justify-content: space-between;
  /* position: sticky; */
  /* top: 0; */
}
.nav__menu ul {
  display: flex;
  list-style: none;
}

.site__link {
  font-size: 1.5em;
  padding: 10px;
  text-decoration: none;
  font-weight: 500;
  color: white;
  line-height: 65px;
}
.site__link:hover {
  text-decoration: underline;
}
.active_link {
  font-weight: bold;
  color: white;
  padding-bottom: 15px;
  font-size: 1.2em;
  border-bottom: 4px solid #fff;
  text-decoration: none;
  margin: 0 2px;
}
.pos_fixed {
  position: fixed;
  top: 0;
  z-index: 20;
  width: 100%;
}
.nav__menu li a:not(.active_link) {
  color: white;
  font-size: 1.2em;
  padding: 10px;
  margin: 0 2px;
  text-decoration: none;
}

.my__work {
  height: 500px;
}
.my__work__ {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  width: 80%;
  margin-left: 10%;
}
.width__blocks {
  width: 1280px;
  max-width: 100%;
}
.header__ {
  width: 100%;
  height: 90vh;
}
.header__banner__photo {
  width: 100%;
  height: 90vh;
}
.my__work__block {
  border: 1px solid #ddd;
}
.my__work__title {
  font-size: 2em;
  margin-left: 20px;
  text-align: center;
  margin: 20px 0;
}
.my__work__photo {
  width: 180px;
  height: 130px;
  border-radius: 20px;
  object-fit: contain;
}
.my__work__link {
  text-align: center;
  color: black;
}
.my__work__link a {
  text-decoration: none;
  color: black;
}

.color__red {
  color: red;
}

.project__price {
  height: auto;
  margin: 50px 0;
  display: flex;
  justify-content: space-between;
}
.project__price__img {
  width: 40%;
}
.project__price__photo {
  height: 500px;
  border-radius: 20px;
  padding: 10px;
}
.project__price__block {
  width: 50%;
  padding-top: 100px;
  padding-left: 20px;
  position: relative;
}
.project__price__block_icon {
  position: absolute;
  bottom: 60px;
  right: 40px;
  width: 60px;
  height: auto;
  border-radius: 10px;
}
.galereya {
  height: 1000px;
  margin: 50px 0;
  position: relative;
}
.galereya__block {
  width: 98%;
  margin-left: 1%;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.galereya__block__show__photo {
  width: 250px;
  height: 220px;
  margin: 1%;
  padding: 1%;
  border: 2px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}
.galereya__block img {
  border-radius: 15px;
  object-fit: contain;
  width: 100%;
  height: auto;
  transition: ease-in-out 0.5s;
}
.galereya__photo__modal {
  position: fixed;
  top: 200px;
  right: 300px;
  border: 2px solid #ddd;
  width: auto !important;
  height: 600px !important;
}
.close__icon {
  display: none;
  z-index: 3;
  position: fixed;
  top: 50%;
  right: 10%;
  font-size: 5em;
  background-color: #f5f2f2;
  border-radius: 20px;
  width: 80px;
  height: 80px;
  line-height: 45px;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}
.my__resume {
  border: 2px solid #ddd;
  display: flex;
  flex-direction: row;
}
.my__resume__img {
  width: 50%;
}
.my__resume__img img {
  width: 100%;
  height: auto;
  padding: 15px;
  border-radius: 40px;
}
.my__resume__block {
  font-size: 1.3em;
  font-weight: 500;
  width: 50%;
  padding: 15px;
  text-align: center;
  border: 2px solid #ddd;
  line-height: 50px;
}
.my__resume__block p {
  font-style: italic;
}
.my__resume__block h3 a {
  font-style: italic;
  color: #20c997;
}

/* FOOTER */
.footer {
  margin: 100px 0;
}
.footer__block {
  width: 100%;
  height: 500px;
  display: flex;
  background-color: #20c997;
}
.footer__block__1 {
  width: 50%;
  padding: 1%;
  color: white;
}
.footer__block__2 {
  width: 50%;
  padding: 1%;
}
.footer__item__social_link {
  display: block;
  font-size: 18px;
  padding: 5px;
  color: white;
  text-decoration: none;
}
.footer__item__social_link:hover {
  font-weight: 500;
  transition: all 0.5s;
  padding-left: 20px;
}
.footer__item__social_icon {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  margin-right: 10px;
}
.bob__nubmer {
  padding: 30px 20px;
  font-size: 1.5em;
  font-weight: 500;
  font-style: oblique;
}

@media screen and (max-width: 970px) {
  body {
    width: 100%;
    max-width: 970px;
  }
  .width__blocks {
    width: 100%;
  }
  .project__price {
    flex-direction: column;
  }
  .project__price__img {
    width: 100%;
  }
  .project__price__photo {
    height: 400px;
  }
  .project__price__block {
    padding-top: 10px;
    width: 100%;
  }
  .project__price__block_icon {
    bottom: 40px;
    right: 40px;
    width: 50px;
  }
  .galereya {
    height: auto;
  }
  .galereya__block__show__photo {
    width: 300px;
    height: 250px;
  }
  .galereya__photo__modal {
    top: 18%;
    right: 1%;
    width: 98% !important;
    height: auto !important;
  }
  .close__icon {
    top: 100px;
    right: 0;
    font-size: 3em;
    width: 60px;
    height: 60px;
    line-height: 35px;
  }
  .my__resume__block {
    font-size: 1.2em;
    line-height: 40px;
  }
  .not__page {
    position: absolute;
    top: 20%;
    left: 1%;
    text-align: center;
    background-color: #fff;
  }
}
@media screen and (max-width: 480px) {
  body {
    width: 100%;
    max-width: 480px;
  }

  .width__blocks {
    width: 100%;
    max-width: 100%;
  }

  .my__work {
    height: auto;
  }
  .my__work__ {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin: 0;
  }
  .my__work__block {
    width: 50%;
  }
  .my__work__photo {
    width: 150px;
    height: 100px;
  }
  .project__price {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .project__price__img {
    width: 100%;
  }
  .project__price__photo {
    height: 300px;
  }
  .project__price__block_icon {
    bottom: 10px;
    right: 10px;
    width: 33px;
  }
  .project__price__block {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 15px;
  }
  .project__price__block h1 {
    font-size: 1em;
  }

  .galereya {
    height: auto;
    margin: 50px 0;
  }
  .galereya__block {
    width: 100%;
    margin: 0;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .galereya__block__show__photo {
    width: 300px;
    height: 250px;
  }

  .galereya__photo__modal {
    position: fixed;
    top: 20%;
    right: 1%;
    width: 98% !important;
    height: auto !important;
  }
  .close__icon {
    display: none;
    z-index: 3;
    position: fixed;
    top: 80%;
    right: 10%;
    font-size: 3em;
    width: 50px;
    height: 50px;
    line-height: 35px;
    padding: 7px 10px;
  }

  .my__resume {
    border: none;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    margin-top: 50px;
  }
  .my__resume__img {
    width: 100%;
  }
  .my__resume__block {
    width: 100%;
    font-size: 1.3em;
  }
  .footer {
    margin: 100px 0;
  }
  .footer__block {
    width: 100%;
    height: 500px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .footer__block__1 {
    width: 100%;
  }
  .footer__block__2 {
    width: 100%;
  }
  .bob__nubmer {
    padding: 30px 20px;
    font-size: 2em;
    font-weight: 500;
    font-style: oblique;
  }
  .nav__menu {
    padding: 0;
    height: 0;
    width: 100%;
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 3;
    background-color: white;
    display: none;
  }
  .nav__menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: #20c997;
    margin-top: 0;
  }
  .nav__menu li a:not(.active_link) {
    padding: 15px;
    margin: 0;
    display: inline-block;
    width: 100%;
  }
  .active_link {
    padding: 15px;
    padding-left: 25px;
    border-bottom: 2px solid #fff;
    margin: 0;
    display: inline-block;
  }
  .open__category_ {
    width: 17%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .open__category_icon {
    margin-top: -5px;
  }
  /* BURGER MENU */
  .bar1,
  .bar2,
  .bar3 {
    width: 45px;
    height: 6px;
    background-color: #fff;
    margin: 6px 0;
    transition: 0.4s;
  }
  .change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
  }
  .change .bar2 {
    opacity: 0;
  }
  .change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
  }

  /* add product btn animation */
  .add_product_animation {
    width: 150px;
    height: 200px;
    background-color: red;
    position: absolute;
    /* display: none; */
    transition: ease 0.6s;
    z-index: 10;
    border: 2px solid #ddd;
  }
  @-webkit-keyframes jello {
    0%,
    11.1%,
    to {
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
    22.2% {
      -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
      transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    33.3% {
      -webkit-transform: skewX(6.25deg) skewY(6.25deg);
      transform: skewX(6.25deg) skewY(6.25deg);
    }
    44.4% {
      -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
      transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    55.5% {
      -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
      transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    66.6% {
      -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
      transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    77.7% {
      -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
      transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    88.8% {
      -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
      transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
  }
  @keyframes jello {
    0%,
    11.1%,
    to {
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }
    22.2% {
      -webkit-transform: skewX(-12.5deg) skewY(-12.5deg);
      transform: skewX(-12.5deg) skewY(-12.5deg);
    }
    33.3% {
      -webkit-transform: skewX(6.25deg) skewY(6.25deg);
      transform: skewX(6.25deg) skewY(6.25deg);
    }
    44.4% {
      -webkit-transform: skewX(-3.125deg) skewY(-3.125deg);
      transform: skewX(-3.125deg) skewY(-3.125deg);
    }
    55.5% {
      -webkit-transform: skewX(1.5625deg) skewY(1.5625deg);
      transform: skewX(1.5625deg) skewY(1.5625deg);
    }
    66.6% {
      -webkit-transform: skewX(-0.78125deg) skewY(-0.78125deg);
      transform: skewX(-0.78125deg) skewY(-0.78125deg);
    }
    77.7% {
      -webkit-transform: skewX(0.390625deg) skewY(0.390625deg);
      transform: skewX(0.390625deg) skewY(0.390625deg);
    }
    88.8% {
      -webkit-transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
      transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
    }
  }
  .animate__jello {
    -webkit-animation-name: jello;
    animation-name: jello;
    -webkit-transform-origin: center;
    transform-origin: center;
    animation-duration: 0.6s;
  }
  .not__page {
    position: absolute;
    top: 20%;
    left: 1%;
    text-align: center;
    background-color: #fff;
  }
}
