* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

img {
    max-width: 100%;
}

h1 {
    color: white;
    text-align: center;
    padding: 40px;
}

ul {
    list-style: none;
}

.page-header {
    background-color: rgb(66, 44, 82);
}

.preview {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.preview video {
    background-color: black;
    width: 100%;
    border: 3px solid black;
    margin-top: 80px;
}

.screenshots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 40px;
    row-gap: 40px;
    padding-top: 80px;
    padding-bottom: 80px;
}

.screenshot {
    max-width: 320px;
    min-width: 280px;
    border-radius: 20px;
    border: 5px solid rgb(57, 26, 88);
}

.screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.game-wrapper {
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    margin-bottom: 80px;
    position: relative;
}

.webgl {
    outline: none;
}

.page-footer p {
    background-color: rgb(74, 52, 81);
    color: white;
    padding: 100px;
    text-align: center;
}

.game-overlay, .game-overlay2,.game-overlay3{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.game-button {
    padding: 20px 48px;
    font-size: 18px;
    background-color: #280d3c;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.game-button:hover {
    background-color: #2e1957;
}

.game-overlay2 div {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 170px;
    border-radius: 8px;
    text-align: center;
    color: white;
}

.game-overlay2 h2 {
    margin-top: 250px;
    margin-bottom: 0px;
}
.game-overlay3 div {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 170px;
    border-radius: 8px;
    text-align: center;
    color: white;
}

.game-overlay3 h2 {
    margin-top: 250px;
    margin-bottom: 0px;
}