/* Algebra Exercises CSS */
body {
    background-color: #dff0d8;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #3c763d;
}

h1, h2, h3 {
    text-align: center;
    color: #2b542c;
}

a {
    color: #5bc0de;
    text-decoration: none;
}

a:hover {
    color: #31b0d5;
    text-decoration: underline;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

.exercise-box {
    background: #ffffff;
    border: 1px solid #d6e9c6;
    padding: 20px;
    margin: 15px 0;
    border-radius: 5px;
}

.button {
    display: inline-block;
    border-radius: 4px;
    background-color: #5cb85c;
    border: none;
    color: #FFFFFF;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    width: 120px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
}

.button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.button span:after {
    content: '>>';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.button:hover span {
    padding-right: 25px;
}

.button:hover span:after {
    opacity: 1;
    right: 0;
}