 /*:root {

     --panel: #16161c;
     --accent: #4f8cff;
     --border: #2a2a33;

     --disabled: #555;
 }*/

 * {
     box-sizing: border-box;
 }

 body {
     margin: 0;
     font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
     background: #000000;
     color: #fff;
 }

 /* Preview */

 .preview {
     padding: 24px;
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 16px;
 }

 /* Toggle */

 .toggle {
     display: flex;
     gap: 8px;
     background: #000000;
     padding: 6px;
     border-radius: 12px;
 }

 .toggle button {
     all: unset;
     padding: 6px 14px;
     border-radius: 8px;
     cursor: pointer;
     color: #aaa;
 }

 .toggle button.active {
     background: #4f8cff;
     color: #fff;
     cursor: default;
 }

 .toggle button.disabled {
     color: #fff;
     cursor: default;
     pointer-events: none;
 }

 @media (max-width: 900px) {
     .toggle {
         display: none;
     }
 }

 /* Devices */

 .device {
     background: #000;
     border-radius: 18px;
     overflow: hidden;
     box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
 }

 .phone {
     width: 400px;
     height: 740px;
     border: 10px solid #111;
 }

 .desktop {
     width: 960px;
     height: 600px;
     border: 12px solid #111;
     position: relative;
 }

 iframe {
     border: none;
     background: #fff;
 }

 /* Desktop scaling */

 .desktop iframe {
     width: 1440px;
     height: 900px;
     transform-origin: top left;
 }

 /* Mobile only */

 @media (max-width: 900px) {
     .desktop {
         display: none;
     }
 }



 .header-portfolio {
     position: unset;
 }

 .projects-list {
     margin: 50px auto 0;
     left: 0;
     right: 0;
     width: 100%;
     max-width: 720px;
     z-index: 100;
     padding: 0 20px;
 }

 .projects-list a {
     display: inline-block;
     color: #fff;
     text-decoration: underline;
     text-decoration-thickness: .5px;
     text-decoration-color: #fff;
     text-underline-offset: 8px;
     transition: .5s;
     margin-right: 16px;
     margin-bottom: 16px;
 }

 .projects-list a:last-child {
     margin-right: 0px;
 }

 .projects-list a:hover,
 .projects a.active {
     color: #f3ba26;
     text-decoration-color: #f3ba26;
 }

 .projects a.active {
     cursor: default;
 }

 #mobileFrame {
     width: 100%;
     height: 100%;
 }