body {
    font-family: 'Comic Sans MS', cursive, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('can.jpg');
    background-size: cover;
    background-position: center;
    color: #000000;
}

header {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content */
    position: relative; /* Allow absolute positioning of the back button */
    border-bottom: 2px solid #ccc;
}

.back-button {
    position: absolute; /* Position the back button absolutely */
    left: 1rem; /* Distance from the left */
}

    header h1 {
    margin: 0;
    font-size: 2rem;
    color: #0044cc;
}

.back-button a {
    text-decoration: none;
    color: #0044cc;
    font-size: 1.5rem;
    font-weight: bold;
}

main {
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.pros-cons {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.pros, .cons {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border-radius: 10px;
    width: 45%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    font-size: 1.75rem;
    color: #0044cc;
    text-align: center;
    margin-bottom: 1rem;
}

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

ul li {
    margin: 0.5rem 0;
    font-size: 1.25rem;
}

footer {
    background-color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 5px;
    border-top: 2px solid #ccc;
    position: fixed;
    width: 100%;
    bottom: 0;
}

@media (max-width: 768px) {
    header {
        justify-content: space-between; /* Adjust to space-between */
        padding-left: 3rem; /* Add padding to prevent overlap */
    }

    .back-button {
        position: static; /* Reset position to static */
    }

    header h1 {
        margin-left: auto; /* Push the heading to the center */
        margin-right: auto; /* Push the heading to the center */
    }

    main {
        flex-direction: column;
        align-items: center;
    }

    .pros, .cons {
        width: 90%;
    }
}
