
/* ============================= SECTION ONE ============================= */

.section-one {
    margin-bottom: -5vw;
}
.section-one .top-content {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    height: 35.69vw;
    justify-content: center;
    align-items: center;
    background: #2D2D2D;
}
.section-one .top-content .title {
    font-family: var(--font-name);
    font-weight: 800;
    font-size: 4.44vw;
    line-height: 4.86vw;
    text-align: center;
    text-transform: capitalize;
    color: #0071BC;
}
.section-one .top-content .descr {
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.66vw;
    line-height: 2.22vw;
    text-transform: capitalize;
    color: #999999;
}

.section-one .list-all {
    position: relative;
    /* background: red; */
    top: -10vw;
    padding: 0vw 5.138vw 0.163vw 5.138vw; 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.66vw;
}
.section-one .list-all .card-one {
    border-radius: 10px;
    background: #EDEDED;
    padding: 2vw 3vw;
    display: flex;
    flex-direction: column;
    gap: .51vw;
    text-decoration: none;
    position: relative;
}
.section-one .list-all .card-one .name {
    font-family: var(--font-name);
    font-weight: 900;
    font-size: 2.22vw;
    line-height: 2.77vw;
    text-transform: uppercase;
    color: #2D2D2D;
}
.section-one .list-all .card-one .subname {
    color: #999999;
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.94vw;
    line-height: 2.5vw;
    text-transform: capitalize;
}
.section-one .list-all .card-one .list-image {
    position: relative;
    width: 31vw;
    height: 25vw;
    margin: 0;
    align-self: end;
    margin-top: -5vw;
}
.section-one .list-all .card-one .list-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    position: absolute;
    opacity: 0;
    transition: all .5s ease-in-out;
}
.section-one .list-all .card-one .list-image img.actif {
    opacity: 1;
    transition: all .5s ease-in-out;
}
.section-one .list-all .card-one .list-color {
    display: flex;
    gap: 0.83vw;
    position: absolute;
    bottom: 2vw;
}
.section-one .list-all .card-one .list-color .color {
    content: "";
    width: 2vw;
    height: 2vw;
    background: #999999;
    border-radius: 50%;
    cursor: pointer;
}
.section-one .list-all .card-one .list-color .color.actif {
    border: 2px solid var(--secondary-color);
}

.section-one .list-all .card-one .btn-more {
    padding: .8vw 1.5vw;
    background: #0071BC;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    border: 1px solid var(--secondary-color);
    transition: all .5s ease-in-out;
    width: fit-content;
    position: absolute;
    text-transform: uppercase;
    bottom: 0vw;
    right: 1vw;
    transform: translateY(2vw);
    opacity: 0;
}
.section-one .list-all .card-one:hover .btn-more {
    transform: translateY(-1vw);
    opacity: 1;
    transition: all .5s ease-in-out;
}
.section-one .list-all .card-one .btn-more:hover {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
    transition: all .5s ease-in-out;
}

/* ============================= SECTION DETAILSMOTORS ============================= */

.section-details-motors {
    display: flex;
    gap: 4.9885vw;   
    width: 100%;
    padding: 5vw 5.138vw 3.163vw 5.138vw; 
    background: #ffffff;
    align-items: center;
}

.section-details-motors .left-ctn {
    display: flex;
    flex-direction: column;
    gap: 1.4vw;
    justify-content: center;
    align-items: center;
}
.section-details-motors .left-ctn figure {
    width: 52.69vw;
    height: 56.52vw;
    margin: 0;
}
.section-details-motors .left-ctn figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.section-details-motors .left-ctn .list-picture {
    display: flex;
    gap: 2vw;
}
.section-details-motors .left-ctn .list-picture span {
    border: 1px solid gray;
    padding: .51vw;
    width: 7vw;
    height: 7vw;
}
.section-details-motors .left-ctn .list-picture span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-details-motors .right-ctn {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}
.section-details-motors .right-ctn .title {
    font-family: var(--font-name);
    font-weight: 900;
    font-size: 2.22vw;
    line-height: 2.77vw;
    text-transform: uppercase;
    color: #2D2D2D;
}
.section-details-motors .right-ctn .amount {
    color: #999999;
    font-family: var(--font-name);
    font-weight: 900;
    font-size: 2.22vw;
    line-height: 2.77vw;
    text-transform: capitalize;
    margin-bottom: 2vw;
}
.section-details-motors .right-ctn .descr {
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.94vw;
    line-height: 2.5vw;
    text-transform: capitalize;
}
.section-details-motors .right-ctn .titleColor {
    color: #999999;
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.54vw;
    line-height: 2.5vw;
    text-transform: capitalize;
    margin-bottom: -1vw;
    margin-top: -1vw;
}
.section-details-motors .right-ctn .list-palette-color {
    display: flex;
    padding: 1vw 2vw;
    background: #EDEDED;
    border-radius: 10px;
    gap: 0.83vw;
    width: fit-content;
    align-items: center;
}
.section-details-motors .right-ctn .list-palette-color .color {
    content: "";
    width: 1.5vw;
    height: 1.5vw;
    background: #999999;
    border-radius: 50%;
    cursor: pointer;
    transition: all .5s ease-in-out;
}
.section-details-motors .right-ctn .list-palette-color .color:hover ,
.section-details-motors .right-ctn .list-palette-color .color.actif {
    width: 2vw;
    height: 2vw;
    transition: all .5s ease-in-out;
}

