body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    background-image: url("images/wall.jpg");
    background-repeat: no-repeat;
}

#card-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.toy-card {
    margin: 10px;
    transition: box-shadow 0.5s ease; 
    border-radius: 10px;
}

.toy-card:hover {
    box-shadow: 0px 0px 20px black;
    border-radius: 10px;
}

.toy-card__name{
    display: flex;
    justify-content: center;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 35px;
    font-weight: bold;
    width: 350px;
    background-color: orange;
    position: relative;
    z-index: 2;
}

.toy-card__image{
    background-color: rgb(187, 187, 187);
    height: 350px;
    width: 350px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.toy-card img{
    height: 300px;
    width: auto;
    margin-block-start: auto;
}

.toy-card img:hover{
    transform: scale(1.2) translateY(-10px);
    z-index: 0.5;
}

.toy-card__description{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 40px;
    background-color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.toy-card__unit-stats{
    opacity: 0;
    display: flex;
    justify-content: center;
    width: 350px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: orange;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
}

.toy-card__unit-stats:hover{
    opacity: 1;
    display: flex;
    justify-content: center;
    width: 350px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: orange;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: white;
}

.one-third {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 33%;
    border-right: 1px solid black; 
}

.one-third:last-child {
    border-right: none; 
}

.stat{
    font-size: 30px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.stat-value{
    font-size: larger;
    margin-bottom: 15px;
}
