html,
body {
    font-family: sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

h1 {
    padding: 10px;
    font-size: 3vw;
}

h2 {
    font-size: 2vw;
}

#gameContainer {
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 80%;
    height: 50%;
    background-color: white;
}

.rodContainer {
    width: calc(100% / 3);
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.rod {
    height: calc(100% / 6 * 5) ;
    width: 3%;
    background-color: rgb(142, 92, 43);
    position: absolute;
    z-index: 1;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

#base {
    margin: 0 auto;
    width: 80%;
    height: 4%;
    margin-bottom: 30px;
    background-color: rgb(142, 92, 43)
}

.ring {
    position: relative;
    border-radius: 20px;
    border: solid black 1px;
    box-sizing: border-box;
    margin: 0 auto;
    z-index: 2;
}

.ring:hover,
.ring:focus {
    cursor: pointer;
}

#buttonContainer {
    margin: 0 auto;
    text-align: center;
}

.button {
    height: 5%;
    width: 10%;
    margin: 0 10px 0 10px;
    font-size: 2.5vh;
}

.button:hover,
.button:focus {
    cursor: pointer;
    box-shadow: 0 0 5px lightblue;
}

.glowing {
    border: solid red 5px;
    box-shadow: 0 0 50px red;
    color: red;
    overflow: hidden;
}

#modalContainer {
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    height: 50%;
}

.close {
    color: #aaa;
    float: right;
    position: relative;
    font-size: 40px;
    font-weight: bold;
    margin-top: -12px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#instructions {
    visibility: visible;
    height: 70%;
    overflow: auto;
    display: inline-block;
}

ul {
    text-align: left;
    margin: 0 20px 0 0;
    font-size: 2.5vh;
}

li {
    margin: 10px 0;
}

.img {
    list-style: none;
    margin: auto;
    text-align: center;
}

#img1 {
    width: 80%;
}

#img2 {
    width: 15%;
}

#img3 {
    width: 15%;
}

.bold {
    font-weight: bold;
}

#win {
    display: none;
}

#levelsContainer {
    padding-top: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    width: 90%;
}

.level {
    background-color: grey;
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 10%;
}

.noAccess:hover,
.noAccess:focus {
    background-color: darkred;
}

.past {
    background-color: darkgreen;
}

.next {
    background-color: lightgreen;
}

.next:hover,
.next:focus {
    box-shadow: 0 0 30px yellow;
    cursor: pointer;
}