*{
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: 'Outfit';
}

.hero-section{
    height: 100vh;
    display: flex;
    justify-content: center;
    background-color: #0f172a;
    padding: 20px;
    position: relative;
}

.frame{
    height: 100%;
    background-color: #6267f1;
    padding: 10px 100px;
    border: 4px solid white;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.title{
    margin: 0;
    font-size: 36px;
    font-family: 'Press Start 2P', sans-serif;
    color: #f8fafa;
    text-align: center;
    margin: 20px 0 30px;
}

.canvas-container{
    height: 700px;
    aspect-ratio: 1 / 1;
    background-color: white;
    display: flex;
    flex-wrap: wrap;
}

.canvas-pixel{
    background-color: white;
    border: 1px solid grey;
    aspect-ratio: 1 / 1;
}

.buttons-section{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

button{
    color: black;
    font-size: 16px;
    font-weight: 500;
    background-color: #d8daff;
    height: 50px;
    border-radius: 8px;
    padding: 5px 10px;
}

.overlay{
    height: 100%;
    width: 100%;
    background-color: #0f172aac;
    position: absolute;
    top: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.overlay-card{
    background-color: #6267f1;
    border: 2px solid white;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.overlay-card-title{
    margin: 0 0 10px;
    color: white;
    font-size: 42px;
}

.overlay-card-des{
    color: rgb(240, 240, 240);
    font-size: 24px;
    margin: 0 0 20px;
}

#warning{
    color: rgb(255, 161, 161);
    font-size: 20px;
    margin: 0;
}

#pixelPerLine{
    width: 80%;
    height: 40px;
    padding: 0 10px;
    margin-bottom: 20px;
}

.footer{
    color: white;
    font-size: 16px;
    margin: 0;
}

a{
    color: white;
    text-decoration: none;
    font-weight: 700;
}

