@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400");

*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: border-box;
}

/* ================= VARIABLE ================ */
:root {
    --primary-color: hsl(0, 0%, 1%); /* Beige clair */
    --primary-color-alt: hsl(24, 27%, 27%); /* Beige foncé */
    --second-color: #ffffff;
    --second-color-alt: hsla(0, 0%, 100%, 0.65);
    --third-color: hsl(220, 5%, 12%);
    --white-color: #ffffff;
    --white-color-alt: hsl(24, 27%, 27%);
    --dark-color: rgb(206, 184, 155);
  }

/* ================= BASE ==================== */
li {
list-style: none;
}
a {
    text-decoration: none;
    color: rgb(104, 104, 104);

}

a :hover{
    transition: all 0.3s;
    color: black;
}

img {
width: 70%;

}
.bx {
font-size: 2.5rem;
}
.container {
padding: 0 2rem;
}

/* -- BODY -- */
body {
font-family: "Raleway", sans-serif;
font-size: 1rem;
background-color: var(--white-color);
}


/* ================= MAIN ================ */

/* -------- HOME SECTION -------------- */
.section-1 {
background-color: var(--dark-color);
display: flex;
align-items: center ;

}

/* .home-computer-container {} */

.slogan .company-title {
background: -webkit-linear-gradient(
120deg,
var(--primary-color-alt),
var(--primary-color)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-top: 2rem;
font-size: 0.9rem;
font-weight: 600;
}
.slogan .company-slogan {
background: -webkit-linear-gradient(
120deg,
var(--primary-color-alt),
var(--primary-color)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-top: 1rem;
font-size: 0.7rem;
font-weight: 400;
line-height: 1rem;
}

/* -------- OFFER SECTION ------------- */
.section-2 {
margin: 2rem 0;
}
.offer {
background-color: var(--dark-color);
margin: 1rem 0;
display: grid;
}
.offer img {
background-color: var(--dark-color);
padding: 2rem 0;
}
.offer-1 img {
background-color: var(--dark-color);
padding: 3rem 0;
}
.offer-description {
background-color: var(--white-color-alt);
padding: 0 1rem;
}
.offer-description .offer-title {
color: var(--second-color);
font-size: 1.8rem;
font-weight: 400;
padding: 1.5rem 0 0.5rem 0;
}
.offer-description .offer-hook {
color: var(--second-color-alt);
font-size: 1.2rem;
}
.offer-description .cart-btn {
cursor: pointer;
color: var(--second-color-alt);
font-size: 1.1rem;
display: grid;
place-items: center;
margin: 2rem 0 1rem 0;
width: 10rem;
height: 3rem;
background-image: linear-gradient(
to top,
var(--primary-color-alt),
var(--primary-color)
);
}
.offer-description .cart-btn:hover {
background-image: linear-gradient(
to bottom,
var(--primary-color-alt),
var(--primary-color)
);
}

/* -------- SPONSOR SECTION ----------- */
.section-4 {
    display: flex;
}
.sponsor img {
    cursor: pointer;
    width: 40px;
    height: 40px;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: opacity 300ms;
}
.sponsor img:hover {
    /* filter: grayscale(0); */
    opacity: 1;
}

/* =============== MEDIA QUERIES ======= */

@media screen and (max-width: 768px) {
.container {
padding: 0 1rem;
}
}
@media (min-width: 769px) {


img {
    width: 100%;
    
    }
/* ================= MAIN ================ */

/* -------- HOME SECTION -------------- */
.section-1 {
justify-content: center;
gap: 10rem;
grid-template-columns: 1fr 1fr;
padding: 10rem 8rem 10rem 5rem;
}
.slogan .company-title {
max-width: 30rem;
font-size: 1.8rem;
letter-spacing: 0.5rem;
}
.slogan .company-slogan {
max-width: 20rem;
font-size: 1.3rem;
line-height: 1.6rem;
}




/* -------- OFFER SECTION ------------- */
.section-2 {
margin: 2rem 5rem;
}
.offer {
margin: 5rem 0;
justify-content: space-between;
grid-template-rows: auto auto;
}
.offer-1 {
grid-template-areas: "offer-1-img offer-desc-1";
}
.offer-1 img {
background-color: var(--dark-color);
padding: 2rem 0;
}
.offer-2 {
grid-template-areas: "offer-desc-2 offer-2-img";
}
.offer-1-img {
grid-area: offer-1-img;
}
.offer-2-img {
grid-area: offer-2-img;
}
.offer-desc-1 {
grid-area: offer-desc-1;
}
.offer-desc-2 {
grid-area: offer-desc-2;
}
.offer-description .offer-title {
font-size: 1.9rem;
padding: 1.5rem 0 0.5rem 0;
}
.offer-description .offer-hook {
max-width: 30rem;
}
.offer-description {
background-color: var(--white-color-alt);
padding: 2rem 1rem;
}
.offer-description .offer-title {
padding: 0.5rem 0 1rem 0;
}
.offer-description .cart-btn {
margin: 2rem 0 0.5rem 0;
}

/* -------- SPONSOR SECTION ----------- */
.section-4 {
margin: 5rem 0;
}

}


/* Lazy Load Styles */
.card-image {
	min-height: 20rem; /* layout hack */
	background: #fff center center no-repeat;
	background-size: cover;
	filter: blur(3px); /* blur the lowres image */
}

.card-image > img {
	width: 100%;
	opacity: 0; /* visually hide the img element */
}

.card-image.is-loaded {
	filter: none; /* remove the blur on fullres image */
	transition: filter 1s;
}

.card-list {
	display: flex;
	padding: 0;
	font-size: 0;
	text-align: center;
	list-style: none;
}

.card {
	width: 100%;
	max-width: 20rem;
	margin: 1rem;
	font-size: 0.9rem;
    font-family:"Raleway", sans-serif;
	text-decoration: none;
    color: white;
	overflow: hidden;
	transition: transform 0.1s ease-in-out, box-shadow 0.1s;
}

.card:hover {
	transform: translateY(-0.5rem) scale(1.0125);
	box-shadow: 0 0.5em 3rem -1rem rgba(0,0,0,0.5);
    border-radius: 10px;
}





