*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.maincontent{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    grid-gap:2rem;
}

.main{
    background-color: #f0ffff;
    width: 360px;
    margin: 2rem auto;
    height: 560px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 1);
    border-radius: 50px;
    overflow: hidden; /*ลบเหลี่ยมกรอบรูปเป็นเส้นโค้ง*/
}
.img{
    height: 250px;
    background-color: #f0ffff;
    overflow: hidden;
}
.img img{
    width: 100%;
    height: 100%;
}
.content{
    text-align: center;
    border-bottom: 2px solid #0af1445f ; /*ขีดเส้นด้านล่าง*/
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /*ใส่คำสั่งนี้เพิ่มไม่ต้องสร้างกล่อง div center ที่ html เพิ่ม*/
    padding: 1rem;
}
.content h3{
    border-bottom: 1px solid #e5e5e5 ;
}
.content h1{
    margin: 1rem 0;
}
.content p{
    color: #9f9f9f9f;
}
.footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(57, 103, 75);
    height: 60px;
}
.footer-Left{
    display: flex;
    align-items: center;
    padding-left: 1rem;
}
.footer p{
    padding-left: 0.5rem;
    color: #e5e5e5;
}
.footer-Left img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.footer-Right{
    padding-right: 2rem;
}
.footer-Right a{
    text-decoration: none;
    font-size: 16px;
    padding: 10px;
    border: 20px;
    color: #e5e5e5;
}
.Button{
    height: 30px;
    border-radius: 8px;
    background-color: #9f9f9f9f;
}
.footer-Right button:hover{
    background-color: black;
}