mobile pages added, other issues fixed

This commit is contained in:
BenjaminToby 2021-06-26 10:11:17 +01:00
parent 1296ddbe79
commit b19e5b64a2
24 changed files with 2594 additions and 225 deletions

1
images/adobe animate.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 695.83 406.28"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="An"><path id="path2242" class="cls-1" d="M258.79,309.11H115.27l-29.35,91a6.69,6.69,0,0,1-7.25,5.44H4.74c-4.35,0-5.43-2.18-4.35-6.89l125-357.31c1.09-4,2.17-6.88,4-12a141.56,141.56,0,0,0,2.17-25A4,4,0,0,1,134.84,0H235.59c3.26,0,4.71,1.09,5.07,3.26l141,396.09c1.09,4.35,0,6.16-4,6.16H296.83a5.79,5.79,0,0,1-6.15-4.35Zm-121-77.18H236c-2.18-8-5.45-17.76-9.07-27.91-3.62-10.51-6.88-21.74-10.52-33.34-4-12-7.24-23.55-11.23-35.51S197.9,112,194.63,100.74c-3.25-10.87-5.79-21-8.69-30.07h-.73a505.68,505.68,0,0,1-13,50c-5.8,18.48-11.6,38.06-17.76,57.26C149.33,197.5,143.54,215.62,137.74,231.93Z"/><path id="path2244" class="cls-1" d="M425.48,399.71V169.6c0-6.89,0-15.22-.36-23.56-.36-9.06-.36-17-.72-24.64s-.72-15.22-1.09-19.57a4.24,4.24,0,0,1,.72-4,6.48,6.48,0,0,1,4-1.09h62.35a16.76,16.76,0,0,1,6.14,1.09,7,7,0,0,1,3.27,4.35,88.73,88.73,0,0,1,2.54,8.69,85.28,85.28,0,0,1,2.17,12.68,129.43,129.43,0,0,1,41-23.91,146.75,146.75,0,0,1,46.75-7.61,111.54,111.54,0,0,1,36.25,5.8,92.33,92.33,0,0,1,58.71,57.25c6.15,15.94,8.68,36.6,8.68,62v183c0,4-1.45,5.44-5.06,5.44l-72.84.72c-3.28.37-5.81-1.45-6.18-4.71v-175c-.36-11.61-2.53-23.2-7.23-33.71-3.64-7.61-9.06-14.86-16-19.21a45.25,45.25,0,0,0-26.44-6.88c-10.16,0-20.31,1.44-29.36,5.43A82.17,82.17,0,0,0,509.56,187V400.8c0,4-1.45,5.43-5.07,5.43H430.93a4.87,4.87,0,0,1-5.45-4.34c-.36-1.46-.36-1.82,0-2.18Z"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

1
images/adobe-xd.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 170.14 115.72"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M91.24,10.22l-30,49.5,32,52.5a1.72,1.72,0,0,1,.2,1.2c-.1.4-.5.1-1.1.2H69.44c-1.6,0-2.7-.1-3.4-1.1-2.1-4.2-4.3-8.3-6.4-12.5s-4.4-8.3-6.8-12.6-4.8-8.6-7.2-13h-.2c-2.1,4.3-4.4,8.6-6.7,12.9s-4.6,8.6-6.8,12.8-4.6,8.5-6.9,12.6c-.4,1-1.2,1.1-2.3,1.1H.74c-.4,0-.7.2-.7-.3a1.39,1.39,0,0,1,.2-1.1l31.1-51L1,10.12c-.3-.4-.4-.8-.2-1a1.16,1.16,0,0,1,1-.4h22.7a5.9,5.9,0,0,1,1.4.2,2.84,2.84,0,0,1,1,.9c1.9,4.3,4.1,8.6,6.4,12.9s4.7,8.5,7.2,12.7,4.6,8.4,6.7,12.7h.2c2.1-4.4,4.3-8.7,6.5-12.9s4.5-8.4,6.8-12.6,4.5-8.5,6.7-12.6A1.7,1.7,0,0,1,68,9a1.91,1.91,0,0,1,1.3-.2h21.1a.92.92,0,0,1,1.1.7c.1.1-.1.5-.3.7Z"/><path class="cls-1" d="M137.44,115.72a49.72,49.72,0,0,1-21.5-4.5,34.86,34.86,0,0,1-15.1-13.6c-3.7-6.1-5.5-13.7-5.5-22.8a41.07,41.07,0,0,1,5.5-21.1,41.53,41.53,0,0,1,15.9-15.5c7-3.9,15.4-5.8,25.3-5.8a17.86,17.86,0,0,1,2.1.1c.9.1,1.9.1,3.1.2V1.12c0-.7.3-1.1,1-1.1h20.3a.9.9,0,0,1,1,.7v95.4c0,1.8.1,3.8.2,6s.3,4.1.4,5.8a1.62,1.62,0,0,1-1,1.6,76.37,76.37,0,0,1-16.3,4.8A88.21,88.21,0,0,1,137.44,115.72Zm9.8-20v-44a25.58,25.58,0,0,0-2.7-.5c-1.1-.1-2.2-.2-3.3-.2a24.65,24.65,0,0,0-11.3,2.6,22.42,22.42,0,0,0-8.5,7.4c-2.2,3.2-3.3,7.5-3.3,12.7a27.87,27.87,0,0,0,1.7,10.3,19.54,19.54,0,0,0,4.5,7.1,17.28,17.28,0,0,0,6.8,4,26.18,26.18,0,0,0,8.3,1.3c1.5,0,2.9-.1,4.2-.2a8.75,8.75,0,0,0,3.6-.5Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

1
images/affinity.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 110.67 110.67"><defs><style>.cls-1{fill:#fff;fill-rule:evenodd;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M3.06,110.67H0L0,83.38,24.07,41.69H42.88ZM110.67,72.82v37.85H72.19L50.34,72.82ZM67.21,110.67H8L37.63,59.42ZM110.67,68.5H67.8L107.35,0h3.32ZM60.09,41.61a4.84,4.84,0,0,1,4,2.4l0,0,5,8.62,0,.07a4.79,4.79,0,0,1,0,4.67c-1.67,2.91-3.36,5.82-5,8.73a4.83,4.83,0,0,1-4.05,2.36c-3.17,0-9.52,0-9.53,0a4.79,4.79,0,0,1-4.08-2.31l-.06-.09-5-8.64a4.82,4.82,0,0,1,0-4.71l0-.06,5-8.67a4.88,4.88,0,0,1,4.05-2.41h9.53ZM48.14,0h54.23L73,50.8l-27.11-47ZM60.31,37.38H26.56L43.44,8.15Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 708 B

1
images/aftereffects.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240.09 145.59"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Outlined_Mnemonics_Logos" data-name="Outlined Mnemonics Logos"><g id="Ae"><path id="path2199" class="cls-1" d="M90.93,108.77H40.22L29.86,140.94a2.39,2.39,0,0,1-2.58,1.91H1.65c-1.5,0-1.91-.82-1.5-2.46L44,14.58c.41-1.36.82-2.59,1.36-4.22a47.18,47.18,0,0,0,.82-8.86A1.36,1.36,0,0,1,47.31,0H82.62c.95,0,1.63.41,1.77,1.09L134.14,140.8c.41,1.5,0,2.18-1.37,2.18H104.29a2,2,0,0,1-2.18-1.5ZM48.13,81.64H82.75c-2-6.72-4.73-14.27-6.81-21.53-3.72-11.55-7.53-23.86-10.64-35.3H65c-2.65,12.8-7.05,25-10.9,37.75-1.78,7-4,13.36-6,19.08Z"/><path id="path2201" class="cls-1" d="M215,96.23H171.76A29.93,29.93,0,0,0,176,108.36a21.62,21.62,0,0,0,10,8.18c9.86,4.4,21.23,3.93,31.62,1.91a51.25,51.25,0,0,0,12.13-3.14c.69-.54,1.09-.27,1.09,1.09-.08.39.25,23-.27,22.49a3.11,3.11,0,0,1-.95,1,58.8,58.8,0,0,1-13.63,4.09,92.3,92.3,0,0,1-19.36,1.63c-25.3.5-45.68-11.72-52.74-35.57-10.65-35.21,8.53-79.1,50-77.42,13.11-.25,27.08,4.59,35.44,15.13,9.32,11.74,11.78,26.41,10.49,40.89-.27,2.59-.41,4.49-.54,5.72a2,2,0,0,1-1.91,1.77c-.82,0-2.32.14-4.5.28-5.33.82-11.91.11-17.85-.14Zm-43.21-19.9c5.42-.07,31.91.16,36.52-.14a6.58,6.58,0,0,0,3.14-1.09c.7-10.28-8.23-19.44-18.54-18.94C181.1,55.45,172.83,65.13,171.76,76.33Z"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

