all.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. $header-color: #d4d5d7;
  2. $main-title-color: #3b3b3b;
  3. $main-text-color: #101010;
  4. $main-color: #789084;
  5. $hover-color: #b1e8ca;
  6. $opacity-color: rgba(17,17,17,0.7);
  7. //
  8. body {
  9. font-family: 'Lato', sans-serif;
  10. font-size: 16px;
  11. }
  12. // .main {
  13. // background-color: $hover-color;
  14. // }
  15. .container {
  16. background-image: url(../assets/images/fon1.jpg);
  17. background-size: cover;
  18. }
  19. .wrapper {
  20. max-width: 1180px;
  21. margin: 0 auto;
  22. }
  23. // header + navigation
  24. .header {
  25. width: 100%;
  26. padding: 10px;
  27. display: flex;
  28. justify-content: space-around;
  29. flex-wrap: wrap;
  30. margin: 0 auto;
  31. vertical-align: middle;
  32. font-weight: 700;
  33. background-color: $opacity-color;
  34. position: fixed;
  35. top: 0;
  36. z-index: 99999;
  37. & .nav {
  38. margin-top: 25px;
  39. font-size: 14px;
  40. line-height: 24px;
  41. font-weight: bold;
  42. letter-spacing: 0.075em;
  43. @media (max-width: 768px) {
  44. margin-top: 10px;
  45. }
  46. }
  47. & .list {
  48. list-style: none;
  49. padding: 2px;
  50. margin: 0;
  51. display: flex;
  52. justify-content: space-between;
  53. flex-wrap: wrap;
  54. text-transform: uppercase;
  55. }
  56. & .item {
  57. padding: 0;
  58. &:not(:last-child) {
  59. margin-right: 25px;
  60. @media (max-width: 768px) {
  61. // margin-right: 10px;
  62. }
  63. }
  64. &:last-child a {
  65. color: $hover-color;
  66. &:hover {
  67. color: $main-title-color;
  68. }
  69. }
  70. a {
  71. text-decoration: none;
  72. color: $header-color;
  73. &:hover {
  74. color: $hover-color;
  75. }
  76. }
  77. }
  78. .logo-box {
  79. margin-right: 50px;
  80. @media (max-width: 768px) {
  81. margin-right: 0;
  82. }
  83. }
  84. .logo-box img {
  85. width: 100px;
  86. @media (max-width: 768px) {
  87. // width: 150px;
  88. }
  89. }
  90. }
  91. // banner + title
  92. .title-box {
  93. color: $header-color;
  94. margin: 0px 40px;
  95. padding-bottom: 45px;
  96. display: flex;
  97. flex-direction: column;
  98. text-align: center;
  99. @media (max-width: 768px) {
  100. width: 100%;
  101. margin: 0;
  102. }
  103. img {
  104. margin: 150px auto 30px;
  105. @media (max-width: 768px) {
  106. max-width: 200px;
  107. }
  108. }
  109. h1{
  110. text-transform: uppercase;
  111. background-color: $opacity-color;
  112. font-size: 52px;
  113. padding: 35px;
  114. line-height: 50px;
  115. font-weight: bold;
  116. margin: 70px auto 0;
  117. text-align: center;
  118. @media (max-width: 768px) {
  119. font-size: 30px;
  120. padding: 15px;
  121. }
  122. }
  123. }
  124. // button
  125. .btn {
  126. min-height: 50px;
  127. width: 70%;
  128. margin: 20px auto;
  129. color: $main-color;
  130. text-transform: uppercase;
  131. text-decoration: none;
  132. letter-spacing: 0.05em;
  133. font-size: 15px;
  134. font-weight: bold;
  135. line-height: 35px;
  136. border: none;
  137. border-radius: 2px;
  138. background-color: $hover-color;
  139. transition-duration: 0.4s;
  140. &:hover {
  141. box-shadow: none;
  142. background-color: $opacity-color;
  143. color: $header-color;
  144. }
  145. &:focus {
  146. outline: none;
  147. }
  148. @media (max-width: 768px) {
  149. width: 100%;
  150. margin: 25px auto;
  151. }
  152. }
  153. // section About Us
  154. .aboutsection,
  155. .team-container,
  156. h2 {
  157. font-size: 20px;
  158. line-height: 1.5em;
  159. font-family: 'Montserrat', sans-serif;
  160. color: $main-color;
  161. text-align: justify;
  162. border-bottom: 1px solid $opacity-color;
  163. padding-bottom: 50px;
  164. @media (max-width: 768px) {
  165. padding: 3px;
  166. margin: 25px 10px;
  167. }
  168. }
  169. h2 {
  170. // border: none;
  171. font-size: 36px;
  172. padding-bottom: 2px;
  173. }
  174. // second banner
  175. .case {
  176. position: relative;
  177. .banner {
  178. display: block;
  179. width: 100%;
  180. margin: 15px auto;
  181. }
  182. .button-box {
  183. position: absolute;
  184. top: 70%;
  185. right: 0%;
  186. height: 90px;
  187. width: 100%;
  188. background-color: rgba(255,255,255,0.4);
  189. margin: 20px 0;
  190. text-align: right;
  191. .btn {
  192. width: 35%;
  193. margin: 20px 10px;
  194. }
  195. @media (max-width: 768px) {
  196. top: 50%;
  197. }
  198. }
  199. }
  200. // shortly about doctors
  201. .team-container {
  202. color: $main-color;
  203. display: flex;
  204. flex-wrap: wrap;
  205. justify-content: space-between;
  206. padding-bottom: 50px;
  207. .item {
  208. width: 25%;
  209. margin: 10px;
  210. text-align: center;
  211. display: flex;
  212. flex-direction: column;
  213. border-radius: 5px;
  214. box-shadow: 0px 2px 8px 1px $main-color;
  215. .photo {
  216. overflow: hidden;
  217. height: 45%;
  218. border-radius: 5px;
  219. }
  220. .link-box {
  221. margin-top: 20px;
  222. }
  223. .link {
  224. width: 100%;
  225. display: block;
  226. padding: 15px 2px;
  227. }
  228. .more {
  229. background-color: $opacity-color;
  230. &:hover {
  231. background-color: $main-color;
  232. }
  233. }
  234. @media (max-width: 768px) {
  235. width: 45%;
  236. }
  237. @media (max-width: 630px) {
  238. width: 100%;
  239. }
  240. }
  241. }
  242. // _____________________
  243. // footer {
  244. // background-color: $footer-color;
  245. // padding: 60px 25px;
  246. // color: $header-color;
  247. // .wrapper {
  248. // display: flex;
  249. // justify-content: space-between;
  250. // @media (max-width: 768px) {
  251. // flex-direction: column;
  252. // align-items: center;
  253. // .logo-box {
  254. // display: none;
  255. // }
  256. // }
  257. // .contacts {
  258. // position: relative;
  259. // }
  260. // }
  261. // .nav {
  262. // font-family: 'PT Serif', serif;
  263. // margin-top: 25px;
  264. // font-size: 13px;
  265. // line-height: 21px;
  266. // letter-spacing: 0.075em;
  267. // @media (max-width: 768px) {
  268. // margin-top: 10px;
  269. // }
  270. // .list {
  271. // list-style: none;
  272. // padding: 2px;
  273. // margin: 0;
  274. // display: flex;
  275. // flex-direction: column;
  276. // justify-content: space-between;
  277. // flex-wrap: wrap;
  278. // text-transform: uppercase;
  279. // }
  280. // }
  281. // .item {
  282. // padding: 0;
  283. // &:not(:last-child) {
  284. // // margin-right: 25px;
  285. // @media (max-width: 768px) {
  286. // // margin-right: 10px;
  287. // }
  288. // }
  289. // a {
  290. // text-decoration: none;
  291. // color: $header-color;
  292. // &:hover {
  293. // color: $hover-color;
  294. // }
  295. // }
  296. // }
  297. // }
  298. // h5 {
  299. // font-size: 16px;
  300. // line-height: 24px;
  301. // font-weight: bold;
  302. // text-transform: uppercase;
  303. // // }
  304. // footer {
  305. // .logo-box,
  306. // .footer-nav,
  307. // .contacts {
  308. // width: 25%;
  309. // @media (max-width: 768px) {
  310. // align-self: center;
  311. // width: 50%;
  312. // }
  313. // }
  314. // span {
  315. // color: $header-color;
  316. // &:hover {
  317. // color: $hover-color;
  318. // }
  319. // }
  320. // }