all.scss 5.6 KB

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