body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: rgb(236, 236, 236);
}

a {
    text-decoration: none;
    color: #000;
}

.header {
    background-color: #002A5B;
    margin: 0;
    animation: fadein .4s;
    -moz-animation: fadein .4s; /* Firefox */
    -webkit-animation: fadein .4s; /* Safari and Chrome */
    -o-animation: fadein .4s; /* Opera */
}

.footer{
    text-align: center;
    position: relative;
    bottom: 0;
    width: 90%;
    padding: 10px;
    margin: 150px auto 0;
    font-size: .9em;
}

h1 {
    margin: 0 auto 15px;
    padding: 1% 0 0 0;
    color: #F9A01B;
    font-weight: normal;
    font-size: 3em;
    text-align: center;
}

h4 {
    color: #fff;
    font-weight: normal;
    text-align: center;
}

.selectSkill {
    background-color: rgb(236, 236, 236);;
    height: 30px;
    display: flex;
    justify-content: center;
}

.skill { 
    margin: 0 10px;
    border: none;
    height: 100%;
    color: #00471B;
    font-size: 1.2em;
    border-radius: 0 0 5px 5px;
    outline: none;
    transition: background-color .3s;
}

.skill:hover {
    /* background-color: rgba(0, 42, 91, .75); */
    background-color: #F9A01B;
    color: #00471B;
    cursor: pointer;
}

.selected {
    background-color: #002A5B;
    color: #F9A01B;
}

.container{
    margin: 5% auto 0;
    width: 80%;
    text-align: center;
}

div:nth-of-type(3){
    margin: 20px auto;
    width: 50%;
    align-content: space-around;
    text-align: center;
}

.card {
 border: 10px solid #F9A01B;
 background-color: #F9A01B;
 border-radius: 2%;
 margin: 0 auto;
 text-align: center;
 height: 400px;
 width: 300px;
 display: none;
 box-shadow: 0px 5px 10px 2px #00000073;
}

.show{
    display: block;
}
.hide{
    display: none;
}
img {
    margin: 0 auto;
    animation: fadein .2s;
    -moz-animation: fadein .2s; /* Firefox */
    -webkit-animation: fadein .2s; /* Safari and Chrome */
    -o-animation: fadein .2s; /* Opera */
}

.message{
    margin: 10px auto;
}

#score{
    margin: 5px auto;
}

.matchButtons {
    background-color: #002A5B;
    color: #F9A01B;
    margin: .5% auto;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #F9A01B;
    font-size: 1.2em;
    cursor: pointer;
    outline: none;
    box-shadow: 0px 2px 5px 2px #00000073;
    animation: fadein .4s;
    -moz-animation: fadein .4s; /* Firefox */
    -webkit-animation: fadein .4s; /* Safari and Chrome */
    -o-animation: fadein .4s; /* Opera */
}

.matchButtons:hover, #go:hover, #reset:hover{
    box-shadow: none;
}

#go, #reset {
    background-color: #F9A01B;
    color: #002A5B;
    margin: 20px auto;
    padding: 5px 10px;
    border-radius: 5px;
    border: 2px solid #00471B;
    font-size: 1.2em;
    cursor: pointer;
    outline: none;
    width: 300px;
    box-shadow: 0px 5px 10px 2px #00000073;
    animation: fadein .4s;
    -moz-animation: fadein .4s; /* Firefox */
    -webkit-animation: fadein .4s; /* Safari and Chrome */
    -o-animation: fadein .4s; /* Opera */
}

#welcome{
    border: 5px solid #00471B;
    font-size: 1.5em;
    color: #002A5B;
    padding: 5%;
    border-radius: 10px;
    background-color: #F9A01B;
    width: 40%;
    margin: auto;
    box-shadow: 0px 5px 10px 2px #00000073;
    animation: fadein .4s;
    -moz-animation: fadein .4s; /* Firefox */
    -webkit-animation: fadein .4s; /* Safari and Chrome */
    -o-animation: fadein .4s; /* Opera */
}

.disabled{
    display: none;
}

@media (max-width: 1025px) {
    .matchButtons {
        font-size: .8em;
    }

    div:nth-of-type(3){
        width: 90%;
    }

    .footer{
        margin: 90px auto 0;
    }
}

@media (max-width: 450px){
    .skill{
        font-size: .8em;
    }

    h4{
        font-size: .6em
    }
    #welcome{
        width: 90%;
    }

    #go, #reset{
        width: 200px;
    }

    .matchButtons {
        font-size: .7em;
    }

    .playerPhoto{
        width: 200px;
    }

    .card{
        width: 200px;
        height: 267px;
    }

    .footer{
        font-size: .6em;
    }
}

@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-moz-keyframes fadein { /* Firefox */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-webkit-keyframes fadein { /* Safari and Chrome */
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
@-o-keyframes fadein { /* Opera */
    from {
        opacity:0;
    }
    to {
        opacity: 1;
    }
}