body {
    font-family: sans-serif;
    align-items: center;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-image: url(../images/describe/bgIntian.jpg);
    background-repeat: repeat;
}
.body1 {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #f0f0f0;
    margin: 0;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}

.intianBody {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
a {
    text-decoration: none;
}
h1, h2 {
    color: #3a5b42;
    text-align: center;
    text-shadow: 1px 1px 0 #8cd79e, 2px 2px 0 #76b785;
}
.ohjeet {
    background-color: #e6fceb;
    margin: 30px 0;
    width: 96%;
    max-width: 790px;
    padding: 20px;
    box-shadow: inset rgba(94,43,43,.5) -3px -3px 5px, inset rgba(255,255,255,.9) 3px 3px 5px, rgba(94,43,43,.8) 3px 3px 5px -3px;
}
.illustration {
    max-width: 100%;
    margin: 20px 0;
    text-align: center;
}

    .illustration img {
        max-width: 96%;
        border: 2px solid #3a5b42;
        border-radius: 8px;
        box-shadow: inset rgba(94,43,43,.5) -3px -3px 5px, inset rgba(255,255,255,.9) 3px 3px 5px, rgba(94,43,43,.8) 3px 3px 5px -3px;
    }
h1 {
  margin-bottom: 10px;
}
fieldset {
    border: 3px double #cccccc;
    border-radius: 7px;
    margin: 3px 20px 20px 0;
    padding: 8px;
    display: block;
    min-inline-size: min-content;
    margin-inline: 2px;
    padding-block: 0.35em 0.625em;
    padding-inline: 0.75em;
}
.btGoPasjans {
    margin: 0 auto;
    text-align: center;
    line-height: 52px;
    background-image: url(../images/describe/btGoPasjans.jpg);
    background-size: cover;
    width: 250px;
    height: 56px;
    color: #3a5b42;
    font-size: 19px;
    font-weight: bold;
    border-radius: 8px;
    border: 2px solid #8ae4d3;
    box-shadow: inset rgba(58,91,66,.5) -3px -3px 5px, inset rgba(255,255,255,.9) 3px 3px 5px, rgba(58,91,66,.8) 3px 3px 5px -3px;
}
.controls {
    margin: 20px auto;
    text-align: center;
}
.grid {
    width: 90%;
    max-width: 780px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 5px;
}
.card {
    max-width: 150px;
    max-height: 150px;
    width: 17vw;
    height: 17vw;
    background-size: contain;
    background-color: white;
    border: 2px solid #ccc;
    cursor: pointer;
    transform: rotate(0deg);
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card .pattern {
  width: 60px;
  height: 60px;
  background-size: cover;
}
.card.match {
  border-color: green;
}
.card.mismatch {
  border-color: red;
}
.result {
    font-size: 20px;

}
.cardName {
    color: #3a5b42;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #8cd79e, 2px 2px 0 #76b785;
    text-align: left;
    margin-top: 40px;
}
.cardImg {
    width: 150px;
    height: 150px;
    border: 2px solid #3a5b42;
    border-radius: 5px;
    box-shadow: inset rgba(94,43,43,.5) -3px -3px 5px, inset rgba(255,255,255,.9) 3px 3px 5px, rgba(94,43,43,.8) 3px 3px 5px -3px;
    float: left;
    margin: 0 10px 5px 0;
}