@import url('https://fonts.cdnfonts.com/css/roboto');



:root {
  --purple: #490e84;
  --chernyy: #0a0a0a;
  --belyy: #fff;
  --deep-purple: #574b63;
  --seryy: #717171;

  --font-family: "Inter", sans-serif;

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  color: var(--color-primary);
}

body {
  background: var(--belyy);
  font-family: var(--font-family);
  color: var(--chernyy);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
}

.container {
  max-width: 1230px;
  width: 100%;

  margin: 0 auto;
  padding: 0 15px;
}


/* Header */

.header {
  background: var(--chernyy);
}

.header_nav {
  font-size: 24px;
  color: var(--seryy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 42px 0;
}

.header_list {
  display: flex;
  gap: 30px;

}

.header_list a,
.phone {
  transition: all 0.3s ease-in-out;
}

.header_list a:hover,
.phone:hover {
  color: var(--belyy);
  transform: scale(1.1);
}

.btn {
  transition: all 0.3s ease-in-out;
}

.btn:hover {
  transform: scale(1.1);
  ;
}

.header-block {
  background: #f5f5f7;
  padding: 71px 0 71px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header-title {
  font-weight: 700;
  font-size: 64px;
  color: var(--purple);
  margin-bottom: 40px;
}

.header-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 25px;
}

.btn-wrapper {
  border-radius: 30px;
  background: var(--purple);
  padding: 22px 117px;
  font-weight: 700;
  font-size: 24px;
  color: var(--belyy);
}

/* Function Section */

.function {
  margin-top: 87px;
}

.header-title-block {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

.header-title-block-grey {
  color: var(--seryy);
}

.header-title-block-white {
  color: var(--belyy);
}

.block-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.block-info-text {
  max-width: 500px;
  margin-right: 30px;
}

.block-info-text p {
  color: var(--chernyy);
  margin-bottom: 30px;
}

.bold-text {
  font-weight: 700;
  font-size: 20px;
}

.block-info-img {
  text-align: center;
  width: 100%;

}

.block-info-img img {
  transition: all 0.3s ease-in-out;
}

.block-info-img img:hover {
  transform: rotateZ(45deg);
  box-shadow: 0px 0px 20px rgb(0 0 0 / 2%);
}

/* Model Section */

.model {
  margin-top: 150px;
}

.model-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 80px;
}

.card-model {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-in-out;
}

.card-model:hover {
  transform: scale(1.1);
  box-shadow: 0px 0px 20px rgb(0 0 0 / 84%);
  border-radius: 30px;
  overflow: hidden;
}

.card-model img {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}

.card-model-name {
  font-size: 20px;
}

.card-model-color {
  margin-bottom: 10px;
}

/* Contact Section */


.contact {
  margin-top: 150px;
}

.block-contact {
  background: var(--deep-purple);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-form-block {
  padding: 0 75px;

  color: var(--belyy);
}

.form {
  color: var(--belyy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form input {
  width: 100%;
  padding: 10px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #f5f5f5;
}

.form input:last-of-type {
  margin-bottom: 0;
}

.form input::placeholder {
  opacity: 0.5;
  color: var(--belyy);
}

.header-title-block {
  font-weight: 700;
  font-size: 32px;
  /* padding-top: 137px; */
  margin-bottom: 32px;
  width: 100%;
  text-align: center;
}

.info-text {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 400;
  opacity: 0.5;
}

.btn-wrapper-white {
  padding-top: 30px;
  padding-bottom: 138px;
  border-radius: 30px;
  padding: 16px 81px;
  font-weight: 700;
  color: var(--purple);
  background: var(--belyy);
}

/* Footer */

.footer {
  background: var(--chernyy);
}

.footer_nav {
  font-size: 24px;
  color: var(--seryy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 42px 0;
}

.footer_list {
  display: flex;
  gap: 30px;
}

.footer_list a {
  transition: all 0.3s ease-in-out;
}

.footer_list a:hover {
  color: var(--belyy);
  transform: scale(1.1);
}