* {
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    font-size: 24px;
}

/* Головна сітка */

.main-grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, minmax(auto, 25em)) 1fr;
}

header {
    height: 100vh;
    background-image: url("images/header_back.jpg");
    grid-column: 1 / -1;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    color: white;
}

/* Блок навігації */

nav {
    height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
}

.logo {
    height: 100%;
}

a {
    color: white;
    text-decoration: none;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li {
    padding: 1em 2em;
}

.menu ul li a:hover {
    color: rgb(216, 140, 0);
    transition: 0.9s;
}

/* Банер */

.banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

.banner h1 {
    font-size: 72px;
}

.banner p {
    font-size: 22px;
    width: 40%;
    text-align: center;
    padding: 50px 0;
}

.button {
    background-color: orange;
    padding: 15px 50px;
    border-radius: 5px;
}

.button:hover {
    background-color: rgb(216, 140, 0);
    transition: 0.9s;
}

/* Сітка з категоріями */

.clothes {
    grid-column: 2 / -2;
    height: 15vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding-top: 150px;
    padding-bottom: 100px;
}

.clothes p {
    text-align: center;
    padding: 20px;
}

.tiles {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.item {
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: 1;
    overflow: hidden;
}

.item img {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item_overlay {
    background-color: rgba(0, 0, 0, 0.5);
    grid-column: 1 / -1;
    grid-row: 1 / -1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.item:hover .item_img {
    transform: scale(1.15);
    transition: 0.5s;
}

/* Футер */

footer {
    background-color: black;
    color: white;
    grid-column: 1 / -1;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

footer p {
    padding: 30px 0;
}

.social_contacts {
    display: flex;
    width: 10vw;
    justify-content: space-around;
}

.social_contacts a:hover {
    color: orange;
    transition: 0.9s;
}