* {
    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: 60vh;
    background-position: center center;
    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;
}

.shop_header {
    background-image: url("images/shop_header_back.jpg");
}

.about_header {
    background-image: url("images/about_header_back.jpg");
}

.contacts_header {
    background-image: url("images/contacts_header_back.jpg");
}

/* Блок навігації */

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;
}


.discription{
    grid-column: 2/-2;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 70px 0;
    padding-right: 15vw;
}

.discription hr{
    width: 200px;
    height: 3px;
    border: none;
    background-color: black;
}


.discription p{
    font-size: 20px;
}

.contacts_block {
    grid-column: 2 / -2;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 150px 0;
}

.contacts_block a {
    color: black;
}

.contacts_block a:hover {
    color: darkorange;
    transition: 0.9s;
}

/* Сітка з категоріями */

.contantInfo {
    grid-column: 2 / -2;
    height: 15vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding-top: 150px;
    padding-bottom: 100px;
}

.contantInfo p {
    text-align: center;
    padding: 20px;
}

.tiles {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 100px;
}

.tiles .item {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    font-size: 18px;
}

.tiles .item p{
    text-align: center;
    margin: 25px;
}

.tiles .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.button{
    background-color: black;
    padding: 10px 50px;
}
.button:hover{
    background-color: rgb(246, 255, 0);
    transition: 0.5s;
}

.tiles_time{
    grid-column: 2/-2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.tiles_time .item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
}

.tiles_time .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.team_name{
    font-size: 24px;
     margin: 25px 0;
}

.position{
    color: grey;
}

.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;
}

.contact_form {

}


/* Футер */

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;
}