* {
  padding: 0;
  margin: 0;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

body {
  overflow-x: hidden !important;
  font-family: 'Lato', sans-serif !important;
}

a {
  color: #333 !important;
}
a:focus,
a:hover {
  color: #0090ce !important;
  cursor: pointer;
  text-decoration: none !important;
}
ul {
  list-style-type: none;
  line-height: 1.5;
  margin-bottom: 0 !important;
}
h1 {
  text-transform: uppercase;
  font-size: 2em !important;
  position: relative;
  line-height: 1.3 !important;
}

h4 {
  text-align: center;
  line-height: 1.8 !important;
}

h1::before {
  content: '';
  background-color: #1fa4dd;
  height: 4px;
  width: 150px;
  position: absolute;
  bottom: -20px;
  left: 130px;
}
h3 {
  text-transform: uppercase;
  font-size: 2em !important;
  position: relative;
  line-height: 1.3 !important;
}
h3::before {
  content: '';
  background-color: #1fa4dd;
  height: 4px;
  width: 100%;
  position: absolute;
  bottom: 10px;
}
.container {
  padding: 30px 0;
}
/* phone */

.errorMessage {
  color: red;
}
/* navigation   */
.nav-toggler {
  display: none;
}

.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-toggler:focus-visible {
  outline: none;
}
.nav-toggler {
  border: none;
  padding: 5px;
  background-color: transparent;
  cursor: pointer;
  height: 39px;
  z-index: 50;
}
.nav-toggler span,
.nav-toggler span:before,
.nav-toggler span:after {
  width: 28px;
  height: 3px;
  background-color: #21a4de;
  display: block;
  transition: 0.3s;
}
.nav-toggler span:before {
  content: '';
  transform: translateY(-9px);
}
.nav-toggler span:after {
  content: '';
  transform: translateY(6px);
}
.nav-toggler.toggler-open span {
  background-color: transparent;
}
.nav-toggler.toggler-open span:before {
  transform: translateY(0px) rotate(45deg);
}
.nav-toggler.toggler-open span:after {
  transform: translateY(-3px) rotate(-45deg);
}
@-webkit-keyframes pulse {
  0% {
    -webkit-transform: scale(0);
    opacity: 0;
  }
  25% {
    -webkit-transform: scale(0.3);
    opacity: 1;
  }
  50% {
    -webkit-transform: scale(0.6);
    opacity: 0.6;
  }
  75% {
    -webkit-transform: scale(0.9);
    opacity: 0.3;
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  25% {
    transform: scale(0.3);
    opacity: 1;
  }
  50% {
    transform: scale(0.6);
    opacity: 0.6;
  }
  75% {
    transform: scale(0.9);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
/* end phone */
/*nav*/
nav ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
nav ul li {
  font-size: 18px;
  padding: 15px;
  display: block;
}
nav ul li:hover {
  color: #0090ce;
  cursor: pointer;
}
.menu img {
  height: 60px;
  width: auto;
}
.menu {
  position: fixed;
  background: white;
  border-bottom: 2px solid lightgrey;
  z-index: 10;
  width: 100%;
  padding: 0 80px;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* end nav */

/* hero  */
.carousel {
  margin-top: 60px;
}
.hero-container {
  display: grid !important;
  position: absolute;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(12, 1fr) !important;
  grid-template-rows: repeat(6, 1fr) !important;
}
.text-container {
  grid-row: 3/6;
  grid-column: 2/6;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 2.6em;
  color: white;
  text-shadow: 2px 2px 2px black;
  position: relative;
}
.text-slider-top {
  animation: up 1s linear;
  animation-fill-mode: forwards;
}
.line-hero {
  width: 0px;
  height: 3px;
  margin: 10px 0;
  box-shadow: 2px 2px 2px black;
  background-color: white;
  animation: centers 1s linear;
  animation-fill-mode: forwards;
}
.text-slider-down {
  animation: down 1s linear;
  animation-fill-mode: forwards;
  opacity: 1;
  margin-bottom: 10px;
}

.button-offert {
  margin-bottom: 30px;
  padding: 5px 8px;
  border: 2px solid white;
  box-shadow: 2px 2px 2px black;
  border-radius: 35px;
  font-size: 0.5em;
  background-color: transparent;
  animation: button 1s linear;
  animation-fill-mode: forwards;
}
.button-offert:hover {
  background-color: white;
  color: #1fa4dd;
}

@keyframes centers {
  0% {
    width: 0px;
  }

  100% {
    width: 380px;
  }
}

@keyframes up {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes down {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@-webkit-keyframes zoom {
  from {
    -webkit-transform: scale(1, 1);
  }

  to {
    -webkit-transform: scale(1.2, 1.2);
  }
}

@keyframes zoom {
  from {
    transform: scale(1, 1);
  }

  to {
    transform: scale(1.2, 1.2);
  }
}

@keyframes button {
  0% {
    margin-bottom: 0px;
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    margin-bottom: 30px;
    opacity: 1;
  }
}
/* end hero */

/* first section */
.first-section {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.logo {
  grid-row: 1;
  grid-column: 6/8;
  display: flex;
  padding-bottom: 30px;
  justify-content: center;
}
.logo img {
  max-width: 120px;
}
.section-first-left {
  grid-row: 2/6;
  grid-column: 1/6;
  padding: 15px;
}
.section-first-left p {
  font-size: 1.5em;
  padding-top: 40px;
}
.section-first-right {
  grid-row: 2/6;
  grid-column: 7/13;
  padding: 15px;
}
.section-first-right img {
  width: 100%;
}
.section-second {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.section-second h4 {
  grid-row: 1;
  grid-column: 1/12;
  font-size: 1.8em;
}
.section-second ul {
  font-size: 1.1em;
  z-index: 2;
}
.section-second-left {
  grid-row: 2/6;
  grid-column: 3/7;
  padding: 15px;
}
.section-second-right {
  grid-row: 2/6;
  grid-column: 8/13;
  padding: 15px;
}
.logo-nfz {
  grid-row: 5;
  grid-column: 5/9;
  display: flex;
  justify-content: center;
  opacity: 0.5;
}
.logo-nfz img {
  width: 100%;
}
.neuromen {
  width: 250px;
  position: absolute;
  left: -85px;
}
.pattern {
  width: 100%;
  padding: 60px 0;
  background-image: url(../img/pattern.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
.pattern p {
  text-align: center;
  font-size: 2.3em;
  color: white;
  text-shadow: 2px 2px 3px #000000;
}
.section-third {
  display: grid;
  padding: 50px 0;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.list-guarantee {
  grid-row: 1/3;
  grid-column: 2/12;
}
.list-guarantee p {
  font-size: 1.5em;
}
.list-guarantee ul {
  font-size: 1.4em;
}
.section-third img {
  grid-row: 1/3;
  grid-column: 10/12;
}
.transport {
  width: 100%;
  padding: 60px 0;
  background-image: url(../img/transport.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #65656582;
  background-blend-mode: multiply;
}
.transport p {
  text-align: center;
  font-size: 2.3em;
  color: white;
  text-shadow: 2px 2px 3px #000000;
}
/* PARTNERS  */
.partners-background {
  background-color: #eff9fd;
}
.partners {
  position: relative;
  display: flex;
  padding: 60px 0;
  justify-content: center;
  flex-direction: column;
}
.line {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.content_logo {
  width: 20%;
  height: 180px;
  min-width: 180px;
  background-color: #bbe4f5;
  margin: 15px;
  border-radius: 5px;
  box-shadow: 3px 3px 3px #00000057;
  position: relative;
}

.logo-partner {
  width: 180px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* CONTACTS */
.contact-map {
  grid-row: 2/6;
  grid-column: 7/13;
  padding: 15px;
}
.contact-title {
  grid-row: 1;
  display: flex;
  justify-content: center;
  grid-column: 2/4;
}
.contact-title h3 {
  height: 50px;
}
.contact-map img {
  width: 100%;
}
.contact-form {
  grid-row: 2/6;
  display: flex;
  flex-direction: column;
  grid-column: 1/7;
}
/* form    */
.btn-modal {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 5%;
  color: white;
}

.inp-contact {
  background-image: none !important;
  border: 2px solid #1fa4dd !important;
  border-radius: 35px !important;
  color: #1fa4dd !important;
  margin-left: 50%;
  transform: translate(-50%, 50%);
}

.inp-contact:hover {
  background-image: none !important;
  border-radius: 35px !important;
  color: #fff !important;
  background-color: #1fa4dd !important;
}

.alert-modal {
  width: 100%;
  margin-bottom: 15px;
}
/* end form  */

.contact-section {
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
}
.contact {
  margin: 15px 0;
}

/* footer */

.footer-section {
  padding: 25px;
  display: grid;

  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
}
.footer-text {
  grid-row: 1/3;
  display: flex;
  color: white;
  flex-direction: column;
  text-shadow: 2px 2px 2px rgb(65, 65, 65);
  grid-column: 1/5;
}

.footer-contacts {
  grid-row: 1/3;
  display: flex;
  text-shadow: 2px 2px 2px rgb(65, 65, 65);
  color: white;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: 8/13;
}

.logo-footer {
  width: 155px;
  padding: 15px 0;
}
footer {
  background-image: url(../img/footer.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-color: #1fa4dd82;
  background-blend-mode: multiply;
  left: -50px;
}
.developer {
  color: black;
  background-color: white;
  padding: 5px;
  text-align: center;
  position: relative;
}

/*Helper*/

.rental {
  width: 100%;
  padding: 60px 0;
  margin-top: 60px;
  background-image: url(../img/neuromedical.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-blend-mode: multiply;
  background-position-y: -240px;
}
.rental-bg {
  background-color: lightblue;
}
.rental p {
  text-align: center;
  font-size: 2.3em;
  color: white;
  text-shadow: 2px 2px 3px #000000;
}
.content_products {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-around;
  flex-basis: 20%;
}

.content_items {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 200px;
  border: 1px solid black;
  width: 24%;
  height: 200px;
  position: relative;
  cursor: pointer;
  margin-top: 10px;
}

.content_items:hover {
  /* background-color: #1fa4dd; */
  z-index: 2;
}

.text_items {
  width: 100%;
  position: absolute;
  top: 50%;
  text-align: center;
  transform: translate(0, -50%);
  color: white;
}

.items_foto {
  position: absolute;
  overflow: hidden;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}
.items_foto img {
  height: 100%;
}

.background_items {
  position: absolute;
  background-color: #1fa4dd;
  bottom: 0;
  height: 20%;
  width: 100%;
}
.phone-call img {
  margin-top: -15px;
}

.phone-call {
  display: none;
  width: 50px;
  height: 50px;
  right: 20px;
  bottom: 20px;
  background: #21a4de;
  position: fixed;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  border-radius: 50%;
  z-index: 99;
  line-height: 65px;
}
.phone-call:before {
  position: absolute;
  content: ' ';
  z-index: -1;
  top: -15px;
  left: -15px;
  background-color: #21a4de;
  width: 80px;
  height: 80px;
  border-radius: 100%;
  animation-fill-mode: both;
  -webkit-animation-fill-mode: both;
  opacity: 0.6;
  -webkit-animation: pulse 1s ease-out;
  animation: pulse 1.8s ease-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

.branches {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 1fr);
}
.branches-list {
  grid-row: 2/4;
  grid-column: 8/13;
}
.branches-title {
  grid-row: 1/2;
  display: flex;
  justify-content: center;
  grid-column: 2/4;
  align-items: center;
}
.branches-title h3 {
  height: 50px;
}
.branches-list h4 {
  font-size: 1.8em;
}
.branches-map {
  grid-row: 2/5;
  grid-column: 1/7;
}
.branches-list p {
  font-size: 1.5em;
  margin-top: 15px;
  font-weight: 700;
}
.branches-map img {
  width: 100%;
}
.branches-list ul li {
  font-size: 1.4em;
  padding: 5px 0;
}
.branches-list ul li img {
  margin-top: -3px;
  max-width: 15px;
}

@media (max-width: 1100px) {
  .first-section {
    grid-template-rows: repeat(4, 1fr);
  }
  .logo {
    grid-row: 1/1;
  }
  .section-first-left {
    grid-column: 1/8;
    grid-row: 2/4;
  }
  .section-first-right {
    grid-column: 9/13;
    grid-row: 2/4;
  }
}
@media (max-width: 998px) {
  .logo {
    padding: 0;
    grid-row: 1/1;
  }
  .section-first-left {
    grid-column: 1/12;
    grid-row: 2/6;
  }
  .section-first-right {
    grid-column: 1/13;
    grid-row: 7/12;
  }
  nav ul li {
    padding: 22px 8px;
    font-size: 14px;
  }
  .menu {
    padding: 0 60px;
  }
}
@media (max-width: 720px) {
  .logo {
    padding: 0;
    grid-row: 1/1;
  }
  .text-container {
    display: none;
  }
  .menu {
    padding: 0 20px;
  }
  .nav-toggler {
    display: block;
  }
  nav ul li {
    padding: 22px 8px;
    font-size: 20px;
  }
  nav ul li a {
    color: white !important;
  }
  .carousel-indicators {
    z-index: 2 !important;
  }
  .phone-call {
    display: inline-block;
  }
  .section-first-left {
    grid-column: 1/12;
    grid-row: 2/6;
  }
  .section-first-right {
    grid-column: 1/13;
    grid-row: 7/12;
  }
  .logo-nfz {
    grid-column: 2/12;
    grid-row: 6;
    max-height: 150px;
  }

  .site-navbar ul {
    position: absolute;
    width: 100%;
    height: calc(100vh - 60px);
    left: 0;
    top: 60px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #444;
    background-color: rgba(0, 0, 0, 0.85);
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
  }

  .site-navbar ul.open {
    max-height: 100vh;
    overflow: visible;
  }
}
@media (max-width: 490px) {
  .logo {
    padding: 0;
    grid-row: 1/1;
  }
  .section-first-left {
    grid-column: 1/12;
    grid-row: 2/6;
  }
  .section-first-right {
    grid-column: 1/12;
    grid-row: 7/12;
  }

  .section-second-left {
    grid-column: 2/12;
    grid-row: 2/4;
  }
  .section-second-right {
    grid-column: 2/12;
    grid-row: 4/6;
  }
  .section-second h4 {
    grid-column: 1/12;
    grid-row: 1/1;
    z-index: 2;
  }
  .logo-nfz {
    grid-column: 2/12;
    grid-row: 6;
    max-height: 150px;
  }
  .paralax-effect p {
    font-size: 1.2em;
  }
  .pattern {
    padding: 0;
  }
  .section-third img {
    grid-row: 3/3;
    width: 100%;
  }
  .contact-title {
    grid-column: 2/12;
    grid-row: 1/1;
  }
  .contact-form {
    grid-column: 2/12;
    grid-row: 2/5;
  }
  .contact-map {
    grid-column: 2/12;
    grid-row: 5/7;
  }
  .contact-map img {
    width: 100%;
  }
  .footer-text {
    grid-column: 2/12;
    grid-row: 1/3;
  }
  .footer-contacts {
    grid-column: 2/12;
    grid-row: 4/7;
  }
  .branches-title {
    grid-column: 2/12;
    grid-row: 1;
  }
  .branches-list {
    grid-column: 2/12;
    grid-row: 2/5;
  }
  .branches-map {
    grid-column: 2/12;
    grid-row: 5/7;
  }
  .branches-map img {
    width: 100%;
  }
}
