@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: 'Poppins', sans-serif;
}

body {
    background-image: url('images/IMG_20230502_142441.jpg');
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ^^^^^^^^^^^^^^^^^^^^ First screen landing page ^^^^^^^^^^^^^^^^^^^^^^^^^^^^  */
.landingPage {
    text-align: center;
    padding: 5px;
    box-shadow: rgba(242, 242, 246, 0.8) 0px 30px 60px -12px inset, rgba(142, 25, 25, 0.5) 0px 18px 36px -18px inset;
    max-width: 50%;
    margin: 40px auto 0 auto;
}

.landingPage h3 {
    color: rgb(1, 13, 11);
    font-size: 25px;
}

.image {
    width: 310px;
    height: 310px;
    margin: 3px 10px;
    border-radius: 50%;
}

.events p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
    margin-bottom: 12px;
}

.buttonContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition-property: transform;
    transition-timing-function: ease-in-out;
}

.buttonContainer button {
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
    background: black;
    font-size: 14px;
    color: white;
    padding: 15px;
    width: 180px;
    border-radius: 30px;
    text-transform: uppercase;

    transition-duration: 0.4s;
}

.buttonContainer button:hover {
    transform: scale(0.9);
}




/* ^^^^^^^^^^^^^^^ Second game area screen ^^^^^^^^^^^^^^^   */
#gameArea {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#newGameButton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    transition-property: transform;
    transition-timing-function: ease-in-out;
}

#newGameButton button {
    margin: 10px 0 20px 0;
    border: none;
    cursor: pointer;
    background: black;
    font-size: 20px;
    color: white;
    padding: 15px 10px;
    width: 200px;
    border-radius: 30px;
    text-transform: uppercase;

    transition-duration: 0.4s;
}

#newGameButton:hover {
    transform: scale(0.9);
}


#textTitle {
    font-size: 40px;
    color: white;
    margin-top: 10px;
}


input {
    background: transparent;
    outline: none;
    color: white;
    font-size: 20px;
    border: 1px solid lightgray;
    padding: 20px;
    border-radius: 25px;
    margin: 40px 0;
    width: 250px;
    text-align: center;
}


.landingPage input:hover {
    border: 2px solid black;
}

::placeholder {
    color: white;
    font-family: "Poppins", sans-serif;
}

.stats {
    text-align: left;
    margin: 20px 20px;
}

.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info p {
    color: white;
    font-size: 19px;
    margin-bottom: 27px;
    font-weight: 600;
    padding: 8px 10px;
}

.info span {
    color: white;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 26px;
}




/* ^^^^^^^^^^^^^^^^^^^ MEDIA QUERY ^^^^^^^^^^^^^^^^^^^^^^^^^ */

/* ^^^^^^^^^^^^^^^^^ FIRST SCREEN ^^^^^^^^^^^^^^^^^^^^ */
@media only screen and (min-width:270px) and (max-width:760px) {

    .landingPage {
        padding: 5px;
        max-width: 85%;
    }

    .landingPage h3 {
        font-size: 19px;
        margin-bottom: 15px;
    }

    .image {
        width: 160px;
        height: 160px;
    }

    .buttonContainer button {
        margin-bottom: 20px;
        font-size: 11px;
        padding: 14px;
        width: 138px;
    }

    .events p {
        font-size: 16px;
        margin-bottom: 10px;
        margin-bottom: 15px;
    }


    /* ^^^^^^^^^^^^^^^^ SECOND SCREEN ^^^^^^^^^ */
    #newGameButton button {
        margin: 17px 0 16px 0;
        font-size: 16px;
        color: white;
        padding: 13px 8px;
        width: 160px;
        border-radius: 30px;
    }

    #textTitle {
        font-size: 25px;
        margin-top: 20px;
    }


    input {
        font-size: 16px;
        padding: 17px;
        border-radius: 25px;
        margin: 10px 0;
        width: 180px;
    }

    .info {
         display: block;          /*to remove flex*/
    }

    .info p {
        font-size: 16px;
        margin: 16px 0px;
        padding: 0px;
    }

    .info span {
        font-size: 16px;

    }

}