/*=============== FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800;900&display=swap');


/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(207, 65%, 65%);
  --title-color: hsl(207, 4%, 16%);
  --text-color: hsl(207, 4%, 28%);
  --text-color-light: hsl(207, 4%, 56%);
  --body-color: hsl(207, 4%, 99%);
  --container-color: hsl(207, 4%, 95%);
  --primary: #FFCE00;
  --secondary: #FE4880;
  --dark: #212121;
  --light: #F3F3F3;
  

  /* Change the first number */
  /* Blue: 207 - Purple: 250 - Pink: 356 - Teal: 174 */
  --gradient-color: linear-gradient(180deg,
      hsla(207, 48%, 72%, 0),
      hsla(207, 65%, 65%, 1));

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: 'Rubik', sans-serif;
  --title-font: 'Rubik', sans-serif;
  --biggest-font-size: 1.5rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --tiny-font-size: .625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;

  /*========== z index ==========*/
  --z-normal: 1;
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1024px) {
  :root {
    --biggest-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
    --tiny-font-size: .688rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  transition: background .4s;
  /* for dark mode animation */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-medium);
}

ul {
  list-style: none;
}

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

img {
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: 1.5rem;
}

.change-theme {
  height: 1.25rem;
  cursor: pointer;
  transition: .3s;
}

.change-theme:hover {
  transform: translateY(-.25rem);
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: hsl(207, 4%, 95%);
  --text-color: hsl(207, 4%, 65%);
  --body-color: hsl(207, 4%, 10%);
  --container-color: hsl(207, 4%, 12%);
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.dark-theme .nav,
.dark-theme .nav__menu,
.dark-theme .scrollup {
  background-color: var(--container-color);
  box-shadow: 0 4px 20px hsla(207, 24%, 8%, .4);
}

.dark-theme .section__border {
  border-bottom: 1px solid hsl(207, 4%, 32%);
}

.dark-theme::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(207, 4%, 75%)
}

.dark-theme::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(207, 4%, 25%)
}

.dark-theme::-webkit-scrollbar-thumb:hover {
  background-color: hsl(207, 4%, 35%)
}

.dark-theme .active-link {
  color: var(--text-color-light);
}

.dark-theme .services__description {
  color: var(--body-color);
}

.dark-theme .card__profession {
  color: var(--body-color);
}

.dark-theme .pulse {
  color: #FFF;
}



.logo__img{
  width: 8rem;
}

.header__contacts{
  width: 100%;
  position: absolute;
  z-index: var(--z-fixed);
  top: 0rem;
  left: 0;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 1rem;
  font-weight: 500;
  color: #fd1720;
  
}

.hc{
  background-color: #292824;
  padding: .5rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  text-align: center;
  cursor: pointer;
  line-height: 1;
}

.hc a{
  color: #fd1720;
}
/*=============== Повторяющиеся CSS классы ===============*/
.container {
  max-width: 1024px;
  margin-inline: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 2.5rem;
}

.section__border {
  border-bottom: 1px solid var(--title-color);
  padding-bottom: 3.5rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .25rem;
}

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  margin-bottom: 2rem;
}

.main {
  overflow: hidden;
  /* For animation */
}





/*=============== MENU ===============*/
.header {
  width: 100%;
  position: fixed;
  z-index: var(--z-fixed);
  bottom: 0rem;
  left: 0;
}

.nav {
  height: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #292824;
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, .5);
  padding-inline: 1.5rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.nav__logo{
  /* height: 1rem; */
  width: 8rem;
}

.menu__text{
  font-size: 1.2rem;
  color: #fd1720;
  font-weight: 700;
  cursor: pointer;
}

.nav__toggle,
.nav__close {
  color: #fd1720;
  font-size: 2rem;
}

.menu__icon {
  font-size: 2rem;
}



.nav__toggle {
  display: flex;
  cursor: pointer;
}

.nav__toggle-icon {
  height: 1.5rem;
  transition: .3s;
}

