@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");
* {
  font-family: "Roboto", sans-serif;
}

/*Обнуление*/
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

/*--------------------*/
.notification {
  margin-top: 1.2rem;
  background-color: rgb(156, 76, 76);
}

.note {
  margin: auto;
  height: 100%;
  margin-top: 1rem;
  padding: 4rem;
  font-weight: 500;
  font-size: 1.5rem;
  text-align: center;
  color: #fff;
  line-height: 1.55;
}
.note li {
  padding: 1rem 3rem 0 3rem;
  display: flex;
  justify-content: center;
}
.note .nav-btn {
  padding: 1.4rem 1.6rem;
  background: #fff;
  color: #000;
  cursor: pointer;
  margin-top: 1rem;
  font-weight: 500;
  font-size: 1.2rem;
  border-radius: 5rem;
  transition: 0.5s;
}
.note .nav-btn:hover {
  color: #000;
  background-color: #d8e0fd;
  transform: scale(1.2);
}

.about h1 {
  margin-top: 4rem;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}
.about h2 {
  margin-top: 2.2rem;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.4;
  font-weight: 400;
}
.about p {
  padding: 0 1.2rem 0 1.2rem;
}

.whyus {
  margin-top: 4rem;
  background-color: #d8e0fd;
}

.whyus-title {
  padding: 2.6rem 3rem 0 3rem;
  font-size: 2.2rem;
  text-align: center;
}

.counter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.counter .box {
  flex-basis: 540px;
  line-height: 1.4;
  background-color: #d8e0fd;
  border-radius: 0.4rem;
  margin: 2rem;
}
.counter .box span {
  font-size: 1.3rem;
  font-weight: 700;
}
.counter .box h3 {
  padding-top: 10px;
  font-size: 1.3rem;
  font-weight: 400;
}

.accordion {
  width: 90%;
  max-width: 800px;
  margin: 2rem auto;
}

.accordion-item {
  border-radius: 0.4rem;
  margin-bottom: 1rem;
  padding: 1rem;
  color: #000;
  margin: 1rem 0;
}

.accordion-item-header {
  text-transform: none;
  font-size: 1.5rem;
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 2rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
}

.accordion-item-header::after {
  content: "+";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}

.accordion-item-header.active::after {
  content: "−";
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  text-transform: none;
  color: #000;
  font-weight: 400;
  font-size: 1.2rem;
  padding: 1rem;
  line-height: 2.5rem;
  border-top: 1px solid;
  -o-border-image: linear-gradient(to right, transparent, var(--yellow), transparent) 1;
     border-image: linear-gradient(to right, transparent, var(--yellow), transparent) 1;
}

.cards {
  margin-top: 3rem;
}
.cards h2 {
  text-align: center;
  font-weight: 600;
  font-size: 2rem;
}
.cards hr {
  border: 2px solid #000;
  border-bottom-width: 0;
  width: 120px;
  margin: 2.2rem auto 2.2rem auto;
}

.grid-body {
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.grid {
  display: grid;
  width: 114em;
  grid-gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  align-items: start;
}

.grid-item {
  background-color: #fff;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: 0.2s;
}

.grid-item:hover {
  transform: translateY(-0.5%);
}

.card-img {
  display: block;
  width: 100%;
  height: 20rem;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-content {
  padding: 3rem;
}

.card-header {
  font-size: 1.8rem;
  font-weight: 500;
  color: #000;
  margin-bottom: 1.5rem;
}

.card-text {
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  line-height: 1.7;
  color: #3d3d3d;
  margin-bottom: 2.5rem;
}

.card-btn {
  display: block;
  width: 100%;
  padding: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
  color: #000;
  background-color: #d8e0fd;
  border: none;
  border-radius: 0.4rem;
  transition: 0.2s;
  cursor: pointer;
}
.card-btn a {
  color: #000;
}

.card-btn span {
  margin-left: 1rem;
  transition: 0.2s;
}

.card-btn:hover,
.card-btn:active {
  background-color: #c2cffc;
}

.card-btn:hover span,
.card-btn:active span {
  margin-left: 1.5rem;
}

@media only screen and (max-width: 60em) {
  body {
    padding: 3rem;
  }
  .grid {
    grid-gap: 3rem;
  }
}
.contact {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #111;
}
.contact .content {
  margin-top: 4rem;
  margin-bottom: 1rem;
  padding-bottom: 20px;
}
.contact .content .title {
  text-align: center;
  text-transform: uppercase;
  color: #d8e0fd;
  font-size: 2rem;
  padding-bottom: 2rem;
  line-height: 1.2;
}
.contact .content .info a {
  text-transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: #fff;
  padding: 1rem 0;
  font-weight: 400;
}
.contact .content .info h4 {
  text-transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: #fff;
  padding: 1rem 0;
  font-weight: 400;
}
.contact .content .info .email {
  color: #ab5c46;
}
.contact .content .info .adress {
  font-weight: 400;
}

header {
  position: fixed;
  width: 100%;
  top: 0;
  background-color: #fff;
  z-index: 999;
  left: 50%;
  transform: translateX(-50%);
}

.navbar {
  margin-top: 2rem;
  text-align: center;
}
.navbar img {
  max-width: 30rem;
}
.navbar .nav a {
  color: #000;
}

.nav {
  margin-top: 2rem;
}
.nav ul {
  display: flex;
  justify-content: center;
}
.nav ul li {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.2rem;
  margin: 10px;
}

.margin-header {
  margin-top: 14rem;
}

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* media queries  */
@media (max-width: 1200px) {
  html {
    font-size: 70%;
  }
}
@media (max-width: 450px) {
  html {
    font-size: 60%;
  }
}
@media (max-width: 500px) {
  html {
    font-size: 50%;
  }
}