1 line
14 KiB
CSS
1 line
14 KiB
CSS
|
html{width:100%;overflow-x:hidden;scroll-behavior:smooth}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;font-family:"Titillium Web",Helvetica;font-size:18px;line-height:1.5;color:#222;position:relative}:root{--main-color:#747bef;--base-color:#222;--sec-color-1:#ed7d71;--sec-color-2:#faa096;--sec-color-3:#75F0E6;--dark-color:#1c3766}body{width:100%;margin:0;overflow:hidden;display:flex;flex-direction:column;align-items:center}header{position:fixed;left:0;top:0;width:100%;z-index:1000;padding:40px;display:flex;align-items:center;justify-content:space-between;height:140px;overflow:hidden;perspective:500px;transition:all .3s ease}header>div:nth-of-type(1){position:relative;transform-style:preserve-3d}header.scrolled{padding:20px;background-color:#fff;height:80px}#header-controller{position:absolute;width:100%;height:15vh;top:0;left:0;background:lightgray}header img:not(#linkedin img){width:40px;margin-right:10px;position:relative;top:0}header>a{font-family:"Titillium Web";border:none;color:inherit;display:flex;align-items:center;font-weight:900;position:relative;perspective:500px;transform-style:preserve-3d;z-index:10}header>a>div{line-height:16px;font-size:24px;color:var(--dark-color)}nav{display:flex;align-items:center;color:inherit;height:100%}.nav-link{font-size:17px;font-weight:600;padding:10px 15px;background-size:100%;background-repeat:no-repeat;background-position:-200px 43px;background-image:linear-gradient(90deg,var(--main-color),var(--sec-color-1));color:inherit;transition:background .3s ease}.nav-link:hover{color:var(--sec-color-2);background-position:0 43px}.active-anchor{color:var(--sec-color-1);background-position:0 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:#fff}section{display:flex;position:relative;width:100%;perspective:500px;padding:0;margin:0;height:100vh;overflow:hidden;align-items:stretch}section>div{width:50%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;perspective:500px;transform-style:preserve-3d;padding:15%;position:relative}section>div p{width:350px;color:inherit}a{text-decoration:none;color:var(--dark-color);border:none;cursor:pointer;font-size:inherit}a:hover{border:none}h1,h2,h3,h4{font-family:"Titillium Web";margin-top:0;margin-bottom:15px;width:100%;line-height:1.2;color:inherit;font-weight:700}h1{font-size:46px}h2{font-size:50px;width:auto;line-height:1}p{font-size:20px;line-height:1.5;margin-top:0;margin-bottom:20px;width:100%;font-weight:400;letter-spacing:.5px}span{font-size:inherit;font-weight:inherit;font-family:inherit;color:inherit;letter-spacing:inherit;line-height:inherit}span>a{font-size:inherit;font-weight:inherit;font-family:inherit;color:inherit;letter-spacing:inherit;line-height:inherit;border:inherit;border-color:inherit}span>a:hover{border:inherit;border-color:inherit}button{border:none;background-color:var(--dark-color);padding:10px 20px;color:#fff;cursor:pointer;background-image:linear-gradient(var(--main-color),var(--main-color));background-repeat:no-repeat;background-position:0 67px;transition:background .3s ease}button:hover{background-position:0 0}input,textarea{padding:15px;border-radius:5px;border:1px solid rgba(0,0,0,.2);margin-bottom:15px;width:100%;font-size:14px}input:focus{border:1px solid blue;box-shadow:0 0 15px 0 rgba(0,0,0,.2)}.social-media-links{width:40px;height:40px;border-radius:50%;margin:5px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;background-color:var(--sec-color-1);padding:0;overflow:hidden}#linkedin img{width:20px;height:20px}#mail{background-color:var(--main-color)}#linkedin{background-color:var(--dark-color)}#linkedin:hover{background-color:var(--main-color)}.scroll-into-view{padding:0;width:0;transition:all .7s cubic-bezier(.93,0,.09,1)}.scrolled-into-view{width:50%;padding:40px}.scroll-into-view-content,.scroll-into-view-content-2{transform:translateY(80px) rotateX(5deg) transla
|