html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    -ms-content-zooming: none;
    touch-action: pan-x pan-y;
    font-family: Bahnschrift, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    touch-action: manipulation;

}

body {
    overscroll-behavior: contain;
    background: url('/img/builder-background-img-dc632c5524349c9afe186e5a40fffd5f.jpg') no-repeat scroll center center;
    background-size: cover;
    align-items: center;
    justify-content: center;
    display: flex;

}
.main-container {
    position: relative;
    width: 22%;
    height: auto;
    border-radius: 15px;
    background: rgba(14, 14, 23, 0.97);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    padding: 1.7rem;
    align-items: center;
    display: flex;
    flex-direction: column;
    animation: fadein 0.8s ease-in-out;
}
.dummy-view{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(9, 13, 19, 0.49); /* soft overlay */
    z-index: 0;
    pointer-events: none; /* let clicks pass through */
}
.profile-container {
    position: relative;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.profile-picture {
    width: 65px;
    height: 65px;
    margin-top: 0;
}
.profile-container a{
    color: white;
    font-weight: 700;
    font-size: large;
}


.profile-container p{
    font-size: 14px;
    color: white;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
}

.start-build-btn {
    height: auto;
    width: 85%;
    position: relative;
    font-size: 13px;
    border-radius: 9px;
    font-weight: bold;
    flex-shrink: 0;
    padding: 10px 0;
    background: #344767;
    color: white;
    border: none;
    margin-top: 15px;
}

.start-build-btn:hover{
    transform: scale(1.05);
}

.start-build-btn:active{
    transform: scale(0.95);
}

@keyframes fadein {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}


@media (max-width: 900px){
    body{padding:24px;align-items:flex-start;}
    .main-container{width:min(420px,85vw);padding:1.25rem;margin-top:8dvh;}
    .profile-picture{width:58px;height:58px;}
    .profile-container a{font-size:1.05rem;}
    .profile-container p{font-size:13px;margin-top:12px;}
    .start-build-btn{width:100%;font-size:12px;padding:10px 0;}
}

@media (max-width: 600px){
    body{padding:16px;}
    .main-container{width:85vw; padding:1.05rem;border-radius:14px;margin-top:6dvh;}
    .profile-picture{width:52px;height:52px;}
    .profile-container a{font-size:1rem;}
    .profile-container p{font-size:12.5px;margin-top:10px;}
    .start-build-btn{font-size:11.5px;padding:10px 0;border-radius:10px;}
}
