/* Google Font CDN Link */ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700'); body { margin: 0; padding: 0; /* width: 100%; height: 100%; */ color: #111; /* font-family: 'Gilroy'; */ /* background-size: 100% 100%; */ box-sizing: border-box; /* min-height: 100vh; */ align-items: center; background-color: white ; } .image{ max-width: 8%; } * { margin: 0; padding: 0; box-sizing: border-box; } /* .test2{ margin:5rem; align-items: center; } */ a { color: #111 ; } /* Navbar section */ .nav { /* font-family: "Quicksand", sans-serif; */ width: 100%; height: 65px; position: fixed; line-height: 65px; text-align: center; font-size: x-large; } .nav div.logo { float: left; width: auto; height: auto; margin-left: 3rem; } .nav div.logo a { text-decoration: none; font-size: 2.2rem; } .nav div.logo a:hover { color: #6495ED; } .nav div.main_list { height: 40px; float: right; } .nav div.main_list ul { width: 100%; height: 65px; display: flex; list-style: none; margin: 0; padding: 0; } .nav div.main_list ul li { width: auto; height: 65px; padding: 0px; padding-right: 1rem; } .nav div.main_list ul li a { text-decoration: none; line-height: 30px; font-size: 1.3rem; } .btn-outline-success:hover{ background-color: #6495ED ; border-color: #6495ED !important; color: #FFF !important; } .btn-outline-success{ border-color: #6495ED !important; color: #111; } .btn-outline-success:visited{ background-color:#6495ED !important; border-color: #6495ED !important ; box-shadow: none !important; } .btn-outline-success:active{ border-color: #6495ED !important; box-shadow: none !important; } .nav div.main_list ul li a:hover { color: #6495ED; } .navTrigger { display: none; } .nav { padding-top: 20px; padding-bottom: 20px; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } div.stroke ul li a{ position: relative; padding-bottom: 3px; } div.stroke ul li a:after { position: absolute; bottom: 0; left: 0; right: 0; margin: auto; width: 0%; content: '.'; color: transparent; background: white; height: 2px; } div.stroke ul li a:hover:after { width: 100%; } nav ul li a, nav ul li a:after, nav ul li a:before { transition: all .5s; } /* Media qurey section */ @media screen and (min-width: 768px) and (max-width: 1024px) { .container { margin: 0; } } @media screen and (max-width:768px) { .navTrigger { display: block; } .nav div.logo { margin-left: 0px; } .nav div.main_list { width: 100%; height: 0; overflow: hidden; } .nav div.show_list { height: auto; display: none; } .nav div.main_list ul { flex-direction: column; width: 100%; height: 100vh; right: 0; left: 0; bottom: 0; background-color: #111; /*same background color of navbar*/ background-position: center top; } .nav div.main_list ul li { width: 100%; text-align: right; } .nav div.main_list ul li a { text-align: center; width: 100%; font-size: 3rem; padding: 20px; padding-left: 0%; } .nav div.media_button { display: block; } } /* Animation */ /* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */ .navTrigger { cursor: pointer; width: 30px; height: 25px; margin: auto; position: absolute; right: 30px; top: 0; bottom: 0; z-index: 1; } .navTrigger i { background-color: #0000ff; border-radius: 2px; content: ''; display: block; width: 100%; height: 4px; z-index: 1; } .navTrigger i:nth-child(1) { -webkit-animation: outT 0.8s backwards; animation: outT 0.8s backwards; -webkit-animation-direction: reverse; animation-direction: reverse; } .navTrigger i:nth-child(2) { margin: 5px 0; -webkit-animation: outM 0.8s backwards; animation: outM 0.8s backwards; -webkit-animation-direction: reverse; animation-direction: reverse; } .navTrigger i:nth-child(3) { -webkit-animation: outBtm 0.8s backwards; animation: outBtm 0.8s backwards; -webkit-animation-direction: reverse; animation-direction: reverse; } .navTrigger.active i:nth-child(1) { -webkit-animation: inT 0.8s forwards; animation: inT 0.8s forwards; } .navTrigger.active i:nth-child(2) { -webkit-animation: inM 0.8s forwards; animation: inM 0.8s forwards; } .navTrigger.active i:nth-child(3) { -webkit-animation: inBtm 0.8s forwards; animation: inBtm 0.8s forwards; } @-webkit-keyframes inM { 50% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(45deg); } } @keyframes inM { 50% { transform: rotate(0deg); } 100% { transform: rotate(45deg); } } @-webkit-keyframes outM { 50% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(45deg); } } @keyframes outM { 50% { transform: rotate(0deg); } 100% { transform: rotate(45deg); } } @-webkit-keyframes inT { 0% { -webkit-transform: translateY(0px) rotate(0deg); } 50% { -webkit-transform: translateY(9px) rotate(0deg); } 100% { -webkit-transform: translateY(9px) rotate(135deg); } } @keyframes inT { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(9px) rotate(0deg); } 100% { transform: translateY(9px) rotate(135deg); } } @-webkit-keyframes outT { 0% { -webkit-transform: translateY(0px) rotate(0deg); } 50% { -webkit-transform: translateY(9px) rotate(0deg); } 100% { -webkit-transform: translateY(9px) rotate(135deg); } } @keyframes outT { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(9px) rotate(0deg); } 100% { transform: translateY(9px) rotate(135deg); } } @-webkit-keyframes inBtm { 0% { -webkit-transform: translateY(0px) rotate(0deg); } 50% { -webkit-transform: translateY(-9px) rotate(0deg); } 100% { -webkit-transform: translateY(-9px) rotate(135deg); } } @keyframes inBtm { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-9px) rotate(0deg); } 100% { transform: translateY(-9px) rotate(135deg); } } @-webkit-keyframes outBtm { 0% { -webkit-transform: translateY(0px) rotate(0deg); } 50% { -webkit-transform: translateY(-9px) rotate(0deg); } 100% { -webkit-transform: translateY(-9px) rotate(135deg); } } @keyframes outBtm { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-9px) rotate(0deg); } 100% { transform: translateY(-9px) rotate(135deg); } } .affix { padding: 0; background-color:#212329; z-index:1; } .affix2 { color: #FFF; } #displayCart{ color: #333; } .wrapper { margin: 100px auto; box-sizing: border-box; /* padding-top: 200px; */ /* display: flex; */ } .tabcontent { color: white; margin: 50px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 10px 10px rgba(0,0,0,0.5); /* flex-wrap: wrap; */ max-width: 1500px; } .introduction{ color: #333; font-size: 25px; text-align: left; margin: 10px; } #info { padding-right: 50px; } .tabcontent .option_item { display: block; position: relative; width: 220px; height: 220px; margin: 10px; } .tabcontent .option_item .checkbox { position: absolute; top: 0; left: 0; z-index: 1; opacity: 0; } .displayProd{ display: flex; flex-wrap: wrap; /* margin-top: 20px; */ } .displayProd .option_item{ display: flex; margin: 20px; } .option_item .option_inner { width: 100%; height: 100%; background: #fff; border-radius: 5px; text-align: center; padding: 58px 40px; cursor: pointer; color: #585c68; display: block; border: 10px solid transparent; position: relative; } .option_item .option_inner .icon { margin-bottom: 10px; } .icon > img{ position: absolute; display:block; object-fit: cover; top: 0; left: 0; height: 100%; width: 100%; max-width: 120%; max-height: 120%; } .icon:hover img{ /*zoom*/ object-fit: center; left: -20px; height: 120%; width: 120%; transition: 0.8s; } .option_item:hover .boxtext{ opacity: 1; font-size: 10px; transform : translateY(0); } .option_item .boxtext{ position: relative; color: #fff; opacity: 0; transform: translateY(60px); transition: .5s; /*priority*/ z-index: 3; } .boxtext{ letter-spacing: 1px; font-size: 10px; } .option_item .checkbox:checked ~ .option_inner.lactosefree { border-color: #48233C; color: #48233C; } .option_item .checkbox:checked ~ .option_inner.nutfree { border-color: #48233C; color: #48233C; } .option_item .checkbox:checked ~ .option_inner.organic { border-color: #48233C; color: #48233C; } .option_item:hover{ transform: translateY(-20px); cursor: pointer; } .option_item:hover:before{ opacity: 1; } .option_item:before{ content: ""; position: absolute; display: block; width: 100%; height: 100%; top: 0; left: 0; /*shadow*/ background: linear-gradient(to top, #000, transparent); /*priority*/ z-index: 2; /*animations*/ transition: 0.5s; opacity: 0; } .option_item{ display: flex; position: relative; align-items: flex-end; width: 360px; height: 400px; /*colors and shados*/ box-shadow: 0 10px 10px rgba(0,0,0,0.5); /*animations*/ transition: .8s ease-out; overflow: hidden; } .option_item .option_inner .tickmark { position: absolute; font-size: 10px; top: -1px; left: -1px; border: 20px solid; border-color: #000 transparent transparent #000; display: none; } .option_item .option_inner .tickmark:before { content: ""; position: absolute; top: -18px; left: -18px; width: 15px; height: 5px; border: 3px solid; border-color: transparent transparent #fff #fff; transform: rotate(-45deg); } .option_item .checkbox:checked ~ .option_inner .tickmark { display: block; } .option_item .option_inner.lactosefree .tickmark { border-color: #48233C transparent transparent #48233C; } .option_item .option_inner.nutfree .tickmark { border-color: #48233C transparent transparent #48233C; } .option_item .option_inner.organic .tickmark { border-color: #48233C transparent transparent #48233C; } .tabcontent button{ border: 3px solid #48233C; border-radius: 10px; background: none; padding: 50px 30px; font-size: 20px; cursor: pointer; margin: 10px; transition: 0.8s; position: relative; overflow: hidden; color: #48233C; } .tabcontent button:hover { color: #fff; background-color: #48233C; } #homepage { display: flex; } small { font-size: 12px; font-weight: lighter; font-style: italic; } #checkout { display: flex; flex-direction: row; justify-content: space-between; align-items: flex-start; } #checkout h3,p{ margin: 20px; } #checkout img { width: 70px; } #Products .tab{ padding: 0; margin: 0; display: flex; } #addCart{ left: 63%; margin: 20px; } #Products { margin: 60px; padding: 50px; min-width: 1050px; max-width: 1050px; } .restrict { display: flex; padding-left: 20px; } #selectrestrictions { left: 43.5%; margin-top: 40px; } #prod { padding-right: 50px; } .tab { overflow: hidden; background-color: #F2F3F4; display: block; color: white; box-shadow: 0 5px 8px rgba(0,0,0,0.9); } .tab h1 { text-decoration: none; color: #fff; text-transform: uppercase; letter-spacing: 3px; font-size: 25px; padding: 20px; } .tab button { display: inline-block; border: none; outline: none; cursor: pointer; padding: 14px 16px; transition: 0.3s; color: black; font-size: 25px; background-color: #F2F3F4; right: auto; } .tab button:hover { background-color: #7A97CD; } .tab button.active { background-color: #ffffff; } main { /* margin-top: 5%; */ padding-top: 5%; letter-spacing: 2px; line-height: 1.5; } .first_paragraph{ padding : 50px; text-align: center; } .two-column-wrapper{ display: grid; width: 85%; margin-left: 100px; grid-template-columns: 1fr 1fr; } .profile-image-wrapper img{ width: 100%; height: 80%; border-radius: 5px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .profile-content-wrapper{ height: 80%; border-radius: 5px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); text-align: center; background-color:#F2F3F4; } .profile-content-wrapper h3{ color:black; } .content-wrapper{ padding : 50px; /* font-family: 'Trebuchet MS', sans-serif; */ /* padding-top: 200px; */ box-sizing: border-box; align-items: center; } .para1{ text-align: center; color: black; font-weight: 800; } h3{ padding: 30px; margin-left: 30px; padding-bottom: 20px; } h2{ text-align: center; } h4{ text-align: center; } .contact-container{ width: 85%; align-items: center; background: #fff; border-radius: 6px; padding: 20px 50px 30px 40px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); margin-left: 100px; } .contact-container .contact-content{ display: flex; align-items: center; justify-content: space-between; } .contact-container .contact-content .left-side{ width: 25%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 15px; position: relative; } .contact-content .left-side::before{ content: ''; position: absolute; height: 70%; width: 2px; right: -15px; top: 50%; transform: translateY(-50%); background: #afafb6; } .contact-content .left-side .details{ margin: 14px; text-align: center; } .contact-content .left-side .details i{ font-size: 30px; color: #3e2093; margin-bottom: 10px; } .contact-content .left-side .details .topic{ font-size: 18px; font-weight: 500; } .contact-content .left-side .details .text-one, .contact-content .left-side .details .text-two{ font-size: 14px; color: #afafb6; } .contact-container .contact-content .right-side{ width: 75%; margin-left: 75px; } .contact-content .right-side .topic-text{ font-size: 23px; font-weight: 600; color: #3e2093; } .right-side .input-box{ height: 50px; width: 100%; margin: 12px 0; } .right-side .input-box input, .right-side .input-box textarea{ height: 100%; width: 100%; border: none; outline: none; font-size: 16px; background: #F0F1F8; border-radius: 6px; padding: 0 15px; resize: none; } .right-side .message-box{ min-height: 110px; } .right-side .input-box textarea{ padding-top: 6px; } .right-side .button{ display: inline-block; margin-top: 12px; } .right-side .button input[type="button"]{ color: #fff; font-size: 18px; outline: none; border: none; padding: 8px 16px; border-radius: 6px; background: #3e2093; cursor: pointer; transition: all 0.3s ease; } .btnn{ background: #5029bc; } .button input[type="button"]:hover{ background: #5029bc; } @media (max-width: 950px) { .contact-container{ width: 90%; padding: 30px 40px 40px 35px ; } .contact-container .content .right-side{ width: 75%; margin-left: 55px; } } @media (max-width: 820px) { .contact-container{ margin: 40px 0; height: 100%; } .contact-container .content{ flex-direction: column-reverse; } .contact-container .content .left-side{ width: 100%; flex-direction: row; margin-top: 40px; justify-content: center; flex-wrap: wrap; } .contact-container .content .left-side::before{ display: none; } .contact-container .content .right-side{ width: 100%; margin-left: 0; } } /*FOOTER */ .footer-container{ background-color:#212329; padding:2rem 0 1rem 0; font-size: medium; } .footer{ width:80%; background-color:#212329; color:white; display:flex; justify-content: center; flex-wrap: wrap; margin:0 auto; } .footer-heading{ display:flex; flex-direction: column; margin-right: 4rem; } .footer-heading h2{ margin-bottom: 2rem; } .footer-heading a{ color:white; text-decoration: none; margin-bottom:0.5rem; } .footer-heading a:hover{ color:#6495ED; transition: 0.3s ease-out; } .footer-email-form h2{ margin-bottom: 2rem; } #footer-email { width:250px; height:40px; border-radius: 4px; outline: none; border: none; padding-left: 0.5rem; font-size: 1rem; margin-bottom:1rem; } #footer-email::placeholder{ color:#b1b1b1; } #footer-email-btn{ width: 100px; height: 40px; border-radius: 4px; background-color:#6495ED; outline: none; border: none; color:#fff; font-size: 1rem; } #footer-email-btn:hover{ cursor: pointer; background-color: #337AF1; transition: all 0.4s ease-out; } @media screen and (max-width:1150px){ .footer{ height: 50vh; } .footer-email-form{ margin-top:4rem; } } @media screen and (max-width:820px){ .footer{ padding-top: 4rem; } } @media screen and (max-width:720px){ .footer-3{ display:none; } .footer-email-form{ margin-top:2rem; } } .copyright { display: flex; justify-content: center; margin: 1rem auto 0 auto; padding-top: 1rem; border-top: grey 1px solid; width: 80%; color: white; font-family: 'lato',sans-serif; } #myBtn { display: none; position: fixed; bottom: 20px; right: 30px; z-index: 99; font-size: 18px; border: none; outline: none; background-color: blue; color: white; cursor: pointer; padding: 15px; border-radius: 4px; } #myBtn:hover { background-color: #555; } .color{ background-color: azure; }