style.css 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880
  1. /*-----------------------------------*\
  2. #style.css
  3. \*-----------------------------------*/
  4. /*-----------------------------------*\
  5. #CUSTOM PROPERTY
  6. \*-----------------------------------*/
  7. :root {
  8. /**
  9. * colors
  10. */
  11. /* gradient */
  12. --bg-gradient-onyx: linear-gradient(
  13. to bottom right,
  14. hsl(240, 1%, 25%) 3%,
  15. hsl(0, 0%, 19%) 97%
  16. );
  17. --bg-gradient-jet: linear-gradient(
  18. to bottom right,
  19. hsla(240, 1%, 18%, 0.251) 0%,
  20. hsla(240, 2%, 11%, 0) 100%
  21. ), hsl(240, 2%, 13%);
  22. --bg-gradient-yellow-1: linear-gradient(
  23. to bottom right,
  24. hsl(45, 100%, 71%) 0%,
  25. hsla(36, 100%, 69%, 0) 50%
  26. );
  27. --bg-gradient-yellow-2: linear-gradient(
  28. 135deg,
  29. hsla(45, 100%, 71%, 0.251) 0%,
  30. hsla(35, 100%, 68%, 0) 59.86%
  31. ), hsl(240, 2%, 13%);
  32. --border-gradient-onyx: linear-gradient(
  33. to bottom right,
  34. hsl(0, 0%, 25%) 0%,
  35. hsla(0, 0%, 25%, 0) 50%
  36. );
  37. --text-gradient-yellow: linear-gradient(
  38. to right,
  39. hsl(45, 100%, 72%),
  40. hsl(35, 100%, 68%)
  41. );
  42. /* solid */
  43. --jet: hsl(0, 0%, 22%);
  44. --onyx: hsl(240, 1%, 17%);
  45. --eerie-black-1: hsl(240, 2%, 13%);
  46. --eerie-black-2: hsl(240, 2%, 12%);
  47. --smoky-black: hsl(0, 0%, 7%);
  48. --white-1: hsl(0, 0%, 100%);
  49. --white-2: hsl(0, 0%, 98%);
  50. --orange-yellow-crayola: hsl(45, 100%, 72%);
  51. --vegas-gold: hsl(45, 54%, 58%);
  52. --light-gray: hsl(0, 0%, 84%);
  53. --light-gray-70: hsla(0, 0%, 84%, 0.7);
  54. --bittersweet-shimmer: hsl(0, 43%, 51%);
  55. /**
  56. * typography
  57. */
  58. /* font-family */
  59. --ff-poppins: 'Poppins', sans-serif;
  60. /* font-size */
  61. --fs-1: 24px;
  62. --fs-2: 18px;
  63. --fs-3: 17px;
  64. --fs-4: 16px;
  65. --fs-5: 15px;
  66. --fs-6: 14px;
  67. --fs-7: 13px;
  68. --fs-8: 11px;
  69. /* font-weight */
  70. --fw-300: 300;
  71. --fw-400: 400;
  72. --fw-500: 500;
  73. --fw-600: 600;
  74. /**
  75. * shadow
  76. */
  77. --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  78. --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  79. --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  80. --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  81. --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);
  82. /**
  83. * transition
  84. */
  85. --transition-1: 0.25s ease;
  86. --transition-2: 0.5s ease-in-out;
  87. }
  88. /*-----------------------------------*\
  89. #RESET
  90. \*-----------------------------------*/
  91. *, *::before, *::after {
  92. margin: 0;
  93. padding: 0;
  94. box-sizing: border-box;
  95. }
  96. a { text-decoration: none; }
  97. li { list-style: none; }
  98. img, ion-icon, a, button, time, span { display: block; }
  99. button {
  100. font: inherit;
  101. background: none;
  102. border: none;
  103. text-align: left;
  104. cursor: pointer;
  105. }
  106. input, textarea {
  107. display: block;
  108. width: 100%;
  109. background: none;
  110. font: inherit;
  111. }
  112. ::selection {
  113. background: var(--orange-yellow-crayola);
  114. color: var(--smoky-black);
  115. }
  116. :focus { outline-color: var(--orange-yellow-crayola); }
  117. html { font-family: var(--ff-poppins); }
  118. body { background: var(--smoky-black); }
  119. /*-----------------------------------*\
  120. #REUSED STYLE
  121. \*-----------------------------------*/
  122. .sidebar,
  123. article {
  124. background: var(--eerie-black-2);
  125. border: 1px solid var(--jet);
  126. border-radius: 20px;
  127. padding: 15px;
  128. box-shadow: var(--shadow-1);
  129. z-index: 1;
  130. }
  131. .separator {
  132. width: 100%;
  133. height: 1px;
  134. background: var(--jet);
  135. margin: 16px 0;
  136. }
  137. .icon-box {
  138. position: relative;
  139. background: var(--border-gradient-onyx);
  140. width: 30px;
  141. height: 30px;
  142. border-radius: 8px;
  143. display: flex;
  144. justify-content: center;
  145. align-items: center;
  146. font-size: 16px;
  147. color: var(--orange-yellow-crayola);
  148. box-shadow: var(--shadow-1);
  149. z-index: 1;
  150. }
  151. .icon-box::before {
  152. content: "";
  153. position: absolute;
  154. inset: 1px;
  155. background: var(--eerie-black-1);
  156. border-radius: inherit;
  157. z-index: -1;
  158. }
  159. .icon-box ion-icon { --ionicon-stroke-width: 35px; }
  160. article { display: none; }
  161. article.active {
  162. display: block;
  163. animation: fade 0.5s ease backwards;
  164. }
  165. @keyframes fade {
  166. 0% { opacity: 0; }
  167. 100% { opacity: 1; }
  168. }
  169. .h2,
  170. .h3,
  171. .h4,
  172. .h5 {
  173. color: var(--white-2);
  174. text-transform: capitalize;
  175. }
  176. .h2 { font-size: var(--fs-1); }
  177. .h3 { font-size: var(--fs-2); }
  178. .h4 { font-size: var(--fs-4); }
  179. .h5 {
  180. font-size: var(--fs-7);
  181. font-weight: var(--fw-500);
  182. }
  183. .article-title {
  184. position: relative;
  185. padding-bottom: 7px;
  186. }
  187. .article-title::after {
  188. content: "";
  189. position: absolute;
  190. bottom: 0;
  191. left: 0;
  192. width: 30px;
  193. height: 3px;
  194. background: var(--text-gradient-yellow);
  195. border-radius: 3px;
  196. }
  197. .has-scrollbar::-webkit-scrollbar {
  198. width: 5px; /* for vertical scrollbar */
  199. height: 5px; /* for horizontal scrollbar */
  200. }
  201. .has-scrollbar::-webkit-scrollbar-track {
  202. background: var(--onyx);
  203. border-radius: 5px;
  204. }
  205. .has-scrollbar::-webkit-scrollbar-thumb {
  206. background: var(--orange-yellow-crayola);
  207. border-radius: 5px;
  208. }
  209. .has-scrollbar::-webkit-scrollbar-button { width: 20px; }
  210. .content-card {
  211. position: relative;
  212. background: var(--border-gradient-onyx);
  213. padding: 15px;
  214. padding-top: 45px;
  215. border-radius: 14px;
  216. box-shadow: var(--shadow-2);
  217. cursor: pointer;
  218. z-index: 1;
  219. }
  220. .content-card::before {
  221. content: "";
  222. position: absolute;
  223. inset: 1px;
  224. background: var(--bg-gradient-jet);
  225. border-radius: inherit;
  226. z-index: -1;
  227. }
  228. /*-----------------------------------*\
  229. #MAIN
  230. \*-----------------------------------*/
  231. main {
  232. margin: 15px 12px;
  233. margin-bottom: 75px;
  234. min-width: 259px;
  235. }
  236. /*-----------------------------------*\
  237. #SIDEBAR
  238. \*-----------------------------------*/
  239. .sidebar {
  240. margin-bottom: 15px;
  241. max-height: 112px;
  242. overflow: hidden;
  243. transition: var(--transition-2);
  244. }
  245. .sidebar.active { max-height: 405px; }
  246. .sidebar-info {
  247. position: relative;
  248. display: flex;
  249. justify-content: flex-start;
  250. align-items: center;
  251. gap: 15px;
  252. }
  253. .avatar-box {
  254. background: var(--bg-gradient-onyx);
  255. border-radius: 20px;
  256. }
  257. .info-content .name {
  258. color: var(--white-2);
  259. font-size: var(--fs-3);
  260. font-weight: var(--fw-500);
  261. letter-spacing: -0.25px;
  262. margin-bottom: 10px;
  263. }
  264. .info-content .title {
  265. color: var(--white-1);
  266. background: var(--onyx);
  267. font-size: var(--fs-8);
  268. font-weight: var(--fw-300);
  269. width: max-content;
  270. padding: 3px 12px;
  271. border-radius: 8px;
  272. }
  273. .info_more-btn {
  274. position: absolute;
  275. top: -15px;
  276. right: -15px;
  277. border-radius: 0 15px;
  278. font-size: 13px;
  279. color: var(--orange-yellow-crayola);
  280. background: var(--border-gradient-onyx);
  281. padding: 10px;
  282. box-shadow: var(--shadow-2);
  283. transition: var(--transition-1);
  284. z-index: 1;
  285. }
  286. .info_more-btn::before {
  287. content: "";
  288. position: absolute;
  289. inset: 1px;
  290. border-radius: inherit;
  291. background: var(--bg-gradient-jet);
  292. transition: var(--transition-1);
  293. z-index: -1;
  294. }
  295. .info_more-btn:hover,
  296. .info_more-btn:focus { background: var(--bg-gradient-yellow-1); }
  297. .info_more-btn:hover::before,
  298. .info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }
  299. .info_more-btn span { display: none; }
  300. .sidebar-info_more {
  301. opacity: 0;
  302. visibility: hidden;
  303. transition: var(--transition-2);
  304. }
  305. .sidebar.active .sidebar-info_more {
  306. opacity: 1;
  307. visibility: visible;
  308. }
  309. .contacts-list {
  310. display: grid;
  311. grid-template-columns: 1fr;
  312. gap: 16px;
  313. }
  314. .contact-item {
  315. min-width: 100%;
  316. display: flex;
  317. align-items: center;
  318. gap: 16px;
  319. }
  320. .contact-info {
  321. max-width: calc(100% - 46px);
  322. width: calc(100% - 46px);
  323. }
  324. .contact-title {
  325. color: var(--light-gray-70);
  326. font-size: var(--fs-8);
  327. text-transform: uppercase;
  328. margin-bottom: 2px;
  329. }
  330. .contact-info :is(.contact-link, time, address) {
  331. color: var(--white-2);
  332. font-size: var(--fs-7);
  333. }
  334. .contact-info address { font-style: normal; }
  335. .social-list {
  336. display: flex;
  337. justify-content: flex-start;
  338. align-items: center;
  339. gap: 15px;
  340. padding-bottom: 4px;
  341. padding-left: 7px;
  342. }
  343. .social-item .social-link {
  344. color: var(--light-gray-70);
  345. font-size: 18px;
  346. }
  347. .social-item .social-link:hover { color: var(--light-gray); }
  348. /*-----------------------------------*\
  349. #NAVBAR
  350. \*-----------------------------------*/
  351. .navbar {
  352. position: fixed;
  353. bottom: 0;
  354. left: 0;
  355. width: 100%;
  356. background: hsla(240, 1%, 17%, 0.75);
  357. backdrop-filter: blur(10px);
  358. border: 1px solid var(--jet);
  359. border-radius: 12px 12px 0 0;
  360. box-shadow: var(--shadow-2);
  361. z-index: 5;
  362. }
  363. .navbar-list {
  364. display: flex;
  365. flex-wrap: wrap;
  366. justify-content: center;
  367. align-items: center;
  368. padding: 0 10px;
  369. }
  370. .navbar-link {
  371. color: var(--light-gray);
  372. font-size: var(--fs-8);
  373. padding: 20px 7px;
  374. transition: color var(--transition-1);
  375. }
  376. .navbar-link:hover,
  377. .navbar-link:focus { color: var(--light-gray-70); }
  378. .navbar-link.active { color: var(--orange-yellow-crayola); }
  379. /*-----------------------------------*\
  380. #ABOUT
  381. \*-----------------------------------*/
  382. .about .article-title { margin-bottom: 15px; }
  383. .about-text {
  384. color: var(--light-gray);
  385. font-size: var(--fs-6);
  386. font-weight: var(--fw-300);
  387. line-height: 1.6;
  388. }
  389. .about-text p { margin-bottom: 15px; }
  390. /**
  391. * #service
  392. */
  393. .service { margin-bottom: 35px; }
  394. .service-title { margin-bottom: 20px; }
  395. .service-list {
  396. display: grid;
  397. grid-template-columns: 1fr;
  398. gap: 20px;
  399. }
  400. .service-item {
  401. position: relative;
  402. background: var(--border-gradient-onyx);
  403. padding: 20px;
  404. border-radius: 14px;
  405. box-shadow: var(--shadow-2);
  406. z-index: 1;
  407. }
  408. .service-item::before {
  409. content: "";
  410. position: absolute;
  411. inset: 1px;
  412. background: var(--bg-gradient-jet);
  413. border-radius: inherit;
  414. z-index: -1;
  415. }
  416. .service-icon-box { margin-bottom: 10px; }
  417. .service-icon-box img { margin: auto; }
  418. .service-content-box { text-align: center; }
  419. .service-item-title { margin-bottom: 7px; }
  420. .service-item-text {
  421. color: var(--light-gray);
  422. font-size: var(--fs-6);
  423. font-weight: var(--fw-3);
  424. line-height: 1.6;
  425. }
  426. /**
  427. * #testimonials
  428. */
  429. .testimonials { margin-bottom: 30px; }
  430. .testimonials-title { margin-bottom: 20px; }
  431. .testimonials-list {
  432. display: flex;
  433. justify-content: flex-start;
  434. align-items: flex-start;
  435. gap: 15px;
  436. margin: 0 -15px;
  437. padding: 25px 15px;
  438. padding-bottom: 35px;
  439. overflow-x: auto;
  440. scroll-behavior: smooth;
  441. overscroll-behavior-inline: contain;
  442. scroll-snap-type: inline mandatory;
  443. }
  444. .testimonials-item {
  445. min-width: 100%;
  446. scroll-snap-align: center;
  447. }
  448. .testimonials-avatar-box {
  449. position: absolute;
  450. top: 0;
  451. left: 0;
  452. transform: translate(15px, -25px);
  453. background: var(--bg-gradient-onyx);
  454. border-radius: 14px;
  455. box-shadow: var(--shadow-1);
  456. }
  457. .testimonials-item-title { margin-bottom: 7px; }
  458. .testimonials-text {
  459. color: var(--light-gray);
  460. font-size: var(--fs-6);
  461. font-weight: var(--fw-300);
  462. line-height: 1.6;
  463. display: -webkit-box;
  464. line-clamp: 4;
  465. -webkit-line-clamp: 4;
  466. -webkit-box-orient: vertical;
  467. overflow: hidden;
  468. }
  469. /**
  470. * #testimonials-modal
  471. */
  472. .modal-container {
  473. position: fixed;
  474. top: 0;
  475. left: 0;
  476. width: 100%;
  477. height: 100%;
  478. display: flex;
  479. justify-content: center;
  480. align-items: center;
  481. overflow-y: auto;
  482. overscroll-behavior: contain;
  483. z-index: 20;
  484. pointer-events: none;
  485. visibility: hidden;
  486. }
  487. .modal-container::-webkit-scrollbar { display: none; }
  488. .modal-container.active {
  489. pointer-events: all;
  490. visibility: visible;
  491. }
  492. .overlay {
  493. position: fixed;
  494. top: 0;
  495. left: 0;
  496. width: 100%;
  497. height: 100vh;
  498. background: hsl(0, 0%, 5%);
  499. opacity: 0;
  500. visibility: hidden;
  501. pointer-events: none;
  502. z-index: 1;
  503. transition: var(--transition-1);
  504. }
  505. .overlay.active {
  506. opacity: 0.8;
  507. visibility: visible;
  508. pointer-events: all;
  509. }
  510. .testimonials-modal {
  511. background: var(--eerie-black-2);
  512. position: relative;
  513. padding: 15px;
  514. margin: 15px 12px;
  515. border: 1px solid var(--jet);
  516. border-radius: 14px;
  517. box-shadow: var(--shadow-5);
  518. transform: scale(1.2);
  519. opacity: 0;
  520. transition: var(--transition-1);
  521. z-index: 2;
  522. }
  523. .modal-container.active .testimonials-modal {
  524. transform: scale(1);
  525. opacity: 1;
  526. }
  527. .modal-close-btn {
  528. position: absolute;
  529. top: 15px;
  530. right: 15px;
  531. background: var(--onyx);
  532. border-radius: 8px;
  533. width: 32px;
  534. height: 32px;
  535. display: flex;
  536. justify-content: center;
  537. align-items: center;
  538. color: var(--white-2);
  539. font-size: 18px;
  540. opacity: 0.7;
  541. }
  542. .modal-close-btn:hover,
  543. .modal-close-btn:focus { opacity: 1; }
  544. .modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }
  545. .modal-avatar-box {
  546. background: var(--bg-gradient-onyx);
  547. width: max-content;
  548. border-radius: 14px;
  549. margin-bottom: 15px;
  550. box-shadow: var(--shadow-2);
  551. }
  552. .modal-img-wrapper > img { display: none; }
  553. .modal-title { margin-bottom: 4px; }
  554. .modal-content time {
  555. font-size: var(--fs-6);
  556. color: var(--light-gray-70);
  557. font-weight: var(--fw-300);
  558. margin-bottom: 10px;
  559. }
  560. .modal-content p {
  561. color: var(--light-gray);
  562. font-size: var(--fs-6);
  563. font-weight: var(--fw-300);
  564. line-height: 1.6;
  565. }
  566. /**
  567. * #clients
  568. */
  569. .clients { margin-bottom: 15px; }
  570. .clients-list {
  571. display: flex;
  572. justify-content: flex-start;
  573. align-items: flex-start;
  574. gap: 15px;
  575. margin: 0 -15px;
  576. padding: 25px;
  577. padding-bottom: 25px;
  578. overflow-x: auto;
  579. scroll-behavior: smooth;
  580. overscroll-behavior-inline: contain;
  581. scroll-snap-type: inline mandatory;
  582. scroll-padding-inline: 25px;
  583. }
  584. .clients-item {
  585. min-width: 50%;
  586. scroll-snap-align: start;
  587. }
  588. .clients-item img {
  589. width: 100%;
  590. filter: grayscale(1);
  591. transition: var(--transition-1);
  592. }
  593. .clients-item img:hover { filter: grayscale(0); }
  594. /*-----------------------------------*\
  595. #RESUME
  596. \*-----------------------------------*/
  597. .article-title { margin-bottom: 30px; }
  598. /**
  599. * education and experience
  600. */
  601. .timeline { margin-bottom: 30px; }
  602. .timeline .title-wrapper {
  603. display: flex;
  604. align-items: center;
  605. gap: 15px;
  606. margin-bottom: 25px;
  607. }
  608. .timeline-list {
  609. font-size: var(--fs-6);
  610. margin-left: 45px;
  611. }
  612. .timeline-item { position: relative; }
  613. .timeline-item:not(:last-child) { margin-bottom: 20px; }
  614. .timeline-item-title {
  615. font-size: var(--fs-6);
  616. line-height: 1.3;
  617. margin-bottom: 7px;
  618. }
  619. .timeline-list span {
  620. color: var(--vegas-gold);
  621. font-weight: var(--fw-400);
  622. line-height: 1.6;
  623. }
  624. .timeline-item:not(:last-child)::before {
  625. content: "";
  626. position: absolute;
  627. top: -25px;
  628. left: -30px;
  629. width: 1px;
  630. height: calc(100% + 50px);
  631. background: var(--jet);
  632. }
  633. .timeline-item::after {
  634. content: "";
  635. position: absolute;
  636. top: 5px;
  637. left: -33px;
  638. height: 6px;
  639. width: 6px;
  640. background: var(--text-gradient-yellow);
  641. border-radius: 50%;
  642. box-shadow: 0 0 0 4px var(--jet);
  643. }
  644. .timeline-text {
  645. color: var(--light-gray);
  646. font-weight: var(--fw-300);
  647. line-height: 1.6;
  648. }
  649. /**
  650. * skills
  651. */
  652. .skills-title { margin-bottom: 20px; }
  653. .skills-list { padding: 20px; }
  654. .skills-item:not(:last-child) { margin-bottom: 15px; }
  655. .skill .title-wrapper {
  656. display: flex;
  657. align-items: center;
  658. gap: 5px;
  659. margin-bottom: 8px;
  660. }
  661. .skill .title-wrapper data {
  662. color: var(--light-gray);
  663. font-size: var(--fs-7);
  664. font-weight: var(--fw-300);
  665. }
  666. .skill-progress-bg {
  667. background: var(--jet);
  668. width: 100%;
  669. height: 8px;
  670. border-radius: 10px;
  671. }
  672. .skill-progress-fill {
  673. background: var(--text-gradient-yellow);
  674. height: 100%;
  675. border-radius: inherit;
  676. }
  677. /*-----------------------------------*\
  678. #PORTFOLIO
  679. \*-----------------------------------*/
  680. .filter-list { display: none; }
  681. .filter-select-box {
  682. position: relative;
  683. margin-bottom: 25px;
  684. }
  685. .filter-select {
  686. background: var(--eerie-black-2);
  687. color: var(--light-gray);
  688. display: flex;
  689. justify-content: space-between;
  690. align-items: center;
  691. width: 100%;
  692. padding: 12px 16px;
  693. border: 1px solid var(--jet);
  694. border-radius: 14px;
  695. font-size: var(--fs-6);
  696. font-weight: var(--fw-300);
  697. }
  698. .filter-select.active .select-icon { transform: rotate(0.5turn); }
  699. .select-list {
  700. background: var(--eerie-black-2);
  701. position: absolute;
  702. top: calc(100% + 6px);
  703. width: 100%;
  704. padding: 6px;
  705. border: 1px solid var(--jet);
  706. border-radius: 14px;
  707. z-index: 2;
  708. opacity: 0;
  709. visibility: hidden;
  710. pointer-events: none;
  711. transition: 0.15s ease-in-out;
  712. }
  713. .filter-select.active + .select-list {
  714. opacity: 1;
  715. visibility: visible;
  716. pointer-events: all;
  717. }
  718. .select-item button {
  719. background: var(--eerie-black-2);
  720. color: var(--light-gray);
  721. font-size: var(--fs-6);
  722. font-weight: var(--fw-300);
  723. text-transform: capitalize;
  724. width: 100%;
  725. padding: 8px 10px;
  726. border-radius: 8px;
  727. }
  728. .select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); }
  729. .project-list {
  730. display: grid;
  731. grid-template-columns: 1fr;
  732. gap: 30px;
  733. margin-bottom: 10px;
  734. }
  735. .project-item { display: none; }
  736. .project-item.active {
  737. display: block;
  738. animation: scaleUp 0.25s ease forwards;
  739. }
  740. @keyframes scaleUp {
  741. 0% { transform: scale(0.5); }
  742. 100% { transform: scale(1); }
  743. }
  744. .project-item > a { width: 100%; }
  745. .project-img {
  746. position: relative;
  747. width: 100%;
  748. height: 200px;
  749. border-radius: 16px;
  750. overflow: hidden;
  751. margin-bottom: 15px;
  752. }
  753. .project-img::before {
  754. content: "";
  755. position: absolute;
  756. top: 0;
  757. left: 0;
  758. width: 100%;
  759. height: 100%;
  760. background: transparent;
  761. z-index: 1;
  762. transition: var(--transition-1);
  763. }
  764. .project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); }
  765. .project-item-icon-box {
  766. --scale: 0.8;
  767. background: var(--jet);
  768. color: var(--orange-yellow-crayola);
  769. position: absolute;
  770. top: 50%;
  771. left: 50%;
  772. transform: translate(-50%, -50%) scale(var(--scale));
  773. font-size: 20px;
  774. padding: 18px;
  775. border-radius: 12px;
  776. opacity: 0;
  777. z-index: 1;
  778. transition: var(--transition-1);
  779. }
  780. .project-item > a:hover .project-item-icon-box {
  781. --scale: 1;
  782. opacity: 1;
  783. }
  784. .project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }
  785. .project-img img {
  786. width: 100%;
  787. height: 100%;
  788. object-fit: cover;
  789. transition: var(--transition-1);
  790. }
  791. .project-item > a:hover img { transform: scale(1.1); }
  792. .project-title,
  793. .project-category { margin-left: 10px; }
  794. .project-title {
  795. color: var(--white-2);
  796. font-size: var(--fs-5);
  797. font-weight: var(--fw-400);
  798. text-transform: capitalize;
  799. line-height: 1.3;
  800. }
  801. .project-category {
  802. color: var(--light-gray-70);
  803. font-size: var(--fs-6);
  804. font-weight: var(--fw-300);
  805. }
  806. /*-----------------------------------*\
  807. #BLOG
  808. \*-----------------------------------*/
  809. .blog-posts { margin-bottom: 10px; }
  810. .blog-posts-list {
  811. display: grid;
  812. grid-template-columns: 1fr;
  813. gap: 20px;
  814. }
  815. .blog-post-item > a {
  816. position: relative;
  817. background: var(--border-gradient-onyx);
  818. height: 100%;
  819. box-shadow: var(--shadow-4);
  820. border-radius: 16px;
  821. z-index: 1;
  822. }
  823. .blog-post-item > a::before {
  824. content: "";
  825. position: absolute;
  826. inset: 1px;
  827. border-radius: inherit;
  828. background: var(--eerie-black-1);
  829. z-index: -1;
  830. }
  831. .blog-banner-box {
  832. width: 100%;
  833. height: 200px;
  834. border-radius: 12px;
  835. overflow: hidden;
  836. }
  837. .blog-banner-box img {
  838. width: 100%;
  839. height: 100%;
  840. object-fit: cover;
  841. transition: var(--transition-1);
  842. }
  843. .blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); }
  844. .blog-content { padding: 15px; }
  845. .blog-meta {
  846. display: flex;
  847. justify-content: flex-start;
  848. align-items: center;
  849. gap: 7px;
  850. margin-bottom: 10px;
  851. }
  852. .blog-meta :is(.blog-category, time) {
  853. color: var(--light-gray-70);
  854. font-size: var(--fs-6);
  855. font-weight: var(--fw-300);
  856. }
  857. .blog-meta .dot {
  858. background: var(--light-gray-70);
  859. width: 4px;
  860. height: 4px;
  861. border-radius: 4px;
  862. }
  863. .blog-item-title {
  864. margin-bottom: 10px;
  865. line-height: 1.3;
  866. transition: var(--transition-1);
  867. }
  868. .blog-post-item > a:hover .blog-item-title { color: var(--orange-yellow-crayola); }
  869. .blog-text {
  870. color: var(--light-gray);
  871. font-size: var(--fs-6);
  872. font-weight: var(--fw-300);
  873. line-height: 1.6;
  874. }
  875. /*-----------------------------------*\
  876. #CONTACT
  877. \*-----------------------------------*/
  878. .mapbox {
  879. position: relative;
  880. height: 250px;
  881. width: 100%;
  882. border-radius: 16px;
  883. margin-bottom: 30px;
  884. border: 1px solid var(--jet);
  885. overflow: hidden;
  886. }
  887. .mapbox figure { height: 100%; }
  888. .mapbox iframe {
  889. width: 100%;
  890. height: 100%;
  891. border: none;
  892. filter: grayscale(1) invert(1);
  893. }
  894. .contact-form { margin-bottom: 10px; }
  895. .form-title { margin-bottom: 20px; }
  896. .input-wrapper {
  897. display: grid;
  898. grid-template-columns: 1fr;
  899. gap: 25px;
  900. margin-bottom: 25px;
  901. }
  902. .form-input {
  903. color: var(--white-2);
  904. font-size: var(--fs-6);
  905. font-weight: var(--fw-400);
  906. padding: 13px 20px;
  907. border: 1px solid var(--jet);
  908. border-radius: 14px;
  909. outline: none;
  910. }
  911. .form-input::placeholder { font-weight: var(--fw-500); }
  912. .form-input:focus { border-color: var(--orange-yellow-crayola); }
  913. textarea.form-input {
  914. min-height: 100px;
  915. height: 120px;
  916. max-height: 200px;
  917. resize: vertical;
  918. margin-bottom: 25px;
  919. }
  920. textarea.form-input::-webkit-resizer { display: none; }
  921. .form-input:focus:invalid { border-color: var(--bittersweet-shimmer); }
  922. .form-btn {
  923. position: relative;
  924. width: 100%;
  925. background: var(--border-gradient-onyx);
  926. color: var(--orange-yellow-crayola);
  927. display: flex;
  928. justify-content: center;
  929. align-items: center;
  930. gap: 10px;
  931. padding: 13px 20px;
  932. border-radius: 14px;
  933. font-size: var(--fs-6);
  934. text-transform: capitalize;
  935. box-shadow: var(--shadow-3);
  936. z-index: 1;
  937. transition: var(--transition-1);
  938. }
  939. .form-btn::before {
  940. content: "";
  941. position: absolute;
  942. inset: 1px;
  943. background: var(--bg-gradient-jet);
  944. border-radius: inherit;
  945. z-index: -1;
  946. transition: var(--transition-1);
  947. }
  948. .form-btn ion-icon { font-size: 16px; }
  949. .form-btn:hover { background: var(--bg-gradient-yellow-1); }
  950. .form-btn:hover::before { background: var(--bg-gradient-yellow-2); }
  951. .form-btn:disabled {
  952. opacity: 0.7;
  953. cursor: not-allowed;
  954. }
  955. .form-btn:disabled:hover { background: var(--border-gradient-onyx); }
  956. .form-btn:disabled:hover::before { background: var(--bg-gradient-jet); }
  957. /*-----------------------------------*\
  958. #RESPONSIVE
  959. \*-----------------------------------*/
  960. /**
  961. * responsive larger than 450px screen
  962. */
  963. @media (min-width: 450px) {
  964. /**
  965. * client
  966. */
  967. .clients-item { min-width: calc(33.33% - 10px); }
  968. /**
  969. * #PORTFOLIO, BLOG
  970. */
  971. .project-img,
  972. .blog-banner-box { height: auto; }
  973. }
  974. /**
  975. * responsive larger than 580px screen
  976. */
  977. @media (min-width: 580px) {
  978. /**
  979. * CUSTOM PROPERTY
  980. */
  981. :root {
  982. /**
  983. * typography
  984. */
  985. --fs-1: 32px;
  986. --fs-2: 24px;
  987. --fs-3: 26px;
  988. --fs-4: 18px;
  989. --fs-6: 15px;
  990. --fs-7: 15px;
  991. --fs-8: 12px;
  992. }
  993. /**
  994. * #REUSED STYLE
  995. */
  996. .sidebar, article {
  997. width: 520px;
  998. margin-inline: auto;
  999. padding: 30px;
  1000. }
  1001. .article-title {
  1002. font-weight: var(--fw-600);
  1003. padding-bottom: 15px;
  1004. }
  1005. .article-title::after {
  1006. width: 40px;
  1007. height: 5px;
  1008. }
  1009. .icon-box {
  1010. width: 48px;
  1011. height: 48px;
  1012. border-radius: 12px;
  1013. font-size: 18px;
  1014. }
  1015. /**
  1016. * #MAIN
  1017. */
  1018. main {
  1019. margin-top: 60px;
  1020. margin-bottom: 100px;
  1021. }
  1022. /**
  1023. * #SIDEBAR
  1024. */
  1025. .sidebar {
  1026. max-height: 180px;
  1027. margin-bottom: 30px;
  1028. }
  1029. .sidebar.active { max-height: 584px; }
  1030. .sidebar-info { gap: 25px; }
  1031. .avatar-box { border-radius: 30px; }
  1032. .avatar-box img { width: 120px; }
  1033. .info-content .name { margin-bottom: 15px; }
  1034. .info-content .title { padding: 5px 18px; }
  1035. .info_more-btn {
  1036. top: -30px;
  1037. right: -30px;
  1038. padding: 10px 15px;
  1039. }
  1040. .info_more-btn span {
  1041. display: block;
  1042. font-size: var(--fs-8);
  1043. }
  1044. .info_more-btn ion-icon { display: none; }
  1045. .separator { margin: 32px 0; }
  1046. .contacts-list { gap: 20px; }
  1047. .contact-info {
  1048. max-width: calc(100% - 64px);
  1049. width: calc(100% - 64px);
  1050. }
  1051. /**
  1052. * #NAVBAR
  1053. */
  1054. .navbar { border-radius: 20px 20px 0 0; }
  1055. .navbar-list { gap: 20px; }
  1056. .navbar-link { --fs-8: 14px; }
  1057. /**
  1058. * #ABOUT
  1059. */
  1060. .about .article-title { margin-bottom: 20px; }
  1061. .about-text { margin-bottom: 40px; }
  1062. /* service */
  1063. .service-item {
  1064. display: flex;
  1065. justify-content: flex-start;
  1066. align-items: flex-start;
  1067. gap: 18px;
  1068. padding: 30px;
  1069. }
  1070. .service-icon-box {
  1071. margin-bottom: 0;
  1072. margin-top: 5px;
  1073. }
  1074. .service-content-box { text-align: left; }
  1075. /* testimonials */
  1076. .testimonials-title { margin-bottom: 25px; }
  1077. .testimonials-list {
  1078. gap: 30px;
  1079. margin: 0 -30px;
  1080. padding: 30px;
  1081. padding-bottom: 35px;
  1082. }
  1083. .content-card {
  1084. padding: 30px;
  1085. padding-top: 25px;
  1086. }
  1087. .testimonials-avatar-box {
  1088. transform: translate(30px, -30px);
  1089. border-radius: 20px;
  1090. }
  1091. .testimonials-avatar-box img { width: 80px; }
  1092. .testimonials-item-title {
  1093. margin-bottom: 10px;
  1094. margin-left: 95px;
  1095. }
  1096. .testimonials-text {
  1097. line-clamp: 2;
  1098. -webkit-line-clamp: 2;
  1099. }
  1100. /* testimonials modal */
  1101. .modal-container { padding: 20px; }
  1102. .testimonials-modal {
  1103. display: flex;
  1104. justify-content: flex-start;
  1105. align-items: stretch;
  1106. gap: 25px;
  1107. padding: 30px;
  1108. border-radius: 20px;
  1109. }
  1110. .modal-img-wrapper {
  1111. display: flex;
  1112. flex-direction: column;
  1113. align-items: center;
  1114. }
  1115. .modal-avatar-box {
  1116. border-radius: 18px;
  1117. margin-bottom: 0;
  1118. }
  1119. .modal-avatar-box img { width: 65px; }
  1120. .modal-img-wrapper > img {
  1121. display: block;
  1122. flex-grow: 1;
  1123. width: 35px;
  1124. }
  1125. /* clients */
  1126. .clients-list {
  1127. gap: 50px;
  1128. margin: 0 -30px;
  1129. padding: 45px;
  1130. scroll-padding-inline: 45px;
  1131. }
  1132. .clients-item { min-width: calc(33.33% - 35px); }
  1133. /**
  1134. * #RESUME
  1135. */
  1136. .timeline-list { margin-left: 65px; }
  1137. .timeline-item:not(:last-child)::before { left: -40px; }
  1138. .timeline-item::after {
  1139. height: 8px;
  1140. width: 8px;
  1141. left: -43px;
  1142. }
  1143. .skills-item:not(:last-child) { margin-bottom: 25px; }
  1144. /**
  1145. * #PORTFOLIO, BLOG
  1146. */
  1147. .project-img, .blog-banner-box { border-radius: 16px; }
  1148. .blog-posts-list { gap: 30px; }
  1149. .blog-content { padding: 25px; }
  1150. /**
  1151. * #CONTACT
  1152. */
  1153. .mapbox {
  1154. height: 380px;
  1155. border-radius: 18px;
  1156. }
  1157. .input-wrapper {
  1158. gap: 30px;
  1159. margin-bottom: 30px;
  1160. }
  1161. .form-input { padding: 15px 20px; }
  1162. textarea.form-input { margin-bottom: 30px; }
  1163. .form-btn {
  1164. --fs-6: 16px;
  1165. padding: 16px 20px;
  1166. }
  1167. .form-btn ion-icon { font-size: 18px; }
  1168. }
  1169. /**
  1170. * responsive larger than 768px screen
  1171. */
  1172. @media (min-width: 768px) {
  1173. /**
  1174. * REUSED STYLE
  1175. */
  1176. .sidebar, article { width: 700px; }
  1177. .has-scrollbar::-webkit-scrollbar-button { width: 100px; }
  1178. /**
  1179. * SIDEBAR
  1180. */
  1181. .contacts-list {
  1182. grid-template-columns: 1fr 1fr;
  1183. gap: 30px 15px;
  1184. }
  1185. /**
  1186. * NAVBAR
  1187. */
  1188. .navbar-link { --fs-8: 15px; }
  1189. /**
  1190. * ABOUT
  1191. */
  1192. /* testimonials modal */
  1193. .testimonials-modal {
  1194. gap: 35px;
  1195. max-width: 680px;
  1196. }
  1197. .modal-avatar-box img { width: 80px; }
  1198. /**
  1199. * PORTFOLIO
  1200. */
  1201. .article-title { padding-bottom: 20px; }
  1202. .filter-select-box { display: none; }
  1203. .filter-list {
  1204. display: flex;
  1205. justify-content: flex-start;
  1206. align-items: center;
  1207. gap: 25px;
  1208. padding-left: 5px;
  1209. margin-bottom: 30px;
  1210. }
  1211. .filter-item button {
  1212. color: var(--light-gray);
  1213. font-size: var(--fs-5);
  1214. transition: var(--transition-1);
  1215. }
  1216. .filter-item button:hover { color: var(--light-gray-70); }
  1217. .filter-item button.active { color: var(--orange-yellow-crayola); }
  1218. /* portfolio and blog grid */
  1219. .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }
  1220. /**
  1221. * CONTACT
  1222. */
  1223. .input-wrapper { grid-template-columns: 1fr 1fr; }
  1224. .form-btn {
  1225. width: max-content;
  1226. margin-left: auto;
  1227. }
  1228. }
  1229. /**
  1230. * responsive larger than 1024px screen
  1231. */
  1232. @media (min-width: 1024px) {
  1233. /**
  1234. * CUSTOM PROPERTY
  1235. */
  1236. :root {
  1237. /**
  1238. * shadow
  1239. */
  1240. --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
  1241. --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
  1242. --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  1243. }
  1244. /**
  1245. * REUSED STYLE
  1246. */
  1247. .sidebar, article {
  1248. width: 950px;
  1249. box-shadow: var(--shadow-5);
  1250. }
  1251. /**
  1252. * MAIN
  1253. */
  1254. main { margin-bottom: 60px; }
  1255. .main-content {
  1256. position: relative;
  1257. width: max-content;
  1258. margin: auto;
  1259. }
  1260. /**
  1261. * NAVBAR
  1262. */
  1263. .navbar {
  1264. position: absolute;
  1265. bottom: auto;
  1266. top: 0;
  1267. left: auto;
  1268. right: 0;
  1269. width: max-content;
  1270. border-radius: 0 20px;
  1271. padding: 0 20px;
  1272. box-shadow: none;
  1273. }
  1274. .navbar-list {
  1275. gap: 30px;
  1276. padding: 0 20px;
  1277. }
  1278. .navbar-link { font-weight: var(--fw-500); }
  1279. /**
  1280. * ABOUT
  1281. */
  1282. /* service */
  1283. .service-list {
  1284. grid-template-columns: 1fr 1fr;
  1285. gap: 20px 25px;
  1286. }
  1287. /* testimonials */
  1288. .testimonials-item { min-width: calc(50% - 15px); }
  1289. /* clients */
  1290. .clients-item { min-width: calc(25% - 38px); }
  1291. /**
  1292. * PORTFOLIO
  1293. */
  1294. .project-list { grid-template-columns: repeat(3, 1fr); }
  1295. /**
  1296. * BLOG
  1297. */
  1298. .blog-banner-box { height: 230px; }
  1299. }
  1300. /**
  1301. * responsive larger than 1250px screen
  1302. */
  1303. @media (min-width: 1250px) {
  1304. /**
  1305. * RESET
  1306. */
  1307. body::-webkit-scrollbar { width: 20px; }
  1308. body::-webkit-scrollbar-track { background: var(--smoky-black); }
  1309. body::-webkit-scrollbar-thumb {
  1310. border: 5px solid var(--smoky-black);
  1311. background: hsla(0, 0%, 100%, 0.1);
  1312. border-radius: 20px;
  1313. box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
  1314. inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  1315. }
  1316. body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }
  1317. body::-webkit-scrollbar-button { height: 60px; }
  1318. /**
  1319. * REUSED STYLE
  1320. */
  1321. .sidebar, article { width: auto; }
  1322. article { min-height: 100%; }
  1323. /**
  1324. * MAIN
  1325. */
  1326. main {
  1327. max-width: 1200px;
  1328. margin-inline: auto;
  1329. display: flex;
  1330. justify-content: center;
  1331. align-items: stretch;
  1332. gap: 25px;
  1333. }
  1334. .main-content {
  1335. min-width: 75%;
  1336. width: 75%;
  1337. margin: 0;
  1338. }
  1339. /**
  1340. * SIDEBAR
  1341. */
  1342. .sidebar {
  1343. position: sticky;
  1344. top: 60px;
  1345. max-height: max-content;
  1346. height: 100%;
  1347. margin-bottom: 0;
  1348. padding-top: 60px;
  1349. z-index: 1;
  1350. }
  1351. .sidebar-info { flex-direction: column; }
  1352. .avatar-box img { width: 150px; }
  1353. .info-content .name {
  1354. white-space: nowrap;
  1355. text-align: center;
  1356. }
  1357. .info-content .title { margin: auto; }
  1358. .info_more-btn { display: none; }
  1359. .sidebar-info_more {
  1360. opacity: 1;
  1361. visibility: visible;
  1362. }
  1363. .contacts-list { grid-template-columns: 1fr; }
  1364. .contact-info :is(.contact-link) {
  1365. white-space: nowrap;
  1366. overflow: hidden;
  1367. text-overflow: ellipsis;
  1368. }
  1369. .contact-info :is(.contact-link, time, address) {
  1370. --fs-7: 14px;
  1371. font-weight: var(--fw-300);
  1372. }
  1373. .separator:last-of-type {
  1374. margin: 15px 0;
  1375. opacity: 0;
  1376. }
  1377. .social-list { justify-content: center; }
  1378. /**
  1379. * RESUME
  1380. */
  1381. .timeline-text { max-width: 700px; }
  1382. }