.nav__toggle-icon:hover {
  height: 1.75rem;
}

.nav__close img:hover {
  height: 1.1rem;
}

/* @media screen and (max-width: 1023px) { */
.nav__menu {
  position: fixed;
  width: 88%;
  left: 0;
  right: 0;
  bottom: -60%;
  margin: 0 auto;
  background-color: #292824;
  /* background-image: linear-gradient(160deg, #0093E9 0%, #80D0C7 50%); */
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, .1);
  padding: 2rem 1.5rem 5rem;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  transition: bottom .3s;
}

/* } */

.nav__list {
  grid-template-columns: repeat(3, max-content);
  justify-content: center;
  gap: 2rem 3rem;
}

.nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: .25rem;
  font-size: var(--smaller-font-size);
  font-weight: 500;
  color: white;
  transition: color .3s;
}

.nav__link:hover {
  color: #fd1720;
}

.nav__link img {
  height: 1.5rem;
}

.nav__link i {
  font-size: 1.5rem;
}

.nav__close {
  position: absolute;
  right: 1.5rem;
  bottom: .7rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  bottom: 0rem;
}

/* Active link */
.active-link {
  color: #fd1720;
}

/*=============== HOME ===============*/
.home__container {
  row-gap: 4rem;
  padding-top: 2rem;
}

.home__data {
  row-gap: 1.5rem;
}

.home__title {
  text-align: center;
  /* font-size: 2rem; */
  letter-spacing: .3px;
  margin-bottom: .5rem;
  font-weight: 700;
}

.home__blob {
  position: relative;
  width: 200px;
  height: 290px;
  background-color: var(--body-color);
  border: 2px solid var(--text-color-light);
  justify-self: center;
  border-radius: 6.25rem;
  place-items: center;
}

.home__perfil {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home__perfil img {
  width: 150px;
}

.home__social {
  justify-self: center;
  display: flex;
  column-gap: 1.25rem;
}

.home__social-link i {
  /* height: 1.25rem; */
  color: #292824;
  font-size: 2.5rem;
  transition: color .3s;
}

.home__social-link i:hover {
  box-shadow: 0 4px 20px hsla(207, 24%, 35%, .9);
  /* border: 1px solid black; */
  border-radius: 50%;
  color: #fd1720;
}

.home__info {
  display: grid;
  row-gap: 2rem;
}

.home__info-title {
  font-family: var(--body-font);
  font-size: var(--smaller-font-size);
  font-weight: 400;
  color: var(--text-color-light);
  margin-bottom: 1rem;
}

.home__info-description,
.home__info-number {
  font-family: var(--title-font);
  color: var(--title-color);
}

.home__info-description {
  padding-right: 4rem;
}

.home__info-number {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
}



/*=============== ABOUT ===============*/

#about .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.item1 {
  flex-basis: 17rem;
  margin: 3rem;
}

.item2 {
  flex-basis: 30rem;
}

.card {
  position: relative;
  width: 256px;
  background-color: #292824;
  padding: 1.25rem 1rem 3rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px hsla(29, 75%, 8%, .2);
}

.card__img {
  width: 96px;
  border-radius: 50%;
}

.card__border {
  width: 110px;
  height: 110px;
  border: 2px solid white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto .75rem;
}

.card__name {
  color: #fd1720;
  font-size: .9rem;
  font-weight: 500;
}

.card__profession {
  color: #FFF;
  font-size: var(--smaller-font-size);
  font-weight: 500;
}

.card__social {
  width: 200px;
  background-color: #FFF;
  padding: .75rem;
  border-radius: 3rem;
  text-align: initial;
  box-shadow: 0 8px 24px hsla(29, 75%, 56%, .3);
  position: absolute;
  right: 0;
  left: 0;
  bottom: -1.75rem;
  margin: 0 auto;
  overflow: hidden;
  transform-origin: 18px 17px;
  border: 2px solid #292824;
}

