/* Default settings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

/* Game Box */
.game__wrapper {
    position: absolute;
    left: 50%;
    top: 40px;
    transform: translateX(-50%);
    height: 640px;
    width: 330px;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.game__wrapper--title {
    letter-spacing: 3px;
    word-spacing: 6px;
    font-weight: 600;
    color: rgb(138, 100, 20);
    padding-bottom: 12px;
    text-align: center;
    font-size: 26px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.game__wrapper--pitch {
    height: 495px;
    width: 330px;
    background-color: rgba(61, 100, 350, 0.48);
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    overflow: hidden;
}

/* Pitch Blocks styling */
.pitch__block {
    height: 165px;
    width: 165px;
    transition: .1s;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pitch__block--medium {
    height: 110px;
    width: 110px;
}

.pitch__block--hard {
    height: 68px;
    width: 66px;
}

.light {
    background-color: rgba(67, 168, 89, 0.808);
}

.light:hover {
    background-color: rgba(67, 168, 89, 1);
}

.light__medium {
    background-color: rgb(226, 188, 82);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.light__medium:hover {
    background-color: rgb(226, 188, 82, 1);
}

.light__hard {
    background-color: rgb(211, 60, 55);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.light__hard:hover {
    background-color: rgb(211, 60, 55, 1);
}

/* Game Score Styling */
.game__wrapper--score {
    text-align: center;
    font-size: 18px;
    line-height: 60px;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.game__wrapper--mode {
    display: flex;
    justify-content: space-around;
    align-content: center;
    width: 100%;
    margin-top: 10px;
}

.game__wrapper--mode button {
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    color: white;
    outline: none;
    border: none;
    transition: .2s;
    height: 40px;
    width: 90px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.game__mode--easy {
    background-color: rgb(64, 194, 64);
}

.game__mode--medium {
    background-color: rgb(240, 168, 34);
}

.game__mode--hard {
    background-color: rgb(209, 53, 53);
}

.game__wrapper--mode button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Styling the footer section */
.game__footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 60px;
    width: 100%;
    background-color: rgba(190, 190, 190, 0.274);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.game__footer--info {
    color: rgb(92, 92, 92);
}

a {
    text-decoration: none;
    color: rgb(92, 92, 92);
}

a:hover {
    text-decoration: underline;
}

/* Adding Responsiveness to the game */
@media (min-width: 860px) {
    .game__footer {
        padding-left: 30%;
        padding-right: 30%;
    }
}

@media (min-width: 1660px) {
    .game__footer {
        padding-left: 38%;
        padding-right: 38%;
    }
}

@media (max-height: 745px) {
    .game__footer {
        bottom: -210px;
    }
}

@media (max-height: 515px) {
    .game__footer {
        bottom: -510px;
    }
}