/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    text-align: center;
    font-family: "Poppins", sans-serif;
    color: #1c2942;
    font-size: 14px;
}

/* Hero section */
.hero {
    background-image: url('./assets/cambridge.jpg');
    background-size: cover;
    background-position: center;
    height: 343px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    background-color: #efeddf;
    padding: 10px 20px;
    border-radius: 6px;
}

.hero p {
    background-color: #efeddf;
    padding: 5px 10px;
    border-radius: 6px;
    margin-top: 10px;
}

/* Section headings */
.activities-section h2,
.guide-section h2 {
    margin-bottom: 20px;
}

/* Activities section */
.activities-section {
    background-color: #efeddf;
    padding: 30px;
}

.activities-section h3 {
    margin-top: 10px;
    font-size: 0.9rem;
}

.activities-section p {
    margin-top: 10px;
}

.activities {
    padding: 30px;
    display: flex;
    justify-content: space-around;
}

.act-col {
    max-width: 250px;
}

/* Image styles */
.act-img,
.user-img {
    width: 150px;
    border-radius: 50%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.act-img {
    transition: transform 700ms ease-in;
}

.act-img:hover {
    transform: rotate(360deg);
}

/* Guide section */
.guide-section {
    padding: 30px;
}

/* Card component */
.card {
    width: 600px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: #d1e1dd;
    border-radius: 30px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.card p {
    width: 60%;
}



/* github link */
.github-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 18px;
    height: 18px;
    color: #111;
}

.github-button svg {
    fill: currentColor;
    width: 100%;
    height: 100%;
    transition: color 0.3s ease;
}

.github-button:hover {
    color: #0366d6;
}