@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans&display=swap');

* {
    margin: 0;
    padding: 0;
}

.applelogo {
    width: 180px;
}

.header {
    background-color: rgb(255, 255, 255);
    height: 80px;
    align-items: center;
    display: flex;
}

.texthead ul {
    font-size: 22px;
    font-family: 'Merriweather Sans', sans-serif;
    display: flex;
    list-style: none;
    margin-left: 300px;
}

.texthead p {
    color: rgb(234, 92, 4)
}

.texthead a {
    color: black;
    display: flex;
    align-items: center;
    text-decoration: dashed;
}

.texthead li {
    font-weight: 900;
    display: flex;
    padding: 0 15px;
}

.texthead li:hover {
    height: 80px;
    background-color: rgba(171, 171, 172, 0.356);
}

.texthead img {
    width: 50px;
}




/* banner iphone14pm */
.block1_1 {
    height: 600px;
    width: 100%;
    background-color: black;
}

.block1_2 {
    margin: auto;
    height: 600px;
    max-width: 1600px;
}

.block1 {
    height: 600px;
    display: flex;
    justify-content: end;
}

.ip14text p {
    width:fit-content;
    color: rgb(255, 255, 255);
    position:relative;
    bottom: 460px;
    left: 350px;
    font-size: 50px;
    font-family: 'Merriweather Sans', sans-serif;
}

.block1 img {
    background-color: rgb(54, 17, 124);
    object-fit: contain;
    height: 100%;
}


.ip14text button {
    position: relative;
    background-color: rgb(234, 32, 4);
    color: white;
    border-radius: 9px;
    border-style: none;
    width: 165px;
    height: 55px;
    bottom: 270px;
    left: 490px;
    font-size: 16px;
}

.ip14text button:hover {
    background-color: rgba(234, 31, 4, 0.77);
    cursor: pointer;
}







/* Товары */

.catbox {
    display: flex;
    flex-wrap: wrap;
    background-color: rgb(255, 255, 255);
    width: 100%;
}



.catitem img {
    max-width: 160px;

}

.catitem:hover {
    background-color: rgba(102, 102, 102, 0.144);
    cursor: pointer;
}

.catitem{
    flex: 1 1 25%;
    padding: 40px;
    border: 1px rgb(158, 157, 157) solid;
    width: 20%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 16px
}


.foot {
    background-color: rgb(36, 36, 36);
    height: 150px;
    display: flex;
    align-items: center;
}

.foot p{
    margin-left: 50px;
    color: white;
    font-size: 20px;
    font-family: 'Merriweather Sans', sans-serif;
}




/* IPHONE ALL */

.iphone_all {
    display: flex;
    flex-wrap: wrap;
    background-color: rgb(255, 255, 255);
    width: 100%;
}

.ip_item{
    flex: 1 1 25%;
    padding: 40px;
    border: 1px rgb(158, 157, 157) solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 16px
}

.ip_item img {
    max-width: 160px;
}

.ip_item button {
    display: none;
    background-color: chocolate;
}

.ip_item:hover {
    border: 2px rgb(158, 157, 157) solid;
}

.ip_item:hover button{
    width: 80px;
    height: 25px;
    display: block;
    color: white;
    border-radius: 5px;
    border-style: none;
    cursor: pointer;
}