@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

body {
    font-family: 'Roboto', 'sans-serif';
    background-color: #EEF9BF;
}

header {
    height: 150px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: lightcoral; */
}

header h1 {
    font-weight: 700;
    font-size: 56px;
    color: #75B79E;
}

.welcome {
    width: 300px;
    height: 180px;
    margin: 0 auto;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
    color: white;
    text-align: center;
    border-radius: 12px;
    background-color: #75B79E;

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

.welcome h1 {
    font-size: 30px;
}

.welcome button {
    width: 50%;
    height: 40px;
    border-radius: 9px;
    border: none;
    background-color: white;
    cursor: pointer;
}


.content {
    margin: 0 auto;
    width: 80%;
    /* background-color: lightcyan; */

    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}


.card {
    width: 117px;
    height: 150px;
    /* padding: 10px; */
    margin: 10px;
    position: relative;
    /* background-color: rebeccapurple; */
    cursor: pointer;
}

.card-face {
    width: 100%;
    height: 100%;
    background-color: #A7E9AF;
    border-radius: 10px;
    
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);

    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;

    transform-style: preserve-3d;
    transition: transform 0.5s;
    backface-visibility: hidden;
}

.back {
    transform: rotateY(180deg);
}

.flipped .back {
    transform: rotateY(0deg);
}

.flipped .front {
    transform: rotateY(-180deg);
}


.card img{
    width: 100px;
}

.hidden {
    display: none;
}

@media (max-width: 610px) {

    header h1 {
        width: 300px;
        text-align: center;
        font-size: 40px;
    }

   .content {
        width: 30%;
        padding-right: 10px;
        /* background-color: rebeccapurple; */
    }
}