.module1-mkrfrm,.module2-mkrfrm,.module3-mkrfrm,.module4-mkrfrm{
  justify-items: center;
}

/*==================module1================*/
.module1-toptitle {
  width: 450px;
  background-color: rgb(4, 122, 122);
  font-size: 24px;
  color: white;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  line-height: 45px;
  text-align: center;
}

.module1-container {
  background-color: rgb(82, 160, 160);
  display: grid;
  width: 450px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 10px;
  border-radius: 0 0 10px 10px;
}

.module1-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.module1-link {
  text-decoration: none;
  color: #333;
  display: block;
}

.module1-image {
  width: 100%;
  object-fit: cover;
}

.module1-title {
  font-size: 16px;
  text-align: center;
  line-height: 30px;
  font-weight: bold;
}

/*==============module2=================*/
.module2-toptitle {
  width: 450px;
  background-color: rgb(6, 88, 211);
  font-size: 24px;
  color: white;
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  line-height: 45px;
  text-align: center;
}

.module2-container {
  display: grid;
  width: 450px;
  background-color: rgb(143, 174, 243);
  border-radius: 0 0 10px 10px;
}

.module2-card {
  overflow: hidden;
  transition: transform 0.2s;
  background-color: #fff;
  margin: 10px;
  border-radius: 10px;
}

.module2-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.module2-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  margin: 10px;
}

.module2-title {
  font-size: 16px;
  font-weight: bold;
}

/*==========module3===============*/
.module3-container {
  background: #f0a5f5;
  padding: 12px;
  border-radius: 10px;
  width: 450px;
  margin-bottom: 20px;
}

.module3-list {/*ul*/
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.module3-item {/*li*/
  line-height: 1; 
  margin: 2px 0 !important;
  border-radius: 10px;
}

.module3-link {
  display: flex; 
  align-items: center; 
  font-size: 14px;
  line-height: 20px;
  padding: 10px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
}

/*==========module4===============*/
.module4-container {
  background: #e6d88d;
  padding: 12px;
  border-radius: 10px;
  width: 450px;
  margin-bottom: 20px;
}

.module4-list {/*ul*/
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.module4-item {/*li*/
  line-height: 1; 
  margin: 2px 0 !important;
  border-radius: 10px;
}

.module4-link {/*a*/
  display: flex; 
  align-items: center; 
  font-size: 14px;
  line-height: 20px;
  padding: 10px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
}

.module4-image {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  margin-right: 5px;
}

