/* main block - the first block on the main page */
.main-block{
    position: relative;
    overflow: hidden;
    padding-top: 70px
}

.main-slider .item{
    overflow: hidden;
    height: 720px;
    z-index: 2;
    border-radius: var(--size-2);
    border: 6px solid var(--green)
}
.main-slider .item .text{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    max-width: 50%;
    color: var(--white);
    margin-left: var(--size-3)
}
.main-slider .item .text p, .main-slider .item .text .btn{
    margin-top: var(--size-2)
}

/* end of main block */


/* about */
.about{
    margin-top: var(--section-distance)
}
.about h3{
    color: var(--primary-color)
}
.about-content ul{
    display: flex;
    flex-wrap: wrap;
    row-gap: 8px
}
.about-content ul li{
    width: 50%;
    padding-right: 24px;
    margin-top: 0!important
}
.about-content{
    display: flex;
    gap: 138px
}
.about-content .media{
    min-width: 340px;
    height: fit-content;
    border-radius: var(--size-2)
}
.about .line{
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: var(--size-2)
}
.about .gallery{
    margin-top: var(--size-2)
}
.about .gallery .img-container{
    border-radius: var(--size-1)
}
/* end of about */

/* product */
.product{
    margin-top: var(--section-distance)
}
.product__item{
    padding: var(--size-1);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.25);
    border-radius: var(--size-2);
    height: 100%
}
.product__item .img-container,
.slider-track img
{
    border-radius: var(--size-1);
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex
}
.product__item h3{
    text-align: center
}
.product__item .line{
    width: 38px;
    height: 3px;
    background-color: var(--primary-color);
    margin: var(--size-1) auto 0
}
/* end of product */


/* contact */
.contact address{
    margin-top: var(--size-2)
}
address a{
    display: block;
    position: relative;
    padding-left: 30px;
    color: var(--text-color)
}
address a:hover{
    color: var(--secondary-color)
}
address a:not(:first-child), address p:not(:first-child){
    margin-top: var(--size-1)
}
address a.email:before{
    content: '';
    width: 19px;
    height: 15px;
    background: url('../img/icons/email.svg') no-repeat;
    background-size: contain;
    position: absolute;
    top: 6.5px;
    left: 0
}
address a.tel:before{
    content: '';
    width: 18px;
    height: 18px;
    background: url('../img/icons/tel.svg') no-repeat;
    background-size: contain;
    position: absolute;
    top: 5px;
    left: 0
}
address a.location:before{
    content: '';
    width: 14px;
    height: 18px;
    background: url('../img/icons/location.svg') no-repeat;
    background-size: contain;
    position: absolute;
    top: 4.5px;
    left: 0
}
.contact .grid-2{
    gap: 0
}
.contact .grid-2 .div:first-child{
    padding-right: var(--size-2)
}
.contact h3{
    max-width: 400px
}
.contact .content{
    border: 3px solid var(--primary-color);
    border-radius: var(--size-2)
}
.contact .content .text{
    padding: var(--size-3) 0;
    position: relative
}
.contact{
    margin-top: var(--section-distance)
}
.contact .media{
    position: relative
}
.contact .media img{
    position: absolute;
    left: var(--size-3);
    bottom: 0;
	height: 355px
}
.contact .text .decor-1{
    width: 44%;
    height: 100%;
    background: var(--primary-color);
    position: absolute;
    top: 0;
    right: 0;
    clip-path: polygon(53% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    border-radius: 0 var(--size-2) var(--size-2) 0
}
.contact .text .decor-2{
    width: 40%;
    height: 100%;
    background: var(--secondary-color);
    position: absolute;
    top: 0;
    right: 0;
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    border-radius: 0 var(--size-2) var(--size-2) 0
}
.contact .text p:last-child{
    margin-top: 5px
}
.contact a.credits{
    position: absolute;
    bottom: var(--size-1);
    right: var(--size-2);
    color: var(--primary-color);
    text-decoration: underline
}

/* end of contact */