.section-details-motors .right-ctn .list-details-motors {
    display: grid;
    gap: 2vw;
    margin-top: 2vw;
    grid-template-columns: repeat(2,1fr);
    margin-bottom: 1vw;
}
.section-details-motors .right-ctn .list-details-motors .one-det {
    display: flex;
    flex-direction: column;
    gap: 1vw;
}
.section-details-motors .right-ctn .list-details-motors .one-det .name {
    font-family: var(--font-name);
    font-weight: 900;
    font-size: 1.94vw;
    line-height: 2.5vw;
    text-transform: capitalize;
    color: #2D2D2D;
}
.section-details-motors .right-ctn .list-details-motors .one-det .subname {
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.66vw;
    line-height: 2.22vw;
    text-transform: capitalize;
    color: #999999;
}
.section-details-motors .right-ctn .list-action {
    display: flex;
    gap: 2vw;
}
.section-details-motors .right-ctn .btn-submit {
    width: fit-content;
    outline: none;
    border: none;
    padding: 1vw 2vw;
    color: #FFF;
    font-family: var(--font-name);
    font-weight: 400;
    font-size: 1.11vw;
    line-height: 1.527vw;
    border-radius: 10px;
    text-align: center;
    text-transform: capitalize;
    background: var(--secondary-color);
}
.section-details-motors .right-ctn .btn-submit.secund {
    border: 1px solid #0071BC;
    background: rgb(168, 168, 168);
    color: #2D2D2D;
}

.section-details-secund {
    width: 100%;
    padding: 1vw 5.138vw 2.163vw 5.138vw; 
}


/*===================== RESPONSIVE OF HEADER__WEBSITE ===========================*/

@media (max-width:768px) {
    
    .mobile {
        color: white;
    }
    .section-one {
        margin-bottom: 6vw;
    }
    .section-one .top-content {
        padding-top: 19vw;
        height: 65.69vw;
    }
   
    .section-one .list-all {
        grid-template-columns: repeat(1, 1fr);
        top: inherit;
        padding: 6vw 5.138vw 0.163vw 5.138vw;
    }
    .section-one .top-content .title {
        font-size: 8.44vw;
        line-height: normal;
    }
    .section-one .top-content .descr {
        font-size: 4.66vw;
        line-height: normal;
        padding: 0 6vw;
        text-align: center;
    }

    .section-one .list-all .card-one {
        padding: 4vw 5vw;
    }
    .section-one .list-all .card-one .name {
        font-size: 5.22vw;
        line-height: normal;
    }
    .section-one .list-all .card-one .subname {
        font-size: 4.94vw;
        line-height: normal;
    }
    .section-one .list-all .card-one .list-image {
        width: 59vw;
        height: 56vw;
    }
    .section-one .list-all .card-one .list-color {
        gap: 1.83vw;
    }
    .section-one .list-all .card-one .list-color .color {
        width: 6vw;
        height: 6vw;
    }
    .section-one .list-all .card-one .btn-more {
        padding: 1.8vw 3.5vw;
        font-size: 4vw;
        border-radius: 3px;
    }
    .section-one .list-all .card-one:hover .btn-more {
        transform: translateY(-4vw) translateX(-3vw);
    }
    
    
    /* ============================= SECTION DETAILSMOTORS ============================= */
 
    .section-details-motors {
        flex-direction: column;
        padding: 30vw 5.138vw 3.163vw 5.138vw;
    }
    .section-details-motors .left-ctn {
        width: 100%;
    }
    .section-details-motors .left-ctn figure {
        width: 82.69vw;
        height: 91.52vw;
    }
    .section-details-motors .left-ctn .list-picture {
        gap: 4vw;
    }
    .section-details-motors .left-ctn .list-picture span {
        padding: 1.51vw;
        width: 13vw;
        height: 13vw;
    }
    .section-details-motors .right-ctn {
        gap: 2vw;
        width: 100%;
    }
    .section-details-motors .right-ctn .title {
        font-size: 5.22vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .amount {
        font-weight: 500;
        font-size: 7.22vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .descr {
        font-weight: 300;
        font-size: 4.94vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .titleColor {
        font-weight: 400;
        font-size: 5.54vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .list-palette-color {
        padding: 3vw 3vw;
        gap: 2.83vw;
        width: fit-content;
    }
    .section-details-motors .right-ctn .list-palette-color .color {
        width: 5vw;
        height: 5vw;
    }
    .section-details-motors .right-ctn .list-palette-color .color:hover, .section-details-motors .right-ctn .list-palette-color .color.actif {
        width: 3vw;
        height: 3vw;
    }
    .section-details-motors .right-ctn .list-details-motors {
        gap: 3vw;
        margin-top: 3vw;
    }
    .section-details-motors .right-ctn .list-details-motors .one-det .name {
        font-weight: 700;
        font-size: 4.94vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .list-details-motors .one-det .subname {
        font-weight: 400;
        font-size: 3.66vw;
        line-height: normal;
    }
    .section-details-motors .right-ctn .btn-submit {
        padding: 3vw 6vw;
        font-weight: 400;
        font-size: 6.11vw;
        line-height: normal;
    }

}