/* Global styles */
body {
    font-family: "Gill Sans", sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    background-color: #fae6ef;
}

/* Grid */
.container {
    display: grid;
    grid-template-areas:
        "header header"
        "main aside"
        "footer footer";
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

/*header color (text)*/
.heading {
color:#d651a3;
}

/*hover effect on the header*/
header h1:hover {
    color: #fffacd;
    transition: color 0.3s ease;
}

/*more text colors using class*/
.sidebar {
color: #d68251;
} 

.sidebar-text {
color: #d49774;
}

.about-text {
color: #d97cb1
}

/* Grid area */
header {
    grid-area: header;
    background: #e05ea8;
    color: white;
    padding: 1rem;
    text-align: center;
}

main {
    grid-area: main;
    background: #e6d1cc;
    padding: 1rem;
}

aside {
    grid-area: aside;
    background: #e6d1cc;
    padding: 1rem;
}

footer {
    grid-area: footer;
    background: #e89ed1;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* image */
.responsive-img {
    max-width: 100%;
    height: auto;
}

.heading:hover {
    color: #a53e82;
    cursor: default;
}


/* iPad or tablet */
@media (max-width: 768px) {
    .container {
        grid-template-areas:
            "header"
            "main"
            "aside"
            "footer";
        grid-template-columns: 1fr;
    }

 }

/* phone */
@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    header, main, aside, footer {
        padding: 0.5rem;
    }
}
