/*##########   Содержание страницы    #############*/
header,
nav,
footer {
  display: block;
}

body {
  line-height: 1;
  margin: 0;
  background-color: #fff;
  font-family: "Roboto", sans-serif, serif;
}

* {
  box-sizing: border-box;
}

.container {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}

.hrStyling {
  margin-top: -30px;
  margin-bottom: 60px;
  width: 120px;
  height: 8px;
  border-radius: 50px;
  background-image: linear-gradient(to right, #33ccff 0%, #ff99cc 100%);
}
.textcolor {
  color: #333366;
  background-color: #CC9966;
}

.dropdownicon {
  display: none;
}
/*#####################NavBar и секции#######################*/

.navbar {
  margin: 0;
  margin-top: 0px;
  padding: 0;
  width: 100%;
  background-color: #000;
  top: 0;
  position: sticky;
  z-index: 1000;
}

.ulNavbar {
  margin: 0 150px;
  padding: 10px;
  background-color: #000;
  overflow: hidden;
}

.ulNavbar li.navLeft {
  margin-left: 20px;
  float: left;
  max-width: 100%;
  height: 90px;
}

.ulNavbar img {
  max-width: 100%;
  height: 130px;
  margin-top: -20px;
}

.ulNavbar li {
  list-style-type: none;
  float: right;
}

.navRight {
  margin-top: 25px;
  font-weight: 900;
  line-height: 2;
  font-size: 17px;
}

.ulNavbar li a {
  padding: 10px 20px;
  text-decoration: none;
  color: #fff;
  display: inline-block;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: 0.5s;
}
.ulNavbar li a.active {
  border-bottom: 1px solid #fff;
}
.ulNavbar li a:hover {
  border-bottom: 1px solid #fff;
}

/*////////////////////////Секция5////////////////////////////////////*/
.container h1 {
  margin-top: -20px;
  text-align: center;
  font-size: 72px;
  padding-top: 20px;
  background: -webkit-linear-gradient(#33ccff, #ff99cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

ul {
  list-style: none;
  padding: 0;
}

.brand {
  text-align: center;
}

.brand span {
  color: #fff;
}

.wrapper {
  box-shadow: 0 0 20px 0 rgba(72, 94, 116, 0.7);
}

.wrapper > * {
  padding: 1em;
}

.company-info {
  background: #c9e6ff;
}

.company-info h3,
.company-info ul {
  text-align: center;
  margin: 0 0 1rem 0;
}

.contact {
  background: #f9feff;
}

/* FORM STYLES */
.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.contact form label {
  display: block;
}

.contact form p {
  margin: 0;
}

.contact form .full {
  grid-column: 1 / 3;
}

.contact form button,
.contact form input,
.contact form textarea {
  width: 100%;
  padding: 1em;
  border: 1px solid #c9e6ff;
}

.contact form button {
  background: #c9e6ff;
  border: 0;
  text-transform: uppercase;
}

.contact form button:hover,
.contact form button:focus {
  background: #92bde7;
  color: #fff;
  outline: 0;
  transition: background-color 2s ease-out;
}

.alert {
  text-align: center;
  padding: 10px;
  background: #79c879;
  color: #fff;
  margin-bottom: 10px;
  display: none;
  animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
}

/*////////////////////////////Подвал//////////////////////////////*/

footer .container1 {
  background-color: #000;
  margin-bottom: 0px;
  padding: 20px;
}

footer p {
  text-align: center;
  color: #fff;
}

/*//////////////////// Медиа область /////////////////*/

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .navRight {
    display: none;
  }

  .dropdownicon {
    display: block;
    position: absolute;
    top: 30px;
    right: 0;
  }
  .navLeft img {
    margin-left: 0px;
    max-width: 100%;
  }

  ul.ulNavbar.responsive li.dropdownicon {
    top: 25px;
    right: 0;
    position: absolute;
  }

  ul.ulNavbar.responsive li {
    float: none;
    display: flex;
  }

  ul.ulNavbar.responsive li a {
    display: block;
  }

  .container h1 {
    font-size: 50px;
  }
}

@media (min-width: 700px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 60px;
  }

  .wrapper > * {
    padding: 2em;
  }

  ul li {
    margin-top: 50px;
  }

  .company-info h3,
  .company-info ul,
  .brand {
    text-align: left;
  }

  footer .container1 {
    background-color: #000;
    margin-bottom: 0px;
    max-width: 100%;
    padding: 20px;
  }

  footer p {
    text-align: center;
    color: #fff;
  }
}

/* ///////////////////////////////KeyFrame////////////////////////////// */

@keyframes fadeIn {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
