all.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  1. $header-color: #d4d5d7;
  2. $main-title-color: #3b3b3b;
  3. $main-color: #789084;
  4. $hover-color: #b1e8ca;
  5. $opacity-color: rgba(17,17,17,0.8);
  6. //
  7. body {
  8. font-family: 'Lato', sans-serif;
  9. font-size: 16px;
  10. }
  11. .main {
  12. background-image: url(../assets/images/fon6.jpg);
  13. background-size: cover;
  14. background-attachment: fixed;
  15. min-height: 100vh;
  16. scroll-behavior: smooth;
  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: #4dea94;
  78. }
  79. }
  80. a {
  81. text-decoration: none;
  82. font-family: 'Montserrat', sans-serif;
  83. color: $header-color;
  84. padding: 20px 3px;
  85. &:hover {
  86. color: $hover-color;
  87. }
  88. }
  89. }
  90. .logo-box {
  91. margin-right: 50px;
  92. @media (max-width: 768px) {
  93. margin-right: 0;
  94. }
  95. }
  96. .logo-box img {
  97. width: 100px;
  98. @media (max-width: 768px) {
  99. // width: 150px;
  100. }
  101. }
  102. }
  103. // banner + title
  104. .title-box {
  105. color: $header-color;
  106. margin: 0px 40px;
  107. padding-bottom: 45px;
  108. display: flex;
  109. flex-direction: column;
  110. text-align: center;
  111. @media (max-width: 768px) {
  112. width: 100%;
  113. margin: 0;
  114. }
  115. img {
  116. margin: 150px auto 30px;
  117. max-width: 350px;
  118. @media (max-width: 768px) {
  119. max-width: 200px;
  120. }
  121. }
  122. h1{
  123. text-transform: uppercase;
  124. background-color: $opacity-color;
  125. width: 100%;
  126. font-size: 40px;
  127. padding: 35px;
  128. line-height: 50px;
  129. font-weight: bold;
  130. margin: 70px auto 0;
  131. text-align: center;
  132. @media (max-width: 768px) {
  133. font-size: 25px;
  134. padding: 15px;
  135. }
  136. }
  137. }
  138. // button
  139. .btn {
  140. display: block;
  141. min-height: 50px;
  142. width: 70%;
  143. margin: 20px auto;
  144. color: $main-color;
  145. text-transform: uppercase;
  146. text-decoration: none;
  147. letter-spacing: 0.05em;
  148. font-size: 15px;
  149. font-weight: bold;
  150. line-height: 35px;
  151. padding-top: 7px;
  152. border: none;
  153. border-radius: 3px;
  154. background-color: $hover-color;
  155. transition-duration: 0.4s;
  156. &:hover {
  157. box-shadow: none;
  158. background-color: $main-color;
  159. color: $header-color;
  160. }
  161. &:focus {
  162. outline: none;
  163. }
  164. @media (max-width: 768px) {
  165. width: 100%;
  166. margin: 20px 0px;
  167. }
  168. }
  169. .link,
  170. .more {
  171. width: 100%;
  172. display: block;
  173. padding: 15px 2px;
  174. text-align: center;
  175. }
  176. .more {
  177. background-color: $opacity-color;
  178. &:hover {
  179. background-color: $main-color;
  180. }
  181. }
  182. .admin {
  183. width: 30%;
  184. }
  185. // section About Us
  186. .aboutsection,
  187. .team-container,
  188. .doctors-wrap,
  189. .info-wrap,
  190. h2 {
  191. background-color: $opacity-color;
  192. box-shadow: 0px 0px 15px 15px $opacity-color;
  193. font-size: 20px;
  194. line-height: 1.5em;
  195. font-family: 'Montserrat', sans-serif;
  196. color: $header-color;
  197. text-align: justify;
  198. padding: 15px 15px 50px;
  199. @media (max-width: 768px) {
  200. padding: 3px;
  201. margin: 25px 10px;
  202. }
  203. }
  204. h2 {
  205. // border: none;
  206. font-size: 36px;
  207. padding: 2px;
  208. background: none;
  209. box-shadow: none;
  210. color: $main-color;
  211. border-bottom: 1px solid $opacity-color;
  212. }
  213. // ____
  214. // second banner
  215. .case {
  216. position: relative;
  217. .banner {
  218. display: block;
  219. width: 100%;
  220. margin: 15px auto;
  221. padding: 15px 0;
  222. }
  223. .button-box {
  224. position: absolute;
  225. top: 70%;
  226. right: 0%;
  227. height: 90px;
  228. width: 100%;
  229. background-color: rgba(255,255,255,0.4);
  230. margin: 20px 0;
  231. text-align: center;
  232. .btn {
  233. width: 35%;
  234. float: right;
  235. margin: 20px;
  236. display: block;
  237. padding-top: 7px;
  238. @media (max-width: 768px) {
  239. width: 100%;
  240. margin: 20px 0px;
  241. }
  242. }
  243. @media (max-width: 768px) {
  244. top: 50%;
  245. }
  246. }
  247. }
  248. // shortly about doctors
  249. .team-container,
  250. .doctors-wrap {
  251. color: $header-color;
  252. display: flex;
  253. flex-wrap: wrap;
  254. justify-content: space-around;
  255. align-items: stretch;
  256. padding: 15px 5px 50px;
  257. @media (max-width: 768px) {
  258. justify-content: center;
  259. }
  260. .item {
  261. width: 25%;
  262. margin: 10px;
  263. text-align: center;
  264. display: flex;
  265. flex-direction: column;
  266. justify-content: space-between;
  267. border-radius: 5px;
  268. box-shadow: 0px 2px 8px 1px $main-color;
  269. .photo {
  270. border-radius: 5px;
  271. img {
  272. border-radius: 5px;
  273. width: 100%;
  274. }
  275. }
  276. h3 {
  277. margin: 10px;
  278. // font-size: 18px;
  279. }
  280. p {
  281. margin: 5px;
  282. }
  283. // .link-box {
  284. // margin-top: 20px;
  285. // }
  286. @media (max-width: 768px) {
  287. width: 45%;
  288. }
  289. @media (max-width: 630px) {
  290. width: 100%;
  291. }
  292. }
  293. }
  294. .team-container {
  295. .item {
  296. max-height: 365px;
  297. position: relative;
  298. .desc {
  299. position: absolute;
  300. top: 0;
  301. left: 0;
  302. display: none;
  303. background-color: $opacity-color;
  304. height: 100%;
  305. }
  306. .photo {
  307. overflow: hidden;
  308. &:hover .desc {
  309. display: flex;
  310. flex-direction: column;
  311. align-items: center;
  312. justify-content: center;
  313. }
  314. }
  315. }
  316. }
  317. // Footer
  318. .footer {
  319. font-family: 'Montserrat', sans-serif;
  320. position: static;
  321. background-image: url(../assets/images/bg2.jpg);
  322. background-size: cover;
  323. background-repeat: no-repeat;
  324. justify-content: space-between;
  325. padding: 0px 0px;
  326. color: $opacity-color;
  327. font-size: 1.3em;
  328. @media (max-width: 768px) {
  329. justify-content: center;
  330. }
  331. h4 {
  332. font-family: 'Montserrat', sans-serif;
  333. font-weight: 700;
  334. font-size: 1.3em;
  335. }
  336. .logo-box {
  337. margin-right: 0px;
  338. padding-top: 15px;
  339. @media (max-width: 768px) {
  340. margin-right: 0;
  341. order: -1;
  342. }
  343. }
  344. .logo-box img {
  345. width: 300px;
  346. @media (max-width: 768px) {
  347. width: 250px;
  348. }
  349. }
  350. .contacts {
  351. background-color: $opacity-color;
  352. color: $header-color;
  353. padding: 20px 15px;
  354. min-width: 30%;
  355. text-align: center;
  356. font-size: 1em;
  357. @media (max-width: 768px) {
  358. width: 100%;
  359. }
  360. }
  361. }
  362. // loadrer
  363. .loader-box {
  364. border: none;
  365. min-width: 100vw;
  366. min-height: 100vh;
  367. background-color: $opacity-color;
  368. .loader {
  369. margin: 0 auto;
  370. position: fixed;
  371. top: 30%;
  372. left: 40%;
  373. }
  374. }
  375. // _____DOCTORS_____
  376. .doctors-wrap {
  377. padding-top: 110px;
  378. }
  379. .info-wrap {
  380. padding: 110px 10px 25px;
  381. min-height: 100vh;
  382. }
  383. .card {
  384. display: flex;
  385. justify-content: space-around;
  386. flex-direction: row;
  387. flex-wrap: wrap;
  388. color: $header-color;
  389. h3 {
  390. margin: 0;
  391. font-size: 2em;
  392. line-height: 2em;
  393. text-align: center;
  394. @media (max-width: 768px) {
  395. text-align: center;
  396. }
  397. }
  398. .desc {
  399. width: 50%;
  400. @media (max-width: 768px) {
  401. width: 100%;
  402. }
  403. }
  404. .card-item {
  405. margin: 0 20px 10px;
  406. .highlights {
  407. font-weight: 700;
  408. color: $hover-color;
  409. }
  410. p {
  411. margin: 10px 0;
  412. }
  413. img {
  414. border-radius: 3px;
  415. box-shadow: 1px 1px 15px 1px $hover-color;
  416. }
  417. }
  418. }
  419. // _____t APPOINTMENT _________
  420. .appointment {
  421. width: 100%;
  422. display: flex;
  423. border: 1px solid $hover-color;
  424. border-radius: 3px;
  425. padding: 0.5rem;
  426. margin: 15px 0;
  427. &:focus {
  428. outline: none;
  429. }
  430. }
  431. // .comment {
  432. // margin: 15px 0;
  433. // }
  434. // __________SIDEBAR __________
  435. aside {
  436. position: fixed;
  437. top: 50%;
  438. right: 3%;
  439. z-index: 999999;
  440. .sidebar-ul {
  441. list-style: none;
  442. .sidebar-item {
  443. margin-top: 15px;
  444. }
  445. }
  446. .nav-link {
  447. text-decoration: none;
  448. margin-top: 15px;
  449. padding: 15px 0;
  450. }
  451. }
  452. // _______ADMIN PANEL __________
  453. .btn-box {
  454. display: flex;
  455. }