/*Google fonts*/
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


/*General styles*/
html,
body {
    background-color: rgb(255, 228, 196);
    height: 100%;
    margin: 0;
}

h1,
h2 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
}


.container {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    padding: 20px;
}


/*Main*/
main {
    flex: 1;
}

#paragraph1 {
    text-align: center;
}


/*Game area*/
.game-area {
    background-color: #ffffff;
    width: 75%;
    height: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1%;
    text-align: center;
    
    
}

.controls-area {
    margin: 20px;
}

.btn {
    background-color: #88dae0;
    font-size: 20px;
    margin: 3px;
}


img {
    width: 200px;
    height: 100px;

}

.user {
    background-color: #7fff00;
    width: 200px;
    float: left;
    margin-top: 20px;
    border: solid green;
}

#user-image {
    mix-blend-mode: multiply;
}

.computer {

    background-color: #e08888;
    width: 200px;
    float: right;
    margin-top: 20px;
    border: solid red;

}

#computer-image {
    mix-blend-mode: multiply;
}


/*Score area*/
.score-area {
    background-color: rgb(255, 252, 111);
    height: 100px;
}

.score-area p:nth-of-type(1) {
    background-color: hsl(133, 30%, 51%);
    float: left;
}

.score-area p:nth-of-type(2) {
    background-color: hsl(350, 80%, 73%);
    float: right;
}

#result {
    text-align: center;
}


/*Attempts Left*/
.number-tries {
    text-align: center;
}


/*Footer*/
footer {
    margin-top: auto;
    background-color: rgb(255, 190, 111);
    ;
    padding: 10px;
    height: 150px;
}

footer p {
    text-align: center;
    margin-bottom: 0.1px;
}

/*Media queries*/

/*Media query: devices below 540px*/

@media screen and (max-width:540px) {

    
    .game-area {
        height: 400px;
        display: table-cell;
    }
    
}

 /*Media query: devices above 540px*/

@media screen and (min-width:541px) {

    .game-area {
        height: 495px;
        display: block;
    }

    img{
        width: 230px;
        height: 115px;
    }

    .user {
        
        width: 230px;
        float: left;
        margin-top: 20px;
    }

    .computer {

        width: 230px;
        float: right;
        margin-top: 20px;
    
    }

    .score-area{
        margin-left: 30px;
        margin-right: 30px;
    }
    
}



/*Media query: tablets and larger(768px and up)*/

@media screen and (min-width:768px) {

    p{
        font-size: 16px;
    }
   
    .game-area {
        width:70%;
        
    }

    img{
        width: 250px;
        height: 125px;
    }

    .user {
        
        width: 250px;
        float: left;
        margin-top: 20px;
    }

    .computer {

        width: 250px;
        float: right;
        margin-top: 20px;
    
    }

    .score-area {
        margin-left: 40px;
        margin-right: 40px;
        
    }


}

/*Media query: laptops and larger(992px and up)*/
@media screen and (min-width:992px) {

    .game-area {
        width: 80%;
        
    }

    img{
        width: 300px;
        height: 150px;
    }

    .user {
        
        width: 300px;
        float: left;
        margin-top: 80px;
    }

    .computer {

        width: 300px;
        float: right;
        margin-top: 80px;
    
    }

    .score-area {
        margin-left: 100px;
        margin-right: 100px;
      
    }

    
}


/*Media query: Desktops and larger(1200px and up)*/
@media screen and (min-width:1200px) {

    p{
        font-size: 18px;
    }

    .game-area {
        width: 50%;
        height: 600px;  
    }

    .user{
        margin-top: 30px;
    }

    .computer{
        margin-top: 30px;
    }

    .score-area{
        margin-left: 250px;
        margin-right: 250px;
    }

    footer{
        height: 155px;
    }
}