*{
    margin: 0;
    padding: 0;
}

html{
    font-size: 20px;
}

a{
    color: white;
    text-decoration: none;
}

.main-grid{
    display: grid;
    grid-template-columns: 1fr repeat(2, minmax(auto, 20rem)) 1fr;
}

header{
    height: 100vh;
    background-image: url("https://i.infocar.ua/i/12/6241/1200x800.jpg");
    grid-column: 1/-1;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 0 0 1000000px rgba(0, 0, 0, 0.5);
}

nav{
    height: 5rem;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    align-items: center;
}
.logo{
    height: 100%;
}
.menu ul{
    list-style: none;
    display: flex;
}

.menu li a{
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.menu li{
    padding: 1rem 2rem;
}

.menu li a:hover{
    color: black;
    transition: .9s;
}
.banner{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    color: white;
}

.banner h1{
    font-size: 3rem;
}

.banner p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 40%;
    padding: 2.5rem 0;
}

.button{
    background: rgba(0, 0, 0, 0.5);
    padding: 0.7rem 2.5rem;
    border-radius: 0.5rem;
    transition: transform 0.5s;
}

.button:hover{
    transform: scale(1.2);
}

.clothes{
    grid-column: 2/-2;
    height: 15vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 100px 0 150px;
}

.clothes p{
    padding: 20px;
    text-align: center;
}

.tiles{
    grid-column: 2/-2;
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    grid-gap: 40px;
    margin-bottom:100px;
}

.item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    grid-column: 1/-1;
    grid-row: 1/-1;
}

.item{
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: 1;
    overflow: hidden;
}

.itemOverlay{
    grid-column: 1/-1;
    grid-row: 1/-1;
    z-index: 2;
    background-color:rgba(0, 0, 0, 0.4) ;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.item:hover img{
    transform: scale(1.2);
    transition: transform 0.5s;
}

footer {
    background-color: black;
    color: white;
    grid-column: 1/-1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
}

footer a{
    margin: 0 10px;
    transition: color 1s;
}

footer a:nth-child(1):hover{
    color: blue;
}
footer a:nth-child(2):hover{
    color: orange;
}
footer a:nth-child(3):hover{
    color: purple;
}

.shop_header{
    height: 60vh;
    background-image: url("https://imgd.aeplcdn.com/1200x900/n/cw/ec/20865/amg-gt-exterior-right-front-three-quarter-60800.jpeg?q=75");
}
.shop_tiles{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-row-gap: 100px;
    grid-column-gap: 20px;
    grid-column: 2/-2;
    margin-bottom: 90px;
}
.shop_item img{
    object-fit: cover;
    width: 100%;
}

.shop_item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.shop_item a{
    background-color: black;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    border-radius:20px;
}

.about_header{
    background-image: url("https://s.rdrom.ru/1/pubs/4/29703/1542059.jpg");
}

.description{
    grid-column: 2/-2;
    display: flex;
    flex-direction: column;
    height: 30vh;
    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;
}

.contentInfo{
    grid-column: 2/-2;
    height: 15vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 30px;
    margin-bottom: 100px;
    text-align: center;
}

.teamTiles{
    grid-column: 2/-2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 100px;
    margin-bottom: 20px;
}

.teamItem img{
    width: 100%;
    object-fit: cover;
}

.teamItem{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teamItem h4{
    font-size: 24px;
}

.teamItem p{
    color: gray;
}