:root {
    --main-color: #bf8c4c;
    --secendory-color: #232323;
    --body-color: #828282;
    --border-color: #e4e4e4;
    --footer-bg: #212529;
}

body {
    font-family: "Roboto", sans-serif;
    color: var(--body-color);
}

.text-main {
    color: var(--main-color);
}

.bg-main {
    background-color: var(--main-color);
}

.text-second {
    color: var(--secendory-color);
}

.bg-second {
    background-color: var(--secendory-color);
}

.bg-footer {
    background-color: var(--footer-bg);
}

.logo {
    width: 100px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--secendory-color);
    font-weight: 600;
}


.home {
    background-image: url(../images/cover.png);
    background-size: cover;

    background-repeat: no-repeat;

}

.home-caption
{
    transform: translateX(-20%);
    opacity: 0;
    transition: all 1s ease;
}
.home-image
{
    transform: translateX(20%);
    opacity: 0;
    transition: all 1s ease;
}
.special-images
{
    transform: translateX(-20%);
    opacity: 0;
    transition: all 1s ease;
}
.special-caption
{
    transform: translateX(20%);
    opacity: 0;
    transition: all 1s ease;
}

.spec-item
{
  transform: translateX(20%);
    opacity: 0;
    transition: all 1s ease;  
}
.product-first-item
{
  transform: translateX(-20%);
    opacity: 0;
    transition: all 1s ease;  
}
.product-second-item
{
  transform: translateX(20%);
    opacity: 0;
    transition: all 1s ease;  
}
.latest-items
{
  transform: translateX(-20%);
    opacity: 0;
    transition: all 1s ease;  
}

@media(max-width:991px)
{
   .home-caption,.latest-items,.product-second-item,.product-first-item,.spec-item,.special-caption,.special-images,.home-image
   {
    transform: none;
    opacity: 1;
   }
}

.h-header {
    font-size: 4rem;
}

.home-link {
    position: relative;
    z-index: 1;
    
}

.home-link::before {
    content: "";
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 15px;
    background-color: var(--main-color);
    z-index: -1;
    transition: .5s ease;
    position: absolute;
    left: 0;
    top: 0;


}

.home-link:hover::before {
    width: calc(100% + 30px);
}

.special-img-2 {
    position: absolute;
    right: 0;
    bottom: 0;
}

.p-special::before {
    content: " ";
    display: inline-block;
    width: 3rem;
    height: .1rem;
    background-color: var(--main-color);


}

.spec-info {
    transform: translateY(20rem);
    position: absolute;
    transition: 1s;
}

.spec-item:hover .spec-info {
    transform: translateY(0rem);

}

.p-header::before {
    content: "";
    width: 3rem;
    height: .1rem;
    display: inline-block;
    background-color: var(--main-color);
}

.p-header::after {
    content: "";
    width: 3rem;
    height: .1rem;
    display: inline-block;
    background-color: var(--main-color);
}

.arrow-link {
    transform: scale(0);
    transition: 1s;
}

.product-link:hover .arrow-link {
    transform: scale(1) translateX(1.8rem);
}

.latest-images {
    display: grid;
    grid-template-areas:
        "img-1 img-1 img-1 img-1 img-2 img-2 img-2 img-2  img-3 img-3 img-3 img-3"
        "img-1 img-1 img-1 img-1 img-5 img-5 img-5 img-5  img-3 img-3 img-3 img-3"
        "img-4 img-4 img-4 img-4 img-5 img-5 img-5 img-5  img-6 img-6 img-6 img-6"

    ;
}

.latest-1 {
    grid-area: img-1;
}

.latest-2 {
    grid-area: img-2;
}

.latest-3 {
    grid-area: img-3;
}

.latest-4 {
    grid-area: img-4;
}

.latest-5 {
    grid-area: img-5;
}

.latest-6 {
    grid-area: img-6;
}

.latest-img {
    padding: .3rem;
}

.latest-caption {
    transform: translateY(50rem);
    transition: 1s;
}

.latest-img:hover .latest-caption {
    transform: translateY(0rem);
}

@media (max-width: 991px) {
    .latest-images {
        display: grid;
        grid-template-areas:
            "img-1 img-1 img-1 img-1 img-3 img-3 img-3 img-3  "
            "img-2 img-2 img-2 img-2 img-3 img-3 img-3 img-3  "
            "img-2 img-2 img-2 img-2 img-4 img-4 img-4 img-4  "
            "img-5 img-5 img-5 img-5 img-6 img-6 img-6 img-6  "
            "img-5 img-5 img-5 img-5 img-6 img-6 img-6 img-6  "

        ;


    }

    .home {
        background-image: url(../images/cover_res.png);
        background-size: cover;

        background-repeat: no-repeat;

    }
}

@media (max-width: 640px) {
    .latest-images {
        display: block;

    }
}

.card-caption {
    color: black;
    bottom: 50%;
    transform: translateY(50%);
    padding: 1.5rem;
    transition: .5s;
}

.card-caption:hover {
    color: white;
}

.latest-card img {
    transition: .5s;
    transform: scale(0);
}

.latest-card:hover img {
    transform: scale(1);
}

.btn-latest {
    border: .1rem var(--main-color) solid;
    background-color: white;
    transition: .5s;
}

.btn-latest:hover {
    background-color: var(--main-color);
    color: white;
}

.latest-card {
    border: .01rem var(--main-color) solid;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--main-color);
    width: .05rem;
    height: .05rem;
}

.social-link
{
    transition: .5s ease;
    color: white;
}

.social-link:hover
{
    color: #bf8c4c;
}