html {
    background-image: linear-gradient(#b286dd, #e5b3df);
    height: 100%;
    width: 100%;
}

#title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1 {
    font-family: "Aclonica", sans-serif;
    margin: 0;
}

h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    margin: 0.5em 0 0.5 0;
}

#gameLaunch {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    cursor: pointer;
}

#gameLaunch p {
    font-size: 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

#dragBar {
    background-color: #904899;
    height: 30px;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    text-align: left;
    z-index: 999;
    border: 4px solid #26123a;
    position: absolute;
    top: -35px;
    cursor: grab;
    justify-content: space-between;
}

#dragBar span {
    align-self: center;
    margin-left: 0.5em;
    margin-right: 0.5em;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 20px;
}

#dragUI {
    cursor: pointer;
    height: 20px;
    display: flex;
    flex-direction: row;
}

#volumeMute {
    display: none;
}

#backBtn {
    position: absolute;
    top: 5%;
    left: 5%;
    cursor: pointer;
}

#credits {
    display: none;
    z-index: 999;
    flex-direction: column;
    text-align: left;
    gap: 0.5em;
}

#credits h3 {
    font-family: "Aclonica", sans-serif;
    font-size: 24px;
    margin: 0;
    margin-top: 0.5em;
}

#credits h4 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

#credits p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 400;
    font-size: 16px;
    margin: 0;
}

.creator {
    margin: 0.5em 0 0.5em 0;
}

.creator a {
    text-decoration: none;
    color: black;
}

#gameBox {
    display: none;
    margin: auto;
    flex-direction: column;
    text-align: center;
    width: 600px;
    height: 450px;
    background-color: azure;
    align-items: center;
    justify-content: center;
    position: absolute;
    border: 4px solid #26123a;
    box-shadow: 10px 10px rgb(83, 30, 88);
    z-index: 999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

#dialogue {
    display: none;
    z-index: 999;
    background-color: aliceblue;
    padding: 1em;
    border: 4px solid #26123a;
    position: absolute;
    bottom: -20%;
    box-shadow: 10px 10px rgb(83, 30, 88);
    width: 400px;
    height: fit-content;
}

#dialogue p {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
   font-weight: 600;
}

#canvasBox {
    position: absolute;
    width: 600px;
    height: 450px;
    border: 4px solid #26123a;
    box-shadow: 10px 10px rgb(83, 30, 88);
}

.hide {
    display: none;
}

button {
    width: 200px;
    height: 30px;
    margin: 0.5em;
    border-radius: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    color: #26123a;
    border: solid 2px #26123a;
    box-shadow: 3px 3px rgb(83, 30, 88);
    font-weight: 600;
    z-index: 999;
    cursor: pointer;
}

button:hover {
    background-color: #904899;
    color: white;
}