.card__social-control {
  position: relative;
  transform-origin: 18px 18px;
  transition: transform .54s ease;
  transform: rotate(0);
  /* transform: rotate(-135deg); */
}

.card__social-toggle {
  display: inline-flex;
  background-color: #292824;
  font-size: 1.8rem;
  color: #fd1720;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  z-index: 10;
  transition: .3s;
}

.card__social-toggle:hover{
  color: #292824;
  background-color: #fd1720;
}

.card__social-text {
  display: block;
  color: black;
  font-size: 1rem;
  font-weight: 500;
}

.card__social-list {
  display: inline-flex;
  column-gap: 1rem;
  transform: rotate(135deg);
  transform-origin: 18px 17px;
  font-size: 1.8rem;
  color: #292824;
}

.card__social-link {
  display: inline-flex;
  background-color: var(--first-color);
  color: black;
  font-size: 1.25rem;
  padding: 6px;
  border-radius: 50%;
}

.card__social-text,
.card__social-list {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-left: 3.1rem;
}

.card__social-text {
  top: .5rem;
}

/* Rotate social */
.animation .card__social-control {
  transform: rotate(-135deg);
}

/* Up animation */
.card__social.animation {
  animation: up-animation 1s ease-in-out forwards;
}

@keyframes up-animation {

  0%,
  100% {
    transform: rotate(0);
  }

  50%,
  60% {
    transform: rotate(-3deg);
  }

  88% {
    transform: rotate(1deg);
  }
}

/* Down animation */
.card__social.down-animation {
  animation: down-animation 1s ease-in-out forwards;
}

@keyframes down-animation {

  0%,
  100% {
    transform: rotate(0);
  }

  50%,
  60% {
    transform: rotate(6deg);
  }

  88% {
    transform: rotate(-1deg);
  }
}

.button {
  color: #ffffff;
  background-color: #292824;

  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 22px;
  display: flex;
  align-items: center;
  text-align: center;
  width: 10rem;
  transition: .3s;
  box-shadow: 2px 7px 96px -2px rgba(154, 171, 237, 1);
  -webkit-box-shadow: 2px 7px 96px -2px rgba(154, 171, 237, 1);
  -moz-box-shadow: 2px 7px 96px -2px rgba(154, 171, 237, 1);
}

.button:hover {
  box-shadow: none;
  cursor: pointer;
  color: #fd1720;
}

.aboutp {
  text-align: justify;
  font-size: 1rem;
}

.pulse {
  color: black;
  font-weight: 500;
  transition: .3s;
}

.pulse:hover {
  font-size: 1.25rem;
}




/*=============== SKILLS ===============*/






/*=============== BIKES ===============*/
.select_container{
  display: flex;
  align-items: center;
  justify-content: center;
}

.select_container select {
  background-color: #292824;
  color: white;
  padding: 12px;
  width: 16rem;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none;
  cursor: pointer;
  border-radius: .5rem;
}

