body{
    background-color: white;
    font-family: 'Barlow Semi Condensed', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    min-height: 100vh;
    background-color: white;
}
.main_container{
    margin: 100px 100px ;
    display: grid;
    grid-template-rows: 100px 100px;
    grid-template-columns: repeat(4 ,100px);
    gap: 20px;
    font-family: Barlow Semi Condensed;
    /* border: 2px solid rgb(255, 0, 0); */
    /* width: fit-content;
    height: fit-content; */
    /* max-width: 1200px;
    max-height: 1200px; */
  width: 1640px;
  height: 800px;
  margin: auto;
  margin-top: 100px;
}
.container_one{
    display: flex; /* Enable Flexbox for the container */
    flex-direction: column; /* Arrange items vertically */
    align-items: flex-start;
    /* border: 2px solid red; */
    border-radius: 15px;
    padding-left: 40px;
    padding-top: 20px;
    padding-bottom: 1px;
    grid-column: 1/3;
    grid-row: 1/2;
    min-height:360px ;
    min-width: 700px;
    background-color: hsl(263, 55%, 52%);
    color: hsl(214, 17%, 92%);
    position: relative;
    box-shadow: 20px 20px 100px rgb(158, 158, 158);
}
.name_one{
    
    display: flex;
    grid-template-columns: 10PX 100PX;
    column-gap: 10px;
    font-size: 10px;
    font-weight: 400;
    width: 200px;
    /* border: 2px solid black; */
    align-items: center;
    text-wrap: nowrap;
    margin-bottom: 20px;
    /* margin-left: 80px; */
}
.main_one{
    /* border: 2px solid black; */
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 1px;
    z-index: 3;
}
.body_one{
    /* border: 2px solid black; */
    justify-self: center;
    font-size: 10px;
    font-weight: 500;
}
.container_two{
    /* border: 2px solid blue; */
    border-radius: 15px;
    padding: 40px;
    grid-column: 3/4;
    grid-row: 1/2;
    min-height: 300px;
    min-width: 300px;
    margin-left: 580px;
    background-color: hsl(217, 19%, 35%);
    color: hsl(214, 17%, 92%);
    box-shadow: 30px 30px 100px rgb(155, 155, 155);
}
.name_two{
    font-size: 10px;
    font-weight: 400;
    display: flex;
    grid-template-columns: 10PX 100PX;
    column-gap: 10px;
    align-items: center;
}
.main_two{
    font-size: 20px;
    font-weight: 700;
}
.body_two{
    font-size: 18px;
    font-weight: 500;
}
.container_three{
    /* border: 2px solid green; */
    border-radius: 15px;
    padding: 40px;
    grid-column: 1/2;
    grid-row: 2/3;
    min-height: 300px;
    min-width: 300px;
    margin-top: 300px;
    background-color: hsl(214, 17%, 92%);
    color: hsl(217, 19%, 35%);
    box-shadow: 30px 30px 100px rgb(163, 163, 163);
}
.name_three{
    font-size: 10px;
    font-weight: 400;
    display: flex;
    grid-template-columns: 10PX 100PX;
    column-gap: 10px;
    align-items: center;
}
.main_three{
    font-size: 25px;
    font-weight: 700;
}
.body_three{
    font-size: 18px;
    font-weight: 600;
}
.container_four{
    /* border: 2px solid yellow; */
    padding: 40px;
    grid-column: 2/4;
    grid-row: 2/3;
    min-height:300px ;
    min-width: 700px;
    margin-top: 300px;
    margin-left: 300px;
    border-radius: 15px;
    background-color: hsl(219, 29%, 14%);
    color: hsl(0, 0%, 87%);
    box-shadow: 50px 50px 100px rgb(161, 161, 161);
}
.name_four{
    font-size: 10px;
    font-weight: 400;
    display: flex;
    grid-template-columns: 10PX 100PX;
    column-gap: 10px;
    align-items: center;
}
.main_four{
    font-size: 20px;
    font-weight: 700;
}
.body_four{
    font-size: 18px;
    font-weight: 500;
}
.container_five{
    border-radius: 15px;
    padding: 40px;
    grid-column: 4/5;
    grid-row: 1/3;
    min-height: 720px;
    min-width: 300px;
    margin-left: 900px;
    background-color: hsl(210, 100%, 99%);
    color: hsl(217, 19%, 35%);
    box-shadow: 50px 50px 100px rgb(189, 189, 189);
}
.name_five{
    font-size: 10px;
    font-weight: 400;
    display: flex;
    grid-template-columns: 10PX 100PX;
    column-gap: 10px;
    align-items: center;
}
.main_five{
    font-size: 20px;
    font-weight: 700;
}
.body_five{
    font-size: 19px;
    font-weight: 500;
}
img{
    border-radius: 100px;
    border: 4px solid  ;
}
.img1{
    border: 0px;
    justify-content: end;
    margin-left: 400px;
    height: 120px;
    width: 120px;
    border-radius: 0px;
    position: absolute;
    right: 80px;
    z-index: 2;
}
/* Media query for screens smaller than 1024px (typical tablet size) */
@media (max-width: 1024px) {
    .main_container {
        grid-template-columns: 1fr; /* Single column layout */
        grid-template-rows: auto; /* Adjust rows based on content */
        margin: 20px; /* Reduce margin */
        width: 100%; /* Take full width */
        height: auto; /* Adjust height based on content */
        
    }

    .container_one,
    .container_two,
    .container_three,
    .container_four,
    .container_five {
        grid-column: 1 / 2; /* Each container takes the full width */
        margin-left: 0; /* Reset left margin */
        margin-top: 20px; /* Add spacing between stacked items */
        min-width: auto; /* Adjust width to content */
        min-height: auto; /* Adjust height to content */
        padding: 20px; /* Adjust padding */
        MARGIN: 20px;
    }

  
    .container_three {
        margin-top: 20px; 
    }

    .container_four {
        margin-top: 20px; 
    }

    .container_five {
        grid-row: auto; 
        margin-top: 20px; 
    }

    .img1 {
        top: 20px;
        right: 20px; 
        height: 80px;
        width: 80px;
        margin-left: auto; 
    }

    .name_one,
    .name_two,
    .name_three,
    .name_four,
    .name_five {
        margin-bottom: 10px;
    }

    .main_one,
    .main_two,
    .main_three,
    .main_four,
    .main_five {
        font-size: 1.2rem; 
        line-height: 1.3;
    }

    .body_one,
    .body_two,
    .body_three,
    .body_four,
    .body_five {
        font-size: 0.9rem; 
        line-height: 1.5;
    }
}

/* Optional: Further adjustments for even smaller screens (e.g., mobile)
@media (max-width: 600px) {
    .main_container {
        margin: 10px;
    }

    .container_one,
    .container_two,
    .container_three,
    .container_four,
    .container_five {
        padding: 15px;
    }

    .img1 {
        height: 60px;
        width: 60px;
        right: 15px;
        top: 15px;
    }

    .main_one,
    .main_two,
    .main_three,
    .main_four,
    .main_five {
        font-size: 1rem;
    }

    .body_one,
    .body_two,
    .body_three,
    .body_four,
    .body_five {
        font-size: 0.8rem;
    }
} */