17
images/css3.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 1766.7 2003.6" style="enable-background:new 0 0 1766.7 2003.6;" xml:space="preserve">
<style type="text/css">
.st0{opacity:0.1;fill:#1730C6;enable-background:new ;}
.st1{fill:#FFFFFF;}
</style>
<g id="Layer_2_1_">
<g id="Layer_1-2">
<path class="st0" d="M1468,1688.2l137.5-1540.8H883.3v1702.9L1468,1688.2z"/>
<path class="st1" d="M0,0l160.8,1803.3l721.5,200.3l0,0l723.5-200.6l161-1803L0,0z M1396.7,816.3L1396.7,816.3l-5.4,59.4
l-52,582.3l-3.3,37.4l-452.6,125.4l0,0l-1,0.3l-453.1-125.7l-31-347.3h222l15.8,176.4l246.4,66.5h0.2l0,0l246.7-66.6l25.7-286.9
H388.4l-19.8-221.2h805.5l20.1-226.5H348.9l-20.1-221.2h1107.9L1396.7,816.3z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 938 B

12
images/down-arrow.svg Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 30 30" style="enable-background:new 0 0 30 30;" xml:space="preserve">
<style type="text/css">
.st0{fill:#1C3766;}
</style>
<g>
<path class="st0" d="M28.6,13.4l-11,9.4c-0.7,0.6-1.7,0.9-2.6,0.9c-0.9,0-1.8-0.3-2.6-0.9l-11-9.4C-0.3,12-0.5,9.4,1,7.7
C2.4,6,5,5.8,6.6,7.2l8.4,7.2l8.4-7.2C25.1,5.8,27.6,6,29,7.7C30.5,9.4,30.3,12,28.6,13.4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 626 B

1
images/dreamweaver.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 198.17 106.1"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Outlined_Mnemonics_Logos" data-name="Outlined Mnemonics Logos"><g id="Dw"><path class="cls-1" d="M0,104.2V1.8A1.2,1.2,0,0,1,1,.5h.1C2.61.4,4.91.3,7.81.3s6.4-.1,10.4-.2,8.2-.1,12.7-.1c12.2,0,22.4,2.2,30.4,6.6a43.85,43.85,0,0,1,18.1,18.1c4,7.7,6,16.5,6,26.5a61.83,61.83,0,0,1-3.1,20.5,48.72,48.72,0,0,1-8.6,15.4,52.35,52.35,0,0,1-12.3,10.7,54.86,54.86,0,0,1-14.7,6.3,61.38,61.38,0,0,1-15.4,2H20c-4,0-7.8,0-11.2-.1s-6.1-.1-7.8-.2C.31,105.8,0,105.2,0,104.2Zm21.1-84.4V86.5c1.1,0,2.1,0,3.1.1s1.9.1,2.8.2,2.1.1,3.3.1a37.42,37.42,0,0,0,13.6-2.3,26.84,26.84,0,0,0,10.5-6.8,30.88,30.88,0,0,0,6.7-11.1,47.57,47.57,0,0,0,2.4-15,39.74,39.74,0,0,0-2.3-14.1,26.08,26.08,0,0,0-17.1-16.2,42.18,42.18,0,0,0-13.2-1.9c-2,0-3.7,0-5.1.1s-3,.1-4.7.2Z"/><path class="cls-1" d="M175,105.8h-18.7a1.37,1.37,0,0,1-1.2-.4,3.38,3.38,0,0,1-.6-1.2c-1.9-8-3.5-15.2-4.8-21.3s-2.4-11.4-3.2-15.7-1.5-7.9-2.1-10.9-1-5.5-1.3-7.6H143c-1,4.4-1.9,8.7-2.8,12.8s-1.8,8.3-2.8,12.5-2.1,8.8-3.4,13.8-2.6,10.5-4.1,16.4c-.2,1.1-.7,1.6-1.6,1.6h-18.7a2.23,2.23,0,0,1-1.4-.3,4.13,4.13,0,0,1-.7-1.1L88,27.1c-.3-.9.1-1.3,1.2-1.3h18.9c.9,0,1.4.3,1.5,1,2,8.8,3.7,16.4,5,22.8s2.4,11.8,3.1,16.3,1.4,8.2,1.9,11,.9,5.2,1.2,7h.3c.2-1.6.4-3.1.7-4.7q.6-2.85,1.5-7.5c.6-3.1,1.3-6.7,2.2-10.9s1.9-9,3.1-14.6,2.7-11.8,4.6-18.9a3.26,3.26,0,0,1,.4-1.3c.1-.2.5-.3,1.1-.3h19.6c.6,0,.9.4,1,1.1,1.7,7.3,3.1,13.7,4.3,19.2s2.1,10.4,3,14.7,1.5,7.9,1.9,10.9.9,5.6,1.3,7.7a44.62,44.62,0,0,1,.7,5.1h.3c.5-2,.9-4.4,1.3-7.1s.9-5.7,1.6-9.1,1.3-7.1,2.1-11.2,1.7-8.6,2.8-13.7,2.3-10.5,3.7-16.4c.2-.9.6-1.3,1.3-1.3h17.5c.9,0,1.2.5,1,1.4l-21.6,77.1a2.38,2.38,0,0,1-.6,1.1C175.91,105.7,175.51,105.9,175,105.8Z"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

1
images/figma.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1666.67 2500"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path id="path0_fill" data-name="path0 fill" class="cls-1" d="M416.67,2500c230,0,416.66-186.67,416.66-416.67V1666.67H416.67C186.67,1666.67,0,1853.33,0,2083.33S186.67,2500,416.67,2500Z"/><path id="path1_fill" data-name="path1 fill" class="cls-1" d="M0,1250c0-230,186.67-416.67,416.67-416.67H833.33v833.34H416.67C186.67,1666.67,0,1480,0,1250Z"/><path id="path1_fill-2" data-name="path1 fill" class="cls-1" d="M0,416.67C0,186.67,186.67,0,416.67,0H833.33V833.33H416.67C186.67,833.33,0,646.67,0,416.67Z"/><path id="path2_fill" data-name="path2 fill" class="cls-1" d="M833.33,0H1250c230,0,416.67,186.67,416.67,416.67S1480,833.33,1250,833.33H833.33Z"/><path id="path3_fill" data-name="path3 fill" class="cls-1" d="M1666.67,1250c0,230-186.67,416.67-416.67,416.67S833.33,1480,833.33,1250,1020,833.33,1250,833.33,1666.67,1020,1666.67,1250Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M251.17,116.59,139.4,4.83a16.49,16.49,0,0,0-23.32,0L92.87,28l29.45,29.44a19.57,19.57,0,0,1,24.79,25l28.38,28.38a19.59,19.59,0,1,1-11.75,11.06L137.27,95.41v69.64a19.94,19.94,0,0,1,5.19,3.71,19.6,19.6,0,1,1-21.32-4.28V94.2a19.4,19.4,0,0,1-6.42-4.29,19.6,19.6,0,0,1-4.23-21.44l-29-29L4.83,116.08a16.49,16.49,0,0,0,0,23.32L116.6,251.17a16.51,16.51,0,0,0,23.32,0L251.17,139.92a16.5,16.5,0,0,0,0-23.33"/></g></g></svg>

After

Width:  |  Height:  |  Size: 617 B

17
images/html5.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 433.6 491.7" style="enable-background:new 0 0 433.6 491.7;" xml:space="preserve">
<style type="text/css">
.st0{opacity:0.1;fill:#2236C6;enable-background:new ;}
.st1{fill:#FFFFFF;}
</style>
<g id="Layer_2_1_">
<g id="Layer_1-2">
<polygon class="st0" points="216.8,454.1 360.3,414.3 394,36.2 216.8,36.2 "/>
<path class="st1" d="M0,0l39.5,442.6l177.1,49.2l177.6-49.2L433.6,0L0,0z M351.3,105l-2.5,27.5l-1.1,12.2H140l5,55.6h197.8
l-1.3,14.6l-12.8,142.9l-0.8,9.2l-111.1,30.8l0,0l-0.2,0.1L105.3,367l-7.6-85.2h54.5l3.9,43.3l60.4,16.3l0,0l0,0l60.5-16.3
l6.3-70.4H95.3L82,105l-1.3-14.6h271.9L351.3,105z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 908 B

1
images/illustrator.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 132.82 113.5"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Outlined_Mnemonics_Logos" data-name="Outlined Mnemonics Logos"><g id="Ai"><path class="cls-1" d="M66.71,88.5H29.51L21.91,112a1.75,1.75,0,0,1-1.9,1.4H1.21c-1.1,0-1.4-.6-1.1-1.8l32.2-92.7c.3-1,.6-2.1,1-3.3a34.93,34.93,0,0,0,.6-6.5,1,1,0,0,1,.8-1.1h25.9c.8,0,1.2.3,1.3.8l36.5,103c.3,1.1,0,1.6-1,1.6H76.51a1.51,1.51,0,0,1-1.6-1.1ZM35.31,68.2h25.4c-.6-2.1-1.4-4.6-2.3-7.2s-1.8-5.6-2.7-8.6-1.9-6.1-2.9-9.2-1.9-6-2.7-8.9-1.5-5.4-2.2-7.8h-.2a122.78,122.78,0,0,1-3.4,12.9c-1.5,4.8-3,9.8-4.6,14.8-1.4,5.1-2.9,9.8-4.4,14Z"/><path class="cls-1" d="M120.21,25.1a12.38,12.38,0,0,1-8.9-3.5,13,13,0,0,1-3.4-9.2,11.77,11.77,0,0,1,3.6-8.9,12.81,12.81,0,0,1,8.9-3.5c3.9,0,6.9,1.2,9.1,3.5a12.62,12.62,0,0,1,3.3,8.9,12.65,12.65,0,0,1-3.5,9.2A11.76,11.76,0,0,1,120.21,25.1ZM109,111.9v-77c0-1,.4-1.4,1.3-1.4h19.8c.9,0,1.3.5,1.3,1.4v77c0,1.1-.4,1.6-1.3,1.6h-19.6A1.4,1.4,0,0,1,109,111.9Z"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

1
images/javascript.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 168.76 119.77"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M0,97.78,19.59,85.92c3.78,6.7,7.22,12.37,15.47,12.37,7.9,0,12.88-3.09,12.88-15.12V1.38H72V83.51c0,24.92-14.6,36.26-35.91,36.26-19.25,0-30.42-10-36.09-22"/><path class="cls-1" d="M85.07,95.2l19.59-11.34c5.15,8.42,11.86,14.61,23.71,14.61,10,0,16.33-5,16.33-11.86,0-8.25-6.53-11.17-17.53-16l-6-2.58C103.8,60.66,92.29,51.38,92.29,31.79,92.29,13.75,106,0,127.51,0c15.3,0,26.3,5.33,34.2,19.25L143,31.28C138.85,23.89,134.39,21,127.51,21c-7,0-11.51,4.46-11.51,10.31,0,7.21,4.47,10.14,14.78,14.6l6,2.58c20.45,8.77,32,17.7,32,37.81,0,21.65-17,33.5-39.87,33.5-22.34,0-36.78-10.65-43.82-24.57"/></g></g></svg>

After

Width:  |  Height:  |  Size: 808 B

17
images/linkedin.svg Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 25.3.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 310 310" style="enable-background:new 0 0 310 310;" xml:space="preserve">
<style type="text/css">
.st0{fill:#FFFFFF;}
</style>
<g id="XMLID_801_">
<path id="XMLID_802_" class="st0" d="M72.2,99.7H9.9c-2.8,0-5,2.2-5,5v199.9c0,2.8,2.2,5,5,5h62.2c2.8,0,5-2.2,5-5V104.7
C77.2,102,74.9,99.7,72.2,99.7z"/>
<path id="XMLID_803_" class="st0" d="M41.1,0.3C18.4,0.3,0,18.7,0,41.4c0,22.6,18.4,41,41.1,41c22.6,0,41-18.4,41-41
C82.1,18.7,63.7,0.3,41.1,0.3z"/>
<path id="XMLID_804_" class="st0" d="M230.5,94.8c-25,0-43.5,10.7-54.7,23v-13c0-2.8-2.2-5-5-5h-59.6c-2.8,0-5,2.2-5,5v199.9
c0,2.8,2.2,5,5,5h62.1c2.8,0,5-2.2,5-5v-98.9c0-33.3,9.1-46.3,32.3-46.3c25.3,0,27.3,20.8,27.3,48v97.2c0,2.8,2.2,5,5,5H305
c2.8,0,5-2.2,5-5V195C310,145.4,300.5,94.8,230.5,94.8z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

1
images/photoshop.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 144.41 108"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Outlined_Mnemonics_Logos" data-name="Outlined Mnemonics Logos"><g id="Ps"><path class="cls-1" d="M0,104.6V1.7C0,1,.3.6,1,.6,2.7.6,4.3.6,6.6.5S11.5.4,14.2.3,19.8.2,22.9.1,29,0,32,0c8.2,0,15,1,20.6,3.1A35.71,35.71,0,0,1,66,11.3a31.84,31.84,0,0,1,7.3,11.4,38.28,38.28,0,0,1,2.3,13q0,12.9-6,21.3A34.26,34.26,0,0,1,53.5,69.2c-6.8,2.5-14.3,3.4-22.5,3.4-2.4,0-4,0-5-.1s-2.4-.1-4.3-.1v32.1a1.24,1.24,0,0,1-1.1,1.4H1.2C.4,105.9,0,105.5,0,104.6ZM21.8,19.9V53.5c1.4.1,2.7.2,3.9.2H31a37.35,37.35,0,0,0,11.5-1.8,17.2,17.2,0,0,0,8.2-5.3c2.1-2.5,3.1-5.9,3.1-10.3a16.46,16.46,0,0,0-2.3-8.9,14.5,14.5,0,0,0-7-5.7,29.34,29.34,0,0,0-11.8-2c-2.6,0-4.9,0-6.8.1a22.9,22.9,0,0,0-4.1.1Z"/><path class="cls-1" d="M138,47.4a35.39,35.39,0,0,0-9.6-3.4,52.71,52.71,0,0,0-11.2-1.3,20.13,20.13,0,0,0-6,.7,5.13,5.13,0,0,0-3.1,2,5.3,5.3,0,0,0-.8,2.7,4.45,4.45,0,0,0,1,2.6,11.28,11.28,0,0,0,3.4,2.7c2.3,1.2,4.7,2.3,7.1,3.3A72.43,72.43,0,0,1,134.2,64a23.27,23.27,0,0,1,7.9,8.3,21.59,21.59,0,0,1,2.3,10.3,23.27,23.27,0,0,1-3.9,13.3,25.06,25.06,0,0,1-11.2,8.9c-4.9,2.1-10.9,3.2-18.1,3.2a68.88,68.88,0,0,1-13.6-1.3,40.34,40.34,0,0,1-10.2-3.2,2,2,0,0,1-1.1-1.9V84.2a1.09,1.09,0,0,1,.4-.9.76.76,0,0,1,.9.1A42.81,42.81,0,0,0,100,88.3a46.55,46.55,0,0,0,11.8,1.5c3.8,0,6.5-.5,8.3-1.4a4.65,4.65,0,0,0,2.7-4.2c0-1.4-.8-2.7-2.4-4s-4.9-2.8-9.8-4.7a61.18,61.18,0,0,1-14.2-7.2,25.89,25.89,0,0,1-7.6-8.5,21.46,21.46,0,0,1-2.3-10.2,23.52,23.52,0,0,1,3.4-12.1,24.65,24.65,0,0,1,10.5-9.2c4.7-2.4,10.6-3.5,17.7-3.5a86.21,86.21,0,0,1,12.4.9,35.19,35.19,0,0,1,8.6,2.3,1.76,1.76,0,0,1,1,.9,5,5,0,0,1,.2,1.2V46.4a1.23,1.23,0,0,1-.5,1A2.66,2.66,0,0,1,138,47.4Z"/></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

1
images/rotating-text.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 521.35 539.01"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M218.35,37.82c-2.31,7-11.92,9.64-18.62,8.26a12.48,12.48,0,0,1-9.83-9l8.52-1.75a6.49,6.49,0,0,0,11.15,2.25c2.14-3.45-.39-7.4-4.21-8-2.87-.65-8.87-1.12-11.54-2C186.56,26,183.25,16,188.16,10.26c3.81-5,14.63-7.1,20-4a11.8,11.8,0,0,1,6,7.3l-8.63,1.77c-1.35-4.38-7.38-5.2-10.21-1.84-1.4,1.63-.88,5.11,1,6.37,2.38,1.63,4.51,1.62,7.8,2.1,4.94.85,8.15.82,11.66,4C218.52,28.47,219.8,34,218.35,37.82Z"/><path d="M244.33,6.79l.19,10.61,14.5-.26.12,6.26-14.5.27.2,11,16.24-.29.12,6.55-24.42.45L236,.44,260.45,0l.12,6.5Z"/><path d="M290.51,9.4l-1.66,10.48,14.32,2.27-1,6.18-14.32-2.26L286.15,37l16,2.54-1,6.47-24.12-3.81L283.44,1.7l24.12,3.82-1,6.41Z"/><path d="M385,76.49c-4.26,2.18-9,1.36-13.39-1.33-6.61-3.78-10.71-11.5-7-18.56l7.43,4.52a6.49,6.49,0,0,0,6.64,9.24,5.17,5.17,0,0,0,3.69-5.57c-.63-2.94-2.25-4.32-4.4-7.05-4.45-5.14-8-10.44-3.93-16.86,4-6.57,11.4-6.44,17.76-2.5,6.71,4,9.9,10.54,6.61,17.47L391,51.27c2-4.13-1.87-8.84-6.22-8.3-2.14.24-4.13,3.14-3.62,5.33.62,2.82,2.19,4.26,4.28,6.85,3,4,5.41,6.15,5.81,10.87C391.52,69.76,388.67,74.7,385,76.49Z"/><path d="M444.46,83.44c4.67,14.51-10.61,30.44-25.29,26.45-15.54-4.15-21.28-22.86-9.66-34.59C420.68,63.19,439.64,68.15,444.46,83.44Zm-16.58-6.87c-8.84-2-18.72,8.28-16.28,17,3.26,9.8,14.43,12.07,21.47,4.24C440.57,90.45,437.81,79.38,427.88,76.57Z"/><path d="M492.42,146.46,458,167.81l-4.28-6.89,24-14.9-29.48,6.07-3.73-6L463,122.43l-23.9,14.83-4.32-6.95L469.14,109l5.23,8.43L455,143.9l32.24-5.81Z"/><path d="M499.47,180l-10,3.47,4.75,13.71-5.92,2.05-4.75-13.7-10.41,3.6,5.32,15.35-6.2,2.15-8-23.08,38.69-13.41,8,23.08-6.13,2.12Z"/><path d="M517.76,300.54c-8.35,12.8-30.21,11.06-36.49-2.85-6.61-14.66,4.24-30.94,20.68-29.37C518.39,269.31,526.55,287.13,517.76,300.54Zm-5.18-17.19c-4-8.14-18.25-9.26-23.47-1.83-5.52,8.74-.23,18.78,10.3,19.3C509.89,301.94,516.68,292.84,512.58,283.35Z"/><path d="M506.5,358.87,500.27,357l4.9-16.51-10.51-3.12-3.92,13.24-6-1.79,3.93-13.23-16.52-4.9,2.33-7.84,39.26,11.65Z"/><path d="M440.86,461.75l-30.57-26.54,5.33-6.14,21.32,18.52-14.52-26.36,4.64-5.34,28.05,10.6-21.24-18.44,5.36-6.17,30.57,26.54-6.5,7.49-31.06-10.68,15.09,29.07Z"/><path d="M394.3,498.43l-4.23-29.72-8.34-11.65,6.7-4.79,8.34,11.65,26.81,13.54-7.64,5.47-17.5-9.51,3.36,19.64Z"/><path d="M269.28,539l3.22-42,9.95-1.65,12.4,28.05,2.77-30.56,9.9-1.63,16.58,38.76-8.76,1.45L304,501.11l-2.84,32.62-8.87,1.47-13.24-30-1,32.33Z"/><path d="M214.38,533.49c-12.59-8.67-10.29-30.48,3.77-36.4,14.83-6.24,30.83,5,28.83,21.41C245.58,534.92,227.56,542.62,214.38,533.49Zm17.31-4.73c8.25-3.8,9.72-18,2.43-23.43-8.6-5.74-18.77-.7-19.56,9.81C213.17,525.6,222.1,532.61,231.69,528.76Z"/><path d="M173,483l4,18.16,3.41,1.15,5.09-15.12,7.75,2.61-13,38.81-14.79-5q-6.76-2.28-9.2-6.77c-3-5.07-.79-13.41,4.3-16.42a12.69,12.69,0,0,1,8.39-1.58l-4.46-18.76Zm5.6,24.64c-5.44-1.56-12.47-6-15,1.5-1.33,4.08.46,6.79,4.66,8.18l6.37,2.14Z"/><path d="M126.61,483.79l-4.48-26.72,8.57,5,3.62,23.81,9.45-16.18,7.06,4.12-20.64,35.37-7.07-4.13,9.27-15.88L110,497.4l-8.51-5Z"/><path d="M45.85,413.79l5.41-4.1,14.89,19.65-5.41,4.1Z"/><path d="M23.67,375.35l6-3.08,11.21,22-6,3.09Z"/><path d="M8.6,333.6l6.49-2,7.17,23.59-6.49,2Z"/><path d="M1.12,289.84l6.74-.8,2.91,24.48-6.74.8Z"/><path d="M1.38,245.48l6.77.38L6.78,270.47,0,270.09Z"/><path d="M9.37,201.81,16,203.37l-5.68,24L3.7,225.8Z"/><path d="M25,160.22l6.22,2.7-9.81,22.61-6.23-2.7Z"/><path d="M47.59,122l5.66,3.75L39.61,146.33,34,142.57Z"/><path d="M76.56,88.41l4.91,4.68-17,17.84-4.91-4.68Z"/><path d="M110.91,60.37l4,5.47L95.07,80.44l-4-5.47Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

1
images/vs-code.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2429.78 2403.79"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M2429.29,2014.45V359.37c0-72.74-74.47-97.9-74.47-97.9l-487.49-235C1760.8-39.36,1691,38.32,1691,38.32a102.29,102.29,0,0,1,23.37-11.69A144.53,144.53,0,0,0,1691,38.32L730.91,912.15l-433.1-327.9c-50.05-43.39-97.4,6.42-97.4,6.42L35,738.62c-71,57-11.83,99.62-11.83,99.62l393.52,357.33L23.12,1553.33s-40.44,30.09,0,83.84l182.72,166.2s43.4,46.61,107.51-6.41l417.2-316.35,977.92,888,3.75,4.15c41.92,42.9,92.72,28.85,92.72,28.85l562.46-277.17C2439.4,2075.35,2429.29,2014.45,2429.29,2014.45ZM1824.67,651V1740.24l-716.32-542.32Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 746 B

1
images/webflow.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75.12 52.09"><defs><style>.cls-1{fill:#fff;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M55.73,15.23S49.63,34.37,49.16,36C49,34.37,44.53,0,44.53,0c-10.4,0-16,7.38-18.88,15.23,0,0-7.42,19.18-8,20.79,0-1.5-1.14-20.6-1.14-20.6C15.86,5.83,7.1,0,0,0L8.54,52.09c10.9,0,16.73-7.41,19.81-15.24,0,0,6.53-16.92,6.8-17.69.07.73,4.69,32.93,4.69,32.93,10.91,0,16.8-6.9,20-14.45L75.12,0C64.33,0,58.66,7.39,55.73,15.23Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 542 B

1
images/wordpress.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 602.1 602.25"><defs><style>.cls-1{fill:#fdfdfd;fill-rule:evenodd;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path class="cls-1" d="M490.94,356.69c20-56.31,19-107.5-13.86-158.36-9.39-14.83-18.91-29.66-24.1-46.65-11.2-37.6,11-70.5,50.14-73C370.91-46,147.28-19.07,50.74,135.17c3.74,1.45,7.66,1.21,11.63,1.21,28,0,55.74-1.69,83.58-3.5,10.13-.72,15.85,3.5,16.21,11.45.31,7.23-4.94,11.81-14.58,12.9-7,.6-13.86,1.33-20.85,1.81-10.54.72-10.6.48-7.23,10.48,35.55,105.16,70.13,210.26,106.3,315.16,1.32-1.57,1.87-2.05,2-2.41q31.54-94.72,63-189.34a12,12,0,0,0,0-8.67Q269,224.59,247.43,164.82c-1.38-4-3.55-5.54-7.77-5.78-8.49-.37-17-1.09-25.31-2-9.4-1.21-14-8.93-10.61-17,3.08-7.47,9.35-7.59,16-7.11,32,1.93,64.06,4.58,96.24,2.78,19-1,38.15-2,57.19-2.9,9-.48,14.28,3.62,14.88,11,.66,7.11-4.64,12.29-13.13,13.37-7.24.73-14.47,1.46-21.82,1.94-11,.72-11.09.48-7.65,10.72,35.4,105,70.1,208.64,105.75,314C465,441.13,475.78,398.6,490.94,356.69Z"/><path class="cls-1" d="M333.67,401.4c-8.74-24.1-17.66-48.2-27.36-74.84C276.18,414.06,246.89,499,217.49,584c-1.7,4.94-.25,6.51,4.51,7.83,58,15.07,115.58,14,172.83-4.45,4.64-1.57,6-2.66,4-7.84Q366.07,490.6,333.67,401.4Z"/><path class="cls-1" d="M169.94,571.7c-47.79-131-95.33-261.17-143.42-393C-38,317.28,17.3,499,169.94,571.7Z"/><path class="cls-1" d="M601.58,283.41a284.93,284.93,0,0,0-33.14-120.64c-4.34.72-2.23,3.37-1.93,5.66,2.23,38.33-3.91,75.33-16.63,111.49C517,374.28,484.35,466.82,452,561.57,551.36,504,608.15,397.58,601.58,283.41Z"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -12,10 +12,11 @@
<meta name="description" content="Web/Graphic/Motion Designer, UI UX Designer, Frontend Web Developer"> <meta name="description" content="Web/Graphic/Motion Designer, UI UX Designer, Frontend Web Developer">
<link rel="shortcut icon" href="https://benjamintoby.github.io/personal_site/images/favicon4.ico" <link rel="shortcut icon" href="https://benjamintoby.github.io/personal_site/images/favicon4.ico"
type="image/x-icon"> type="image/x-icon">
<link href="https://fonts.googleapis.com/css?family=Poppins:400,500,600,700,800|Material+Icons" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Titillium+Web:400,500,600,700,800|Material+Icons"
rel="stylesheet">
<link rel="stylesheet" href="main.css"> <link rel="stylesheet" href="main.min.css">
</head> </head>
@ -45,12 +46,21 @@
<a href="#about-me" id="about-me-link" class="nav-link">About Me</a> <a href="#about-me" id="about-me-link" class="nav-link">About Me</a>
<a href="#my-specialties" id="resume-link" class="nav-link">Resume</a> <a href="#my-specialties" id="resume-link" class="nav-link">Resume</a>
<a href="#contact-me" id="contact-me-link" class="nav-link">Contact Me</a> <a href="#contact-me" id="contact-me-link" class="nav-link">Contact Me</a>
<a href="mailto:benoti.san@gmail.com" class="social-media-links material-icons" id="mail">mail</a> <div style="display: flex;align-items: center;">
<a href="#" class="social-media-links material-icons" id="linkedin">adb</a> <a href="mailto:benoti.san@gmail.com" class="social-media-links material-icons" id="mail">mail</a>
<a href="#" class="social-media-links material-icons" id="behance">mouse</a> <a href="#" class="social-media-links material-icons" id="linkedin"><img src="images/linkedin.svg"
alt=""></a>
</div>
</nav> </nav>
</div> </div>
<button class="hamburger-button">
<div></div>
<div></div>
<div></div>
</button>
</header> </header>
<div id="header-controller"></div> <div id="header-controller"></div>
@ -72,25 +82,41 @@
<div class="main-text-block"> <div class="main-text-block">
Hi. Im a Hi. Im a
<h1 class="main-hero-text"> <h1 class="main-hero-text">
<a href="">UI UX Designer</a>, <a href="" class="uiux-designer-link">UI UX Designer</a>,
<a href="">Web Designer</a>, <a href="" class="web-designer-link">Web Designer</a>,
<a href="">Frontend Web Developer</a>, <a href="" class="frontend-designer-link">Frontend Web Developer</a>,
<a href="">Graphic and motion Designer</a>. <a href="" class="graphic-motion-designer-link">Graphic and motion Designer</a>.
</h1> </h1> <br>
<button class="main-cta-button"><a href="#contact-me">Let's Talk</a></button>
</div> </div>
<button class="main-cta-button">Let's Talk</button>
<div class="hero-scroll-down-block">
<!-- <div class="hero-scroll-down-block">
<a href="#my-work"> <a href="#my-work">
<div>&lsaquo;</div> <div>&lsaquo;</div>
</a> </a>
<img src="images/rotating-text.svg" alt="" class="rotating-text-image">
</div> -->
<div class="hero-text-section-graphic">
<a href="#my-work">
<img src="images/down-arrow.svg" alt="">
</a>
</div> </div>
</div> </div>
<img src="images/clouds.jpg" alt="" id="clouds"> <img src="images/clouds.jpg" alt="" id="clouds">
<img src="images/mountains.png" alt="" id="mountains"> <img src="images/mountains.png" alt="" id="mountains">
<div class="benjamin-image-block"></div> <div class="benjamin-image-block-wrapper">
<div class="benjamin-image-block">
<div class="benjamin-image-block-overlay"></div>
</div>
<div class="service-display-block">
</div>
</div>
<div class="benjamin-big-text-block">Benjamin<br>Toby</div> <div class="benjamin-big-text-block">Benjamin<br>Toby</div>
</section> </section>
@ -104,13 +130,14 @@
<section class="my-work-section" id="my-work"> <section class="my-work-section" id="my-work">
<div> <div>
<h2 class="scroll-into-view-content">Some of My Work</h2> <h2 class="scroll-into-view-content" data-delay="200">Some of My Work</h2>
<p class="scroll-into-view-content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod <p class="scroll-into-view-content" data-delay="400">Lorem ipsum dolor sit amet, consectetur adipiscing
tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices gravida. Risus elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Quis ipsum suspendisse ultrices
commodo viverra maecenas accumsan lacus vel facilisis. </p> gravida. Risus commodo viverra maecenas accumsan lacus vel facilisis. </p>
</div> </div>
<div class="scroll-into-view"> <div class="scroll-into-view">
<div class="portfolio-items-container scroll-into-view-content" data-delay="800"></div>
</div> </div>
</section> </section>
@ -153,21 +180,68 @@
viverra maecenas accumsan lacus vel facilisis. </p> viverra maecenas accumsan lacus vel facilisis. </p>
<div> <div>
<div></div> <div class="scroll-into-view-content" data-delay="0">
<div></div> <div>Adobe Photoshop</div><img src="images/photoshop.svg" alt="">
<div></div> </div>
<div></div>
<div></div> <div class="scroll-into-view-content" data-delay="100">
<div></div> <div>Adobe Illustrator</div><img src="images/illustrator.svg" alt="">
<div></div> </div>
<div></div>
<div></div> <div class="scroll-into-view-content" data-delay="200">
<div></div> <div>Adobe After Effects</div><img src="images/aftereffects.svg" alt="">
<div></div> </div>
<div></div>
<div></div> <div class="scroll-into-view-content" data-delay="300">
<div></div> <div>HTML 5</div><img src="images/html5.svg" alt="">
</div>
<div class="scroll-into-view-content" data-delay="400">
<div>CSS3</div><img src="images/css3.svg" alt="">
</div>
<div class="scroll-into-view-content" data-delay="500">
<div>javascript</div><img src="images/javascript.svg" alt="">
</div>
<div class="scroll-into-view-content" data-delay="600">
<div>Git Version Control</div><img src="images/git-version-control.svg" alt="">
</div>
<div class="scroll-into-view-content" data-delay="700">
<div>Figma</div><img src="images/figma.svg" alt="">
</div>
<div class="scroll-into-view-content" data-delay="800">
<div>Wordpress</div><img src="images/wordpress.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="900">
<div>Webflow</div><img src="images/webflow.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="1000">
<div>Adobe XD</div><img src="images/adobe-xd.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="1100">
<div>Visual Studio Code</div><img src="images/vs-code.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="1200">
<div>Dreamweaver</div><img src="images/dreamweaver.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="1300">
<div>Adobe Animate</div><img src="images/adobe animate.svg" alt="">
</div>
<div class="scroll-into-view-content-2" data-delay="1400">
<div>Affinity Photo and Affinity Designer</div><img src="images/affinity.svg" alt="">
</div>
</div> </div>
<button class="scroll-into-view-content-2" data-delay="500">Download My Resume</button>
</section> </section>
@ -186,18 +260,21 @@
<p class="scroll-into-view-content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod <p class="scroll-into-view-content">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. </p> tempor incididunt ut labore et dolore magna aliqua. </p>
<a href="mailto:benoti.san@gmail.com">Email Address&nbsp;<span class="material-icons">mail</span></a> <a href="mailto:benoti.san@gmail.com" class="scroll-into-view-content-2" data-delay="500">
Email Address&nbsp;<span class="material-icons">mail</span>
</a>
<div> <div class="scroll-into-view-content-2" data-delay="700">
<div>Copyright 2021 Tben.Design</div> <div>Copyright 2021 Tben.Design</div>
</div> </div>
</div> </div>
<div class="scroll-into-view"> <div class="scroll-into-view" id="footer-right-section">
<div class="scroll-into-view-content"> <div class="scroll-into-view-content" data-delay="800">
<form id="contact-form" class="main-cta-form" method="post" action="contact-form-process.php"> <form id="contact-form" class="main-cta-form" method="post" action="contact-form-process.php"
autocomplete="on">
<input type="text" required placeholder="Enter Full Name"> <input type="text" required placeholder="Enter Full Name">
<input type="email" required placeholder="Enter Email Address"> <input type="email" required placeholder="Enter Email Address">
<textarea name="Message" rows="3" maxlength="3000" required placeholder="Enter Message"></textarea> <textarea name="Message" rows="3" maxlength="3000" required placeholder="Enter Message"></textarea>
@ -226,7 +303,7 @@
<!-- #################################################################################-- Scripts --> <!-- #################################################################################-- Scripts -->
<script src="scripts/anime.min.js"></script> <script src="scripts/anime.min.js"></script>
<script src="scripts/main.js"></script> <script src="scripts/main.min.js"></script>
</body> </body>

739
main.css
View File

@ -9,7 +9,7 @@ html {
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
font-family: "Poppins", Helvetica; font-family: "Titillium Web", Helvetica;
/* font-display: swap; */ /* font-display: swap; */
font-size: 18px; font-size: 18px;
line-height: 1.5; line-height: 1.5;
@ -62,6 +62,11 @@ header * {
/* transition: all .5s ease;*/ /* transition: all .5s ease;*/
} }
header > div:nth-of-type(1) {
position: relative;
transform-style: preserve-3d;
}
header.scrolled { header.scrolled {
padding: 20px; padding: 20px;
background-color: white; background-color: white;
@ -78,7 +83,7 @@ header.scrolled {
background: lightgray; background: lightgray;
} }
header img { header img:not(#linkedin img) {
width: 40px; width: 40px;
margin-right: 10px; margin-right: 10px;
/* transition: all .3s ease;*/ /* transition: all .3s ease;*/
@ -87,7 +92,7 @@ header img {
} }
header > a { header > a {
font-family: "Poppins"; font-family: "Titillium Web";
border: none; border: none;
color: inherit; color: inherit;
display: flex; display: flex;
@ -96,6 +101,7 @@ header > a {
position: relative; position: relative;
perspective: 500px; perspective: 500px;
transform-style: preserve-3d; transform-style: preserve-3d;
z-index: 10;
} }
header > a > div { header > a > div {
@ -113,12 +119,12 @@ nav {
} }
.nav-link { .nav-link {
font-size: 16px; font-size: 17px;
font-weight: 500; font-weight: 600;
padding: 10px 15px; padding: 10px 15px;
background-size: 100%; background-size: 100%;
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: -200px 41px; background-position: -200px 43px;
background-image: linear-gradient(90deg, var(--main-color), var(--sec-color-1)); background-image: linear-gradient(90deg, var(--main-color), var(--sec-color-1));
color: inherit; color: inherit;
transition: background .3s ease; transition: background .3s ease;
@ -126,14 +132,40 @@ nav {
.nav-link:hover { .nav-link:hover {
color: var(--sec-color-2); color: var(--sec-color-2);
background-position: 0px 41px; background-position: 0px 43px;
} }
.active-anchor { .active-anchor {
color: var(--sec-color-2); color: var(--sec-color-1);
background-position: 0px 41px; background-position: 0px 43px;
} }
.hamburger-button {
width: 40px;
height: 40px;
padding: 10px 0;
display: none;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.hamburger-button div {
width: 25px;
height: 3px;
background-color: white;
}
section { section {
display: flex; display: flex;
position: relative; position: relative;
@ -184,7 +216,7 @@ a:hover {
} }
h1, h2, h3, h4 { h1, h2, h3, h4 {
font-family: "Poppins"; font-family: "Titillium Web";
margin-top: 0px; margin-top: 0px;
margin-bottom: 15px; margin-bottom: 15px;
width: 100%; width: 100%;
@ -195,12 +227,13 @@ h1, h2, h3, h4 {
h1 { h1 {
font-size: 42px; font-size: 46px;
} }
h2 { h2 {
font-size: 32px; font-size: 50px;
width: auto; width: auto;
line-height: 1;
} }
h3 { h3 {
@ -218,6 +251,7 @@ p {
margin-bottom: 20px; margin-bottom: 20px;
width: 100%; width: 100%;
font-weight: 400; font-weight: 400;
letter-spacing: .5px;
} }
span { span {
@ -309,21 +343,39 @@ input:focus {
color: white; color: white;
font-size: 18px; font-size: 18px;
background-color: var(--sec-color-1); background-color: var(--sec-color-1);
padding: 0;
overflow: hidden;
} }
#linkedin img {
width: 20px;
height: 20px;
}
/* #mail {
background-color: var(--sec-color-2);
} */
#mail { #mail {
background-color: var(--sec-color-2);
}
#linkedin {
background-color: var(--main-color); background-color: var(--main-color);
} }
#behance { #linkedin {
background-color: var(--dark-color); background-color: var(--dark-color);
margin-right: 0;
} }
#linkedin:hover {
background-color: var(--main-color);
}
.scroll-into-view { .scroll-into-view {
padding: 0; padding: 0;
width: 0; width: 0;
@ -335,16 +387,17 @@ input:focus {
padding: 40px; padding: 40px;
} }
.scroll-into-view-content { .scroll-into-view-content, .scroll-into-view-content-2 {
transform: translateY(80px) rotateX(5deg); transform: translateY(80px) rotateX(5deg) translateZ(20px);
transition: all 1s cubic-bezier(0.1, 0.63, 0.355, 1); /* transition: all 1s cubic-bezier(0.1, 0.63, 0.355, 1); */
opacity: 0; opacity: 0;
transform-style: preserve-3d;
} }
.scrolled-into-view-content { /* .scrolled-into-view-content {
transform: none; transform: none;
opacity: 1; opacity: 1;
} } */
@ -366,32 +419,75 @@ input:focus {
.hero-section > div:nth-child(2) { .hero-section > div:nth-child(2) {
background-color: white; background-color: white;
padding: 25vh 40px 40px 6.2vw; padding: 25vh 40px 40px 6.1vw;
font-size: 2.5vw; font-size: 2.8vw;
display: inline; display: inline;
z-index: 100; z-index: 100;
transform-style: preserve-3d;
perspective: 600px;
z-index: 100;
/* opacity: 0;*/ /* opacity: 0;*/
} }
.main-text-block { .main-text-block {
font-size: inherit; font-size: inherit;
max-width: 80%; max-width: 80%;
transform-style: preserve-3d;
z-index: 100;
transform: translateZ(10px);
font-weight: 500;
} }
.main-text-block a { .main-text-block h1 a {
color: var(--main-color); color: var(--main-color);
background-image: linear-gradient(var(--main-color),var(--main-color)); background-image: linear-gradient(var(--main-color),var(--main-color));
background-position: 0px 3.3vw; background-position: 0px 5vw;
background-repeat: no-repeat; background-repeat: no-repeat;
transition: all .3s ease-out; transition: all .3s ease;
/* font-weight: 600; */
} }
.main-text-block a:hover { .main-text-block h1 a:hover {
color: white; color: var(--dark-color);
background-position: 0px 0px; background-position: 0px 4.8vw;
background-image: linear-gradient(var(--dark-color),var(--dark-color)); background-image: linear-gradient(var(--dark-color),var(--dark-color));
padding: 5px 10px; padding: 5px 10px;
} }
.hero-text-section-graphic {
position: absolute;
top: 0;
right: 5vw;
width: 15vw;
height: 90%;
background-color: rgba(28,55,102,0.05);
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-end;
perspective: 600px;
padding-bottom: 30px;
}
.hero-text-section-graphic img, .hero-text-section-graphic a {
position: relative;
transform-style: preserve-3d;
}
.hero-text-section-graphic a {
width: 20px;
height: 20px;
}
.hero-text-section-graphic img {
width: 100%;
}
/* Hero Left Hand Section */
.main-hero-text { .main-hero-text {
font-size: inherit; font-size: inherit;
font-weight: 500; font-weight: 500;
@ -405,10 +501,10 @@ input:focus {
} }
#clouds { #clouds {
min-width: 100%; min-width: 110%;
min-height: 100vh; min-height: 110vh;
left: 0px; left: -5%;
top: 0px; top: -5%;
opacity: 0.2; opacity: 0.2;
} }
@ -416,41 +512,72 @@ input:focus {
width: 100%; width: 100%;
min-height: 100vh; min-height: 100vh;
bottom: -20vh; bottom: -20vh;
/* transition: all .5s ease-out; */
} }
.benjamin-image-block { .benjamin-image-block-wrapper {
width: 15vw; width: 15vw;
height: 80vh; height: 80vh;
position: absolute; position: absolute;
bottom: -10px; bottom: -10px;
background-color: var(--sec-color-2); background-color: transparent;
left: 15vw; left: 15vw;
background-size: cover;
opacity: 1;
padding: 0;
transform-style: preserve-3d;
}
.benjamin-image-block {
width: 100%;
height: 100%;
background-color: var(--sec-color-2);
background-image: url("images/hero-image-ben.jpg"); background-image: url("images/hero-image-ben.jpg");
background-size: cover; background-size: cover;
opacity: .2; opacity: .8;
padding: 0; transform-style: preserve-3d;
transition: all 1s cubic-bezier(0.1, 0.63, 0.355, 1);
}
.benjamin-image-block-overlay {
width: 100%;
height: 100%;
opacity: 1;
transform-style: preserve-3d;
z-index: 10;
transition: all 1.5s cubic-bezier(0.1, 0.63, 0.355, 1);
} }
.benjamin-big-text-block { .benjamin-big-text-block {
position: absolute; position: absolute;
font-size: 8.5vw; font-size: 10.5vw;
bottom: -40px; bottom: 0px;
left: 5%; left: 5%;
font-weight: 900; font-weight: 900;
line-height: 1em; line-height: .8;
color: white; color: white;
mix-blend-mode: overlay; mix-blend-mode: overlay;
filter: drop-shadow(0 0 20px rgba(0,0,0,0.4)); filter: drop-shadow(0 0 20px rgba(0,0,0,0.4));
padding: 40px; padding: 40px;
transform-style: preserve-3d;
/* transition: all .5s ease; */
} }
.main-cta-button { .main-cta-button {
font-size: 24px; font-size: 24px;
padding: 15px 40px; padding: 0;
margin-top: 20px; margin-top: 20px;
background-color: var(--sec-color-1); background-color: var(--sec-color-1);
transition: all .3s ease-out; transition: all .3s ease-out;
background-image: linear-gradient(var(--dark-color),var(--dark-color)); background-image: linear-gradient(var(--dark-color),var(--dark-color));
padding: 15px 0px;
transform: translateZ(10px);
}
.main-cta-button a {
/* font-size: 24px; */
padding: 15px 40px;
color: white;
} }
.main-cta-button:hover { .main-cta-button:hover {
@ -459,10 +586,15 @@ input:focus {
background-repeat: no-repeat; background-repeat: no-repeat;
} }
.main-cta-button a:hover {
/* font-size: 24px; */
padding: 15px 40px;
}
.hero-scroll-down-block { .hero-scroll-down-block {
position: absolute; position: absolute;
right: 5vw; right: 7vw;
bottom: 5vh; bottom: 10vh;
height: auto; height: auto;
} }
@ -478,6 +610,31 @@ input:focus {
font-size: 70px; font-size: 70px;
} }
.rotating-text-image {
position: absolute;
width: 120px;
height: 120px;
opacity: .3;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.service-display-block {
width: 300px;
height: 200px;
position: absolute;
background-color: white;
border-radius: 20px;
z-index: 200;
top: -20px;
right: -200px;
box-shadow: 0px 0px 30px -5px rgba(0,0,0,0.2);
transition: all .8s cubic-bezier(0.075, 0.82, 0.165, 1);
opacity: 0;
transform-style: preserve-3d;
}
@ -499,6 +656,11 @@ input:focus {
.my-work-section > div:nth-child(2) { .my-work-section > div:nth-child(2) {
background-color: var(--sec-color-2); background-color: var(--sec-color-2);
display: flex;
align-items: center;
justify-content: center;
perspective: 600px;
transform-style: preserve-3d;
/* width: 20%;*/ /* width: 20%;*/
} }
@ -511,6 +673,14 @@ input:focus {
text-align: right; text-align: right;
} }
.portfolio-items-container {
width: 70%;
height: 70%;
background-color: white;
box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.2);
transform-style: preserve-3d;
}
@ -530,6 +700,10 @@ input:focus {
/* width: 20%;*/ /* width: 20%;*/
} }
.about-me-section > div:nth-child(2) p {
color: rgba(0,0,0,.7);
}
@ -542,7 +716,8 @@ input:focus {
background-color: var(--dark-color); background-color: var(--dark-color);
color: white; color: white;
text-align: center; text-align: center;
padding: 100px; padding: 150px 80px 120px 80px;
height: auto;
} }
.my-specialties-section h2 { .my-specialties-section h2 {
@ -555,23 +730,81 @@ input:focus {
} }
.my-specialties-section > div { .my-specialties-section > div {
max-width: 1140px; max-width: 960px;
width: 100%; width: 100%;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
flex-direction: row; flex-direction: row;
padding: 20px 0 0 0; padding: 0;
margin-bottom: 30px;
} }
.my-specialties-section > div > div { .my-specialties-section > div > div {
width: 100px; width: 80px;
height: 100px; height: 80px;
background-color: var(--main-color); background-color: var(--main-color);
margin: 10px; margin: 10px;
border-radius: 50%; border-radius: 50%;
transform-style: preserve-3d; transform-style: preserve-3d;
padding: 20px;
/* cursor: pointer; */
transition: all .8s cubic-bezier(0.075, 0.82, 0.165, 1);
position: relative;
} }
.my-specialties-section > div > div:hover {
background-color: rgba(99,105,176,0.6);
}
.my-specialties-section > div > div:nth-of-type(4) {
/* padding: 10px; */
}
.my-specialties-section > div img {
width: 100%;
height: 100%;
}
.my-specialties-section > div > div > div {
padding: 20px;
border-radius: 10px;
background-color: var(--sec-color-1);
color: white;
position: absolute;
top: -70px;
left: 50%;
box-shadow: 0px 10px 20px -5px rgba(0,0,0,0.3);
white-space: nowrap;
transition: all .4s cubic-bezier(0.075, 0.82, 0.165, 1);
opacity: 0;
pointer-events: none;
transform: translateX(-50%);
}
.my-specialties-section > div > div:hover > div {
opacity: 1;
top: -80px;
}
.my-specialties-section > button {
background: transparent;
border: 2px solid rgba(255,255,255,0.4);
}
.my-specialties-section > button:hover {
background: var(--sec-color-1);
border: 2px solid transparent;
}
/* .my-specialties-section > button::before {
content: "";
width: 200px;
height: 50px;
background-color: salmon;
position: absolute;
top: -200px;
} */
@ -737,7 +970,48 @@ input:focus {
@media (max-width: 1200px) { @media (max-width: 1200px) {
section {
height: auto;
}
section > div {
padding: 100px 60px;
}
.hero-section > div:nth-child(2) {
padding: 140px 30px 60px 60px;
font-size: 36px;
}
.hero-section {
height: 600px;
}
.hero-text-section-graphic {
height: 100%;
width: 40%;
}
.main-text-block h1 a {
background-position: 0px 60px;
}
.main-text-block h1 a:hover {
background-position: 0px 50px;
}
.benjamin-image-block-wrapper {
height: 80%;
width: 200px;
}
.contact-section {
height: 100vh;
}
section > div p {
width: 100%;
}
} }
@ -747,8 +1021,210 @@ input:focus {
@media (max-width: 800px) { @media (max-width: 800px) {
.hamburger-button {
display: flex;
}
section > div p {
width: 100%;
text-align: center;
}
section {
flex-direction: column;
}
section > div {
width: 100%;
align-items: center;
}
h1,h2,h3,h4,h4 {
text-align: center;
width: 100%;
}
section {
height: auto;
}
section > div {
padding: 60px 40px;
}
.scrolled-into-view {
width: 100%;
}
header {
overflow: visible;
}
nav {
/* opacity: .4; */
flex-direction: column;
width: 100%;
position: relative;
}
header > div:nth-of-type(1) {
position: fixed;
top: 0px;
opacity: 0;
left: 0;
width: 100%;
pointer-events: none;
overflow: hidden;
height: 0px;
background-color: white;
border-bottom: 2px solid #ddd;
z-index: 0;
padding-top: 120px;
box-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}
/* Hero section */
.hero-section {
flex-direction: row;
transition: all .5s ease;
height: 500px;
}
.hero-section > div:nth-child(2) {
}
.hero-text-section-graphic {
height: 100%;
width: 50%;
}
.benjamin-image-block-wrapper {
}
#clouds {
height: 100%;
min-height: auto;
top: auto;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
height: auto;
min-height: auto;
width: 1200px;
}
.hero-section > div:nth-child(1) {
width: 20%;
}
.hero-section > div:nth-child(2) {
padding: 120px 40px 120px 60px;
font-size: 30px;
}
.main-text-block {
padding: 0;
max-width: 100%;
}
.benjamin-big-text-block {
position: absolute;
font-size: 8.5vw;
bottom: 0px;
left: -25%;
}
.benjamin-image-block-wrapper {
height: 70%;
}
/* My work section */
.my-work-section {
height: auto;
padding: 60px 0;
}
.my-work-section > div:nth-child(2) {
width: 100%;
height: auto;
padding: 80px;
}
.my-work-section h2 {
text-align: center;
}
.my-work-section p {
text-align: center;
}
.portfolio-items-container {
height: 400px;
}
/* About Me section */
.about-me-section {
justify-content: flex-start;
flex-direction: column-reverse;
}
.about-me-section > div:nth-child(1) {
height: 500px;
}
/* Contact Me section */
.contact-section {
height: auto;
}
.contact-section > div:nth-of-type(1) {
align-items: center;
}
.contact-section-controller {
height: 0px;
display: none;
}
} }
@ -757,9 +1233,122 @@ input:focus {
@media (max-width: 600px) { @media (max-width: 600px) {
h1 {
font-size: 36px;
}
h2 {
font-size: 36px;
}
section > div {
padding: 60px 20px;
}
header {
padding: 20px;
}
/* Hero section */
.hero-section {
flex-direction: column;
align-items: center;
overflow: visible;
z-index: 100;
height: auto;
}
.hero-section > div:nth-child(2) {
padding: 40px;
width: 100%;
}
.hero-section > div:nth-child(1) {
width: 100%;
height: 400px;
}
.hero-text-section-graphic {
height: 120%;
width: 40%;
}
.benjamin-image-block-wrapper {
top: 0px;
bottom: auto;
left: auto;
right: auto;
margin-left: 80px;
}
#clouds {
height: 100%;
min-height: auto;
top: -100px;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
top: -200px;
bottom: auto;
}
.main-text-block {
padding: 0;
}
.benjamin-big-text-block {
top: 190px;
font-size: 100px;
bottom: auto;
left: 0;
}
.benjamin-image-block-wrapper {
height: 70%;
}
/* My work section */
.my-work-section > div:nth-child(2) {
padding: 40px;
}
.portfolio-items-container {
height: 300px;
width: 300px;
}
/* Contact Me section */
.contact-section {
height: auto;
}
.contact-section > div:nth-of-type(1) {
align-items: center;
}
.contact-section-controller {
height: 0px;
display: none;
}
/* My Specialties Section */
.my-specialties-section {
padding: 100px 20px;
}
} }
@ -768,6 +1357,56 @@ input:focus {
@media (max-width: 430px) { @media (max-width: 430px) {
p {
font-size: 16px;
}
/* Hero section */
.hero-section > div:nth-child(2) {
padding: 60px 40PX;
font-size: 24PX;
}
.hero-section > div:nth-child(1) {
width: 100%;
height: 400px;
}
.benjamin-image-block-wrapper {
width: 50%;
top: 0px;
bottom: auto;
left: auto;
right: 0;
margin-left: 0px;
}
#clouds {
height: 100%;
min-height: auto;
top: -100px;
bottom: 0;
min-width: auto;
/* width: 1200px; */
}
#mountains {
top: -200px;
bottom: auto;
left: -500px;
}
.benjamin-big-text-block {
top: 235px;
font-size: 75px;
bottom: auto;
left: 0;
}
.benjamin-image-block-wrapper {
height: 70%;
}

1
main.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1312
scripts/anime.js Normal file

File diff suppressed because it is too large Load Diff

View File

@ -6,27 +6,48 @@
//############################################# -- Intro Animations //############################################# -- Intro Animations
const heroTextSection = document.querySelector(".hero-section > div:nth-child(2)"); const heroTextSection = document.querySelector(".hero-section > div:nth-child(2)");
const myImageBlock = document.querySelector(".benjamin-image-block"); const myImageBlock = document.querySelector(".benjamin-image-block-wrapper");
const myBigTextBlock = document.querySelector(".benjamin-big-text-block"); const myBigTextBlock = document.querySelector(".benjamin-big-text-block");
const mainTextBlock = document.querySelector(".main-text-block"); const mainTextBlock = document.querySelector(".main-text-block");
const mainCTA = document.querySelector(".main-cta-button"); const mainCTA = document.querySelector(".main-cta-button");
const allHeaderElements = document.querySelectorAll("header *"); const allHeaderElements = document.querySelectorAll("header *:not(header > div)");
const mountains = document.querySelectorAll("#mountains"); const mountains = document.querySelector("#mountains");
const clouds = document.querySelectorAll("#clouds"); const clouds = document.querySelector("#clouds");
const footerController = document.querySelector(".contact-section-controller"); const footerController = document.querySelector(".contact-section-controller");
const header = document.querySelector("header"); const header = document.querySelector("header");
const heroTxtGraphic = document.querySelector(".hero-text-section-graphic");
function intro() { function intro() {
anime({ if (window.innerWidth > 800) {
targets: heroTextSection, anime({
width: [0, "50%"], targets: heroTextSection,
translateX: [200, 0], width: [0, "50%"],
easing: "cubicBezier( 0.93, 0, 0.09, 1 )", translateX: [200, 0],
duration: 1500, easing: "cubicBezier( 0.93, 0, 0.09, 1 )",
delay: 1000, duration: 1500,
}); delay: 1000,
});
} else if (window.innerWidth < 801 && window.innerWidth > 600) {
anime({
targets: heroTextSection,
width: [0, "60%"],
translateX: [200, 0],
easing: "cubicBezier( 0.93, 0, 0.09, 1 )",
duration: 1500,
delay: 1000,
});
} else if (window.innerWidth < 601) {
anime({
targets: heroTextSection,
width: [0, "100%"],
translateX: [500, 0],
easing: "cubicBezier( 0.93, 0, 0.09, 1 )",
duration: 1500,
delay: 0,
});
}
anime({ anime({
targets: allHeaderElements, targets: allHeaderElements,
@ -41,6 +62,7 @@ function intro() {
anime({ anime({
targets: myBigTextBlock, targets: myBigTextBlock,
translateY: [100, 0], translateY: [100, 0],
translateZ: 50,
opacity: [0, 1], opacity: [0, 1],
easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )", easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )",
duration: 1200, duration: 1200,
@ -50,20 +72,34 @@ function intro() {
anime({ anime({
targets: myImageBlock, targets: myImageBlock,
translateY: [100, 0], translateY: [100, 0],
opacity: [0, 0.8], opacity: [0, 1],
easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )", easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )",
duration: 1500, duration: 1500,
delay: 2200, delay: 2200,
}); });
anime({ if (window.innerWidth < 601) {
targets: mainTextBlock, anime({
translateX: [-50, 0], targets: mainTextBlock,
opacity: [0, 1], translateX: [-50, 0],
easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )", translateZ: [30, 0],
duration: 1200, opacity: [0, 1],
delay: 2500, easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )",
}); duration: 1200,
delay: 2500,
});
} else {
anime({
targets: mainTextBlock,
translateX: [-50, 0],
translateZ: [30, 15],
opacity: [0, 1],
easing: "cubicBezier( 0.1, 0.63, 0.355, 1 )",
duration: 1200,
delay: 2500,
});
}
anime({ anime({
targets: mainCTA, targets: mainCTA,
@ -74,14 +110,25 @@ function intro() {
delay: 2600, delay: 2600,
}); });
anime({ if (window.innerWidth > 600) {
targets: mountains,
translateY: [200, 0], anime({
opacity: [0, 1], targets: mountains,
easing: "cubicBezier(0.1, 0.63, 0.355, 1)", translateY: [200, 0],
duration: 1500, opacity: [0, 1],
delay: 1000, easing: "cubicBezier(0.1, 0.63, 0.355, 1)",
}); duration: 1500,
delay: 1000,
})
anime({
targets: mountains,
left: [0, -50],
easing: "easeOutQuad",
duration: 800,
delay: 1600,
});
}
anime({ anime({
targets: clouds, targets: clouds,
@ -97,12 +144,23 @@ function intro() {
function introInit() { function introInit() {
anime({ if (window.innerWidth < 601) {
targets: heroTextSection, anime({
width: [0], targets: heroTextSection,
translateX: 200, width: [0],
duration: 0 translateX: 500,
}); duration: 0
});
} else {
anime({
targets: heroTextSection,
width: [0],
translateX: 200,
duration: 0
});
}
anime({ anime({
targets: allHeaderElements, targets: allHeaderElements,
@ -165,33 +223,57 @@ var headerObserver = new IntersectionObserver(changeHeader, windowRect);
function changeHeader(entry) { function changeHeader(entry) {
if (entry[0].isIntersecting) { if (entry[0].isIntersecting) {
header.className = "none";
anime({
targets: "header img",
width: 40,
height: 100,
top: 0,
duration: 400,
easing: "easeOutCubic",
});
anime({ if (window.innerWidth > 800) {
targets: "header > a > div", document.querySelectorAll(".nav-link").forEach(item => {
translateX: 0,
opacity: 1, if (entry[0].target.className == "contact-section-controller") { item.style.color = "white"; }
duration: 1000, });
});
header.className = "none";
anime({
targets: "header > a > img",
width: 40,
height: 100,
top: 0,
duration: 400,
easing: "easeOutCubic",
});
anime({
targets: "header > a > div",
translateX: 0,
opacity: 1,
duration: 1000,
});
}
} else { } else {
header.classList.add("scrolled");
anime({ if (window.innerWidth > 800) {
targets: "header img",
width: 60, // if (entry[0].isIntersecting) {
height: 130,
top: 20, document.querySelectorAll(".nav-link").forEach(item => {
duration: 400,
easing: "easeOutCubic", if (entry[0].target.className == "contact-section-controller") { item.style.color = ""; }
}); });
header.classList.add("scrolled");
anime({
targets: "header > a > img",
width: 60,
height: 130,
top: 20,
duration: 400,
easing: "easeOutCubic",
});
// }
}
anime({ anime({
targets: "header > a > div", targets: "header > a > div",
@ -207,13 +289,19 @@ function changeHeader(entry) {
//############################################# -- Window Load //############################################# -- Window Load
setTimeout(() => {
headerObserver.observe(headerController);
}, 3000);
window.addEventListener("load", () => { window.addEventListener("load", () => {
setTimeout(() => { intro(); }, 1000); setTimeout(() => { intro(); }, 1000);
setTimeout(() => { headerObserver.observe(headerController); }, 3000);
if (window.innerWidth > 800) {
setTimeout(() => {
window.addEventListener("mousemove", parralaxMouse);
// footerHeaderFn();
}, 4000);
}
}); });
@ -228,6 +316,8 @@ window.addEventListener("load", () => {
const sections = document.querySelectorAll(".scroll-into-view"); const sections = document.querySelectorAll(".scroll-into-view");
//var sectionContainer = document.querySelector(".my-work-section > div:nth-child(2)"); //var sectionContainer = document.querySelector(".my-work-section > div:nth-child(2)");
let footerHeaderFn = () => { headerObserver.observe(footerController); };
var windowRect2 = { var windowRect2 = {
rootMargin: "0px 0px -200px 0px", rootMargin: "0px 0px -200px 0px",
}; };
@ -238,16 +328,13 @@ function sectionsObserverFn(entries) {
entries.forEach(entry => { entries.forEach(entry => {
if (entry.isIntersecting) { if (entry.isIntersecting) {
// console.log(entry.target);
entry.target.classList.add("scrolled-into-view"); entry.target.classList.add("scrolled-into-view");
headerObserver.observe(footerController);
// anime({ if (entry.target.id == "footer-right-section" && entries[2]) { return; }
// targets: contents[entry.target.firstElementChild],
// width: [0, "50%"],
// easing: "cubicBezier( 0.93, 0, 0.09, 1 )", if (window.innerWidth > 800) { footerHeaderFn(); }
// opacity: [0, 1],
// duration: 1200,
// });
} }
}); });
@ -264,14 +351,29 @@ sections.forEach(item => {
//############################################# -- Content intersection Observer //############################################# -- Content intersection Observer
const contents = document.querySelectorAll(".scroll-into-view-content"); const contents = document.querySelectorAll(".scroll-into-view-content");
const contentsIO = new IntersectionObserver(contentsObserverFn, { rootMargin: "0px 0px -100px 0px" });
const contentsIO = new IntersectionObserver(contentsObserverFn, windowRect2); const contentsAlt = document.querySelectorAll(".scroll-into-view-content-2");
const contentsIOAlt = new IntersectionObserver(contentsObserverFn, { rootMargin: "0px" });
function contentsObserverFn(entries) { function contentsObserverFn(entries) {
entries.forEach(entry => { entries.forEach(entry => {
if (entry.isIntersecting) { if (entry.isIntersecting) {
entry.target.classList.add("scrolled-into-view-content"); entry.target.animate([
{
transform: "none",
opacity: 1,
}
], {
duration: 1300,
easing: "cubic-bezier(0.1, 0.63, 0.355, 1)",
fill: "forwards",
delay: (entry.target.dataset.delay),
});
contentsIO.unobserve(entry.target);
contentsIOAlt.unobserve(entry.target);
} }
}); });
@ -284,39 +386,10 @@ contents.forEach(item => {
}); });
contentsAlt.forEach(item => {
contentsIOAlt.observe(item);
const myToolsIcons = document.querySelectorAll(".my-specialties-section > div > div");
const myToolsHeader = document.querySelectorAll(".my-specialties-section h2");
const myToolsParagraph = document.querySelector(".my-specialties-section p");
let myToolsIO = new IntersectionObserver(myToolsFn, windowRect2);
const myToolsIconsAnimated = anime({
targets: myToolsIcons,
translateX: [-20, 0],
translateY: [-20, 0],
// rotateY: [50, 0],
opacity: [0, 1],
easing: "easeOutQuad",
duration: 1200,
delay: anime.stagger(150, { start: 200 }),
loop: false,
autoplay: false,
complete: function () { myToolsIconsAnimated.remove(myToolsIcons); },
}); });
function myToolsFn(entries) {
if (entries[0].isIntersecting) {
myToolsIconsAnimated.play();
}
}
myToolsIO.observe(myToolsParagraph);
@ -328,13 +401,13 @@ myToolsIO.observe(myToolsParagraph);
//############################################# -- Scroll Navigations //############################################# -- Scroll Navigations
anime({ anime({
targets: ".hero-scroll-down-block", targets: ".hero-text-section-graphic img",
translateY: [-5, 5], translateY: [-5, 5],
easing: "easeInOutQuad", easing: "easeInOutQuad",
duration: 1000, duration: 1000,
loop: true, loop: true,
direction: "alternate", direction: "alternate",
}) });
const navSections = document.querySelectorAll("section"); const navSections = document.querySelectorAll("section");
const myWorkNavLink = document.querySelector("#my-work-link"); const myWorkNavLink = document.querySelector("#my-work-link");
@ -348,16 +421,10 @@ navSections.forEach(item => { anchorLinksObserver.observe(item); });
function anchorLinksFn(entries) { function anchorLinksFn(entries) {
// console.log(entries[3]);
if (entries[3]) { return; } if (entries[3]) { return; }
entries.forEach(entry => { entries.forEach(entry => {
console.log(entry.target);
// entry.target.className = "hero-section";
myWorkNavLink.classList.remove("active-anchor"); myWorkNavLink.classList.remove("active-anchor");
aboutMeNavLink.classList.remove("active-anchor"); aboutMeNavLink.classList.remove("active-anchor");
resumeLink.classList.remove("active-anchor"); resumeLink.classList.remove("active-anchor");
@ -394,32 +461,211 @@ function anchorLinksFn(entries) {
//############################################# -- Contact Form
//############################################# -- Mousemove interactions
function parralaxMouse(event) {
let xPos = (event.clientX / window.innerWidth) - 0.5;
let yPos = (event.clientY / window.innerHeight) - 0.5;
// mountains.style.transition = "all .7s ease";
clouds.animate([{
transform: `translateX(${xPos * -10}px) translateY(${yPos * -10}px)`,
}], {
easing: "ease",
fill: "forwards",
});
mountains.animate([{
transform: `translateX(${xPos * -100}px) translateY(${yPos * -20}px)`,
}], {
easing: "ease",
fill: "forwards",
direction: "normal"
});
myImageBlock.animate([{
transform: `translateX(${xPos * -30}px) translateY(${yPos * -10}px) rotateX(${yPos * 4}deg) rotateY(${xPos * -3}deg)`,
}], {
easing: "ease",
fill: "forwards",
});
mainTextBlock.animate([{
transform: `translateZ(15px) rotateX(${yPos * 2}deg) rotateY(${xPos * -2}deg)`,
}], {
easing: "ease-out",
fill: "forwards",
});
heroTxtGraphic.animate([{
transform: `translateX(${xPos * -5}px) translateY(${yPos * -5}px) translateZ(10px) rotateX(${yPos * 2}deg) rotateY(${xPos * -2}deg)`,
}], {
easing: "ease",
fill: "forwards",
});
myBigTextBlock.animate([{
transform: `translateX(${xPos * -40}px) translateY(${yPos * -20}px) translateZ(50px) rotateX(${yPos * 4}deg) rotateY(${xPos * -3}deg)`,
}], {
easing: "ease",
fill: "forwards",
});
}
//var form = document.getElementById("my-form"); const uiuxDesignerLinks = document.querySelectorAll(".main-hero-text a");
// const myImage = document.querySelector(".benjamin-image-block");
// async function handleSubmit(event) { const myImageOverlay = document.querySelector(".benjamin-image-block-overlay");
// event.preventDefault(); const serviceDisplay = document.querySelector(".service-display-block");
// var status = document.getElementById("my-form-status");
// var data = new FormData(event.target); uiuxDesignerLinks.forEach(item => {
// fetch(event.target.action, {
// method: form.method, item.addEventListener("mouseover", function (event) {
// body: data,
// headers: { // myImage.style.transform = "rotateX(1deg) rotateY(2deg) rotateZ(-2deg) translateZ(20px) translateX(20px)";
// 'Accept': 'application/json' myImage.style.width = "23vw";
// }
// }).then(response => { if (event.target.className == "uiux-designer-link") {
// status.innerHTML = "Thanks for your submission!";
// form.reset() myImageOverlay.style.backgroundColor = "rgba(237,125,113,0.8)";
// }).catch(error => {
// status.innerHTML = "Oops! There was a problem submitting your form" } else if (event.target.className == "web-designer-link") {
// });
// } myImageOverlay.style.backgroundColor = "rgba(117,240,230,0.8)";
// form.addEventListener("submit", handleSubmit) // serviceDisplay.style.width = "300px";
// serviceDisplay.style.height = "250px";
} else if (event.target.className == "frontend-designer-link") {
myImageOverlay.style.backgroundColor = "rgba(116,123,239,0.8)";
// serviceDisplay.style.width = "250px";
// serviceDisplay.style.height = "200px";
} else if (event.target.className == "graphic-motion-designer-link") {
myImageOverlay.style.backgroundColor = "rgba(28,55,102,0.8)";
// serviceDisplay.style.width = "200px";
// serviceDisplay.style.height = "200px";
}
});
});
uiuxDesignerLinks.forEach(item => {
item.addEventListener("mouseout", function () {
myImage.style.transform = "none";
myImageOverlay.style.backgroundColor = "transparent";
myImage.style.width = "100%";
// serviceDisplay.style.opacity = "0";
// serviceDisplay.style.transform = "none";
});
});
//############################################# -- Mobile hamburger interactrions
const hamburgerButton = document.querySelector(".hamburger-button");
const mobileNavWrapper = document.querySelector("header > div:nth-of-type(1)");
let a = 0;
hamburgerButton.addEventListener("click", () => {
if (a == 0) {
mobileNavWrapper.animate([
{
opacity: 0,
height: "0px",
pointerEvents: "none",
transform: "translateZ(50px) translateY(-50px)"
},
{
opacity: 1,
height: "450px",
pointerEvents: "visible",
transform: "translateZ(0px) translateY(0px)"
}
], {
fill: "both",
duration: 600,
easing: "cubic-bezier( 0.1, 0.63, 0.355, 1 )"
});
} else {
mobileNavWrapper.animate([
{
opacity: 1,
height: "450px",
pointerEvents: "visible",
transform: "translateZ(0px) translateY(0px)"
},
{
opacity: 0,
height: "0px",
pointerEvents: "none",
transform: "translateZ(50px) translateY(-50px)"
}
], {
fill: "both",
duration: 600,
easing: "cubic-bezier( 0.1, 0.63, 0.355, 1 )"
});
a = -1;
}
a++;
// mobileNavWrapper.style.opacity = "1"
});
hamburgerButton.addEventListener("blur", () => {
mobileNavWrapper.animate([
{
opacity: 1,
height: "450px",
pointerEvents: "visible",
transform: "translateZ(0px) translateY(0px)"
},
{
opacity: 0,
height: "0px",
pointerEvents: "none",
transform: "translateZ(50px) translateY(-50px)"
}
], {
fill: "both",
duration: 600,
easing: "cubic-bezier( 0.1, 0.63, 0.355, 1 )"
});
a = 0;
// mobileNavWrapper.style.opacity = "1"
});

17
scripts/main.min.js vendored Normal file
View File

@ -0,0 +1,17 @@
const heroTextSection=document.querySelector(".hero-section > div:nth-child(2)");const myImageBlock=document.querySelector(".benjamin-image-block-wrapper");const myBigTextBlock=document.querySelector(".benjamin-big-text-block");const mainTextBlock=document.querySelector(".main-text-block");const mainCTA=document.querySelector(".main-cta-button");const allHeaderElements=document.querySelectorAll("header *:not(header > div)");const mountains=document.querySelector("#mountains");const clouds=document.querySelector("#clouds");const footerController=document.querySelector(".contact-section-controller");const header=document.querySelector("header");const heroTxtGraphic=document.querySelector(".hero-text-section-graphic");function intro(){if(window.innerWidth>800){anime({targets:heroTextSection,width:[0,"50%"],translateX:[200,0],easing:"cubicBezier( 0.93, 0, 0.09, 1 )",duration:1500,delay:1000,})}else if(window.innerWidth<801&&window.innerWidth>600){anime({targets:heroTextSection,width:[0,"60%"],translateX:[200,0],easing:"cubicBezier( 0.93, 0, 0.09, 1 )",duration:1500,delay:1000,})}else if(window.innerWidth<601){anime({targets:heroTextSection,width:[0,"100%"],translateX:[500,0],easing:"cubicBezier( 0.93, 0, 0.09, 1 )",duration:1500,delay:0,})}
anime({targets:allHeaderElements,translateX:[-20,0],opacity:[0,1],easing:"easeOutQuad",duration:800,delay:anime.stagger(100,{start:1000}),});anime({targets:myBigTextBlock,translateY:[100,0],translateZ:50,opacity:[0,1],easing:"cubicBezier( 0.1, 0.63, 0.355, 1 )",duration:1200,delay:2000,});anime({targets:myImageBlock,translateY:[100,0],opacity:[0,1],easing:"cubicBezier( 0.1, 0.63, 0.355, 1 )",duration:1500,delay:2200,});if(window.innerWidth<601){anime({targets:mainTextBlock,translateX:[-50,0],translateZ:[30,0],opacity:[0,1],easing:"cubicBezier( 0.1, 0.63, 0.355, 1 )",duration:1200,delay:2500,})}else{anime({targets:mainTextBlock,translateX:[-50,0],translateZ:[30,15],opacity:[0,1],easing:"cubicBezier( 0.1, 0.63, 0.355, 1 )",duration:1200,delay:2500,})}
anime({targets:mainCTA,translateX:[-50,0],opacity:[0,1],easing:"cubicBezier( 0.1, 0.63, 0.355, 1 )",duration:1200,delay:2600,});if(window.innerWidth>600){anime({targets:mountains,translateY:[200,0],opacity:[0,1],easing:"cubicBezier(0.1, 0.63, 0.355, 1)",duration:1500,delay:1000,})
anime({targets:mountains,left:[0,-50],easing:"easeOutQuad",duration:800,delay:1600,})}
anime({targets:clouds,opacity:[0.2,1],easing:"easeOutQuad",duration:1200,delay:800,})}
function introInit(){if(window.innerWidth<601){anime({targets:heroTextSection,width:[0],translateX:500,duration:0})}else{anime({targets:heroTextSection,width:[0],translateX:200,duration:0})}
anime({targets:allHeaderElements,translateX:[-20],opacity:[0],duration:0});anime({targets:myBigTextBlock,translateY:[100],opacity:[0],duration:0});anime({targets:myImageBlock,translateY:[100],opacity:[0],duration:0});anime({targets:mainTextBlock,translateX:[-50],opacity:[0],duration:0});anime({targets:mainCTA,translateX:[-50],opacity:[0],duration:0});anime({targets:mountains,opacity:0,duration:0})}
introInit();var headerController=document.querySelector("#header-controller");var windowRect={rootMargin:"0px",};var headerObserver=new IntersectionObserver(changeHeader,windowRect);function changeHeader(entry){if(entry[0].isIntersecting){if(window.innerWidth>800){document.querySelectorAll(".nav-link").forEach(item=>{if(entry[0].target.className=="contact-section-controller"){item.style.color="white"}});header.className="none";anime({targets:"header > a > img",width:40,height:100,top:0,duration:400,easing:"easeOutCubic",});anime({targets:"header > a > div",translateX:0,opacity:1,duration:1000,})}}else{if(window.innerWidth>800){document.querySelectorAll(".nav-link").forEach(item=>{if(entry[0].target.className=="contact-section-controller"){item.style.color=""}});header.classList.add("scrolled");anime({targets:"header > a > img",width:60,height:130,top:20,duration:400,easing:"easeOutCubic",})}
anime({targets:"header > a > div",translateX:-50,opacity:0,duration:1000,})}}
window.addEventListener("load",()=>{setTimeout(()=>{intro()},1000);setTimeout(()=>{headerObserver.observe(headerController)},3000);if(window.innerWidth>800){setTimeout(()=>{window.addEventListener("mousemove",parralaxMouse)},4000)}});const sections=document.querySelectorAll(".scroll-into-view");let footerHeaderFn=()=>{headerObserver.observe(footerController)};var windowRect2={rootMargin:"0px 0px -200px 0px",};var sectionsIO=new IntersectionObserver(sectionsObserverFn,windowRect2);function sectionsObserverFn(entries){entries.forEach(entry=>{if(entry.isIntersecting){entry.target.classList.add("scrolled-into-view");if(entry.target.id=="footer-right-section"&&entries[2]){return}
if(window.innerWidth>800){footerHeaderFn()}}})}
sections.forEach(item=>{sectionsIO.observe(item)});const contents=document.querySelectorAll(".scroll-into-view-content");const contentsIO=new IntersectionObserver(contentsObserverFn,{rootMargin:"0px 0px -100px 0px"});const contentsAlt=document.querySelectorAll(".scroll-into-view-content-2");const contentsIOAlt=new IntersectionObserver(contentsObserverFn,{rootMargin:"0px"});function contentsObserverFn(entries){entries.forEach(entry=>{if(entry.isIntersecting){entry.target.animate([{transform:"none",opacity:1,}],{duration:1300,easing:"cubic-bezier(0.1, 0.63, 0.355, 1)",fill:"forwards",delay:(entry.target.dataset.delay),});contentsIO.unobserve(entry.target);contentsIOAlt.unobserve(entry.target)}})}
contents.forEach(item=>{contentsIO.observe(item)});contentsAlt.forEach(item=>{contentsIOAlt.observe(item)});anime({targets:".hero-text-section-graphic img",translateY:[-5,5],easing:"easeInOutQuad",duration:1000,loop:!0,direction:"alternate",});const navSections=document.querySelectorAll("section");const myWorkNavLink=document.querySelector("#my-work-link");const aboutMeNavLink=document.querySelector("#about-me-link");const resumeLink=document.querySelector("#resume-link");const contactMeNavLink=document.querySelector("#contact-me-link");const anchorLinksObserver=new IntersectionObserver(anchorLinksFn,{rootMargin:"0px",threshold:0.75});navSections.forEach(item=>{anchorLinksObserver.observe(item)});function anchorLinksFn(entries){if(entries[3]){return}
entries.forEach(entry=>{myWorkNavLink.classList.remove("active-anchor");aboutMeNavLink.classList.remove("active-anchor");resumeLink.classList.remove("active-anchor");contactMeNavLink.classList.remove("active-anchor");if(entry.target.className=="hero-section"){return}else if(entry.target.className=="my-work-section"){myWorkNavLink.classList.add("active-anchor")}else if(entry.target.className=="about-me-section"){aboutMeNavLink.classList.add("active-anchor")}else if(entry.target.className=="my-specialties-section"){resumeLink.classList.add("active-anchor")}else if(entry.target.className=="contact-section"){contactMeNavLink.classList.add("active-anchor")}else{myWorkNavLink.classList.remove("active-anchor");aboutMeNavLink.classList.remove("active-anchor");resumeLink.classList.remove("active-anchor");contactMeNavLink.classList.remove("active-anchor")}})}
function parralaxMouse(event){let xPos=(event.clientX/window.innerWidth)-0.5;let yPos=(event.clientY/window.innerHeight)-0.5;clouds.animate([{transform:`translateX(${xPos * -10}px) translateY(${yPos * -10}px)`,}],{easing:"ease",fill:"forwards",});mountains.animate([{transform:`translateX(${xPos * -100}px) translateY(${yPos * -20}px)`,}],{easing:"ease",fill:"forwards",direction:"normal"});myImageBlock.animate([{transform:`translateX(${xPos * -30}px) translateY(${yPos * -10}px) rotateX(${yPos * 4}deg) rotateY(${xPos * -3}deg)`,}],{easing:"ease",fill:"forwards",});mainTextBlock.animate([{transform:`translateZ(15px) rotateX(${yPos * 2}deg) rotateY(${xPos * -2}deg)`,}],{easing:"ease-out",fill:"forwards",});heroTxtGraphic.animate([{transform:`translateX(${xPos * -5}px) translateY(${yPos * -5}px) translateZ(10px) rotateX(${yPos * 2}deg) rotateY(${xPos * -2}deg)`,}],{easing:"ease",fill:"forwards",});myBigTextBlock.animate([{transform:`translateX(${xPos * -40}px) translateY(${yPos * -20}px) translateZ(50px) rotateX(${yPos * 4}deg) rotateY(${xPos * -3}deg)`,}],{easing:"ease",fill:"forwards",})}
const uiuxDesignerLinks=document.querySelectorAll(".main-hero-text a");const myImage=document.querySelector(".benjamin-image-block");const myImageOverlay=document.querySelector(".benjamin-image-block-overlay");const serviceDisplay=document.querySelector(".service-display-block");uiuxDesignerLinks.forEach(item=>{item.addEventListener("mouseover",function(event){myImage.style.width="23vw";if(event.target.className=="uiux-designer-link"){myImageOverlay.style.backgroundColor="rgba(237,125,113,0.8)"}else if(event.target.className=="web-designer-link"){myImageOverlay.style.backgroundColor="rgba(117,240,230,0.8)"}else if(event.target.className=="frontend-designer-link"){myImageOverlay.style.backgroundColor="rgba(116,123,239,0.8)"}else if(event.target.className=="graphic-motion-designer-link"){myImageOverlay.style.backgroundColor="rgba(28,55,102,0.8)"}})});uiuxDesignerLinks.forEach(item=>{item.addEventListener("mouseout",function(){myImage.style.transform="none";myImageOverlay.style.backgroundColor="transparent";myImage.style.width="100%"})});const hamburgerButton=document.querySelector(".hamburger-button");const mobileNavWrapper=document.querySelector("header > div:nth-of-type(1)");let a=0;hamburgerButton.addEventListener("click",()=>{if(a==0){mobileNavWrapper.animate([{opacity:0,height:"0px",pointerEvents:"none",transform:"translateZ(50px) translateY(-50px)"},{opacity:1,height:"450px",pointerEvents:"visible",transform:"translateZ(0px) translateY(0px)"}],{fill:"both",duration:600,easing:"cubic-bezier( 0.1, 0.63, 0.355, 1 )"})}else{mobileNavWrapper.animate([{opacity:1,height:"450px",pointerEvents:"visible",transform:"translateZ(0px) translateY(0px)"},{opacity:0,height:"0px",pointerEvents:"none",transform:"translateZ(50px) translateY(-50px)"}],{fill:"both",duration:600,easing:"cubic-bezier( 0.1, 0.63, 0.355, 1 )"});a=-1}
a++});hamburgerButton.addEventListener("blur",()=>{mobileNavWrapper.animate([{opacity:1,height:"450px",pointerEvents:"visible",transform:"translateZ(0px) translateY(0px)"},{opacity:0,height:"0px",pointerEvents:"none",transform:"translateZ(50px) translateY(-50px)"}],{fill:"both",duration:600,easing:"cubic-bezier( 0.1, 0.63, 0.355, 1 )"});a=0})