:root {
    color-scheme: only light;
}

body {
    background-color: cornflowerblue;
    text-align: center;
    position: relative;
}

.box {
    position: relative;
    display: flex;
    width: 100px;
    height: 100px;
    justify-content: center;
    align-items: center;
    justify-self: center;
    border: 1px solid black;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    box-shadow: 0px 0px 3px;
    cursor:pointer;
    text-decoration: none;
    color: black;
}

.yellow {
    background-color: hsl(60, 80%, 50%);
}
.yellow:hover {
    background-color: hsl(60, 100%, 50%);
}

.green {
    background-color: hsl(143, 80%, 50%);
}
.green:hover {
    background-color: hsl(143, 100%, 50%);
}