* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgb(69, 58, 193), rgb(56, 133, 234), #72c2e2);
}

.container {
    height: 80vmin;
    width: 60vmin;
    border: 3px solid rgb(244, 239, 239);
    border-radius: 20px;
    background-color: #fffcfc2f;
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.container p {
    text-transform: uppercase;
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 3px 5px #6d6c6c;
    padding: 1.1rem;
    cursor: pointer;
}

.container input {
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    width: 30vmin;
    background: transparent;
    border: 2px solid white;
    padding: 1rem;
    width: 80%;
    background-color: #fffcfc2f;
    backdrop-filter: blur(2px);
    border-radius: 20px;
    margin: 1rem;
}

.container h1 {
    text-transform: uppercase;
    font-size: 1.5rem;
}

.container button {
    padding: .7rem;
    margin: .8rem;
    width: 40%;
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: white;
    color: black;
    cursor: pointer;
    border: 3px solid black;
    border-radius: 25px;
}

button:hover {
    background-color: black;
    color: white;
    border: 3px solid white;
}

.window {
    height: 40vmin;
    width: 40vmin;
    max-width: 300px;
    max-height: 300px;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .8rem;
}

.window canvas {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width:500px) {
    .container {
        height: auto;
        /* height: 95vmin; 
        width: 85vmin;   */
        padding: 1rem;
    }

    .container p {
        font-size: 1.1rem;
    }

    .container input {
        font-size: 2.5vmin;
        display: flex;
        justify-content: center;
    }

    .container button {
        display: flex;
        justify-content: center;
        font-size: 2.7vmin;
    }

    .window {
        width: 50%;
        height: auto;
        max-width: 250px;
    }
}

@media (max-width:610px) {
    .window {
        border: none;
    }
}