*,
*::before,
*::after {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
max-width: 100%;
}
body {
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: rgb(77,130,138);
background: linear-gradient(90deg, rgba(77,130,138,1) 0%, rgba(56,149,71,1) 50%, rgba(119,217,144,1) 100%);
font-family: sans-serif;
}
main {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
padding: 40px 40px;
}
.card {
position: relative;
display: flex;
align-items: flex-end;
width: min(100%, 350px);
height: 500px;
padding: 30px 25px;
background:#fff;
box-shadow: 0px 7px 10px rgba(9, 9, 9, 0.5);
transition: all 0.5s ease;
border-radius: 45px;
}
.card:hover {

transform: translateY(20px);
}
.card:after {
content: "";
position: absolute;
top: 0;
left: 0;
display: block;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, Irgba(208, 195, 195, 0.5), rgb(227, 16, 16));
transition: all 0.5s;
opacity: 0;
border-radius: 40px;
}
.card:hover:after {
opacity: 1;
}
.card > img {
width: 100%;
height: 100%;
object-fit: cover;
position: absolute;
top: 0;
left: 0;
border-radius: 40px;
}
.card.info {
position: relative;
z-index: 3;
color: #fff;
opacity: 0;
transform: translateY (30px);
transition: all 0.5s;
}

.card:hover .info {
opacity: 1;
transform: translateY(0px);
}
.card.info h1 {
font-size: 1.4rem;

margin: 0;
}
.card.info p {
letter-spacing: 1px;
font-size: 0.9rem;
margin: 10px 0 25px;
line-height: 130%;
}
.card .info .btn {
text-decoration: none;
padding: 0.5rem 1rem;
background:#fff;
color: #4b5563;
font-size: 0.85rem;
font-weight: bold;
border-radius: 50px;
cursor: pointer;
transition: all 0.3s ease-in;
}
.card .info .btn:hover {
box-shadow: 0px 7px 10px Irgba(0, 0, 0, 0.5);
background-color: #4b5563;
color: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
    }
    .header::before {
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(250, 250, 251, 0.1);
    backdrop-filter: blur (50px);
    z-index: -1;
    }
    .header::after {
    content: "";
    top: 0;
    left: -100%;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent );
    transition: 0.8s;
    }
    .header:hover::after {
    left: 100%;
    }
    .logo {
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        }
        .nav-item {
        position: relative;
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        line-height: 25px;
        letter-spacing: -0.13px;
        text-decoration: none;
        margin-left: 2.5rem;
        transition: all 0.5s ease;
        }
        .nav-item:hover {
        color: skyblue;
        }
        .icons {
        position: absolute;
        right: 5%;
        font-size: 2.3rem;
        color: #fff;
        cursor: pointer;
        display: none;
        }
        #check {
        display: none;
        }
