html{ height: 100%; } body{ font-family: sans-serif; margin: 0%; padding: 0%; height: 100%; } .body-home{ background-image: url("images/background-01-port.png"); background-position: center; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; } .body-meals{ background-image: url("images/background-02-port.png"); background-position: center; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; } /* ================ Header ================ */ .header{ background-color:#ee6fa6; width: 100%; height: 50px; top: 0; position: fixed; overflow: hidden; text-align: center; } .header i{ float: left; padding: 17px 0px px 17px; color:rgb(0, 0, 0); } .header img{ width: 85px; padding-top: 0; padding-right: 25px; } /* ================ HOME PAGE ================ */ #home-logo-img{ width: 50px; display: block; margin: auto; padding: 25px 10px 10px 10px; } #home-logo-text{ width: auto; display: block; margin: auto; padding: 25px ; } /* ======== HOME PAGE MENU ========= */ .home-menu-item{ text-decoration: none; text-transform: uppercase; color:black; font-size: 25px; font-weight: bold; text-align: center; border: 5px solid black; display: block; margin: auto; margin-bottom: 10px; width: 80%; } /* ================ MEALS PAGE ================ */ #meals { padding-top: 50px; } /* ======== MEALS PAGE MENU ========= */ .meals-list a{ text-decoration: none; } .meals-list-item{ border: 5px solid #1a1a1a; margin: 10px; } .meals-list-item h1{ font-weight: bold; font-size: 20px; color: #1a1a1a; padding-left: 10px; } .meals-list-item i{ float: right; color: #1a1a1a; padding-right: 10px; } .meals-list-item p{ font-size: 15px; font-style: italic; color: #4d4d4d; margin-top: -7px; padding-left: 10px; } /* ======== RECIPES PAGE ========= */ #recipes{ padding-top: 50px; } /* ======== RECIPES DETAILS ========= */ .recipes-details img { width: 100%; } .recipes-details h1 { font-size: 25px; text-align: center; border: 5px solid #1a1a1a; margin: 10px; padding: 5px; } .recipes-details h2 { font-size: 20px; text-align: left; margin: 0; margin-left: 10px; } .recipes-details-info { margin-left: 25px; margin-right: 25px; } .recipes-details-info p { font-size: 13px; display: inline-block; } .recipes-details-ingredients label { line-height: 25px; margin-left: 10px; } .recipes-details-steps { padding-top: 20px; } .recipes-details-steps ol { padding-left: 28px; } /* ================ requests ================ */ .requests input { text-decoration:none ; color:black; font-size: 25px; font-weight:normal ; text-align: none; border: 1px solid black; display: block; margin: auto; margin-bottom: 10px; width: 70%; } .order-button input { text-decoration:none ; color:black; font-size: 25px; font-weight:normal ; text-align: none; border: 1px solid black; display: block; margin: auto; margin-bottom: 10px; width: 50%; } /* ================ RESPONSIVE LAYOUT ================ */ @media only screen and (min-width:600px) { #meals{ width: 80%; margin: auto; } #recipes{ width: 80%; margin: auto; } } @media only screen and (min-width:1000px) { #meals{ width: 60%; margin: auto; } #recipes{ width: 60%; margin: auto; } } @media only screen and (min-width:1500px) { #meals{ width: 40%; margin: auto; } #recipes{ width: 40%; margin: auto; } } @media only screen and (min-width:720px) { .body-home{ background-image: url("images/background-01-land.png"); } .body-meals{ background-image: url("images/background-02-land.png"); } }