diff --git a/week1/3-website/css/style.css b/week1/3-website/css/style.css index 75e9841e..b0c20825 100644 --- a/week1/3-website/css/style.css +++ b/week1/3-website/css/style.css @@ -6,3 +6,376 @@ * for example: General styles, Navigation styles, Hero styles, Footer etc. * */ + + *{ + margin: 0px; + padding: 0px; + box-sizing: border-box; + } + body{ + height: 100vh; + background-color: #2F303A; + } + header{ + padding-top: 5vh; + } + + #blog-img1{ + padding-bottom: 10vh; + } + + .logoandtitle{ + display: flex; + justify-content: center; + align-items: center; + } + .title{ + color: #E5E5E5; + font-size: 60px; + + + } + .sub-title { + color: #E5E5E5; + font-size: 45px; + } + nav { + display: flex; + justify-content: space-around; + align-items: center; + + } + + ul{ + display: flex; + + + } +li{ + list-style: none; + padding-right: 10vh; + font-size: 25px; +} + + +a{ + color: #E5E5E5; + text-decoration: none; +} +a:hover{ + color: gray; +} +.mainsection1{ + height: 50vh; + display: flex; + justify-content: space-evenly; + padding-top: 3vh; + margin-top: 5vh; + +} +.main-article{ + width: 30%; + padding-left: 5vh; + +} +.main-paragraph{ + color: #E5E5E5; + font-size: 18px; + padding-top: 5vh; +} +.sec-section{ + background: linear-gradient(#E5E5E5, #2F303A); + height: 180vh; + display: grid; + justify-content: center; + +} + +#nature-img{ + width: 45vh; + height: 33vh; + border-radius: 30px; +} +#blog1-paragraph{ + + width: 30vh; +} +#blog2-paragraph{ + + width: 30vh; +} +#blog3-paragraph{ + + width: 30vh; +} +.first-blog-article { + + background-color: #2F303A; + width: 82vh; + height: 40vh; + border-radius: 30px; + display: flex; + padding: 3vh; + margin-top: 20vh; + align-items: center; + +} +.first-blog-article > p { + flex: 1; +} + +.second-blog-article{ + border: 1px solid white; + background-color: #2F303A; + width: 82vh; + height: 40vh; + border-radius: 30px; + display: flex; + flex: 1; + align-items: center; + padding: 3vh; + +} + +.third-blog-article{ + border: 1px solid white; + background-color: #2F303A; + width: 82vh; + height: 40vh; + border-radius: 30px; + display: flex; + flex: 1; + align-items: center; + padding: 3vh; + +} +.footer{ + font-size: 15px; +} +footer{ + + height: 20vh; + color: white; + display: flex; + justify-content: center; + align-items: center; +} +#med-ellipse{ + position: absolute; + top: 42vh; + right: 17vh; +} +#small-ellipse{ + position: absolute; + top: 59vh; + left: 19vh; + width: 10vh; + height: 10vh; + opacity: 1; + z-index: -1; + +} +#big-ellipse{ + position: absolute; + top: 30vh; + right: 83vh; + width: 12vh; + height: 12vh; + +} + +h3{ + color: #E5E5E5; + font-size: 30px; + padding-bottom: 5vh; +} +p{ + color: #e5e5e5; +} +.first-blog-article h3:first-child{ + color: hotpink +} + + +@media screen and (max-width: 360px){ + + body{ + + align-items: center; + display: grid; + } + .title{ + font-size: 40px; + } + nav { + + flex-direction: column; + align-items: flex-start; + margin-left: 25px; + + + } + .mainsection1 { + flex-direction: column; + font-size: 10px; + + + + + } + .header { + flex-direction: column; + + + } + #blog-img1 { + display: none; + } + .main-paragraph { + width: 50vh; + height: 50vh; + font-size: 15px; + overflow: hidden; + + + + } + ul{ + padding-top: 30px; + } + li{ + font-size: 18px; + padding-left: 13px; + } + .sub-title{ + font-size: 30px; + + } + .first-blog-article{ + + width: 45vh; + height: 50vh; + + } + #nature-img{ + display: none; + } + .second-blog-article{ + + width: 45vh; + height: 50vh; } + .third-blog-article{ + + width: 45vh; + height: 50vh; + } + .footer{ + display: block; + } + h3{ + + padding-bottom: 1vh; + } + +} +@media screen and (max-width: 1200px){ + + .main-paragraph{ + + max-height: 330px; + overflow: hidden; + } + + } + @media screen and (max-width: 920px){ + .sub-title{ + display: none; + } + .main-paragraph{ + display: none; + } + + } + + +@media (max-width: 768px) { + + nav { + display: block; + flex-direction: column; + align-items: flex-start; + margin-left: 25px; + + + } + li{ + padding-top: 5vh; + padding-left: 4vh; + } + .mainsection1{ + min-height: 80vh; + + display: block; + } + #blog-img1{ + padding-left: 60px; + } + .main-paragraph{ + display: block; + width: 65vh; + font-size: 20px; + + padding-top: 5px; + } + .sub-title{ + display: block; + padding-left: 35px; + padding-bottom: 10px; + } + .first-blog-article{ + width: 80vh; + } + article h3, p, a { + padding-left: 40px; + } +} + +@media screen and (max-width: 360px){ + nav { + display: block; + } + .logoandtitle{ + display: flex; + justify-content: start; + padding-left: 40px; + + } + li{ + padding-left: 0px; + + } + ul{ + padding-top: 0px; + } + .main-paragraph{ + padding-right: 30px; + } + .first-blog-article, .second-blog-article, .third-blog-article{ + + width: 60vh; + height: 60vh; + + } + .sec-section{ + min-height: 250vh; + + } + #blog1-paragraph, #blog2-paragraph, #blog3-paragraph{ + width: fit-content; + padding-left: 5px; + } + section h3{ + padding-left: 5px; + padding-bottom: 30px; + } +} diff --git a/week1/3-website/images/autumn.jpg b/week1/3-website/images/autumn.jpg new file mode 100644 index 00000000..3ac0ba54 Binary files /dev/null and b/week1/3-website/images/autumn.jpg differ diff --git a/week1/3-website/images/bigEcllipse.png b/week1/3-website/images/bigEcllipse.png new file mode 100644 index 00000000..e5491697 Binary files /dev/null and b/week1/3-website/images/bigEcllipse.png differ diff --git a/week1/3-website/images/blog 1 image.png b/week1/3-website/images/blog 1 image.png new file mode 100644 index 00000000..8488197b Binary files /dev/null and b/week1/3-website/images/blog 1 image.png differ diff --git a/week1/3-website/images/logo.png b/week1/3-website/images/logo.png new file mode 100644 index 00000000..88b28587 Binary files /dev/null and b/week1/3-website/images/logo.png differ diff --git a/week1/3-website/images/mediumEcllipse.png b/week1/3-website/images/mediumEcllipse.png new file mode 100644 index 00000000..8c576119 Binary files /dev/null and b/week1/3-website/images/mediumEcllipse.png differ diff --git a/week1/3-website/images/natur3.jpeg b/week1/3-website/images/natur3.jpeg new file mode 100644 index 00000000..7c543d2a Binary files /dev/null and b/week1/3-website/images/natur3.jpeg differ diff --git a/week1/3-website/images/nature2.jpeg b/week1/3-website/images/nature2.jpeg new file mode 100644 index 00000000..7628dec7 Binary files /dev/null and b/week1/3-website/images/nature2.jpeg differ diff --git a/week1/3-website/images/smallEcllipse.png b/week1/3-website/images/smallEcllipse.png new file mode 100644 index 00000000..973b4b1a Binary files /dev/null and b/week1/3-website/images/smallEcllipse.png differ diff --git a/week1/3-website/index.html b/week1/3-website/index.html index 67dfc7f5..b9ea69e8 100644 --- a/week1/3-website/index.html +++ b/week1/3-website/index.html @@ -4,9 +4,9 @@ - My Blog + Blog | Website - - +
+ +
+
+
+
+
+ +
+ +
+ blog image + +
+ +

Welcome

+ +

Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s, when an unknown printer took a galley of type and scrambled it to + make a type specimen book. It has survived not only five centuries, but also the leap + into electronic typesetting, remaining essentially unchanged. It was popularised in + the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more + recently with desktop publishing software like Aldus PageMaker including versions of + Lorem Ipsum. +

+ +
+ +
+ +
+ medium ellipse + medium ellipse + medium ellipse +
+ +
+
+

Blog 1 title

+ +

Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s, when an unknown printer took a galley of type and scrambled it to + make a type specimen book. It has survived not only five centuries, but also the leap. +

+
+ Read more +
+ + nature picture +
+ + + +
+
+
+
+

Blog 2 title

+ +

Lorem Ipsum is simply dummy text of the printing and + typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s, when an unknown printer took a galley of type and scrambled it to + make a type specimen book. It has survived not only five centuries, but also the leap. +

+
+ Read more +
+ + nature picture +
+ +
+
+
+
+

Blog 3 title

+ +

Lorem Ipsum is todaysimply dummy text of yoursthe printing and + typesetting starindustry. + Lorem Ipsum has been the industry's standard dummy text ever + since the 1500s, when an unknown printer took a galley of type and scrambled it to. +

+ + +
+ Read more + +
+ nature picture +
+
+
+ + + + diff --git a/week3/2-website/app.js b/week3/2-website/app.js new file mode 100644 index 00000000..2df36a12 --- /dev/null +++ b/week3/2-website/app.js @@ -0,0 +1,27 @@ +//selectors +const burger = document.querySelector('.burger'); +const nav = document.querySelector('.navlinks'); +const navLinks = document.querySelectorAll('.navlinks li'); + + + +//event listeners + +//toggle the nav burger +burger.addEventListener('click' , () => { + nav.classList.toggle('nav-active'); + + //animate the links + navLinks.forEach((link, index) =>{ + if(link.style.animation){ + link.style.animation = '' + }else{ + link.style.animation = `navLinkFade 0.9s ease forwards ${index / 7 + 1}s` + } + }); + + //burger toggle + burger.classList.toggle('tog'); + + +}); \ No newline at end of file diff --git a/week3/2-website/images/Cakes/.DS_Store b/week3/2-website/images/Cakes/.DS_Store deleted file mode 100644 index f497e389..00000000 Binary files a/week3/2-website/images/Cakes/.DS_Store and /dev/null differ diff --git a/week3/2-website/images/Cakes/cake-with-blackberries.jpg b/week3/2-website/images/Cakes/cake-with-blackberries.jpg deleted file mode 100644 index 472d0891..00000000 Binary files a/week3/2-website/images/Cakes/cake-with-blackberries.jpg and /dev/null differ diff --git a/week3/2-website/images/Cakes/cake-with-macarons.jpg b/week3/2-website/images/Cakes/cake-with-macarons.jpg deleted file mode 100644 index 6683cf33..00000000 Binary files a/week3/2-website/images/Cakes/cake-with-macarons.jpg and /dev/null differ diff --git a/week3/2-website/images/Cakes/cupcakes.jpg b/week3/2-website/images/Cakes/cupcakes.jpg deleted file mode 100644 index 85128d1e..00000000 Binary files a/week3/2-website/images/Cakes/cupcakes.jpg and /dev/null differ diff --git a/week3/2-website/images/Cakes/not-technically-a-cake.jpg b/week3/2-website/images/Cakes/not-technically-a-cake.jpg deleted file mode 100644 index fe3e6f8e..00000000 Binary files a/week3/2-website/images/Cakes/not-technically-a-cake.jpg and /dev/null differ diff --git a/week3/2-website/images/Cakes/wedding-cake.jpg b/week3/2-website/images/Cakes/wedding-cake.jpg deleted file mode 100644 index da73530b..00000000 Binary files a/week3/2-website/images/Cakes/wedding-cake.jpg and /dev/null differ diff --git a/week3/2-website/images/Ellipse 1.png b/week3/2-website/images/Ellipse 1.png new file mode 100644 index 00000000..6db9802a Binary files /dev/null and b/week3/2-website/images/Ellipse 1.png differ diff --git a/week3/2-website/images/Ellipse 2.png b/week3/2-website/images/Ellipse 2.png new file mode 100644 index 00000000..6e897e2e Binary files /dev/null and b/week3/2-website/images/Ellipse 2.png differ diff --git a/week3/2-website/images/Ellipse 3.png b/week3/2-website/images/Ellipse 3.png new file mode 100644 index 00000000..780f6e44 Binary files /dev/null and b/week3/2-website/images/Ellipse 3.png differ diff --git a/week3/2-website/images/Ellipse 4.png b/week3/2-website/images/Ellipse 4.png new file mode 100644 index 00000000..5fa27b77 Binary files /dev/null and b/week3/2-website/images/Ellipse 4.png differ diff --git a/week3/2-website/images/birthdaypic.png b/week3/2-website/images/birthdaypic.png new file mode 100644 index 00000000..189bd2b0 Binary files /dev/null and b/week3/2-website/images/birthdaypic.png differ diff --git a/week3/2-website/images/cake-hero.jpg b/week3/2-website/images/cake-hero.jpg new file mode 100644 index 00000000..44ae5134 Binary files /dev/null and b/week3/2-website/images/cake-hero.jpg differ diff --git a/week3/2-website/images/cake-image.png b/week3/2-website/images/cake-image.png new file mode 100644 index 00000000..300db10f Binary files /dev/null and b/week3/2-website/images/cake-image.png differ diff --git a/week3/2-website/images/cake-logo.png b/week3/2-website/images/cake-logo.png new file mode 100644 index 00000000..c538fade Binary files /dev/null and b/week3/2-website/images/cake-logo.png differ diff --git a/week3/2-website/images/cakehero2.jpg b/week3/2-website/images/cakehero2.jpg new file mode 100644 index 00000000..0760bfc1 Binary files /dev/null and b/week3/2-website/images/cakehero2.jpg differ diff --git a/week3/2-website/images/icons8-facebook-48.png b/week3/2-website/images/icons8-facebook-48.png new file mode 100644 index 00000000..6f057c54 Binary files /dev/null and b/week3/2-website/images/icons8-facebook-48.png differ diff --git a/week3/2-website/images/icons8-instagram.svg b/week3/2-website/images/icons8-instagram.svg new file mode 100644 index 00000000..b31fae79 --- /dev/null +++ b/week3/2-website/images/icons8-instagram.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/week3/2-website/images/icons8-twitter-48.png b/week3/2-website/images/icons8-twitter-48.png new file mode 100644 index 00000000..91596a37 Binary files /dev/null and b/week3/2-website/images/icons8-twitter-48.png differ diff --git a/week3/2-website/images/partypic.png b/week3/2-website/images/partypic.png new file mode 100644 index 00000000..4f3cd241 Binary files /dev/null and b/week3/2-website/images/partypic.png differ diff --git a/week3/2-website/images/people-cutting-cake-2038258.jpg b/week3/2-website/images/people-cutting-cake-2038258.jpg new file mode 100644 index 00000000..ce7d533a Binary files /dev/null and b/week3/2-website/images/people-cutting-cake-2038258.jpg differ diff --git a/week3/2-website/images/person-holding-cupcake-with-white-icing-4099126.jpg b/week3/2-website/images/person-holding-cupcake-with-white-icing-4099126.jpg new file mode 100644 index 00000000..357c088f Binary files /dev/null and b/week3/2-website/images/person-holding-cupcake-with-white-icing-4099126.jpg differ diff --git a/week3/2-website/images/person-holding-knife-slicing-3-layer-cake-1345574.jpg b/week3/2-website/images/person-holding-knife-slicing-3-layer-cake-1345574.jpg new file mode 100644 index 00000000..a2577d2a Binary files /dev/null and b/week3/2-website/images/person-holding-knife-slicing-3-layer-cake-1345574.jpg differ diff --git a/week3/2-website/images/weddingpic.png b/week3/2-website/images/weddingpic.png new file mode 100644 index 00000000..74bf40f8 Binary files /dev/null and b/week3/2-website/images/weddingpic.png differ diff --git a/week3/2-website/images/white-and-blue-floral-table-lamp-1793037.jpg b/week3/2-website/images/white-and-blue-floral-table-lamp-1793037.jpg new file mode 100644 index 00000000..0479e8f3 Binary files /dev/null and b/week3/2-website/images/white-and-blue-floral-table-lamp-1793037.jpg differ diff --git a/week3/2-website/index.html b/week3/2-website/index.html index 60b1afe1..9bb061c2 100644 --- a/week3/2-website/index.html +++ b/week3/2-website/index.html @@ -1,16 +1,88 @@ - - - - + + + + Responsive Cake webpage - - + + + + + + + +
+ +
+
+
+
+ +
+
+ +
+
+

Welcome

+

We provide cakes for all occasions, from weddings to birthday parties. All our cakes are baked with quality ingredients guarenteeing satisfaction.

+
+
+ +
+ ellipse + ellipse + ellipse + ellipse +
+
+ + + + - - - - \ No newline at end of file diff --git a/week3/2-website/style.css b/week3/2-website/style.css index 6de1b356..8dcbb3ad 100644 --- a/week3/2-website/style.css +++ b/week3/2-website/style.css @@ -1 +1,747 @@ -/* Add your styling here */ + +*{ + padding: 0; + margin: 0; + box-sizing: border-box; +} + +body{ + height: 115vh; + background: linear-gradient(#FBFBFB, #4F5455); + overflow: hidden; +} +nav{ + display: flex; + justify-content: space-between; + align-items: center; + padding: 0px 10px; + background-color: #4d2929; + +} + +.logoandtitle{ + display: flex; + align-items: center; + color: #FBFBFB; + +} +.navlinks{ + position: absolute; + top: 10%; + right: 0%; + background-color: #4d2929; + height: 95vh; + width: 50%; + display: flex; + flex-direction: column; + justify-content: space-evenly; + transform: translateX(100%); + transition: transform 1s ease-in; + opacity: 0.95; + + +} +.nav-active{ + transform: translateX(0%); +} +.navlinks li a{ + color: whitesmoke; + font-size: 1.2rem; +} +.navlinks li a:hover{ + color: hotpink; +} +.navlinks li{ + opacity: 0; +} +.burger{ + display: block; + cursor: pointer; +} +@keyframes navLinkFade{ + from{ + opacity: 0; + transform: translateX(50px); + } + to{ + opacity: 1; + transform: translateX(0px); + } +} + +.line1, .line2, .line3{ + width: 25px; + height: 3px; + background-color: #FBFBFB; + margin: 5px; +} +.tog .line1{ + transform: rotate(-45deg) translate(-5px, 6px); +} +.tog .line2{ + opacity: 0; +} +.tog .line3{ + transform: rotate(45deg) translate(-5px, -6px); +} +.section2{ + + padding: 20px 10px; + width: 90%; + margin: auto; + +} +.welcome{ + font-size: 1rem; + font-weight: 400; + padding-bottom: 20px; + +} +p{ + font-size: 0.875rem; +} +ul{ + display: flex; + justify-content: center; + align-items: center; + list-style: none; + width: 90%; + margin: auto; + + } +li{ + text-align: center; + width: 100%; + +} +#lipics{ + border-radius: 5px; + border: 2px solid #FBFBFB; +} +a{ + color: black; + text-decoration: none; +} +a:hover{ + color: #FBFBFB; +} +footer{ + + text-align: center; + padding-top: 2rem; + +} +#footerul{ + + width: 40%; +} +.icon-container{ + padding: 6px 0px; + +} +.join, h5{ + font-weight: 400; + font-size: 0.875rem; +} +#socialicons{ + width: 2rem; + height: 2rem; +} + +#ellipse2{ + position: absolute; + bottom: -5%; + right: 0%; +} +#ellipse3{ + position: absolute; + bottom: 8%; + right: 40%; + z-index: -1; +} +#ellipse1{ + position: absolute; + top: 50%; + z-index: -1; +} +#ellipse4{ + position: absolute; + bottom: 5%; + left: 10%; +} + +/* +@media screen and (min-width: 1600px){ + body{ + height: 150vh; + } + .hero{ + background-image: url(/2-website/images/cake-hero.jpg); + background-repeat: no-repeat; + background-position: bottom; + background-size: cover; + height: 50vh; + + } + .burger{ + display: none; + } + .navlinks li{ + opacity: 1; + display: flex; + flex-direction: row; + } + .navlinks{ + + + height: 7.5vh; + position: absolute; + top: 0%; + right: 40%; + border: 1px solid red; + + } + #heropic{ + display: none; + } + +} +*/ +@media screen and (min-width: 320px){ + body{ + height: 80vh; + } + .navlinks{ + width: 33%; + } + + footer{ + padding-top: 50px; + } + .threeimages{ + padding-top: 100px; + } + #ellipse3{ + position: absolute; + top: 100%; + right: 40%; + z-index: -1; + } + #ellipse2{ + position: absolute; + width: 150px; + height: 130px; + bottom: -50%; + right: 0%; + z-index: -1; + }.mainsection{ + height: 30vh; + background-image: url(./images/cake-image.png); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } + #ellipse4{ + position: absolute; + bottom: -40%; + left: 10%; + z-index: -1; + } + +} + + +@media screen and (min-width: 360px){ + body{ + height: 80vh; + } + + .mainsection{ + height: 30vh; + background-image: url(./images/cake-image.png); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } + .nav-active, .navlinks{ + position: absolute; + top: 9%; + } + .section2{ + padding-bottom: 50px; + } + footer{ + padding-top: 100px; + + } + .threeimages{ + padding-top: 150px; + } + #ellipse3{ + position: absolute; + top: 100%; + right: 40%; + z-index: -1; + } + #ellipse4{ + position: absolute; + top: 130%; + left: 10%; + z-index: -1; + } + #ellipse2{ + position: absolute; + top: 130%; + right: 0%; + z-index: -1; + } +} + +@media screen and (min-width: 375px){ + body{ + height: 80vh; + } + .nav-active, .navlinks{ + position: absolute; + top: 6%; + } + #heropic{ + width: 375px; + } + .section2{ + padding-bottom: 100px; + padding-top: 40px; + } + footer{ + padding-top: 100px; + } + #ellipse3{ + position: absolute; + top: 115%; + right: 40%; + z-index: -1; + } +} + + +@media screen and (min-width: 411px){ + body{ + height: 80vh; + } + footer{ + padding-top: 250px; + } + .section2{ + width: 80%; + padding-bottom: 10px; + padding-top: 40px; + } + + .nav-active, .navlinks{ + position: absolute; + top: 6%; + } + .threeimages{ + padding-top: 50px; + } + #ellipse4{ + position: absolute; + width: 70px; + height: 70px; + top: 130%; + left: 10%; + z-index: -1; + } + #ellipse2{ + position: absolute; + width: 250px; + height: 230px; + bottom: 0%; + right: 0%; + z-index: -1; + } + #ellipse3{ + position: absolute; + width: 150px; + height: 130px; + top: 90%; + right: 30%; + z-index: -1; + } + } + + @media screen and (min-width: 768px){ + body{ + height: 150vh; + } + .mainsection{ + height: 60vh; + background-image: url(./images/cakehero2.jpg); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } + .welcome{ + font-size: 20px; + } + p{ + font-size: 25px; + } + .nav-active, .navlinks{ + position: absolute; + top: 5%; + } + .navlinks li a{ + font-size: 28px; + } + h1{ + font-size: 50px; + letter-spacing: 2px; + padding-bottom: 12px; + } + #logo{ + width: 70px; + height: 80px; + } + + .welcome{ + font-size: 30px; + } + p{ + font-size: 25px; + } + #lipics{ + width: 160px; + height: 150px; + + } + .pics3 li{ + + height: 150px; + display: flex; + flex-direction: column; + align-items: center; + } + .pics3 li a{ + font-size: 25px; + margin-top: 10px; + + } + .section2{ + padding-bottom: 60px; + padding-top: 40px; + } + footer{ + padding-top: 100px; + } + .join{ + font-size: 28px; + } + #socialicons{ + width: 60px; + height: 60px; + } + h5{ + font-size: 18px; + } + + #ellipse2{ + position: absolute; + bottom: -5%; + right: 0%; + width: 202px; + height: 220px; + } + #ellipse3{ + position: absolute; + bottom: 8%; + right: 40%; + z-index: -1; + width: 150px; + height: 150px; + + + } + #ellipse1{ + position: absolute; + top: 50%; + z-index: -1; + width: 290px; + height: 280px; + } + #ellipse4{ + position: absolute; + bottom: 5%; + left: 10%; + width: 100px; + height: 100px; + } + +} + +@media screen and (min-width: 1024px){ + + .mainsection{ + height: 60vh; + background-image: url(./images/cakehero2.jpg); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } + .welcome{ + font-size: 20px; + } + p{ + font-size: 25px; + } + + .navlinks{ + width: 33%; + } + h1{ + font-size: 60px; + letter-spacing: 2px; + } + .threeimages{ + height: 20vh; + } + .pics3 li{ + + height: 270px; + display: flex; + flex-direction: column; + align-items: center; + } + #lipics{ + width: 270px; + height: 240px; + + } + + .pics3 li a{ + font-size: 25px; + margin-top: 10px; + + } + .section2{ + padding-bottom: 140px; + padding-top: 100px; + } + footer{ + padding-top: 350px; + } + .join{ + font-size: 28px; + } + #socialicons{ + width: 60px; + height: 60px; + } + h5{ + font-size: 18px; + } + + #ellipse2{ + position: absolute; + bottom: -5%; + right: 0%; + width: 402px; + height: 420px; + } + #ellipse3{ + position: absolute; + bottom: 8%; + right: 40%; + z-index: -1; + width: 150px; + height: 150px; + + + } + #ellipse1{ + position: absolute; + top: 70%; + z-index: -1; + width: 290px; + height: 280px; + } + #ellipse4{ + position: absolute; + bottom: 5%; + left: 10%; + width: 100px; + height: 100px; + } + + +} + +@media screen and (min-width: 1280px){ + body{ + height: 120vh; + overflow-y: visible; + } + .mainsection{ + height: 60vh; + background-image: url(./images/cakehero2.jpg); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } + + /* .hero{ + background-image: url(/2-website/images/cakehero2.jpg); + background-repeat: no-repeat; + background-size: cover; + + } */ + .navlinks{ + width: 33%; + } + .welcome{ + font-size: 25px; + } + p{ + font-size: 20px; + } + + .section2{ + width: 60%; + padding-bottom: 20px; + } + ul.pics3{ + width: 80%; + padding-top: 0px; + } + #ellipse2{ + position: absolute; + top: 180%; + right: 0%; + width: 402px; + height: 420px; + } + #ellipse3{ + position: absolute; + top: 170%; + right: 40%; + z-index: -1; + width: 150px; + height: 150px; + + + } + #ellipse1{ + position: absolute; + top: 96%; + z-index: -1; + width: 490px; + height: 480px; + } + #ellipse4{ + position: absolute; + top: 180%; + left: 10%; + width: 100px; + height: 100px; + } + footer{ + padding-top: 100px; + } + + +} + +@media screen and (min-width: 1300px){ + body{ + height: 200vh; + + + } + .welcome{ + font-size: 25px; + } + p{ + font-size: 20px; + } + .hero{ + height: 80vh; + } + /* .mainsection{ + height: 80vh; + background-image: url(./images/cake-image.png); + background-repeat: no-repeat; + background-position: center bottom; + background-size: cover; + } */ + + #heropic{ + display: none; + width: 1550px; + height: 50vh; + + } + + .threeimages{ + height: 300px; + } + .welcome{ + font-size: 25px; + } + p{ + font-size: 20px; + } + .join{ + padding-top: 120px; + font-weight: 200; + font-size: 25px; + } + + #footerul{ + + width: 15%; + + } + h5{ + font-size: 15px; + } + .pics3{ + + padding-top: 150px; + } + #ellipse2{ + position: absolute; + bottom: -100%; + right: 0%; + width: 402px; + height: 420px; + } + #ellipse3{ + position: absolute; + bottom: -86%; + right: 40%; + z-index: -1; + width: 150px; + height: 150px; + + + } + #ellipse1{ + position: absolute; + top: 96%; + z-index: -1; + width: 490px; + height: 480px; + } + #ellipse4{ + position: absolute; + bottom: -85%; + left: 10%; + width: 100px; + height: 100px; + } + + + + +} +