body{
    margin:0;
}
*{
    scroll-behavior: smooth;
}
.tv{
    display: grid;
    grid-template: 1fr / 1fr;
    background-color: brown;
    color: aliceblue;
    font-size: 20px;
    padding: 30px 30px;
    justify-content: space-between;
    text-transform:uppercase;
    text-align: center;
    height: 90vh;
    min-height: 500px;
    max-height: 1000px;
}

.main-tv{
    display: flex;
}

.picture{
    flex: 1;
    border: 10px solid #ffffff;
    box-shadow: inset 0px 0px 5px 30px  #000000;
    border-radius: 50px;
    background: url("../img/bg.jpg") ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.tv-nav{
    padding: 0 50px;
    margin-left:40px ;
    border: #000000 15px solid;
    background-color: #222222;
}

.tv-nav-list{
    list-style: none;
    margin: 50px 0;
    padding: 0;
    text-align: center;
}

.tv-nav-list-element{
    margin: 20px 0;
}

.tv-nav a , footer a{
    color: #ffffffd4;
    text-decoration: none;
    transition: all 0.2s;
}

.tv-nav a:hover , footer a{
    color: #fff;
}

.mark{
    margin-top: 50px;
}

.article-about{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255, 255, 255);
    color: rgb(0, 0, 0);
    padding: 50px;
    font-size: 20px;
    gap: 50px;
    font-weight: normal;
  
    border-radius: 40px;
}

.img-about{

    flex: 1;
}
.img-about > img{
    width: 100%;
}

.article-text{
    flex: 2;
}

#menu{
    display: grid;
    grid-template:1fr 1fr 1fr 1fr / 1fr 1fr 1fr 1fr;
    height: 100vh;
    max-height: 1000px;
    min-height: 800px;
    background-color: brown;
    color: #fff;
}
.position-menu{
    border:solid 2px #fff;
    text-align: center;
    padding: 15px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.position-main-menu{
    grid-column: 2/4;
    grid-row: 2/4;
    flex-direction: column;

}
.title-ofert{
    font-size: 35px;
    margin: 0;
}
.product-list{
    margin: 0;
    font-size: 25px;
}

.product-name{
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    
}
.product-list{
    display: grid;
    grid-template-columns: 1fr auto;
    justify-content: center;
    align-items: center;
}


.product-prince{
    font-size: 20px;
    margin: 10px 0;
    font-weight: 500;
}

.product-description{
    font-size: 15px;
    margin: 0;
    grid-column: 1/3;
}

#kontakt{
    display: flex;
    font-size: 20px;
    padding: 50px ;
    min-height: 500px;
    background-color: rgb(255, 255, 255);
}

#kontakt a{
    color: #000000;
        font-size: 18px;
}

.map-continer{
    flex: 1;
    margin-left: 20px;
}
.map{
    width: 100%;
    height: 100%;
    border: 0;
}
footer{
    text-align: center;
    background-color: brown;
    padding: 10px;
    color: #fff;   
}


@media (max-width:900px) {
    #menu{
        max-height: none;
        height: auto;
        grid-template: auto / 1fr;
        gap: 10px;
        background-color: transparent;
    }
    .position-main-menu{
        grid-column: 1/2;
        grid-row: 1/3;
    }
    .position-menu{
        background-color: brown;
    }
}
@media (max-width:700px) {
    .main-tv{
        flex-direction: column;
    }
    .picture{
        margin-bottom: 20px;
    }
    .tv-nav{
        margin: 0;
    }
    #kontakt{
        flex-direction: column;
    }
    .map-continer{
        margin: 0;
    }
    .article-about{
        flex-direction: column;
        padding: 20px;
        gap: 5px;
    }
}

@media (max-width:350px) {
    .tv{
        height: auto;
        padding: 10px;
    }
    .picture{
        height: 200px;
        flex: auto;
    }
    .tv-nav{
        padding: 5px;
    }
}