@import url('https://fonts.googleapis.com/css?family=Lato:300&display=swap');

@font-face {
    font-family: 'Miso Bold';
    font-style: normal;
    font-weight: normal;
    src: local('Miso Bold'), url('../assets/fonts/miso-bold.woff') format('woff');
}
@font-face {
    font-family: 'Miso';
    font-style: normal;
    font-weight: normal;
    src: local('Miso'), url('../assets/fonts/miso.woff') format('woff');
}

:root {
    --small-font: 'Lato', sans-serif; 
    --price-font: 'Miso Bold', sans-serif;
    --card-title-font: 'Miso', sans-serif;

    --price-size: 70px;
    --card-title-size: 56px;
    --small-font-size: 20px;

    --main-color: #000000;
    --price-color: #02995b;

    --bg-color: #fdde7e;
    --card-bg-color: #ffffff;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    font-family: var(--small-font);
    background-color:var(--bg-color);
    transition: all .3s ease-in;
}
img {
    width: 100%;
    height: auto;
    display: block;
}
span {
    display: block;
}
/* .container {
    max-width: 1200px;
    margin: 0 auto;
} */
.price-list {
    min-width: 100vw;
    min-height: 100vh;
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}
.price-list__item {
    width: 30%;
    background-color: var(--card-bg-color);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all .3s ease-in;
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
    padding: 28px 0 36px;

    /* height: auto; */
    overflow: hidden;
    transition: max-height 0.3s, padding 0.2s;
    max-height: 420px;

}
.price-list__item:hover {
    max-height: 550px;
    padding: 50px 0 40px;
}
.price-list__card-value {
    font-family: var(--price-font);
    font-size: var(--price-size);
    letter-spacing: 0.109rem;
    color: var(--price-color);
    margin-bottom: 20px; 
    line-height: 1;
}
.price-list__img-wrapper {
    width: 135px;
    height: 135px;
    margin-bottom: 25px;
}
.price-list__card-title {
    font-family: var(--card-title-font);
    font-size: var(--card-title-size);
    color: var(--main-color);
    letter-spacing: 0.031rem;
    margin-bottom: 15px;
}
.price-list__card-description {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--small-font);
    font-size: var(--small-font-size);
    color: var(--main-color);
    line-height: 1.3;
}

.price-list__img-wrapper:hover {
    transform: rotate(360deg);
    transition: all 0.3s ease-in;
    cursor: pointer;
}
