/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */ /* Document ========================================================================== */ /** * 1. Correct the line height in all browsers. * 2. Prevent adjustments of font size after orientation changes in iOS. */ html { line-height: 1.15; /* 1 */ -webkit-text-size-adjust: 100%; /* 2 */ } /* Sections ========================================================================== */ /** * Remove the margin in all browsers. */ body { margin: 0; } /** * Correct the font size and margin on `h1` elements within `section` and * `article` contexts in Chrome, Firefox, and Safari. */ h1 { font-size: 2em; margin: 0.67em 0; } /* Grouping content ========================================================================== */ /** * 1. Add the correct box sizing in Firefox. * 2. Show the overflow in Edge and IE. */ hr { box-sizing: content-box; /* 1 */ height: 0; /* 1 */ overflow: visible; /* 2 */ } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ pre { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /* Text-level semantics ========================================================================== */ /** * Remove the gray background on active links in IE 10. */ a { background-color: transparent; } /** * 1. Remove the bottom border in Chrome 57- * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari. */ abbr[title] { border-bottom: none; /* 1 */ text-decoration: underline; /* 2 */ text-decoration: underline dotted; /* 2 */ } /** * Add the correct font weight in Chrome, Edge, and Safari. */ b, strong { font-weight: bolder; } /** * 1. Correct the inheritance and scaling of font size in all browsers. * 2. Correct the odd `em` font sizing in all browsers. */ code, kbd, samp { font-family: monospace, monospace; /* 1 */ font-size: 1em; /* 2 */ } /** * Add the correct font size in all browsers. */ small { font-size: 80%; } /** * Prevent `sub` and `sup` elements from affecting the line height in * all browsers. */ sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Embedded content ========================================================================== */ /** * Remove the border on images inside links in IE 10. */ img { border-style: none; } /* Forms ========================================================================== */ /** * 1. Change the font styles in all browsers. * 2. Remove the margin in Firefox and Safari. */ button, input, optgroup, select, textarea { font-family: inherit; /* 1 */ font-size: 100%; /* 1 */ line-height: 1.15; /* 1 */ margin: 0; /* 2 */ } /** * Show the overflow in IE. * 1. Show the overflow in Edge. */ button, input { /* 1 */ overflow: visible; } /** * Remove the inheritance of text transform in Edge, Firefox, and IE. * 1. Remove the inheritance of text transform in Firefox. */ button, select { /* 1 */ text-transform: none; } /** * Correct the inability to style clickable types in iOS and Safari. */ button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; } /** * Remove the inner border and padding in Firefox. */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /** * Restore the focus styles unset by the previous rule. */ button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; } /** * Correct the padding in Firefox. */ fieldset { padding: 0.35em 0.75em 0.625em; } /** * 1. Correct the text wrapping in Edge and IE. * 2. Correct the color inheritance from `fieldset` elements in IE. * 3. Remove the padding so developers are not caught out when they zero out * `fieldset` elements in all browsers. */ legend { box-sizing: border-box; /* 1 */ color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /** * Add the correct vertical alignment in Chrome, Firefox, and Opera. */ progress { vertical-align: baseline; } /** * Remove the default vertical scrollbar in IE 10+. */ textarea { overflow: auto; } /** * 1. Add the correct box sizing in IE 10. * 2. Remove the padding in IE 10. */ [type="checkbox"], [type="radio"] { box-sizing: border-box; /* 1 */ padding: 0; /* 2 */ } /** * Correct the cursor style of increment and decrement buttons in Chrome. */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /** * 1. Correct the odd appearance in Chrome and Safari. * 2. Correct the outline style in Safari. */ [type="search"] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } /** * Remove the inner padding in Chrome and Safari on macOS. */ [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /** * 1. Correct the inability to style clickable types in iOS and Safari. * 2. Change font properties to `inherit` in Safari. */ ::-webkit-file-upload-button { -webkit-appearance: button; /* 1 */ font: inherit; /* 2 */ } /* Interactive ========================================================================== */ /* * Add the correct display in Edge, IE 10+, and Firefox. */ details { display: block; } /* * Add the correct display in all browsers. */ summary { display: list-item; } /* Misc ========================================================================== */ /** * Add the correct display in IE 10+. */ template { display: none; } /** * Add the correct display in IE 10. */ [hidden] { display: none; } * { box-sizing: border-box; } body{ font-family: 'Prompt', sans-serif; background-size:cover; } a { color: inherit; } ul li { list-style-type: none; } .social-footer li{ display:block; } .svg-inline--fa { color: rgba(0, 0, 0, 0.4); } .main-wrapper { max-width: 1200px; margin: auto; } .nav-wrapper { max-width: 1200px; margin: 0 auto; padding: 15px 20px; margin-top: 30px; display: grid; grid-template-columns: 30% auto; text-align: center; justify-content: center; align-items: center; background-color: #c54440; } .nav-wrapper_food{ max-width: 100%; margin: 0 auto; padding: 15px 20px; margin-top: 30px; display: grid; grid-template-columns: 30% auto; text-align: center; justify-content: center; align-items: center; background-color: #c54440; } .nav-wrapper a{ letter-spacing: .1em; text-decoration: none; font-weight: bold; transition: 0.4s; } .nav-wrapper_food a{ letter-spacing: .1em; text-decoration: none; font-weight: bold; transition: 0.4s; } nav ul li{ float: left; list-style: none; position: relative; } nav ul li a{ display: block; padding: 24px 14px; } nav ul li ul{ display: none; position: absolute; background-color: rgb(240, 239, 245); padding: 8px; border-radius: 4px 4px 4px 4px; } nav ul li:hover ul{ display: block; transition: 0.8s; } nav ul li ul li{ width: 160px; border-radius: 4px; } nav ul li ul li a{ padding: 8px 14px; } nav ul li ul li a:hover{ background-color: slategrey; transition: 0.3s; } .nav-wrapper a:hover { cursor: pointer; color: #eee; transition: 0.4s; } .nav-wrapper_food a:hover { cursor: pointer; color: #eee; transition: 0.4s; } .logo { font-weight: bold; font-size: 24px; } .nav-items { text-align: right; padding-top: 10px; padding-left:0; } .burger-icon { display: none; } .list-item { margin-left: 10px; text-transform: uppercase; font-weight: bold; padding: 10px; transition: .25s; } .icon:after { content: " +"; transform: rotate(45deg); } .logo .fas,.logo strong{ color:black; text-shadow:1px 1px 0px white; } /*>Video banner*/ .showcase { height: 100vh; display: flex; align-items: center; justify-content: center; color: #fff; padding: 0 20px; overflow: hidden; } .video-container { position: absolute; top: 0; left: 0; width: 100%; height: 88%; overflow: hidden; } .video-container video { min-width: 100%; min-height: 100%; position: absolute; top: 100%; left: 50%; transform: translate(-50%, -50%); object-fit: cover; overflow:hidden; width: 50%; } .video-container:after { z-index: 1; height: 100%; width: 100%; top: 0; left: 0; position: absolute; } .wrapper { max-width: 100%; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-template-areas: "featuredMain featuredMain featuredSub" "contentMain contentMain contentSub"; color: #FFF; } .wrapper_two { max-width: 100%; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-template-areas: "featuredMain featuredMain featuredSub" "contentMain contentMain contentMain "; color: #FFF; } .wrapper_three { max-width: 100%; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-template-areas: "featuredMain featuredMain featuredSub" "contentMain contentMain contentMain "; color: #FFF; } .wrapper_four { max-width: 100%; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-template-areas: "featuredMain featuredMain featuredSub" "contentMain contentMain contentSub"; color: #FFF; grid-column: row; } .wrapper_food{ max-width: 100%; margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 10px; grid-template-areas: "featuredMain featuredMain featuredSub" "contentMain contentMain contentSub"; color: #FFF; } .wrapper_four_food{ background-color: rgba(255, 255, 255, 0.8); text-align: center; padding: 20px 0; font-size: 30px; } .box1 { grid-column-start: 1; grid-column-end: 4; grid-row-start: 1; grid-row-end: 3; } .box2 { grid-column-start: 8; grid-row-start: 6; grid-row-end: 9; } @media screen and (max-width: 950px) { .wrapper_food{ grid-template-areas: "featuredMain featuredMain featuredMain" "featuredSub featuredSub featuredSub" "contentMain contentMain contentSub"; color: #FFF; } } @media screen and (max-width: 950px) { .wrapper_four{ grid-template-areas: "featuredMain featuredMain featuredMain" "featuredSub featuredSub featuredSub" ; color: #FFF; } } .wrapper > .featured, .wrapper > .sub-featured > div, .wrapper > .main-content, .wrapper > .main-sidebar { padding: 20px; } .wrapper_food > .featured, .wrapper_food > .sub-featured_food> div, .wrapper_food > .main-content, .wrapper_food > .main-sidebar { padding: 20px; } .featured { grid-area: featuredMain; min-height: 500px; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(trash.jpg) no-repeat center center; background-size: cover; display:grid; align-content: flex-end; } .featured_business{ grid-area: featuredMain; min-height: 500px; background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(tarantulas_fried.jpg) no-repeat center center; background-size: cover; display:grid; align-content: flex-end; } .featured h1 { font-size: 36px; max-width: 650px; } .main-content,.featured,.sub-featured > div,.main-sidebar { box-shadow:0px 0px 4px rgba(0,0,0,.25); } .main-content,.featured,.sub-featured_food> div,.main-sidebar { box-shadow:0px 0px 4px rgba(0,0,0,.25); } .sub-featured { grid-area: featuredSub; display: grid; grid-template-columns: 1fr; grid-gap: 10px; } .sub-featured_food{ grid-area: featuredSub; display: grid; grid-template-columns: 1fr; grid-gap: 10px; width: 600px; height:500px; } .sub-featured-two{ grid-area: featuredSub; display: grid; grid-template-columns: 1fr; grid-gap: 10px; margin-top: 60px; } .sub-featured-three{ grid-area: featuredSub; display: grid; grid-template-columns: 1fr; grid-gap: 10px; margin-top: 60px; grid-column: row; } .sub-featured h2, h3 { margin-top: 0; } .sub1 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?technology) no-repeat center bottom; background-size: cover; } .sub2 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?sports) no-repeat center center; background-size: cover; } .sub3 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?winter) no-repeat center center; background-size: cover; } .sub4 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?winter) no-repeat center center; background-size: cover; } .sub6 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?technology) no-repeat center bottom; background-size: cover; } .sub7 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?sports) no-repeat center center; background-size: cover; } .sub8 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?winter) no-repeat center center; background-size: cover; } .sub9 { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(https://source.unsplash.com/400x100/?winter) no-repeat center center; background-size: cover; } /*sub food.html*/ .sub1_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(tamale.jpg) no-repeat center ; background-size: cover; } .sub2_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(tarantulas_fried.jpg) no-repeat center bottom; background-size: cover; } .sub3_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(samosa_two.jpg) no-repeat center ; background-size: cover; } .sub4_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(kale.jpg) no-repeat center ; background-size: cover; } .sub5_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(froot_loops.jpg) no-repeat center ; background-size: cover; } .sub6_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(eggplant_dip.jpg) no-repeat center ; background-size: cover; } .sub7_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(gordon_ramsay.jpg) no-repeat center ; background-size: cover; } .sub10_food{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(sausage_vegan.jpg) no-repeat center ; background-size: cover; } /*business sub*/ .sub1_business { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(steve_yatch.jpg) no-repeat center bottom; background-size: cover; } .sub2_business { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(microsoft.jpg) no-repeat center center; background-size: cover; } .sub3_business{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(never_up.jpg) no-repeat center center; background-size: cover; } /*entertainment sub*/ .sub1_enter { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(netflix.jpg) no-repeat center bottom; background-size: cover; } .sub2_enter { background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(black_face.jpg) no-repeat center center; background-size: cover; } .sub3_business{ background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1)) border-box, url(never_up.jpg) no-repeat center center; background-size: cover; } .main-content{ grid-area: contentMain; z-index: 100; background-color:rgba(255,255,255,.35); color:#444; line-height:1.5em; } .main-sidebar{ grid-area: contentSub; background-color:rgba(255,255,255,.35); color:#444; line-height:1.5em; } .email-digest-subscription{ font-size:1em; background-color: #fbfbfb; border: #e1e8ed solid 1px; border-radius: 4px; padding: 20px; margin-bottom: 50px; } .footer { display: grid; background: linear-gradient(#333, rgba(0, 0, 0, 0.6)); background-size: cover; margin: auto; margin-top: 400px; grid-template-columns: minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px); justify-content: center; grid-template-rows: 1fr 1fr; background-color: #c54440; ; color: #ccc; width: 100%; } @media screen and (max-width: 950px) { .footer { display: grid; background: linear-gradient(#333, rgba(0, 0, 0, 0.6)); background-size: cover; margin: auto; margin-top: 750px; grid-template-columns: minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px) minmax(20px, 300px); justify-content: center; grid-template-rows: 1fr 1fr; background-color: #c54440; ; color: #ccc; width: 100%; } } .footer > div{ padding:25px; } .copyright { max-width: 1200px; margin: 0 auto; padding: 20px; grid-column: 1/-1; } .footer-list > li { display: block; } /* TABLET MEDIA QUERY */ @media screen and (max-width: 950px) { .wrapper { grid-template-areas: "featuredMain featuredMain featuredMain" "featuredSub featuredSub featuredSub" "contentMain contentMain contentSub"; color: #FFF; } .sub-featured { grid-template-columns: repeat(3, 1fr); } .sub-featured_food{ grid-template-columns: repeat(3, 1fr); } @media screen and (max-width: 950px) { .sub-featured_food{ grid-template-columns: repeat(3, 1fr); width: 50%; } } .nav-items { grid-column: 1/5; text-align: center; } .logo { grid-column: 1/5; text-align: center; } .nav-wrapper { margin-top: 0; } .nav-wrapper_food{ margin-top: 0; } } /* MOBILE MEDIA QUERY */ @media screen and (max-width: 690px) { .logo { grid-column: 1/3; padding-top: 7px; } .nav-items { grid-column: 1/5; text-align: center; } .nav-items li { display:block; } .burger-icon { grid-column: 4/5; justify-self: end; border: 2px solid #333; color: #333; padding: 10px; font-weight: bold; border-radius: 3px; } .burger-icon:hover { cursor: pointer; } .featured h1 { font-size: 30px; } .wrapper { grid-template-areas: "featuredMain featuredMain featuredMain" "contentMain contentMain contentMain" "featuredSub featuredSub featuredSub" "contentSub contentSub contentSub"; color: #FFF; } .mobile-hide { display: none; } .mobile-show{ display:block; } .burger-icon { display: inline-block; } .footer > div{ grid-column: 1/-1; } .sub-featured { grid-template-columns: 1fr; } .sub-featured_food{ grid-template-columns: 1fr; } } /*contact in html*/ .contact{ text-decoration: none; } /*Comment system*/ body { font-family: 'Open Sans', sans-serif; } /* Sample styling for comments and commenting controls */ #allcomments { width: 90%; margin: 1em 0 4em 1em; padding: 1%; border: solid 3px rgba(233, 6, 6, 0.767); border-radius: 6px; box-shadow: 2px 2px 2px silver; position: relative; top: 100px; } ul#pastcomments { list-style-type: none; } ul#pastcomments li:before { font-family: FontAwesome; content: "\f086"; font-size: 24pt; color: gray; margin-left: -42px; padding-right: 10px; position: relative; top: 8px; } ul#pastcomments li { margin: 0 0 2em 0; padding: 10px; } ul#pastcomments li span { font-size: 80%; color: gray; font-style: italic; } form#newcomment textarea { height: 72px; resize: none; } form#newcomment label { display: inline-block; margin: 1em 0 0 0; } form#newcomment textarea, form#newcomment input[type="text"] { margin-top: 0; }