@font-face {
    font-family: MSBold;
    src: url("fonts/MSW98UI-Bold.woff");
}
@font-face {
    font-family: MSReg;
    src: url("fonts/MSW98UI-Regular.woff");
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-image: url("images/space.gif");
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center;
}
html{
    
    overflow: hidden;
}
h1{
    font-family: "fayte-pixel-hard", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 12vw;
    color: black;
    padding: 0 24px 0 16px;
    text-align: center;
}
h2{
    color: white;
    font-family: MSReg;
    font-weight: normal;
    padding:5px 0px 0px 5px;
    font-size: clamp(.5rem, .5rem + 5vw, 1.25rem);
}
.btns, .popup{
    display: flex;
}
.popup{
    flex-direction: column;
    background-color: lightgray;
    align-items: center;
    width:fit-content;
    border: 2px outset lightgray;
}
.titlebar{
    display:flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
    padding:4px;
    background: #300c4d;
    background: linear-gradient(90deg,rgba(48, 12, 77, 1) 0%, rgba(104, 0, 184, 1) 25%, rgba(0, 115, 255, 1) 48%, rgba(25, 255, 148, 1) 72%, rgba(255, 255, 0, 1) 95%);
}
.btns{
    gap:8px;
}
.titlebar button{
    background-color: lightgray;
    font-family: MSBold;
    border: 2px outset lightgray;
    width:24px;
    height:24px;
    text-align: center;
}
.deal{
    width:fit-content;
    padding:4px;
    border-radius: 0px;
    background-color: lightgray;
    border: 2px outset lightgray;
    font-family: MSReg;
    margin:16px 0;
}
button{
    color:black;
}
button:active{
    border: 2px inset lightgray;
}
.x{
    padding:4px 0px 0px 2px
}