* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --card-title-border-color: #F8FAFE;
    --card-color-primary: #82251a;
    --card-bg-color: #1D1C19;
    --bg: url(./Assets/bg-red.svg)
}

body.blue{
    --card-title-border-color: #0b4454;
    --card-color-primary: #32c7d5;
    --card-bg-color: #202024;
    --bg: url(./Assets/bg-blue.svg)
}

body.green{
    --card-title-border-color: #175c12;
    --card-color-primary: #1dbd5d;
    --card-bg-color: #1A1F1B;
    --bg: url(./Assets/bg-green.svg)
}

ul {
    list-style: none;
}

body{
    background-color: #121214;
    background-image: var(--bg);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
}

body * {
    font-family: 'Roboto', sans-serif;
}

#app {
    width: fit-content;
    margin: auto;
    padding-top: 52px;
}

header{
    margin-bottom: 63px;
    text-align: center;
}

#cards{
    display: flex;
    flex-direction: column;
    gap: 32px;
}

#card{
    padding: 32px 23px;
    text-align: center;
    background: var(--card-bg-color);
    border-bottom: 2px solid var(--card-color-primary);
    border-radius: 6px;

}

#card h2{
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;

    padding: 8px 16px;
    border: 1px solid var(--card-title-border-color);
    border-radius: 6px;

    width: fit-content;
    margin-inline: auto;
    margin-bottom: 53px;

    color: #CE2846;
}

#card h2 span{
    color: #E1E1E6;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
}

#card ul{
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 270px;
}

#card ul li{
    display: flex;
    align-content: center;
    justify-content: space-between;
}

#card ul li + li{
    padding-top: 24px;
    border-top: 1px solid #323238;
}

#card ul li strong{
    font-weight: 900;
    font-size: 36px;
    line-height: 125%;
    color: #E1E1E6;
}

#card h2:hover,
#card ul li strong:hover, 
#card ul li img:hover {
    transform: scale(1.1);
}

#card h2,
#card ul li strong,
#card ul li img {
    transition: transform 0.3s;
}

#card {
    opacity: 0;
    animation: appear 1.5s forwards;
}

@keyframes appear {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media(min-width: 700px){
    #cards {
        max-width: 670px;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

