/* Общие настройки */

html {
  box-sizing: border-box;
  font-size: 0;
  font-weight: inherit;
}

body {
  margin: 0;
  padding: 0;
}

/* Подключаем шрифты */

/* montserrat-regular - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  src: local("Montserrat Regular"), local("Montserrat-Regular"),
    url("../fonts/montserrat-v14-latin-regular.woff2") format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/montserrat-v14-latin-regular.woff") format("woff"); /* Modern Browsers */
}
/* montserrat-700 - latin */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  src: local("Montserrat Bold"), local("Montserrat-Bold"),
    url("../fonts/montserrat-v14-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/montserrat-v14-latin-700.woff")
      format("woff"); /* Modern Browsers */
}

/* roboto-slab-regular - latin */
@font-face {
  font-family: "Roboto Slab";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/roboto-slab-v9-latin-regular.eot"); /* IE9 Compat Modes */
  src: local("Roboto Slab Regular"), local("RobotoSlab-Regular"),
    url("../fonts/roboto-slab-v9-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/roboto-slab-v9-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("../fonts/roboto-slab-v9-latin-regular.woff") format("woff"),
    /* Modern Browsers */ url("../fonts/roboto-slab-v9-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/roboto-slab-v9-latin-regular.svg#RobotoSlab") format("svg"); /* Legacy iOS */
}

/* Общая обертка */
.wrapper {
  width: 1400px;
  margin: 0 auto;
}



/* Хеддер */
.nav-wrapper {
  width: 940px;
  position: relative;
  background-color: #fff;
  margin-left: auto;
  margin-right: auto;

}


.logo-width {
  width: 455px;
  height:41px;
  position: relative;
}

.img-logo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 7px;
  width: 81px;
  height: 29px;
}

.menu {
  border: none;
  width: 940px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  line-height: 41px;
  list-style: none outside;
  background-color: #fff;
  margin: 0;
  padding: 0;

  position: fixed;
  top:0;
  left: 0;
  right: 0;
  padding-top:45px;
  margin-right: auto;
  margin-left: auto;
  z-index: 997;
}

.menu-item {
  font-size: 14px;
  color: #222222;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  background-color: white;
}

.menu-item:hover {
  color: #fed136;
}

/* Секция Сервис */

.service {
  width: 940px;
  margin: 0 auto;
}

.title {
  font-size: 40px;
  margin-top: 136px;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
  color: #222222;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.subtitle {
  font-size: 16px;
  margin: 0;
  margin-top: 17px;
  text-align: center;
  color: #777777;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

.service-box {
  margin-top: 78px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  
}

.service-item {
  width: 325px;
}

.circle {
  width: 70px;
  height: 70px;
  border: 3px solid #fed136;
  background-color: #fff;
  border-radius: 50%;
  margin: auto auto;
  position: relative;
}

.img-service {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto auto;
}

.service-title {
  font-size: 18px;
  line-height: 18px;
  color: #222222;
  text-align: center;
  margin-top: 28px;
  text-transform: capitalize;
  font-family: Montserrat, sans-serif;
  font-weight: 400;

}
.service-item:hover .service-title {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.service-description {
  font-size: 14px;
  color: #777777;
  text-align: center;
  margin-top: 18px;
  font-family: Roboto Slab, sans-serif;
  font-weight: 400px;
}

/* Футтер */
.fotter {
  width: 100%;
  height: 676px;
  background-color: #222222;
  margin-top: 123px;
  position: relative;
}

.title-1 {
  font-size: 40px;
  margin: 0;
  padding-top: 96px;
  margin-bottom: 0;
  text-align: center;
  text-transform: uppercase;
  color: white;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

.subtitle-1 {
  font-size: 16px;
  margin: 0;
  margin-top: 17px;
  text-align: center;
  color: white;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

.img-map {
  position: absolute;
  right: 0;
  bottom: 20px;
}

table {
  width: 940px;
  font-size: 14px;
  border: none;
  margin: auto auto;
  text-align: center;
  margin-top: 75px;
  position: relative;
  border-collapse: collapse;
}

.message {
  width: 100%;
  height: 204px;
  font-size: 14px;
  color: black;
  border: 1px solid #cccccc;
  outline: none;
  resize: none;
  border-radius: 4px;
  padding-left: 20px;
  padding-top: 17px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

textarea::placeholder {
  font-size: 14px;
  color: #cccccc;
  text-transform: uppercase;
}

textarea:valid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px green;
}

textarea:invalid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px red;
}

.name {
  width: 100%;
  height: 50px;
  font-size: 14px;
  color: black;
  border: 1px solid #cccccc;
  outline: none;
  border-radius: 4px;
  padding-left: 20px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

input[type="text"]::placeholder {
  font-size: 14px;
  color: #cccccc;
  text-transform: uppercase;
}

input[type="text"]:valid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px green;
}

input[type="text"]:invalid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px red;
}

.email {
  width: 100%;
  height: 50px;
  font-size: 14px;
  color: black;
  border: 1px solid #cccccc;
  outline: none;
  border-radius: 4px;
  padding-left: 20px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

input[type="email"]::placeholder {
  font-size: 14px;
  color: #cccccc;
  text-transform: uppercase;
}

input[type="email"]:valid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px green;
}

input[type="email"]:invalid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px red;
}

.subject {
  width: 100%;
  height: 50px;
  font-size: 14px;
  color: black;
  border: 1px solid #cccccc;
  outline: none;
  border-radius: 4px;
  padding-left: 20px;
  box-sizing: border-box;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
}

input[type="text"]::placeholder {
  font-size: 14px;
  color: #cccccc;
  text-transform: uppercase;
}

input[type="subject"]:valid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px green;
}

input[type="subject"]:invalid:not(:placeholder-shown) {
  box-shadow: 0 0 0 3px red;
}

.button {
  width: 240px;
  height: 65px;
  color: white;
  background-color: #fed136;
  font-size: 18px;
  border-radius: 4px;
  border: none;
  outline: none;
  text-transform: uppercase;
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  box-shadow: none;
}
