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

}

body {
    background-color: #010436;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
    gap: 20px;

}

.css-code {
    width: 500px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;

}

.result-code {
    width: 500px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.area-codigo {
    background-color: #010025;
    height: calc(100% - 70px);
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    color: #999;
}

.area-animation {
    height: calc(100% - 70px);
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input {
    margin: 0 auto;
    width: 85%;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

input {
    margin: 20px ;
    padding: 20px;
    width: 80%;
    padding: 15px 20px;
    border-radius: 8px;
    border: 2px solid #010025;
    font-size: 16px;
    transition: 0.5s;
}

input:active {
    transform: scale(0.9);
}

button {
    margin: 20px;
    padding: 20px;
    padding: 15px 50px;
    border-radius: 8px;
    border: none;
    background-color: #07831c;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.5s;
}

button:hover {
    background-color: #51ff60;
    color: #010025;
    box-shadow: 0 0 10px #51ff60, 0 0 20px #51ff60, 0 0 30px #51ff60;
}

button:active {
    transform: scale(0.9);
}


h1 {
    display: flex;
    justify-content: center;
    color: #fff;
    align-items: center;
    font-size: 2rem;
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
    transition: 0.5s;
    cursor: pointer;
}

h1:hover {
    color: #51ff60;
    text-shadow: 0 0 10px #51ff60, 0 0 20px #51ff60, 0 0 30px #51ff60;

}


h2 {
    color: #010025;
    margin-bottom: 20px;
    font-size: 24px;

}

@media screen and (max-width: 768px) {
    main {
        flex-direction: column;
        align-items: center;
    }

    .css-code, .result-code {
        width: 90%;
        height: 400px;
    }

    input, button {
        width: 100%;
        margin: 10px 0;
    }

    h1 {
        font-size: 10px;
    }
    
}