.popup-parent{position:fixed;top:50px;width:100%;height:100vh;background-color:rgba(0,0,0,.432);z-index:50;display:flex;align-items:center;justify-content:center}.portfolio-popup{width:calc(60% - 20px);margin:0 auto;background-color:var(--text-color4);padding:10px;height:80vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--primary-color) transparent}.portfolio-popup .bottom{width:calc(100% - 40px);padding:20px}.popup-parent .portfolio-popup .close-icon{color:var(--primary-color);font-size:28px;cursor:pointer;position:-webkit-sticky;position:sticky;top:0;z-index:30}.gallery{display:grid;grid-template-columns:2fr 1fr;grid-gap:20px;gap:20px;margin-bottom:20px;box-shadow:2px 2px 3px rgba(0,0,0,.074);padding:20px}.gallery-preview{position:relative;width:100%;height:320px;background:#000;display:flex;align-items:center;justify-content:center;overflow:hidden}.gallery-preview .blur-bg{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:50%;filter:blur(20px);transform:scale(1.1);z-index:0;opacity:.6}.gallery-preview img,.gallery-preview video{position:relative;z-index:1;max-width:100%;max-height:100%;object-fit:contain}.gallery-thumbnails{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto;padding-right:5px;scrollbar-width:thin;scrollbar-color:gainsboro transparent}.gallery-thumbnails .thumb{width:100%;height:100px;cursor:pointer;border:2px solid transparent}.gallery-thumbnails .thumb img,.gallery-thumbnails .thumb video{width:100%;height:100%;object-fit:cover}.gallery-thumbnails .thumb.active{border:2px solid gainsboro}.portfolio-popup .proposal-btn{width:40%;margin-left:30%;margin-top:50px;background-color:var(--primary-color);outline:none;padding:12px 24px;border-radius:var(--border-radius1);color:var(--text-color4);border-style:none;cursor:pointer;transition:.3s ease;border:2px solid var(--primary-color);font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;-webkit-tap-highlight-color:transparent}.portfolio-popup .proposal-btn:hover{background-color:transparent;color:var(--main-color)}@media (max-width:900px){.portfolio-popup{width:94%;margin:0 auto}.gallery{grid-template-columns:1fr}.gallery-preview{height:250px}.gallery-thumbnails{flex-direction:row;max-height:120px;overflow-x:auto;overflow-y:hidden}.gallery-thumbnails .thumb{width:120px;height:100px;flex-shrink:0}.portfolio-popup .proposal-btn{width:90%;margin-left:5%}}