toowake

main.css

Nov 1st, 2023
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*-----------------------------------*\
  2.   #style.css
  3. \*-----------------------------------*/
  4.  
  5.  
  6. /**
  7.  * copyright 2022 @codewithsadee
  8.  */
  9.  
  10.  
  11.  
  12.  
  13.  
  14. /*-----------------------------------*\
  15.   #CUSTOM PROPERTY
  16. \*-----------------------------------*/
  17.  
  18. :root {
  19.  
  20.   /**
  21.    * colors
  22.    */
  23.  
  24.   /* gradient */
  25.  
  26.   --bg-gradient-onyx: linear-gradient(
  27.     to bottom right,
  28.     hsl(240, 1%, 25%) 3%,
  29.     hsl(0, 0%, 19%) 97%
  30.   );
  31.   --bg-gradient-jet: linear-gradient(
  32.     to bottom right,
  33.     hsla(240, 1%, 18%, 0.251) 0%,
  34.     hsla(240, 2%, 11%, 0) 100%
  35.   ), hsl(240, 2%, 13%);
  36.   --bg-gradient-yellow-1: linear-gradient(
  37.     to bottom right,
  38.     hsl(45, 100%, 71%) 0%,
  39.     hsla(36, 100%, 69%, 0) 50%
  40.   );
  41.   --bg-gradient-yellow-2: linear-gradient(
  42.     135deg,
  43.     hsla(45, 100%, 71%, 0.251) 0%,
  44.     hsla(35, 100%, 68%, 0) 59.86%
  45.   ), hsl(240, 2%, 13%);
  46.   --border-gradient-onyx: linear-gradient(
  47.     to bottom right,
  48.     hsl(0, 0%, 25%) 0%,
  49.     hsla(0, 0%, 25%, 0) 50%
  50.   );
  51.   --text-gradient-yellow: linear-gradient(
  52.     to right,
  53.     hsl(45, 100%, 72%),
  54.     hsl(35, 100%, 68%)
  55.   );
  56.  
  57.   /* solid */
  58.  
  59.   --jet: hsl(0, 0%, 22%);
  60.   --onyx: hsl(240, 1%, 17%);
  61.   --eerie-black-1: hsl(240, 2%, 13%);
  62.   --eerie-black-2: hsl(240, 2%, 12%);
  63.   --smoky-black: hsl(0, 0%, 7%);
  64.   --white-1: hsl(0, 0%, 100%);
  65.   --white-2: hsl(0, 0%, 98%);
  66.   --orange-yellow-crayola: hsl(45, 100%, 72%);
  67.   --vegas-gold: hsl(45, 54%, 58%);
  68.   --light-gray: hsl(0, 0%, 84%);
  69.   --light-gray-70: hsla(0, 0%, 84%, 0.7);
  70.   --bittersweet-shimmer: hsl(0, 43%, 51%);
  71.  
  72.   /**
  73.    * typography
  74.    */
  75.  
  76.   /* font-family */
  77.   --ff-poppins: 'Poppins', sans-serif;
  78.  
  79.   /* font-size */
  80.   --fs-1: 24px;
  81.   --fs-2: 18px;
  82.   --fs-3: 17px;
  83.   --fs-4: 16px;
  84.   --fs-5: 15px;
  85.   --fs-6: 14px;
  86.   --fs-7: 13px;
  87.   --fs-8: 11px;
  88.  
  89.   /* font-weight */
  90.   --fw-300: 300;
  91.   --fw-400: 400;
  92.   --fw-500: 500;
  93.   --fw-600: 600;
  94.  
  95.   /**
  96.    * shadow
  97.    */
  98.  
  99.   --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  100.   --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  101.   --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  102.   --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  103.   --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);
  104.  
  105.   /**
  106.    * transition
  107.    */
  108.  
  109.   --transition-1: 0.25s ease;
  110.   --transition-2: 0.5s ease-in-out;
  111.  
  112. }
  113.  
  114.  
  115.  
  116.  
  117.  
  118. /*-----------------------------------*\
  119.   #RESET
  120. \*-----------------------------------*/
  121.  
  122. *, *::before, *::after {
  123.   margin: 0;
  124.   padding: 0;
  125.   box-sizing: border-box;
  126. }
  127.  
  128. a { text-decoration: none; }
  129.  
  130. li { list-style: none; }
  131.  
  132. img, ion-icon, a, button, time, span { display: block; }
  133.  
  134. button {
  135.   font: inherit;
  136.   background: none;
  137.   border: none;
  138.   text-align: left;
  139.   cursor: pointer;
  140. }
  141.  
  142. input, textarea {
  143.   display: block;
  144.   width: 100%;
  145.   background: none;
  146.   font: inherit;
  147. }
  148.  
  149. ::selection {
  150.   background: var(--orange-yellow-crayola);
  151.   color: var(--smoky-black);
  152. }
  153.  
  154. :focus { outline-color: var(--orange-yellow-crayola); }
  155.  
  156. html { font-family: var(--ff-poppins); }
  157.  
  158. body { background: var(--smoky-black); }
  159.  
  160.  
  161.  
  162.  
  163.  
  164. /*-----------------------------------*\
  165.   #REUSED STYLE
  166. \*-----------------------------------*/
  167.  
  168. .sidebar,
  169. article {
  170.   background: var(--eerie-black-2);
  171.   border: 1px solid var(--jet);
  172.   border-radius: 20px;
  173.   padding: 15px;
  174.   box-shadow: var(--shadow-1);
  175.   z-index: 1;
  176. }
  177.  
  178. .separator {
  179.   width: 100%;
  180.   height: 1px;
  181.   background: var(--jet);
  182.   margin: 16px 0;
  183. }
  184.  
  185. .icon-box {
  186.   position: relative;
  187.   background: var(--border-gradient-onyx);
  188.   width: 30px;
  189.   height: 30px;
  190.   border-radius: 8px;
  191.   display: flex;
  192.   justify-content: center;
  193.   align-items: center;
  194.   font-size: 16px;
  195.   color: var(--orange-yellow-crayola);
  196.   box-shadow: var(--shadow-1);
  197.   z-index: 1;
  198. }
  199.  
  200. .icon-box::before {
  201.   content: "";
  202.   position: absolute;
  203.   inset: 1px;
  204.   background: var(--eerie-black-1);
  205.   border-radius: inherit;
  206.   z-index: -1;
  207. }
  208.  
  209. .icon-box ion-icon { --ionicon-stroke-width: 35px; }
  210.  
  211. article { display: none; }
  212.  
  213. article.active {
  214.   display: block;
  215.   animation: fade 0.5s ease backwards;
  216. }
  217.  
  218. @keyframes fade {
  219.   0% { opacity: 0; }
  220.   100% { opacity: 1; }
  221. }
  222.  
  223. .h2,
  224. .h3,
  225. .h4,
  226. .h5 {
  227.   color: var(--white-2);
  228.   text-transform: capitalize;
  229. }
  230.  
  231. .h2 { font-size: var(--fs-1); }
  232.  
  233. .h3 { font-size: var(--fs-2); }
  234.  
  235. .h4 { font-size: var(--fs-4); }
  236.  
  237. .h5 {
  238.   font-size: var(--fs-7);
  239.   font-weight: var(--fw-500);
  240. }
  241.  
  242. .article-title {
  243.   position: relative;
  244.   padding-bottom: 7px;
  245. }
  246.  
  247. .article-title::after {
  248.   content: "";
  249.   position: absolute;
  250.   bottom: 0;
  251.   left: 0;
  252.   width: 30px;
  253.   height: 3px;
  254.   background: var(--text-gradient-yellow);
  255.   border-radius: 3px;
  256. }
  257.  
  258. .has-scrollbar::-webkit-scrollbar {
  259.   width: 5px; /* for vertical scrollbar */
  260.   height: 5px; /* for horizontal scrollbar */
  261. }
  262.  
  263. .has-scrollbar::-webkit-scrollbar-track {
  264.   background: var(--onyx);
  265.   border-radius: 5px;
  266. }
  267.  
  268. .has-scrollbar::-webkit-scrollbar-thumb {
  269.   background: var(--orange-yellow-crayola);
  270.   border-radius: 5px;
  271. }
  272.  
  273. .has-scrollbar::-webkit-scrollbar-button { width: 20px; }
  274.  
  275. .content-card {
  276.   position: relative;
  277.   background: var(--border-gradient-onyx);
  278.   padding: 15px;
  279.   padding-top: 45px;
  280.   border-radius: 14px;
  281.   box-shadow: var(--shadow-2);
  282.   cursor: pointer;
  283.   z-index: 1;
  284. }
  285.  
  286. .content-card::before {
  287.   content: "";
  288.   position: absolute;
  289.   inset: 1px;
  290.   background: var(--bg-gradient-jet);
  291.   border-radius: inherit;
  292.   z-index: -1;
  293. }
  294.  
  295.  
  296.  
  297.  
  298.  
  299. /*-----------------------------------*\
  300.   #MAIN
  301. \*-----------------------------------*/
  302.  
  303. main {
  304.   margin: 15px 12px;
  305.   margin-bottom: 75px;
  306.   min-width: 259px;
  307. }
  308.  
  309.  
  310.  
  311.  
  312.  
  313. /*-----------------------------------*\
  314.   #SIDEBAR
  315. \*-----------------------------------*/
  316.  
  317. .sidebar {
  318.   margin-bottom: 15px;
  319.   max-height: 112px;
  320.   overflow: hidden;
  321.   transition: var(--transition-2);
  322. }
  323.  
  324. .sidebar.active { max-height: 405px; }
  325.  
  326. .sidebar-info {
  327.   position: relative;
  328.   display: flex;
  329.   justify-content: flex-start;
  330.   align-items: center;
  331.   gap: 15px;
  332. }
  333.  
  334. .avatar-box {
  335.   background: var(--bg-gradient-onyx);
  336.   border-radius: 20px;
  337. }
  338.  
  339. .info-content .name {
  340.   color: var(--white-2);
  341.   font-size: var(--fs-3);
  342.   font-weight: var(--fw-500);
  343.   letter-spacing: -0.25px;
  344.   margin-bottom: 10px;
  345. }
  346.  
  347. .info-content .title {
  348.   color: var(--white-1);
  349.   background: var(--onyx);
  350.   font-size: var(--fs-8);
  351.   font-weight: var(--fw-300);
  352.   width: max-content;
  353.   padding: 3px 12px;
  354.   border-radius: 8px;
  355. }
  356.  
  357. .info_more-btn {
  358.   position: absolute;
  359.   top: -15px;
  360.   right: -15px;
  361.   border-radius: 0 15px;
  362.   font-size: 13px;
  363.   color: var(--orange-yellow-crayola);
  364.   background: var(--border-gradient-onyx);
  365.   padding: 10px;
  366.   box-shadow: var(--shadow-2);
  367.   transition: var(--transition-1);
  368.   z-index: 1;
  369. }
  370.  
  371. .info_more-btn::before {
  372.   content: "";
  373.   position: absolute;
  374.   inset: 1px;
  375.   border-radius: inherit;
  376.   background: var(--bg-gradient-jet);
  377.   transition: var(--transition-1);
  378.   z-index: -1;
  379. }
  380.  
  381. .info_more-btn:hover,
  382. .info_more-btn:focus { background: var(--bg-gradient-yellow-1); }
  383.  
  384. .info_more-btn:hover::before,
  385. .info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }
  386.  
  387. .info_more-btn span { display: none; }
  388.  
  389. .sidebar-info_more {
  390.   opacity: 0;
  391.   visibility: hidden;
  392.   transition: var(--transition-2);
  393. }
  394.  
  395. .sidebar.active .sidebar-info_more {
  396.   opacity: 1;
  397.   visibility: visible;
  398. }
  399.  
  400. .contacts-list {
  401.   display: grid;
  402.   grid-template-columns: 1fr;
  403.   gap: 16px;
  404. }
  405.  
  406. .contact-item {
  407.   min-width: 100%;
  408.   display: flex;
  409.   align-items: center;
  410.   gap: 16px;
  411. }
  412.  
  413. .contact-info {
  414.   max-width: calc(100% - 46px);
  415.   width: calc(100% - 46px);
  416. }
  417.  
  418. .contact-title {
  419.   color: var(--light-gray-70);
  420.   font-size: var(--fs-8);
  421.   text-transform: uppercase;
  422.   margin-bottom: 2px;
  423. }
  424.  
  425. .contact-info :is(.contact-link, time, address) {
  426.   color: var(--white-2);
  427.   font-size: var(--fs-7);
  428. }
  429.  
  430. .contact-info address { font-style: normal; }
  431.  
  432. .social-list {
  433.   display: flex;
  434.   justify-content: flex-start;
  435.   align-items: center;
  436.   gap: 15px;
  437.   padding-bottom: 4px;
  438.   padding-left: 7px;
  439. }
  440.  
  441. .social-item .social-link {
  442.   color: var(--light-gray-70);
  443.   font-size: 18px;
  444. }
  445.  
  446.  
  447. .social-item .social-link:hover { color: var(--light-gray); }
  448.  
  449.  
  450.  
  451.  
  452.  
  453. /*-----------------------------------*\
  454.   #NAVBAR
  455. \*-----------------------------------*/
  456.  
  457. .navbar {
  458.   position: fixed;
  459.   bottom: 0;
  460.   left: 0;
  461.   width: 100%;
  462.   background: hsla(240, 1%, 17%, 0.75);
  463.   backdrop-filter: blur(10px);
  464.   border: 1px solid var(--jet);
  465.   border-radius: 12px 12px 0 0;
  466.   box-shadow: var(--shadow-2);
  467.   z-index: 5;
  468. }
  469.  
  470. .navbar-list {
  471.   display: flex;
  472.   flex-wrap: wrap;
  473.   justify-content: center;
  474.   align-items: center;
  475.   padding: 0 10px;
  476. }
  477.  
  478. .navbar-link {
  479.   color: var(--light-gray);
  480.   font-size: var(--fs-8);
  481.   padding: 20px 7px;
  482.   transition: color var(--transition-1);
  483. }
  484.  
  485. .navbar-link:hover,
  486. .navbar-link:focus { color: var(--light-gray-70); }
  487.  
  488. .navbar-link.active { color: var(--orange-yellow-crayola); }
  489.  
  490.  
  491.  
  492.  
  493.  
  494. /*-----------------------------------*\
  495.   #ABOUT
  496. \*-----------------------------------*/
  497.  
  498. .about .article-title { margin-bottom: 15px; }
  499.  
  500. .about-text {
  501.   color: var(--light-gray);
  502.   font-size: var(--fs-6);
  503.   font-weight: var(--fw-300);
  504.   line-height: 1.6;
  505. }
  506.  
  507. .about-text p { margin-bottom: 15px; }
  508.  
  509.  
  510.  
  511. /**
  512.  * #service
  513.  */
  514.  
  515. .service { margin-bottom: 35px; }
  516.  
  517. .service-title { margin-bottom: 20px; }
  518.  
  519. .service-list {
  520.   display: grid;
  521.   grid-template-columns: 1fr;
  522.   gap: 20px;
  523. }
  524.  
  525. .service-item {
  526.   position: relative;
  527.   background: var(--border-gradient-onyx);
  528.   padding: 20px;
  529.   border-radius: 14px;
  530.   box-shadow: var(--shadow-2);
  531.   z-index: 1;
  532. }
  533.  
  534. .service-item::before {
  535.   content: "";
  536.   position: absolute;
  537.   inset: 1px;
  538.   background: var(--bg-gradient-jet);
  539.   border-radius: inherit;
  540.   z-index: -1;
  541. }
  542.  
  543. .service-icon-box { margin-bottom: 10px; }
  544.  
  545. .service-icon-box img { margin: auto; }
  546.  
  547. .service-content-box { text-align: center; }
  548.  
  549. .service-item-title { margin-bottom: 7px; }
  550.  
  551. .service-item-text {
  552.   color: var(--light-gray);
  553.   font-size: var(--fs-6);
  554.   font-weight: var(--fw-3);
  555.   line-height: 1.6;
  556. }
  557.  
  558.  
  559. /**
  560.  * #testimonials
  561.  */
  562.  
  563. .testimonials { margin-bottom: 30px; }
  564.  
  565. .testimonials-title { margin-bottom: 20px; }
  566.  
  567. .testimonials-list {
  568.   display: flex;
  569.   justify-content: flex-start;
  570.   align-items: flex-start;
  571.   gap: 15px;
  572.   margin: 0 -15px;
  573.   padding: 25px 15px;
  574.   padding-bottom: 35px;
  575.   overflow-x: auto;
  576.   scroll-behavior: smooth;
  577.   overscroll-behavior-inline: contain;
  578.   scroll-snap-type: inline mandatory;
  579. }
  580.  
  581. .testimonials-item {
  582.   min-width: 100%;
  583.   scroll-snap-align: center;
  584. }
  585.  
  586. .testimonials-avatar-box {
  587.   position: absolute;
  588.   top: 0;
  589.   left: 0;
  590.   transform: translate(15px, -25px);
  591.   background: var(--bg-gradient-onyx);
  592.   border-radius: 14px;
  593.   box-shadow: var(--shadow-1);
  594. }
  595.  
  596. .testimonials-item-title { margin-bottom: 7px; }
  597.  
  598. .testimonials-text {
  599.   color: var(--light-gray);
  600.   font-size: var(--fs-6);
  601.   font-weight: var(--fw-300);
  602.   line-height: 1.6;
  603.   display: -webkit-box;
  604.   line-clamp: 4;
  605.   -webkit-line-clamp: 4;
  606.   -webkit-box-orient: vertical;
  607.   overflow: hidden;
  608. }
  609.  
  610.  
  611. /**
  612.  * #testimonials-modal
  613.  */
  614.  
  615. .modal-container {
  616.   position: fixed;
  617.   top: 0;
  618.   left: 0;
  619.   width: 100%;
  620.   height: 100%;
  621.   display: flex;
  622.   justify-content: center;
  623.   align-items: center;
  624.   overflow-y: auto;
  625.   overscroll-behavior: contain;
  626.   z-index: 20;
  627.   pointer-events: none;
  628.   visibility: hidden;
  629. }
  630.  
  631. .modal-container::-webkit-scrollbar { display: none; }
  632.  
  633. .modal-container.active {
  634.   pointer-events: all;
  635.   visibility: visible;
  636. }
  637.  
  638. .overlay {
  639.   position: fixed;
  640.   top: 0;
  641.   left: 0;
  642.   width: 100%;
  643.   height: 100vh;
  644.   background: hsl(0, 0%, 5%);
  645.   opacity: 0;
  646.   visibility: hidden;
  647.   pointer-events: none;
  648.   z-index: 1;
  649.   transition: var(--transition-1);
  650. }
  651.  
  652. .overlay.active {
  653.   opacity: 0.8;
  654.   visibility: visible;
  655.   pointer-events: all;
  656. }
  657.  
  658. .testimonials-modal {
  659.   background: var(--eerie-black-2);
  660.   position: relative;
  661.   padding: 15px;
  662.   margin: 15px 12px;
  663.   border: 1px solid var(--jet);
  664.   border-radius: 14px;
  665.   box-shadow: var(--shadow-5);
  666.   transform: scale(1.2);
  667.   opacity: 0;
  668.   transition: var(--transition-1);
  669.   z-index: 2;
  670. }
  671.  
  672. .modal-container.active .testimonials-modal {
  673.   transform: scale(1);
  674.   opacity: 1;
  675. }
  676.  
  677. .modal-close-btn {
  678.   position: absolute;
  679.   top: 15px;
  680.   right: 15px;
  681.   background: var(--onyx);
  682.   border-radius: 8px;
  683.   width: 32px;
  684.   height: 32px;
  685.   display: flex;
  686.   justify-content: center;
  687.   align-items: center;
  688.   color: var(--white-2);
  689.   font-size: 18px;
  690.   opacity: 0.7;
  691. }
  692.  
  693. .modal-close-btn:hover,
  694. .modal-close-btn:focus { opacity: 1; }
  695.  
  696. .modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }
  697.  
  698. .modal-avatar-box {
  699.   background: var(--bg-gradient-onyx);
  700.   width: max-content;
  701.   border-radius: 14px;
  702.   margin-bottom: 15px;
  703.   box-shadow: var(--shadow-2);
  704. }
  705.  
  706. .modal-img-wrapper > img { display: none; }
  707.  
  708. .modal-title { margin-bottom: 4px; }
  709.  
  710. .modal-content time {
  711.   font-size: var(--fs-6);
  712.   color: var(--light-gray-70);
  713.   font-weight: var(--fw-300);
  714.   margin-bottom: 10px;
  715. }
  716.  
  717. .modal-content p {
  718.   color: var(--light-gray);
  719.   font-size: var(--fs-6);
  720.   font-weight: var(--fw-300);
  721.   line-height: 1.6;
  722. }
  723.  
  724.  
  725. /**
  726.  * #clients
  727.  */
  728.  
  729. .clients { margin-bottom: 15px; }
  730.  
  731. .clients-list {
  732.   display: flex;
  733.   justify-content: flex-start;
  734.   align-items: flex-start;
  735.   gap: 15px;
  736.   margin: 0 -15px;
  737.   padding: 25px;
  738.   padding-bottom: 25px;
  739.   overflow-x: auto;
  740.   scroll-behavior: smooth;
  741.   overscroll-behavior-inline: contain;
  742.   scroll-snap-type: inline mandatory;
  743.   scroll-padding-inline: 25px;
  744. }
  745.  
  746. .clients-item {
  747.   min-width: 50%;
  748.   scroll-snap-align: start;
  749. }
  750.  
  751. .clients-item img {
  752.   width: 100%;
  753.   filter: grayscale(1);
  754.   transition: var(--transition-1);
  755. }
  756.  
  757. .clients-item img:hover { filter: grayscale(0); }
  758.  
  759.  
  760.  
  761.  
  762.  
  763. /*-----------------------------------*\
  764.   #RESUME
  765. \*-----------------------------------*/
  766.  
  767. .article-title { margin-bottom: 30px; }
  768.  
  769.  
  770. /**
  771.  * education and experience
  772.  */
  773.  
  774. .timeline { margin-bottom: 30px; }
  775.  
  776. .timeline .title-wrapper {
  777.   display: flex;
  778.   align-items: center;
  779.   gap: 15px;
  780.   margin-bottom: 25px;
  781. }
  782.  
  783. .timeline-list {
  784.   font-size: var(--fs-6);
  785.   margin-left: 45px;
  786. }
  787.  
  788. .timeline-item { position: relative; }
  789.  
  790. .timeline-item:not(:last-child) { margin-bottom: 20px; }
  791.  
  792. .timeline-item-title {
  793.   font-size: var(--fs-6);
  794.   line-height: 1.3;
  795.   margin-bottom: 7px;
  796. }
  797.  
  798. .timeline-list span {
  799.   color: var(--vegas-gold);
  800.   font-weight: var(--fw-400);
  801.   line-height: 1.6;
  802. }
  803.  
  804. .timeline-item:not(:last-child)::before {
  805.   content: "";
  806.   position: absolute;
  807.   top: -25px;
  808.   left: -30px;
  809.   width: 1px;
  810.   height: calc(100% + 50px);
  811.   background: var(--jet);
  812. }
  813.  
  814. .timeline-item::after {
  815.   content: "";
  816.   position: absolute;
  817.   top: 5px;
  818.   left: -33px;
  819.   height: 6px;
  820.   width: 6px;
  821.   background: var(--text-gradient-yellow);
  822.   border-radius: 50%;
  823.   box-shadow: 0 0 0 4px var(--jet);
  824. }
  825.  
  826. .timeline-text {
  827.   color: var(--light-gray);
  828.   font-weight: var(--fw-300);
  829.   line-height: 1.6;
  830. }
  831.  
  832.  
  833. /**
  834.  * skills
  835.  */
  836.  
  837. .skills-title { margin-bottom: 20px; }
  838.  
  839. .skills-list { padding: 20px; }
  840.  
  841.  
  842. .skills-item:not(:last-child) { margin-bottom: 15px; }
  843.  
  844. .skill .title-wrapper {
  845.   display: flex;
  846.   align-items: center;
  847.   gap: 5px;
  848.   margin-bottom: 8px;
  849. }
  850.  
  851. .skill .title-wrapper data {
  852.   color: var(--light-gray);
  853.   font-size: var(--fs-7);
  854.   font-weight: var(--fw-300);
  855. }
  856.  
  857. .skill-progress-bg {
  858.   background: var(--jet);
  859.   width: 100%;
  860.   height: 8px;
  861.   border-radius: 10px;
  862. }
  863.  
  864. .skill-progress-fill {
  865.   background: var(--text-gradient-yellow);
  866.   height: 100%;
  867.   border-radius: inherit;
  868. }
  869.  
  870.  
  871.  
  872.  
  873.  
  874. /*-----------------------------------*\
  875.   #PORTFOLIO
  876. \*-----------------------------------*/
  877.  
  878. .filter-list { display: none; }
  879.  
  880. .filter-select-box {
  881.   position: relative;
  882.   margin-bottom: 25px;
  883. }
  884.  
  885. .filter-select {
  886.   background: var(--eerie-black-2);
  887.   color: var(--light-gray);
  888.   display: flex;
  889.   justify-content: space-between;
  890.   align-items: center;
  891.   width: 100%;
  892.   padding: 12px 16px;
  893.   border: 1px solid var(--jet);
  894.   border-radius: 14px;
  895.   font-size: var(--fs-6);
  896.   font-weight: var(--fw-300);
  897. }
  898.  
  899. .filter-select.active .select-icon { transform: rotate(0.5turn); }
  900.  
  901. .select-list {
  902.   background: var(--eerie-black-2);
  903.   position: absolute;
  904.   top: calc(100% + 6px);
  905.   width: 100%;
  906.   padding: 6px;
  907.   border: 1px solid var(--jet);
  908.   border-radius: 14px;
  909.   z-index: 2;
  910.   opacity: 0;
  911.   visibility: hidden;
  912.   pointer-events: none;
  913.   transition: 0.15s ease-in-out;
  914. }
  915.  
  916. .filter-select.active + .select-list {
  917.   opacity: 1;
  918.   visibility: visible;
  919.   pointer-events: all;
  920. }
  921.  
  922. .select-item button {
  923.   background: var(--eerie-black-2);
  924.   color: var(--light-gray);
  925.   font-size: var(--fs-6);
  926.   font-weight: var(--fw-300);
  927.   text-transform: capitalize;
  928.   width: 100%;
  929.   padding: 8px 10px;
  930.   border-radius: 8px;
  931. }
  932.  
  933. .select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); }
  934.  
  935. .project-list {
  936.   display: grid;
  937.   grid-template-columns: 1fr;
  938.   gap: 30px;
  939.   margin-bottom: 10px;
  940. }
  941.  
  942. .project-item { display: none; }
  943.  
  944. .project-item.active {
  945.   display: block;
  946.   animation: scaleUp 0.25s ease forwards;
  947. }
  948.  
  949. @keyframes scaleUp {
  950.   0% { transform: scale(0.5); }
  951.   100% { transform: scale(1); }
  952. }
  953.  
  954. .project-item > a { width: 100%; }
  955.  
  956. .project-img {
  957.   position: relative;
  958.   width: 100%;
  959.   height: 200px;
  960.   border-radius: 16px;
  961.   overflow: hidden;
  962.   margin-bottom: 15px;
  963. }
  964.  
  965. .project-img::before {
  966.   content: "";
  967.   position: absolute;
  968.   top: 0;
  969.   left: 0;
  970.   width: 100%;
  971.   height: 100%;
  972.   background: transparent;
  973.   z-index: 1;
  974.   transition: var(--transition-1);
  975. }
  976.  
  977. .project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); }
  978.  
  979. .project-item-icon-box {
  980.   --scale: 0.8;
  981.  
  982.   background: var(--jet);
  983.   color: var(--orange-yellow-crayola);
  984.   position: absolute;
  985.   top: 50%;
  986.   left: 50%;
  987.   transform: translate(-50%, -50%) scale(var(--scale));
  988.   font-size: 20px;
  989.   padding: 18px;
  990.   border-radius: 12px;
  991.   opacity: 0;
  992.   z-index: 1;
  993.   transition: var(--transition-1);
  994. }
  995.  
  996. .project-item > a:hover .project-item-icon-box {
  997.   --scale: 1;
  998.   opacity: 1;
  999. }
  1000.  
  1001. .project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }
  1002.  
  1003. .project-img img {
  1004.   width: 100%;
  1005.   height: 100%;
  1006.   object-fit: cover;
  1007.   transition: var(--transition-1);
  1008. }
  1009.  
  1010. .project-item > a:hover img { transform: scale(1.1); }
  1011.  
  1012. .project-title,
  1013. .project-category { margin-left: 10px; }
  1014.  
  1015. .project-title {
  1016.   color: var(--white-2);
  1017.   font-size: var(--fs-5);
  1018.   font-weight: var(--fw-400);
  1019.   text-transform: capitalize;
  1020.   line-height: 1.3;
  1021. }
  1022.  
  1023. .project-category {
  1024.   color: var(--light-gray-70);
  1025.   font-size: var(--fs-6);
  1026.   font-weight: var(--fw-300);
  1027. }
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033. /*-----------------------------------*\
  1034.   #BLOG
  1035. \*-----------------------------------*/
  1036.  
  1037. .blog-posts { margin-bottom: 10px; }
  1038.  
  1039. .blog-posts-list {
  1040.   display: grid;
  1041.   grid-template-columns: 1fr;
  1042.   gap: 20px;
  1043. }
  1044.  
  1045. .blog-post-item > a {
  1046.   position: relative;
  1047.   background: var(--border-gradient-onyx);
  1048.   height: 100%;
  1049.   box-shadow: var(--shadow-4);
  1050.   border-radius: 16px;
  1051.   z-index: 1;
  1052. }
  1053.  
  1054. .blog-post-item > a::before {
  1055.   content: "";
  1056.   position: absolute;
  1057.   inset: 1px;
  1058.   border-radius: inherit;
  1059.   background: var(--eerie-black-1);
  1060.   z-index: -1;
  1061. }
  1062.  
  1063. .blog-banner-box {
  1064.   width: 100%;
  1065.   height: 200px;
  1066.   border-radius: 12px;
  1067.   overflow: hidden;
  1068. }
  1069.  
  1070. .blog-banner-box img {
  1071.   width: 100%;
  1072.   height: 100%;
  1073.   object-fit: cover;
  1074.   transition: var(--transition-1);
  1075. }
  1076.  
  1077. .blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); }
  1078.  
  1079. .blog-content { padding: 15px; }
  1080.  
  1081. .blog-meta {
  1082.   display: flex;
  1083.   justify-content: flex-start;
  1084.   align-items: center;
  1085.   gap: 7px;
  1086.   margin-bottom: 10px;
  1087. }
  1088.  
  1089. .blog-meta :is(.blog-category, time) {
  1090.   color: var(--light-gray-70);
  1091.   font-size: var(--fs-6);
  1092.   font-weight: var(--fw-300);
  1093. }
  1094.  
  1095. .blog-meta .dot {
  1096.   background: var(--light-gray-70);
  1097.   width: 4px;
  1098.   height: 4px;
  1099.   border-radius: 4px;
  1100. }
  1101.  
  1102. .blog-item-title {
  1103.   margin-bottom: 10px;
  1104.   line-height: 1.3;
  1105.   transition: var(--transition-1);
  1106. }
  1107.  
  1108. .blog-post-item > a:hover .blog-item-title { color: var(--orange-yellow-crayola); }
  1109.  
  1110. .blog-text {
  1111.   color: var(--light-gray);
  1112.   font-size: var(--fs-6);
  1113.   font-weight: var(--fw-300);
  1114.   line-height: 1.6;
  1115. }
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121. /*-----------------------------------*\
  1122.   #CONTACT
  1123. \*-----------------------------------*/
  1124.  
  1125. .mapbox {
  1126.   position: relative;
  1127.   height: 250px;
  1128.   width: 100%;
  1129.   border-radius: 16px;
  1130.   margin-bottom: 30px;
  1131.   border: 1px solid var(--jet);
  1132.   overflow: hidden;
  1133. }
  1134.  
  1135. .mapbox figure { height: 100%; }
  1136.  
  1137. .mapbox iframe {
  1138.   width: 100%;
  1139.   height: 100%;
  1140.   border: none;
  1141.   filter: grayscale(1) invert(1);
  1142. }
  1143.  
  1144. .contact-form { margin-bottom: 10px; }
  1145.  
  1146. .form-title { margin-bottom: 20px; }
  1147.  
  1148. .input-wrapper {
  1149.   display: grid;
  1150.   grid-template-columns: 1fr;
  1151.   gap: 25px;
  1152.   margin-bottom: 25px;
  1153. }
  1154.  
  1155. .form-input {
  1156.   color: var(--white-2);
  1157.   font-size: var(--fs-6);
  1158.   font-weight: var(--fw-400);
  1159.   padding: 13px 20px;
  1160.   border: 1px solid var(--jet);
  1161.   border-radius: 14px;
  1162.   outline: none;
  1163. }
  1164.  
  1165. .form-input::placeholder { font-weight: var(--fw-500); }
  1166.  
  1167. .form-input:focus { border-color: var(--orange-yellow-crayola); }
  1168.  
  1169. textarea.form-input {
  1170.   min-height: 100px;
  1171.   height: 120px;
  1172.   max-height: 200px;
  1173.   resize: vertical;
  1174.   margin-bottom: 25px;
  1175. }
  1176.  
  1177. textarea.form-input::-webkit-resizer { display: none; }
  1178.  
  1179. .form-input:focus:invalid { border-color: var(--bittersweet-shimmer); }
  1180.  
  1181. .form-btn {
  1182.   position: relative;
  1183.   width: 100%;
  1184.   background: var(--border-gradient-onyx);
  1185.   color: var(--orange-yellow-crayola);
  1186.   display: flex;
  1187.   justify-content: center;
  1188.   align-items: center;
  1189.   gap: 10px;
  1190.   padding: 13px 20px;
  1191.   border-radius: 14px;
  1192.   font-size: var(--fs-6);
  1193.   text-transform: capitalize;
  1194.   box-shadow: var(--shadow-3);
  1195.   z-index: 1;
  1196.   transition: var(--transition-1);
  1197. }
  1198.  
  1199. .form-btn::before {
  1200.   content: "";
  1201.   position: absolute;
  1202.   inset: 1px;
  1203.   background: var(--bg-gradient-jet);
  1204.   border-radius: inherit;
  1205.   z-index: -1;
  1206.   transition: var(--transition-1);
  1207. }
  1208.  
  1209. .form-btn ion-icon { font-size: 16px; }
  1210.  
  1211. .form-btn:hover { background: var(--bg-gradient-yellow-1); }
  1212.  
  1213. .form-btn:hover::before { background: var(--bg-gradient-yellow-2); }
  1214.  
  1215. .form-btn:disabled {
  1216.   opacity: 0.7;
  1217.   cursor: not-allowed;
  1218. }
  1219.  
  1220. .form-btn:disabled:hover { background: var(--border-gradient-onyx); }
  1221.  
  1222. .form-btn:disabled:hover::before { background: var(--bg-gradient-jet); }
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228. /*-----------------------------------*\
  1229.   #RESPONSIVE
  1230. \*-----------------------------------*/
  1231.  
  1232. /**
  1233.  * responsive larger than 450px screen
  1234.  */
  1235.  
  1236. @media (min-width: 450px) {
  1237.  
  1238.   /**
  1239.    * client
  1240.    */
  1241.  
  1242.   .clients-item { min-width: calc(33.33% - 10px); }
  1243.  
  1244.  
  1245.  
  1246.   /**
  1247.    * #PORTFOLIO, BLOG
  1248.    */
  1249.  
  1250.   .project-img,
  1251.   .blog-banner-box { height: auto; }
  1252.  
  1253. }
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259. /**
  1260.  * responsive larger than 580px screen
  1261.  */
  1262.  
  1263. @media (min-width: 580px) {
  1264.  
  1265.   /**
  1266.    * CUSTOM PROPERTY
  1267.    */
  1268.  
  1269.   :root {
  1270.  
  1271.     /**
  1272.      * typography
  1273.      */
  1274.  
  1275.     --fs-1: 32px;
  1276.     --fs-2: 24px;
  1277.     --fs-3: 26px;
  1278.     --fs-4: 18px;
  1279.     --fs-6: 15px;
  1280.     --fs-7: 15px;
  1281.     --fs-8: 12px;
  1282.  
  1283.   }
  1284.  
  1285.  
  1286.  
  1287.   /**
  1288.    * #REUSED STYLE
  1289.    */
  1290.  
  1291.   .sidebar, article {
  1292.     width: 520px;
  1293.     margin-inline: auto;
  1294.     padding: 30px;
  1295.   }
  1296.  
  1297.   .article-title {
  1298.     font-weight: var(--fw-600);
  1299.     padding-bottom: 15px;
  1300.   }
  1301.  
  1302.   .article-title::after {
  1303.     width: 40px;
  1304.     height: 5px;
  1305.   }
  1306.  
  1307.   .icon-box {
  1308.     width: 48px;
  1309.     height: 48px;
  1310.     border-radius: 12px;
  1311.     font-size: 18px;
  1312.   }
  1313.  
  1314.  
  1315.  
  1316.   /**
  1317.    * #MAIN
  1318.    */
  1319.  
  1320.   main {
  1321.     margin-top: 60px;
  1322.     margin-bottom: 100px;
  1323.   }
  1324.  
  1325.  
  1326.  
  1327.   /**
  1328.    * #SIDEBAR
  1329.    */
  1330.  
  1331.   .sidebar {
  1332.     max-height: 180px;
  1333.     margin-bottom: 30px;
  1334.   }
  1335.  
  1336.   .sidebar.active { max-height: 584px; }
  1337.  
  1338.   .sidebar-info { gap: 25px; }
  1339.  
  1340.   .avatar-box { border-radius: 30px; }
  1341.  
  1342.   .avatar-box img { width: 120px; }
  1343.  
  1344.   .info-content .name { margin-bottom: 15px; }
  1345.  
  1346.   .info-content .title { padding: 5px 18px; }
  1347.  
  1348.   .info_more-btn {
  1349.     top: -30px;
  1350.     right: -30px;
  1351.     padding: 10px 15px;
  1352.   }
  1353.  
  1354.   .info_more-btn span {
  1355.     display: block;
  1356.     font-size: var(--fs-8);
  1357.   }
  1358.  
  1359.   .info_more-btn ion-icon { display: none; }
  1360.  
  1361.   .separator { margin: 32px 0; }
  1362.  
  1363.   .contacts-list { gap: 20px; }
  1364.  
  1365.   .contact-info {
  1366.     max-width: calc(100% - 64px);
  1367.     width: calc(100% - 64px);
  1368.   }
  1369.  
  1370.  
  1371.  
  1372.   /**
  1373.    * #NAVBAR
  1374.    */
  1375.  
  1376.   .navbar { border-radius: 20px 20px 0 0; }
  1377.  
  1378.   .navbar-list { gap: 20px; }
  1379.  
  1380.   .navbar-link { --fs-8: 14px; }
  1381.  
  1382.  
  1383.  
  1384.   /**
  1385.    * #ABOUT
  1386.    */
  1387.  
  1388.   .about .article-title { margin-bottom: 20px; }
  1389.  
  1390.   .about-text { margin-bottom: 40px; }
  1391.  
  1392.   /* service */
  1393.  
  1394.   .service-item {
  1395.     display: flex;
  1396.     justify-content: flex-start;
  1397.     align-items: flex-start;
  1398.     gap: 18px;
  1399.     padding: 30px;
  1400.   }
  1401.  
  1402.   .service-icon-box {
  1403.     margin-bottom: 0;
  1404.     margin-top: 5px;
  1405.   }
  1406.  
  1407.   .service-content-box { text-align: left; }
  1408.  
  1409.   /* testimonials */
  1410.  
  1411.   .testimonials-title { margin-bottom: 25px; }
  1412.  
  1413.   .testimonials-list {
  1414.     gap: 30px;
  1415.     margin: 0 -30px;
  1416.     padding: 30px;
  1417.     padding-bottom: 35px;
  1418.   }
  1419.  
  1420.   .content-card {
  1421.     padding: 30px;
  1422.     padding-top: 25px;
  1423.   }
  1424.  
  1425.   .testimonials-avatar-box {
  1426.     transform: translate(30px, -30px);
  1427.     border-radius: 20px;
  1428.   }
  1429.  
  1430.   .testimonials-avatar-box img { width: 80px; }
  1431.  
  1432.   .testimonials-item-title {
  1433.     margin-bottom: 10px;
  1434.     margin-left: 95px;
  1435.   }
  1436.  
  1437.   .testimonials-text {
  1438.     line-clamp: 2;
  1439.     -webkit-line-clamp: 2;
  1440.   }
  1441.  
  1442.   /* testimonials modal */
  1443.  
  1444.   .modal-container { padding: 20px; }
  1445.  
  1446.   .testimonials-modal {
  1447.     display: flex;
  1448.     justify-content: flex-start;
  1449.     align-items: stretch;
  1450.     gap: 25px;
  1451.     padding: 30px;
  1452.     border-radius: 20px;
  1453.   }
  1454.  
  1455.   .modal-img-wrapper {
  1456.     display: flex;
  1457.     flex-direction: column;
  1458.     align-items: center;
  1459.   }
  1460.  
  1461.   .modal-avatar-box {
  1462.     border-radius: 18px;
  1463.     margin-bottom: 0;
  1464.   }
  1465.  
  1466.   .modal-avatar-box img { width: 65px; }
  1467.  
  1468.   .modal-img-wrapper > img {
  1469.     display: block;
  1470.     flex-grow: 1;
  1471.     width: 35px;
  1472.   }
  1473.  
  1474.   /* clients */
  1475.  
  1476.   .clients-list {
  1477.     gap: 50px;
  1478.     margin: 0 -30px;
  1479.     padding: 45px;
  1480.     scroll-padding-inline: 45px;
  1481.   }
  1482.  
  1483.   .clients-item { min-width: calc(33.33% - 35px); }
  1484.  
  1485.  
  1486.  
  1487.   /**
  1488.    * #RESUME
  1489.    */
  1490.  
  1491.   .timeline-list { margin-left: 65px; }
  1492.  
  1493.   .timeline-item:not(:last-child)::before { left: -40px; }
  1494.  
  1495.   .timeline-item::after {
  1496.     height: 8px;
  1497.     width: 8px;
  1498.     left: -43px;
  1499.   }
  1500.  
  1501.   .skills-item:not(:last-child) { margin-bottom: 25px; }
  1502.  
  1503.  
  1504.  
  1505.   /**
  1506.    * #PORTFOLIO, BLOG
  1507.    */
  1508.  
  1509.   .project-img, .blog-banner-box { border-radius: 16px; }
  1510.  
  1511.   .blog-posts-list { gap: 30px; }
  1512.  
  1513.   .blog-content { padding: 25px; }
  1514.  
  1515.  
  1516.  
  1517.   /**
  1518.    * #CONTACT
  1519.    */
  1520.  
  1521.   .mapbox {
  1522.     height: 380px;
  1523.     border-radius: 18px;
  1524.   }
  1525.  
  1526.   .input-wrapper {
  1527.     gap: 30px;
  1528.     margin-bottom: 30px;
  1529.   }
  1530.  
  1531.   .form-input { padding: 15px 20px; }
  1532.  
  1533.   textarea.form-input { margin-bottom: 30px; }
  1534.  
  1535.   .form-btn {
  1536.     --fs-6: 16px;
  1537.     padding: 16px 20px;
  1538.   }
  1539.  
  1540.   .form-btn ion-icon { font-size: 18px; }
  1541.  
  1542. }
  1543.  
  1544.  
  1545.  
  1546.  
  1547.  
  1548. /**
  1549.  * responsive larger than 768px screen
  1550.  */
  1551.  
  1552. @media (min-width: 768px) {
  1553.  
  1554.   /**
  1555.    * REUSED STYLE
  1556.    */
  1557.  
  1558.   .sidebar, article { width: 700px; }
  1559.  
  1560.   .has-scrollbar::-webkit-scrollbar-button { width: 100px; }
  1561.  
  1562.  
  1563.  
  1564.   /**
  1565.    * SIDEBAR
  1566.    */
  1567.  
  1568.   .contacts-list {
  1569.     grid-template-columns: 1fr 1fr;
  1570.     gap: 30px 15px;
  1571.   }
  1572.  
  1573.  
  1574.  
  1575.   /**
  1576.    * NAVBAR
  1577.    */
  1578.  
  1579.   .navbar-link { --fs-8: 15px; }
  1580.  
  1581.  
  1582.  
  1583.   /**
  1584.    * ABOUT
  1585.    */
  1586.  
  1587.   /* testimonials modal */
  1588.  
  1589.   .testimonials-modal {
  1590.     gap: 35px;
  1591.     max-width: 680px;
  1592.   }
  1593.  
  1594.   .modal-avatar-box img { width: 80px; }
  1595.  
  1596.  
  1597.  
  1598.   /**
  1599.    * PORTFOLIO
  1600.    */
  1601.  
  1602.   .article-title { padding-bottom: 20px; }
  1603.  
  1604.   .filter-select-box { display: none; }
  1605.  
  1606.   .filter-list {
  1607.     display: flex;
  1608.     justify-content: flex-start;
  1609.     align-items: center;
  1610.     gap: 25px;
  1611.     padding-left: 5px;
  1612.     margin-bottom: 30px;
  1613.   }
  1614.  
  1615.   .filter-item button {
  1616.     color: var(--light-gray);
  1617.     font-size: var(--fs-5);
  1618.     transition: var(--transition-1);
  1619.   }
  1620.  
  1621.   .filter-item button:hover { color: var(--light-gray-70); }
  1622.  
  1623.   .filter-item button.active { color: var(--orange-yellow-crayola); }
  1624.  
  1625.   /* portfolio and blog grid */
  1626.  
  1627.   .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }
  1628.  
  1629.  
  1630.  
  1631.   /**
  1632.    * CONTACT
  1633.    */
  1634.  
  1635.   .input-wrapper { grid-template-columns: 1fr 1fr; }
  1636.  
  1637.   .form-btn {
  1638.     width: max-content;
  1639.     margin-left: auto;
  1640.   }
  1641.  
  1642. }
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648. /**
  1649.  * responsive larger than 1024px screen
  1650.  */
  1651.  
  1652. @media (min-width: 1024px) {
  1653.  
  1654.   /**
  1655.    * CUSTOM PROPERTY
  1656.    */
  1657.  
  1658.   :root {
  1659.  
  1660.     /**
  1661.     * shadow
  1662.     */
  1663.  
  1664.     --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
  1665.     --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
  1666.     --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);
  1667.  
  1668.   }
  1669.  
  1670.  
  1671.  
  1672.   /**
  1673.    * REUSED STYLE
  1674.    */
  1675.  
  1676.   .sidebar, article {
  1677.     width: 950px;
  1678.     box-shadow: var(--shadow-5);
  1679.   }
  1680.  
  1681.  
  1682.  
  1683.   /**
  1684.    * MAIN
  1685.    */
  1686.  
  1687.   main { margin-bottom: 60px; }
  1688.  
  1689.   .main-content {
  1690.     position: relative;
  1691.     width: max-content;
  1692.     margin: auto;
  1693.   }
  1694.  
  1695.  
  1696.  
  1697.   /**
  1698.    * NAVBAR
  1699.    */
  1700.  
  1701.   .navbar {
  1702.     position: absolute;
  1703.     bottom: auto;
  1704.     top: 0;
  1705.     left: auto;
  1706.     right: 0;
  1707.     width: max-content;
  1708.     border-radius: 0 20px;
  1709.     padding: 0 20px;
  1710.     box-shadow: none;
  1711.   }
  1712.  
  1713.   .navbar-list {
  1714.     gap: 30px;
  1715.     padding: 0 20px;
  1716.   }
  1717.  
  1718.   .navbar-link { font-weight: var(--fw-500); }
  1719.  
  1720.  
  1721.  
  1722.   /**
  1723.    * ABOUT
  1724.    */
  1725.  
  1726.   /* service */
  1727.  
  1728.   .service-list {
  1729.     grid-template-columns: 1fr 1fr;
  1730.     gap: 20px 25px;
  1731.   }
  1732.  
  1733.   /* testimonials */
  1734.  
  1735.   .testimonials-item { min-width: calc(50% - 15px); }
  1736.  
  1737.   /* clients */
  1738.  
  1739.   .clients-item { min-width: calc(25% - 38px); }
  1740.  
  1741.  
  1742.  
  1743.   /**
  1744.    * PORTFOLIO
  1745.    */
  1746.  
  1747.   .project-list { grid-template-columns: repeat(3, 1fr); }
  1748.  
  1749.  
  1750.  
  1751.   /**
  1752.    * BLOG
  1753.    */
  1754.  
  1755.   .blog-banner-box { height: 230px; }
  1756.  
  1757. }
  1758.  
  1759.  
  1760.  
  1761.  
  1762.  
  1763. /**
  1764.  * responsive larger than 1250px screen
  1765.  */
  1766.  
  1767. @media (min-width: 1250px) {
  1768.  
  1769.   /**
  1770.    * RESET
  1771.    */
  1772.  
  1773.   body::-webkit-scrollbar { width: 20px; }
  1774.  
  1775.   body::-webkit-scrollbar-track { background: var(--smoky-black); }
  1776.  
  1777.   body::-webkit-scrollbar-thumb {
  1778.     border: 5px solid var(--smoky-black);
  1779.     background: hsla(0, 0%, 100%, 0.1);
  1780.     border-radius: 20px;
  1781.     box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
  1782.                 inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  1783.   }
  1784.  
  1785.   body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }
  1786.  
  1787.   body::-webkit-scrollbar-button { height: 60px; }
  1788.  
  1789.  
  1790.  
  1791.   /**
  1792.    * REUSED STYLE
  1793.    */
  1794.  
  1795.   .sidebar, article { width: auto; }
  1796.  
  1797.   article { min-height: 100%; }
  1798.  
  1799.  
  1800.  
  1801.   /**
  1802.    * MAIN
  1803.    */
  1804.  
  1805.   main {
  1806.     max-width: 1200px;
  1807.     margin-inline: auto;
  1808.     display: flex;
  1809.     justify-content: center;
  1810.     align-items: stretch;
  1811.     gap: 25px;
  1812.   }
  1813.  
  1814.   .main-content {
  1815.     min-width: 75%;
  1816.     width: 75%;
  1817.     margin: 0;
  1818.   }
  1819.  
  1820.  
  1821.  
  1822.   /**
  1823.    * SIDEBAR
  1824.    */
  1825.  
  1826.   .sidebar {
  1827.     position: sticky;
  1828.     top: 60px;
  1829.     max-height: max-content;
  1830.     height: 100%;
  1831.     margin-bottom: 0;
  1832.     padding-top: 60px;
  1833.     z-index: 1;
  1834.   }
  1835.  
  1836.   .sidebar-info { flex-direction: column; }
  1837.  
  1838.   .avatar-box img { width: 150px; }
  1839.  
  1840.   .info-content .name {
  1841.     white-space: nowrap;
  1842.     text-align: center;
  1843.   }
  1844.  
  1845.   .info-content .title { margin: auto; }
  1846.  
  1847.   .info_more-btn { display: none; }
  1848.  
  1849.   .sidebar-info_more {
  1850.     opacity: 1;
  1851.     visibility: visible;
  1852.   }
  1853.  
  1854.   .contacts-list { grid-template-columns: 1fr; }
  1855.  
  1856.   .contact-info :is(.contact-link) {
  1857.     white-space: nowrap;
  1858.     overflow: hidden;
  1859.     text-overflow: ellipsis;
  1860.   }
  1861.  
  1862.   .contact-info :is(.contact-link, time, address) {
  1863.     --fs-7: 14px;
  1864.     font-weight: var(--fw-300);
  1865.   }
  1866.  
  1867.   .separator:last-of-type {
  1868.     margin: 15px 0;
  1869.     opacity: 0;
  1870.   }
  1871.  
  1872.   .social-list { justify-content: center; }
  1873.  
  1874.  
  1875.  
  1876.   /**
  1877.      * RESUME
  1878.      */
  1879.  
  1880.   .timeline-text { max-width: 700px; }
  1881.  
  1882. }
Add Comment
Please, Sign In to add comment