/* Beginner elements */ * { font-size: 62.5%; padding: 0; margin: 0; } body { background: url(../images/squares_bg.png); } /* Header and logo */ .logo { opacity: 30%; display: block; margin: 2rem auto; } h1, h2 { font-family: "Dancing Script", cursive; color: teal; font-size: 3rem; text-shadow: 2px 2px 4px grey; margin: 2rem auto; } .main-heading { font-size: 4rem; text-align: center; } /* Navbar styling */ nav { background-color: white; border-top: 5px solid teal; border-bottom: 5px solid teal; margin: 2rem 0; } a { font-size: 2rem; text-decoration: none; list-style: none; display: block; text-align: center; margin: 1.5rem 0; color: grey; font-weight: bold; font-family: Helvetica, sans-serif; } /* Recipe card styling */ .recipe-card { margin: 2rem 1rem; font-size: 3rem; font-family: Helvetica, sans-serif; border: 2px solid grey; background-color: white; border-radius: 5px; box-shadow: 2px 2px 4px grey; } .recipe-card img { display: block; margin: 1.5rem auto; border-radius: 60%; } .recipe-card p { text-align: left; line-height: 25px; margin: 2rem; } .author { text-align: right; } .publish-date { text-align: right; } /* About section styling */ .about-sandy { background-color: grey; background-image: url(../images/squares_bg.png); } /* Footer styling */ footer { background: teal; border-top: 2px solid white; font-size: 2rem; color: lightgrey; margin: 2rem auto; } footer strong { color: white; font-size: 2rem; }