Style
Style
Style
family=Poppins:wght@100;300;400;500;600&display=swap");
* {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
outline: none;
border: none;
text-decoration: none;
text-transform: capitalize;
-webkit-transition: .2s linear;
transition: .2s linear;
}
html {
font-size: 62.5%;
overflow-x: hidden;
scroll-behavior: smooth;
scroll-padding-top: 4rem;
}
html::-webkit-scrollbar {
width: 1rem;
}
html::-webkit-scrollbar-track {
background: transparent;
}
html::-webkit-scrollbar-thumb {
background: #e67e22;
border-radius: 5rem;
}
section {
padding: 5rem 9%;
}
.heading {
padding-bottom: 2rem;
text-align: center;
font-size: 3.5rem;
color: #130f40;
}
.heading span {
color: #e67e22;
}
.btn {
display: inline-block;
margin-top: 1rem;
padding: .8rem 2.8rem;
border-radius: 5rem;
border-top-left-radius: 0;
border: 0.2rem solid #130f40;
cursor: pointer;
background: none;
color: #130f40;
font-size: 1.7rem;
overflow: hidden;
z-index: 0;
position: relative;
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: #130f40;
z-index: -1;
-webkit-transition: .2s linear;
transition: .2s linear;
-webkit-clip-path: circle(0% at 0% 5%);
clip-path: circle(0% at 0% 5%);
}
.btn:hover::before {
-webkit-clip-path: circle(100%);
clip-path: circle(100%);
}
.btn:hover {
color: #fff;
}
@-webkit-keyframes fadeIn {
0% {
-webkit-transform: translateY(3rem);
transform: translateY(3rem);
opacity: 0;
}
}
@keyframes fadeIn {
0% {
-webkit-transform: translateY(3rem);
transform: translateY(3rem);
opacity: 0;
}
}
.header {
background: #fff;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 2rem 9%;
-webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
-webkit-transform: translateY(-10rem);
transform: translateY(-10rem);
}
.header.active {
-webkit-transform: translateY(0rem);
transform: translateY(0rem);
}
.header .logo {
font-size: 2.5rem;
color: #130f40;
font-weight: bolder;
}
.header .logo i {
color: #e67e22;
}
.header .navbar a {
margin: 0 1rem;
font-size: 1.7rem;
color: #666;
}
.header .icons a,
.header .icons div {
font-size: 2.5rem;
margin-left: 1.5rem;
color: #130f40;
cursor: pointer;
}
.header .login-form {
position: absolute;
top: 120%;
right: 2rem;
width: 35rem;
border-radius: 1rem;
background: #fff;
-webkit-box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
padding: 2rem;
display: none;
}
.header .login-form.active {
display: block;
-webkit-animation: fadeIn .4s linear;
animation: fadeIn .4s linear;
}
.header .login-form h3 {
color: #130f40;
font-size: 2.5rem;
padding-bottom: .5rem;
}
#menu-btn {
display: none;
}
.home {
min-height: 100vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
background: url(../image/home_bg_img.jpg) no-repeat;
background-position: center;
background-size: cover;
position: relative;
}
.home .content {
width: 50rem;
}
.home .content h3 {
font-size: 6rem;
color: #fff;
padding-bottom: 1rem;
}
.home .wave {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 12rem;
}
.about {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
gap: 2rem;
}
.about .image {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
}
.about .content {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
}
.about .content h3 {
color: #130f40;
font-size: 4rem;
}
.about .content p {
font-size: 1.6rem;
color: #666;
padding: 1rem 0;
line-height: 2;
}
.dog-food,
.cat-food {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
padding: 2rem 0;
}
.dog-food .image,
.cat-food .image {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
}
.dog-food .content,
.cat-food .content {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
text-align: center;
padding: 2rem;
}
.dog-food .content p,
.cat-food .content p {
padding: 1rem 0;
line-height: 2;
color: #666;
font-size: 1.6rem;
}
.cat-food {
-ms-flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
}
.shop .box-container {
display: -ms-grid;
display: grid;
-ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
gap: 1.5rem;
}
.services .box-container {
display: -ms-grid;
display: grid;
-ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
gap: 1.5rem;
}
.plan .box-container {
display: -ms-grid;
display: grid;
-ms-grid-columns: (minmax(30rem, 1fr))[auto-fit];
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
gap: 1.5rem;
}
.contact {
padding: 2rem 0;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
gap: 3rem;
}
.contact .image {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
}
.contact form {
-webkit-box-flex: 1;
-ms-flex: 1 1 40rem;
flex: 1 1 40rem;
padding: 2rem 7%;
}
.contact form h3 {
font-size: 3rem;
padding-bottom: 1rem;
color: #130f40;
}
.footer {
position: relative;
background: url(../image/footer_background.jpg) no-repeat;
background-position: center;
background-size: center;
padding-top: 10rem;
padding-bottom: 2rem;
}
.footer img {
position: absolute;
top: 0;
left: 0;
height: 10rem;
width: 100%;
}
.footer .share {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
gap: 1.5rem;
}
.footer .share a {
color: #fff;
border-color: #fff;
}
.footer .share a i {
padding-right: .5rem;
}
.footer .credit {
text-align: center;
color: #fff;
font-size: 2rem;
padding: 2rem 1rem;
margin-top: 2.5rem;
}