@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url(reset.css);

* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
}

body {
    background-image: url(assets/R\ \(2\).jfif);
    background-repeat: no-repeat;
    background-position: center;
    background-origin: center;
    background-size: cover;
    font-family: 'Times New Roman', Times, serif;
}

h1 {
    color: #fff;
    text-align: center;
    padding: 2rem;
    font-size: 60px;
}

h1, h2 {
    font-weight: bold;
}

a {
    text-decoration: none;
    color: unset;
    margin: 1.5rem;
}

.cards {
    margin: 0 auto;
    border-radius: 15px;
    width: 70vw;
    background-color: #090029;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.cards :hover {
    background-color: #02030c;
    color: #fff;
    cursor: pointer;
}

.card {
    width: 250px;
    height: 500px;
    padding: 1rem;
    border-radius: 15px;
    background-color: #ccc;
    border: 1px solid;
    box-shadow: 0 0 12px 4px #2a2c2f61;
    transition: .4s;
}

figure {
    text-align: center;
}

img {
    height: 300px;
    width: 220px;
    border-radius: 15px;
    box-shadow: 0 0 8px 3px #000;
}

.card h2 {
    text-align: center;
    font-size: 24px;
}

.card p{
    text-align: justify;
    font-size: .9rem;
}

.card h2, .card p {
    padding: .5rem;
}

@media screen and (max-width: 450px) {
    .card {
        width: 12rem;
    }
    img {
        width: 11rem;
        height: 250px;
    }
}