        
@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5fcf80;
    flex-direction: column;
}
h1 {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}
.image {
    height: 70%;
    text-align: center;
    object-fit: contain;
    border-radius: 3px;
}
.image > img {
    height: 200px;
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
}
a {
    text-decoration: none;
    color: #5fcf80;
}
.flashcards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.flashcard {
    margin: 10px;
    width: 130px;
    /* height: 200px; */
    /* background: linear-gradient(rgba(250, 223, 250, 0.5), rgba(250, 150, 250, 0.5)); */
    background: linear-gradient(rgba(220, 240, 248, 0.5), rgba(137, 217, 248, 0.5));
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.flashcard h1 {
    font-size: 1rem;
    text-transform: uppercase;
    margin: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.flashcard p {
    margin-top: 5px;
    margin-bottom: 5px;
    width: 100%;
    font-size: 1.2rem;
    box-shadow: 1px 1px 5px rgba(255, 255, 255, 0.55);
   }
   .flashcard details div {
       height: 100px;
       width: 100%;
       object-fit: contain;
   }
   .flashcard details div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
    text-align: center;
}
.flashcard details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
}
.flashcard summary {
    color: rgb(109, 109, 100);
    text-decoration: underline;
}
.toggle-button {
    width: 100%;
    text-align: center;
}
.toggle-button button {
    padding: 10px;
    outline: none;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
    transition: 0.6s;
    margin: 5px 20px;
}
.toggle-button button:hover {
    transform: translate(0, 2px);
    background: darkgrey;
    color: white;
}
/* end of flashcards styles */
.hidden-russian {
    opacity: 0;
}
.hidden {
    display: none;
}
.fa-info{
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1    rem;
    color: darkgreen;
    background: lightgreen;
    /* background-image: url('../alphabet_images/kids.png'); */
    /* background-size: contain; */
    border-radius: 50%;
    padding: 0.5rem 0.75rem;
}
.translation-text {
    position: absolute;
    top: 10px;
    left: 20px;
    background: rgba(250, 250, 250, 1);
    padding: 3px;
    border-radius: 3px;
}
@media screen and (max-width: 500px) {
    h1 {
        font-size: 1.5rem;
        text-align: center;
    }
}
@media screen and (max-width: 300px) {
    h1 {
        font-size: 1rem;
    }
}