.select_container::before {
  content: "\f13a";
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  right: 0;
  width: 20%;
  height: 100%;
  text-align: center;
  font-size: 28px;
  line-height: 45px;
  color: rgba(255, 255, 255, 0.5);
  background-color: rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.select_container:hover::before {
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.select_container select option {
  padding: 30px;
}



.bikes__card-container{
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: row;
}

.box{
  max-width: 20rem;
  border: 2px solid #292824;
  border-radius: .5rem;
  margin: 2rem;
  box-shadow: 0px 3px 18px 3px rgba(0, 0, 0, 0.2);
}

.box i{
  font-size: 2rem;
  border: 1px solid #292824;
  border-radius: .5rem;
  left: .5rem;
  top: .5rem;
  transition: .3s;
  cursor: pointer;
}

.box i:hover{
  background-color: #292824;
  border: 1px solid #292824;
  color: #fd1720;
}

.card_flex{
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.card_img{
  padding: 1rem;
  cursor: pointer;
}

.card_title{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  color: #292824;
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
}

.flex_by{
  display: flex;
  align-items: center;
  justify-content: center;
}

.card_btn{
  padding: .5rem;
  margin: .5rem;
  background-color: #292824;
  color: #fff;
  border-radius: 1rem;
  width: 6rem;
  text-align: center;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
}

.card_btn:hover{
  color: #fd1720;
}


.price{
  color: #292824;
  font-size: 1.2rem;
  font-weight: 700;
}

.card_description{
  padding: 1rem;
  display: none;
  transition: .3s;
}

.is-flipped {
  display: block;
}



/*=============== TOOLS ===============*/
.tools_button_container{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.tools_btn{
  border: 4px solid #292824;
  padding: .5rem;
  font-size: 1rem;
  font-weight: 600;
  width: 8rem;
  text-align: center;
  cursor: pointer;
}

.btn_left{
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
}

.btn_right{
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
}

.active_btn {
  color: #fd1720;
  background-color: #292824;
}

.hide_select{
  display: none;
}

















/*=============== NEWS ===============*/
.scene {
  position: relative;
  width: 21rem;
  height: 21rem;
  margin: auto;
  perspective: 1000px;
}

.carousel {
  width: 100%;
  height: 100%;
  position: absolute;
  transform: translateZ(-288px);
  transform-style: preserve-3d;
  transition: transform 1s;
}

.carousel__cell {
  position: absolute;
  width: 19rem;
  height: 19rem;
  left: 10px;
  top: 10px;
  border: 3px solid #292824;
  border-radius: .75rem;;
  transition: transform 1s, opacity 1s;
}

.carousel__cell:nth-child(1) { transform: rotateY(  0deg) translateZ(288px); }
.carousel__cell:nth-child(2) { transform: rotateY( 40deg) translateZ(288px); }
.carousel__cell:nth-child(3) { transform: rotateY( 80deg) translateZ(288px); }
.carousel__cell:nth-child(4) { transform: rotateY(120deg) translateZ(288px); }
.carousel__cell:nth-child(5) { transform: rotateY(160deg) translateZ(288px); }
.carousel__cell:nth-child(6) { transform: rotateY(200deg) translateZ(288px); }
.carousel__cell:nth-child(7) { transform: rotateY(240deg) translateZ(288px); }
.carousel__cell:nth-child(8) { transform: rotateY(280deg) translateZ(288px); }
.carousel__cell:nth-child(9) { transform: rotateY(320deg) translateZ(288px); }



.projects__container {
  overflow: initial;
}

.projects__content {
  display: grid;
  justify-content: center;
}

.projects__img {
  width: 30rem;
  border-radius: .75rem;
}

.carousel-options{
  display: none;
}

.pn_buttons{
  display: flex;
  align-items: center;
  justify-content: center;
}

.pn-button{
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #292824;
  font-size: 2rem;
  width: 3rem;
  height: 3rem;
  text-align: center;
  margin: 1rem;
  border-radius: .5rem;
  cursor: pointer;
}

.pn-button:hover{
  color: #fd1720;
  background-color: #292824;
}



/*=============== CONTACT ===============*/
.contact__container {
  row-gap: 3.5rem;
}

.contact__title {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 2.5rem;
}

.contact__title i {
  font-size: 1rem;
  font-weight: initial;
  font-style: normal;
}

.contact__info,
.contact__data,
.contact__form {
  display: grid;
}

.contact__info {
  row-gap: 2rem;
}

.contact__data {
  row-gap: .75rem;
}

.contact__data__title {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__data__info {
  font-size: var(--small-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
}

.contact__button {
  width: max-content;
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  
}

.contact__button i {
  font-size: 1rem;
  transition: transform .3s;
}

.contact__button:hover i {
  transform: translateX(.25rem);
}

.contact__form {
  position: relative;
  row-gap: 2rem;
}

.contact__form-div {
  position: relative;
  height: 4rem;
}

.contact__form-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  border-radius: 2rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  background: none;
  outline: none;
  z-index: 1;
}

.contact__form-tag {
  position: absolute;
  top: -.75rem;
  left: 1.25rem;
  z-index: 10;
  background-color: var(--body-color);
  color: var(--title-color);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  padding: .35rem;
  transition: background .4s;
}

.contact__form-area {
  height: 10rem;
}

.contact__form-area textarea {
  resize: none;
}

.contact__form .contact__button {
  border: none;
  background: none;
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  outline: none;
  margin-top: .75rem;
  color: #fd1720;
  background-color: #292824;
  padding: .3rem;
  border-radius: .5rem;
}

.contact__form .contact__button i {
  font-size: 1.5rem;
  font-weight: initial;
  font-style: normal;
}

.contact__message {
  font-size: var(--small-font-size);
  position: absolute;
  bottom: 2.8rem;
  left: 1.5rem;
}

/* Status color */
.color-red {
  color: hsl(4, 71%, 50%);
}

.color-blue {
  color: hsl(207, 56%, 45%);
}

/*=============== FOOTER ===============*/
.footer__container {
  padding: 3rem 0 7rem;
  text-align: center;
}

.footer__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: 1rem;
}

.footer__list,
.footer__social {
  display: flex;
  justify-content: center;
}

.footer__list {
  margin: 2.5rem 0;
  column-gap: 2.5rem;
}

.footer__link {
  color: var(--title-color);
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__social {
  column-gap: 1.25rem;
}

.footer__social img {
  height: 1.25rem;
  transition: transform .3s;
}

.footer__social img:hover {
  transform: translateY(-.15rem);
}

.footer__copy {
  display: block;
  margin-top: 4.5rem;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

.footer__copy a{
  color: #292824;
}

.footer__copy a:hover{
  color: #fd1720;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .6rem;
  border-radius: .5rem;
  background-color: hsl(207, 4%, 75%)
}

::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background-color: hsl(207, 4%, 65%)
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(207, 4%, 55%)
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -30rem;
  background-color: #292824;
  box-shadow: 0 4px 12px hsl(207, 24%, 35%, .15);
  display: inline-flex;
  padding: .35rem;
  border-radius: .25rem;
  font-size: 1.1rem;
  color: #fd1720;
  z-index: var(--z-tooltip);
  transition: bottom .3s, transform .3s;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 3.5rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .nav__menu {
    padding-bottom: 4rem;
  }

  .nav__list {
    gap: 1rem 1.25rem;
  }

  .item1 {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  /* .projects__img {
    width: 200px;
    justify-self: center;
  } */
}

/* For medium devices */
@media screen and (min-width: 576px) {

  .nav,
  .nav__menu {
    width: 380px;
  }

  .nav {
    margin: 0 auto;
  }

  /* .projects__container {
    width: 400px;
    overflow: hidden;
  } */

  .projects__container .swiper-button-prev {
    /* position: absolute; */
    left: 1rem;
  }

  .projects__container .swiper-button-next {
    right: 2rem;
  }

  
  
}

@media screen and (min-width: 767px) {
  .home__container {
    grid-template-columns: 1fr 2fr 1fr;
  }

  .home__data {
    order: 2;
  }

  .home__info:nth-child(3) {
    order: 3;
    text-align: right;
  }

  .home__info {
    margin-top: 10rem;
  }

  .home__info-description {
    padding-right: 0;
  }

  .services__container,
  .contact__container {
    grid-template-columns: repeat(2, max-content);
    column-gap: 5rem;
  }

  /* .projects__container {
    width: 500px;
  } */

  .contact__form {
    width: 360px;
  }

  .contact__container {
    justify-content: center;
    column-gap: 8rem;
  }

}

/* For large devices */
@media screen and (min-width: 1023px) {
  .home__title {
    font-size: 2rem;
  }


}

@media screen and (min-width: 1048px) {
  .container {
    margin-inline: auto;
  }
}

@media screen and (min-width: 1200px) {
  .section__border {
    padding-bottom: 6rem;
  }

  .section__subtitle {
    margin-bottom: 2rem;
  }

  .home__title {
    font-size: 2rem;

  }

  .home__blob {
    width: 400px;
    height: 580px;
    border-radius: 12.5rem;
  }

  .home__perfil {
    width: 340px;
    height: 520px;
    border-radius: 10.6rem;
  }

  .home__perfil img {
    width: 400px;
    height: auto;
  }

  .home__data {
    row-gap: 2.5rem;
  }

  .home__social {
    column-gap: 2rem;
  }

  .home__social img {
    height: 2rem;
  }

  .home__info {
    grid-template-rows: repeat(3, 130px);
    row-gap: 4rem;
    margin-top: 16rem;
  }

  .services__container {
    grid-template-columns: repeat(3, max-content);
  }

  .services__card {
    width: 245px;
    height: 345px;
    border-radius: 7.6rem;
    padding: 3.5rem 1.5rem;
  }

  .services__card img {
    height: 2.5rem;
  }

  .services__border {
    width: 265px;
    height: 365px;
    border-radius: 8.25rem;
  }

  /* .projects__container {
    width: 900px;
  }

  .projects__container .swiper-button-next,
  .projects__container .swiper-button-prev {
    font-size: 3rem;
  }

  .projects__img {
    width: 320px;
  } */

  .contact__title {
    margin-bottom: 3rem;
  }

  .contact__title i {
    font-size: 1.25rem;
  }

  .contact__info {
    row-gap: 3rem;
  }

  .contact__data__info {
    font-size: var(--normal-font-size);
  }

  .contact__form {
    row-gap: 2.5rem;
  }

  .footer__container {
    padding: 4rem 0 3rem;
  }

  .footer__list {
    column-gap: 3rem;
    margin: 3rem 0;
  }

  .footer__social {
    column-gap: 2rem;
  }

  .footer__social-link img {
    height: 1.5rem;
  }

}


@media screen and (max-width: 500px) {
  .hc{
    font-size: .5rem;
  }

  .header__contacts{
    height: 2rem;
  }
}


















.card_bike {
  height: 30rem;
  width: 20rem;
  border-radius: 1rem;
  perspective: 1000px;
  margin: 1rem;
}

.flip-card-container {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .8s;
}

.front,
.back {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  background: #fff;
  -webkit-box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.8);
  -moz-box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.8);
  position: absolute;
  backface-visibility: hidden;
}

.back {
  transform: rotateY(180deg);
}

.flip-card {
  transform: rotateY(180deg);
}



/* photo/logo style */
.front .img-area {
  height: 19rem;
  width: 19rem;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ecf0f3;
  border: 1px solid #212121;
}

.img-area img {
  height: 100%;
  width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

/* title style */
.front .f_title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #31344b;
  margin: .5rem 1rem 0 1rem;
  text-align: center;
}


.f_price{
  font-weight: 600;
  font-size: 1.2rem;
}


/* buttons */
.buttons {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: .5rem 1rem 0 1rem;
}

.btn {
  width: 8rem;
  height: 3rem;
  border-radius: .5rem;
  justify-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.btn__primary {
  background: #292824;
  color: #fd1720;
}

.btn__primary:hover {
  color: #292824;
  background: #fd1720;
}

.btn__secondary {
  color: #292824;
  background: #fff;
  border: 3px solid #212121;
}

.btn__secondary:hover {
  color: #fd1720;
}


/* BACK CARD */

/* close btn */
.close {
  font-size: 2rem;
  position: absolute;
  cursor: pointer;
  color: #212121;
  transition: all 0.5s ease;
}

.close:hover {
  color: #fd1720;
}

#close {
  right: 1rem;
  top: 1rem;
}

.back_price {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: absolute;
  color: #212121;
  font-weight: 600;
  top: 1.5rem;
  left: 1rem;
}

/* other information */
.more__information {
  color: #44476a;
  font-weight: 500;
  font-size: .8rem;
  margin: 5rem .5rem .5rem .5rem;
  text-align: center;
  padding: 1rem;
  justify-self: center;
  width: 19rem;
  height: 100%;
  border-radius: 1rem;
  background-color: #fff;
  overflow: auto;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  border: 1px solid #212121;
}

.empty_bike_category{
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #212121;
}




/* Services modal */
.services__modal{
  position: fixed;
  inset: 0;
  background-color: hsla(0, 0%, 0%, .7);
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;

  z-index: 99999999;
}

.services__modal-content{
  position: relative;
  background-color: var(--body-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
  width: 21rem;
}

.services__modal-title,
.services__modal-description{
  text-align: center;
}

.services__modal-title{
  font-size: 1rem;
  color: #292824;
  margin-bottom: 1rem;
  font-weight: 600;
}

.services__modal-description{
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}

.services__modal-close{
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: #fd1720;
  cursor: pointer;
}

/*Active modal*/
.active-modal{
  opacity: 1;
  visibility: visible;
}




/* модальное окно покупки */
.contact__form-modal {
  display: grid;
}

.contact__info-modal {
  row-gap: 2rem;
}

.contact__data-modal {
  row-gap: .75rem;
}

.contact__data__title-modal {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
}

.contact__data__info-modal {
  font-size: var(--small-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
}

.contact__button-modal {
  width: max-content;
  display: inline-flex;
  align-items: center;
  column-gap: .5rem;
  color: var(--title-color);
  font-size: var(--small-font-size);
  
}

.contact__button-modal i {
  font-size: 1rem;
  transition: transform .3s;
}

.contact__button-modal:hover i {
  transform: translateX(.25rem);
}

.contact__form-modal {
  position: relative;
  row-gap: 2rem;
}

.contact__form-div-modal {
  position: relative;
  height: 4rem;
}

.contact__form-input-modal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  border-radius: 2rem;
  padding: 1.5rem;
  font-size: var(--normal-font-size);
  font-family: var(--title-font);
  color: var(--title-color);
  background: none;
  outline: none;
  z-index: 1;
}

.contact__form-tag-modal {
  position: absolute;
  top: -.75rem;
  left: 1.25rem;
  z-index: 10;
  background-color: var(--body-color);
  color: var(--title-color);
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
  padding: .35rem;
  transition: background .4s;
}

.contact__form-area-modal {
  height: 7rem;
}

.contact__form-area-modal textarea {
  resize: none;
}

.contact__form-modal .contact__button-modal {
  border: none;
  background: none;
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  cursor: pointer;
  outline: none;
  margin-top: .75rem;
  color: #fd1720;
  background-color: #292824;
  padding: .3rem;
  border-radius: .5rem;
}

.contact__form-modal .contact__button-modal i {
  font-size: 1.5rem;
  font-weight: initial;
  font-style: normal;
}

.contact__message-modal {
  font-size: var(--small-font-size);
  position: absolute;
  bottom: 2.8rem;
  left: 1.5rem;
}

.example{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.ex_button{
  color: #292824;
  transition: .3s;
}

.ex_button:hover{
  color: #fd1720;
  text-decoration: underline;
}

.main_img{
  cursor: pointer;
}

.dop__information{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.dop__address{
  margin: 1rem 0;
  font-size: .8rem;
  line-height: 1.1;
}

.dop__address strong{
  font-size: .9rem;
}

.dop__rekvizit{
  margin: 1rem 0;
  font-size: .8rem;
  line-height: 1.1;
}

.dop__rekvizit strong{
  font-size: .9rem;
}

.mt_span{
  margin-top: .5rem;
}

.dop__oplata{
  margin: 1rem 0;
  font-size: .8rem;
  line-height: 1.1;
  max-width: 600px;
}

.dop__oplata strong{
  font-size: .9rem;
}

.mb_span{
  text-align: left;
  margin-bottom: .3rem;
  max-width: 600px;
}