* {
    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;
}

.description {
    grid-column: 2 / -2;
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 70px 0;
    padding-right: 15vw;
}

.description hr {
    width: 200px;
    height: 3px;
    border: none;
    background-color: black;
}

.description 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;
    /* text-decoration: underline; */
    transition: 0.9s;
}

/* Сітка з категоріями */

.contentInfo {
    grid-column: 2 / -2;
    height: 15vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    padding-top: 75px;
    padding-bottom: 100px;
}

.contentInfo 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-items: 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;
    border-radius: 7px;
}

.button:hover {
    background-color: rgb(227, 147, 0);
    transition: 0.9s;
}

.tiles_team {
    grid-column: 2 / -2;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 100px;
    margin-bottom: 100px;
}

.tiles_team .item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    font-size: 18px;
}

.tiles_team .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.team_name {
    font-size: 24px;
    margin: 25px 0;
}

.position {
    color: gray;
}

.contact_form {
    grid-column: 2 / -2;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
} 

.contact_form input {
    width: 100%;
    padding: 20px 5px;
    margin: 30px 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid black;
    font-size: 18px;
}

.contact_form input:focus {
    outline: none;
}

#send_button {
    width: 300px;
    background-color: black;
    color: white;
    border-radius: 40px;
    align-self: center;
}

#send_button:hover {
    cursor: pointer;
    background-color: rgb(31, 31, 31);
}

.map_desc {
    grid-column: 2 / -2;
    padding-top: 100px;
}

iframe {
    grid-column: 1 / -1;
    width: 100%;
    height: 50vh;
    margin-top: 20px;
}

/* Футер */

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;
}