@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@500;600;700;800&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: 0.2s all ease;
}

body {
    font-family: "Montserrat Alternates", sans-serif;
    color: #272727;
}

/* img {
    width: 100%;
} */

.center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gameContainer {
    width: 100%;
    height: 100vh;
    display: flex;
}

.gameContainer .gameDetails {
    width: 17%;
    height: 100vh;
    background-color: #EFFFFB;
    box-shadow: -11px 0px 30px #EFFFFB;
    z-index: 10;
    padding: 10px;
}


.gameDetails .gameTitle {
    font-size: 30px;
    text-align: center;
    padding: 10px;
    background-color: #272727;
    color: #EFFFFB;
    border-radius: 15px;

}


.gameDetails .rules .title {
    margin-top: 20px;
    text-align: center;
    color: #FF5656;

}

.gameDetails .rules ul {
    list-style: none;
    background-color: #3A4750;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #EFFFFB;
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;

    li {
        font-size: 16px;
    }
}

/* -------------------------------- */
.gameDetails .control {
    margin-top: 30px;
    text-align: center;
}

.gameDetails .control .title {
    color: #FF5656;
    margin-bottom: 10px;
}

.gameDetails .control img {
    width: 100%;
    border: 2px solid #272727;
    background-color: #3A4750;
    border-radius: 10px;
    padding: 20px;
}



/* =============================================== */
.gameContainer .gameArea {
    width: 83%;
    height: 100vh;
    background: url(../images/gameArea.jpg) center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;

}

.gameContainer .gameArea .counter {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #1D242B;
    color: #EFFFFB;
    width: 50px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    z-index: 20;

}


.gameArea .smallFish {
    width: 70px;
    position: absolute;
}

.gameArea .mediumFish {
    width: 95px;
    position: absolute;
}

.gameArea .shark {
    width: 180px;
    position: absolute;
}



.gameArea .player {
    position: absolute;
    width: 75px;
    top: 50px;
    left: 50px;
}


.gameArea .popup {
    position: absolute;
    inset: 0;
    z-index: 50;
    background-color: #000000dd;
    display: none;
}


.btn {
    background-color: #1D242B;
    border: 2px solid #1D242B;
    color: #EFFFFB;
    padding: 10px 15px;
    border-radius: 15px;
}

.btn:hover {
    cursor: pointer;
    color: #1D242B;
    background-color: #EFFFFB;
}

.gameArea .popup .tryAgain {
    background-color: #EFFFFB;
    padding: 30px;
    border-radius: 20px;
    flex-direction: column;
    gap: 20px;

    .title {
        font-size: 40px;
    }

    p {
        font-size: 20px;
        color: #cdcdcd;
    }

}