@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Satisfy&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");

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

:root {
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(0, 0%, 3.9%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(0, 0%, 3.9%);
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(0, 0%, 3.9%);
    --primary: hsl(0, 72.2%, 50.6%);
    --primary-foreground: hsl(0, 85.7%, 97.3%);
    --secondary: hsl(0, 0%, 96.1%);
    --secondary-foreground: hsl(0, 0%, 9%);
    --muted: hsl(0, 0%, 96.1%);
    --muted-foreground: hsl(0, 0%, 45.1%);
    --accent: hsl(0, 0%, 96.1%);
    --accent-foreground: hsl(0, 0%, 9%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(0, 0%, 98%);
    --border: hsl(0, 0%, 89.8%);
    --input: hsl(0, 0%, 89.8%);
    --ring: hsl(0, 72.2%, 50.6%);
}

body {
    background-color: var(--background);
}

section {
    min-height: 100vh;
}

.cardContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.cardContainer a {
    width: 345px;
    height: 230px;
    position: relative;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.cardContainer a:active {
    transform: scale(0.9);
}

.cardContainer a img {
    width: 345px;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

.cardContainer a div {
    position: absolute;
    bottom: 0;

    background-color: rgb(0, 0, 0, 0.5);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
}

.cardContainer a h3 {
    padding: 0.5rem;
    text-decoration: none;
    color: white;
    font-size: 1rem;
}

.Article1 {
    display: block;
    text-align: center;
}

.Article1 img {
    width: 345px;
    height: 230px;
    border-radius: 2%;
    width: 345px;
    height: 230px;
    border-radius: 2%;
}

.Article2 {
    display: block;
    text-align: center;
}

.Article2 img {
    width: 345px;
    height: 230px;
    border-radius: 2%;
    width: 345px;
    height: 230px;
    border-radius: 2%;
}
