/* Container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 50px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 20px;
}

header h1 {
    font-size: 36px;
    color: #2c3e50; /* Dark blue */
    font-family: 'Comic Sans MS', cursive;
}

/* Challenge Section */
#challenge {
    margin-bottom: 20px;
    text-align: center;
}

#challenge h2 {
    font-size: 24px;
    color: #27ae60; /* Green */
    font-family: 'Comic Sans MS', cursive;
}

.code-block {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db; /* Blue */
    color: #fff;
    font-size: 18px;
    margin: 5px;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s;
}

.code-block:hover {
    background-color: #2980b9; /* Dark blue */
}

/* Workspace Section */
#workspace {
    text-align: center;
    margin-bottom: 20px;
}

#workspace h2 {
    font-size: 24px;
    color: #e67e22; /* Orange */
    font-family: 'Comic Sans MS', cursive;
}

.code-area {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f1c40f; /* Yellow */
    border-radius: 10px;
}

.repetitions-input {
    margin-left: 10px;
    width: 60px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#run-button, #reset-button {
    padding: 10px 20px;
    background-color: #2ecc71; /* Light green */
    color: #fff;
    font-size: 18px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#run-button:hover, #reset-button:hover {
    background-color: #27ae60; /* Dark green */
}

/* Output Section */
#output {
    text-align: center;
    margin-bottom: 20px;
}

#output h2 {
    font-size: 24px;
    color: #e74c3c; /* Red */
    font-family: 'Comic Sans MS', cursive;
}

.output-area {
    padding: 10px;
    background-color: #c0392b; /* Dark red */
    color: #fff;
    border-radius: 10px;
}

/* Game Board */
#game-board {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid #000;
    margin-bottom: 20px;
}

#character, #goal {
    width: 30px;
    height: 30px;
    background-color: #FFD700; /* Yellow */
    position: absolute;
    border-radius: 50%;
}

#character {
    top: 10px;
    left: 10px;
}

#goal {
    bottom: 10px;
    right: 10px;
}


