/* general */ :root { font-size: 6px; } * { margin: 0; padding: 0; } html{ width: 100vW; overflow-x: hidden; font-family: "Roboto", sans-serif; } body { width: 100vW; height: 100vH; background-color: rgb(30, 29, 29); background-image: url("assets/background/bg-mobile.jpg"); background-position: top; background-size: 100%; background-repeat: repeat-y; background-clip: scroll; background-attachment: center; } body::-webkit-scrollbar { width: 5px; } body::-webkit-scrollbar-thumb { border-radius: 10px; box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.2); background-color: rgba(51, 51, 51, 0.5); } body::-webkit-scrollbar-track { border-radius: 5px; background-color: rgba(0, 0, 0, .1); } a { text-decoration: none; } .maincontainer { margin: auto; width: 100%; max-width: 1920px; min-height: 120vH; height: 100%; background: rgba(0, 0, 0, 0.5); } .clip { width: 100%; height: 100%; position: fixed; overflow: hidden; } .card { padding: 1.5rem 0; width: 90%; max-width: 75rem; position: absolute; top: 25%; transform: translateX(-1.5rem) rotate(-3deg); background-color: rgba(255, 255, 255, 0.85); border-radius: 0 10px 10px 0; } .profilepic { width: 18rem; border-radius: 50%; margin-left: 1.5rem; position: absolute; right: 60%; box-shadow: 2px 2px .5rem rgba(51, 51, 51, 0.3); } .info { /* width: 100%; */ height: 18rem; padding: 2rem 0; box-sizing: border-box; text-align: center; } .stripe { background-color: rgba(0, 0, 0, 0.25); } .title, .social { transform: translateX(18%); } .title { padding: 1rem 0; } .name { font-size: 3rem; font-weight: bold; text-shadow: 2px 2px .5rem rgba(51, 51, 51, 0.3); } .jobtitle { font-size: 1.25rem; } .social { padding: 2.5rem 0 1rem; } .social img { margin: 0 0.5rem; width: 4.5rem; border-radius: 50%; } .social img:hover { border: 2px solid rgba(255, 255, 255, 0.8); box-shadow: 0px 0px 5px rgba(255, 255, 255, 1); box-sizing: border-box; } /* Media queries */ @media all and (min-width: 768px) { :root { font-size: 12px; } .maincontainer { min-height: 1921px; } } @media all and (min-width: 1024px) { :root { font-size: 15px; } .maincontainer { min-height: 175vH; } } @media all and (min-width: 1366px) { :root { font-size: 20px; } body { background-image: url("assets/background/bg-desktop.jpg"); } } @media all and (min-width: 1921px) { body { background-size: auto; } }