@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;700&family=Palanquin+Dark:wght@400&family=Fira+Sans:wght@400;600&family=Droid+Sans:wght@400&display=swap');

body {
    background-color: rgb(18, 26, 60);
    font-family: 'Fira Sans', 'Droid Sans', Arial, sans-serif;
    color: rgb(222, 229, 250);
    text-align: center;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    /*i want to know if theres an alternative code I can use instead of display flex*/
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* everything is vertically centered */
    padding-top: 0;
}

/* left side .card */
.card-container {
    justify-content: center;
    align-items: center;
}

.card {
    width: auto;
    height: 700px;
    perspective: 3000px;
}

.card img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    backface-visibility: hidden;
}

/* flip animation */
.flip {
    transform: rotateY(90deg);
}

.text-container {
    text-align: left;
    max-width: 500px;
    padding-left: 40px;
}

.subheading {
    font-family: 'Palanquin Dark', sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: rgb(92, 103, 137);
}

h1 {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 35px;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-bottom: 17px;
}

button {
    margin-top: 35px;
    font-family: 'Fira Sans', sans-serif;
    background-color: rgb(232, 114, 120);
    color: rgb(255, 255, 255);
    font-size: 15px;
    padding: 12px 30px;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: background 0.3s;
}

button:hover {
    background-color: rgb(170, 28, 33);
}

#cardTitle {
    margin-top: 67px;
    margin-bottom: 35px;
    font-size: 48px;
    font-weight: bold;
}

#cardDescription {
    font-family: 'Fira Sans', sans-serif;
    font-size: 16px;
    line-height: 180%;
    margin-top: 1px;
}

.num {
    display: flex;
    align-items: center;
    font-size: 16px;
    margin-bottom: 12px;
}

.num span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgb(92, 103, 137);
    color: rgb(222, 229, 250);
    font-weight: bold;
    margin-right: 10px;
    font-size: 14px;
}
