Server : LiteSpeed System : Linux in-mum-web1002.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u811747229 ( 811747229) PHP Version : 8.0.30 Disable Function : NONE Directory : /home/u811747229/domains/lakshiagrichem.com/public_html/ |
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;300;400;600;700;900&display=swap');
:root {
--primary-color: #f2fadf;
--secondary-color: #0458a7;
--tertiary-color: #a2d110;
--yellow-color: #ffb900;
--gray-color: #808080;
}
* {
box-sizing: border-box;
font-family: 'Source Sans Pro', sans-serif;
line-height: 1;
padding: 0;
margin: 0;
}
.container {
background-color: var(--primary-color);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.box {
background-color: white;
border-radius: 10px;
box-shadow: 5px 5px 10px 1px rgb(0, 0, 0, 12%);
padding: 45px;
margin: 15px 0;
width: 950px;
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: auto 1fr;
grid-template-areas:
"images info"
"images description";
grid-gap: 35px;
}
.box .images {
grid-area: images;
display: grid;
grid-template-columns: repeat(3, auto);
grid-template-rows: auto 1fr;
grid-template-areas:
"active active active"
"idle idle idle";
grid-gap: 5px;
}
.box .images .img-holder img {
width: 100%;
display: block;
border-radius: 10px;
}
.box .images .img-holder.active {
grid-area: active;
}
.box .images .img-holder:not(.active):hover {
opacity: 0.95;
cursor: pointer;
}
.box .basic-info {
grid-area: info;
display: flex;
flex-direction: column;
gap: 15px;
}
.box .basic-info .rate {
color: var(--yellow-color);
}
.box .basic-info span {
font-weight: 800;
font-size: 25px;
}
.box .basic-info .options a {
color: white;
background-color: var(--secondary-color);
display: inline-block;
padding: 10px 15px;
text-decoration: none;
font-weight: 600;
font-size: 12px;
border-radius: 5px;
transition: 0.3s;
}
.box .basic-info .options a:hover {
transition: 0.3s;
background-color: var(--tertiary-color);
}
.box .description {
grid-area: description;
display: flex;
flex-direction: column;
gap: 8px;
}
.box .description p {
color: var(--gray-color);
font-size: 16px;
line-height: 1.5;
}
.box .description .features {
margin-top: 5%;
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
color: var(--gray-color);
}
.box .description .features i {
margin-right: 5px;
}
.box .description .features .fa-circle-check {
color: var(--tertiary-color);
}
.box .description .features .fa-circle-xmark {
color: var(--yellow-color);
}
.box .description .social {
list-style: none;
display: flex;
}
.box .description .social a {
margin-right: 15px;
color: var(--gray-color);
}
.box .description .social a:hover {
color: var(--secondary-color);
}
@media (max-width: 991px) {
.box {
width: 750px;
grid-template-areas:
"info info"
"images description";
}
.box .basic-info .options a {
padding: 8.5px 12px;
}
}
@media screen and (max-width: 991px) and (min-width: 769px) {
.box .basic-info span {
position: absolute;
align-self: flex-end;
}
.box .basic-info .options {
position: absolute;
align-self: flex-end;
margin-top: 40px;
}
}
@media (max-width: 768px) {
.box {
width: 600px;
grid-template-areas:
"images info"
"description description";
}
.box .images {
gap: 3px;
}
.box .images .img-holder img {
border-radius: 5px;
}
}
@media (max-width: 640px) {
.box {
width: 100%;
min-height: 100vh;
border-radius: 0;
padding: 35px;
margin: 0;
grid-template-columns: 1fr;
grid-template-rows: repeat(3, auto);
grid-template-areas:
"images"
"info"
"description";
}
}