all.scss 6.3 KB

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