body {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  display: block;
}
a {
text-decoration: none;
color: inherit;
cursor: pointer;
margin: 0;
padding: 0;
}

.contact-web{
  width: 100%;
}
.main-contact{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 132px;
}
.contact-tittle{
height: 52px;
font-size: 40px;
font-family: Microsoft YaHei, Microsoft YaHei-Bold;
font-weight: 700;
text-align: left;
color: #000000;
}
.contact-details{
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 46px;
  flex-wrap: wrap;
  gap: 2.5rem;
  
}
.contact-box{
width: 350px;
height: 300px;
border: 2px solid #d9d9d9;
display: flex;
flex-direction: column;
align-items: start;
justify-content: space-around;
padding: 20px;
overflow: hidden;


}
.contact-box:hover{
  border-color: #f10d0c;
}
.contact-icon{
width: 62px;
}
.contact-name{
font-size: 22px;
font-family: Source Han Sans CN, Source Han Sans CN-Light;
font-weight: 300;
text-align: left;
color: #8e8e8e;
}
.contact-intro{
  width: 90%;
font-size: 16px;
font-family: Source Han Sans CN, Source Han Sans CN-Regular;
font-weight: 400;
text-align: left;
color: #373737;
}
.contact-intro p{
  font-size: 10px;
}
.contact-box:hovor {
 border: 2px solid #f10d0c;
}
/* 响应式媒体查询 */
@media (max-width: 1200px) {

}

@media (max-width: 992px) {}

@media (max-width: 768px) {
  .contact-box{
    width: 80%;
    height: auto;
    gap: .9375rem;
  }
  .main-contact{
  padding-top: 50px;
  padding-bottom: 50px;
}
.contact-tittle{
font-size: 30px;

}
}

@media (max-width: 370px) {
}
.contact-box {
  transition: transform 0.3s;
}

.contact-box:hover {
  transform: scale(1.05);
}
.contact-icon {
  transition: transform 0.3s;
  border-radius: 50%;
}

.contact-box:hover .contact-icon {
  transform: rotate(180deg);
}
.contact-box:hover .contact-name{
  color: #f10d0c;
}
.contact-box:hover .contact-intro{
  color: #f10d0c;
}