style.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. @font-face {
  2. font-family: 'Open Sans';
  3. src: url('./../fonts/opensans/OpenSans-Regular.eot');
  4. src: url('./../fonts/opensans/OpenSans-Regular.eot?#iefix') format('embedded-opentype'),
  5. url('./../fonts/opensans/OpenSans-Regular.woff') format('woff'),
  6. url('./../fonts/opensans/OpenSans-Regular.ttf') format('truetype');
  7. font-weight: normal;
  8. font-style: normal;
  9. }
  10. * {
  11. box-sizing: border-box;
  12. }
  13. html {
  14. font-size: 10px;
  15. }
  16. body {
  17. margin: 0;
  18. font-family: Open Sans; /*подключение шрифта*/
  19. font-size: 1.6rem;
  20. color: #333332;
  21. background: #e5e5e5;
  22. }
  23. img {
  24. max-width: 100%;
  25. }
  26. .container {
  27. width: 1170px;
  28. margin: 80px auto;
  29. background: #fff;
  30. -webkit-box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.4);
  31. -moz-box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.4);
  32. box-shadow: 0px 0px 50px 0px rgba(0,0,0,0.4);
  33. }
  34. .nav {
  35. margin: 0;
  36. list-style: none;
  37. }
  38. .nav.horizontal {
  39. display: flex;
  40. }
  41. .content {
  42. max-width: 780px;
  43. margin: auto;
  44. }
  45. /*-----------------------------header------------------------------------------------*/
  46. .header {
  47. display: flex;
  48. flex-flow: row nowrap;
  49. align-items: center;
  50. justify-content: space-between;
  51. padding: 30px 0;
  52. }
  53. .logo h1 a {
  54. color: rgba(0, 0, 0, 0.8);
  55. text-decoration: none;
  56. font-size: 1.8rem;
  57. font-weight: 600;
  58. line-height: 24px;
  59. padding-bottom: 3px;
  60. }
  61. .logo h1 a:hover {
  62. color: #000;
  63. text-transform: color 0.2s;
  64. }
  65. .logo h2 {
  66. font-family: Helvetica, sans-serif;
  67. font-size: 1.2rem;
  68. font-weight: 300;
  69. line-height: 18px;
  70. padding-bottom: 3px;
  71. }
  72. .header .mainmenu ul a {
  73. text-transform: uppercase;
  74. padding: 7px 8px;
  75. font-size: 1.4rem;
  76. font-weight: 600;
  77. text-decoration: none;
  78. color: rgba(69, 69, 69, 0.8);
  79. }
  80. .header .mainmenu ul a:hover {
  81. color: #000;
  82. }
  83. .header .mainmenu ul .active a {
  84. color: #000;
  85. }
  86. /*-----------------------------slider------------------------------------------------*/
  87. .slider {
  88. background: url(../img/slider.jpeg) no-repeat top -250px center / cover; /*-первый слой*/
  89. background-color: rgba(0,0,0,0.5); /*-второй слой*/
  90. background-blend-mode: multiply; /*- наложение слоев со свойством*/
  91. height: 400px;
  92. width: 100%;
  93. display: flex;
  94. flex-flow: column;
  95. justify-content: center;
  96. align-items: center;
  97. }
  98. .slider h1 {
  99. font-size: 4rem;
  100. font-family: Domine, sans-serif;
  101. text-shadow: 0px 2px 25px rgba(0, 0, 0, 0.3);
  102. color: #fff;
  103. }
  104. .slider h2 {
  105. font-family: Helvetica, sans-serif;
  106. font-size: 2.4rem;
  107. text-shadow: 0px 2px 20px rgba(0, 0, 0, 0.15);
  108. color: rgba(255, 255, 255, 0.8);
  109. }
  110. .slider h2:hover {
  111. color: #fff;
  112. }
  113. /*-----------------------------main-cont------------------------------------------------*/
  114. main p, img {
  115. padding: 15px 0;
  116. }
  117. .main-cont {
  118. padding: 60px 0;
  119. background: #fff;
  120. line-height: 38px;
  121. }
  122. main p:first-child {
  123. font-weight: bold;
  124. }
  125. main .caption {
  126. color: #ababab;
  127. font-family: Arial, sans-serif;
  128. font-size: 1.4rem;
  129. line-height: 26px;
  130. text-align: center;
  131. }
  132. /*-----------------------------footer------------------------------------------------*/
  133. .fcontent {
  134. width: 1170px;
  135. margin: auto;
  136. }
  137. footer .copyright {
  138. background: rgba(0, 0, 0, 0.85);
  139. color: #a6a6a6;
  140. padding: 25px 0;
  141. text-align: center;
  142. }
  143. p span {
  144. color: rgb(194, 205, 205);
  145. }
  146. footer .social {
  147. padding: 30px 0;
  148. background: rgba(0, 0, 0, 0.9);
  149. display: flex;
  150. flex-flow: row nowrap;
  151. justify-content: center;
  152. }
  153. footer .social a {
  154. text-decoration: none;
  155. margin: 3px;
  156. width: 40px;
  157. height: 40px;
  158. text-align: center;
  159. line-height: 2.4;
  160. border-radius: 3px;
  161. color: #fff;
  162. }
  163. footer .social a.tw {
  164. background: #00b0ef;
  165. }
  166. footer .social a.bh {
  167. background: #0066ff;
  168. }
  169. footer .social a.dr {
  170. background: #0083d1;
  171. }
  172. footer .social a.fb {
  173. background: #265999;
  174. }
  175. footer .social a.rs {
  176. background: #ff7600;
  177. }
  178. footer .social a:hover {
  179. background: rgba(0, 0, 0, 1);
  180. }