*{
    margin: 0;
    padding: 0;
}

ul, ol, li {
    list-style: none;
}

a, a:active, a:hover, a:link {
    text-decoration: none;
    color: #333;
}

input, button, select, textarea {
    outline: none;
}

img {
    width: 100%;
    height: 100%;
    display: block;
}

/* 头部内容样式 :5、相对定位 6、把行标签变成弹性盒子 7、在容器中央对齐弹性项目  */
.header {
    width: 1200px;
    height: 60px;
    background-color: skyblue;
    margin: 0 auto;
    position: relative;        /* 相对定位 */
    display: flex;             /* 把行标签变成弹性盒子 */
    justify-content: center;   /* 在容器中央对齐弹性项目 */
    align-items: center;       /* 是Flexible Box 布局模块的子属性,项目在横轴方向居中对齐，像羊肉串 */
    font-size: 30px;
    font-weight: 700;
    color: #fff;

}

.header > p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    font-size: 20px;
    display: none;
}

.header > p.active {
    display: block;
}


