* {
    /* outline: 1px solid red; */
}

body {
    overflow-x: hidden;
    position: relative;
}

.container {
    position: relative;
    z-index: 10;
}



#line {
    z-index: 10;
}

header {
    min-height: 100vh;
    padding: var(--SectionPadding) 10px;
    /* background-color: var(--BlackBackground); */
}
header .box{
    max-width: 400px;
    width: 100%;
    /* height: 400px; */
    max-height: 460px;
    height: 100%;
}
header .box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border: 1px solid var(--OrangeText);
}
header .box::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 50px ;
    top: 50px;
    background-image: url(/imgs/imagecompressor/productsHeader1.jpg);
    background-size: cover;
    border: 1px solid var(--OrangeText);
}
.triangle1 {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url(/imgs/imagecompressor/tringlesmallwhite.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    transition: .5s linear;
}

.triangle2 {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url(/imgs/imagecompressor/tringlesmall.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    transition: .2s linear;

}

header h1 {
    position: relative;
    z-index: 11;
}

header p:nth-of-type(1) {
    word-spacing: 3px;
}

.back-text-animation {
    /* background:red; */
    width: fit-content;
    z-index: 1;
    position: absolute;
    top: 50%;
    right: -4%;
    transform: rotate(-90deg);
    transform-origin: bottom right;
    /* background-color: red; */
}

.ml3 {
    color: var(--OrangeTransparenBackgournd);
    font-size: 13rem;
    white-space: nowrap;
    overflow: hidden;
        font-family: 'Poppins', sans-serif;
    font-weight: bold;
}


.ml1,
.ml2 {
    font-weight: 700;
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    text-align: center;
}

.ml1 .letter,
.ml2 .letter {
    display: inline-block;
    line-height: 1em;
}


header a {
    padding: 10px;
    width: 150px;
}

header a::before {
    content: '';
    position: absolute;
    right: 0px;
    bottom: 10px;
    width: 30px;
    height: 30px;
    background-color: var(--OrangeText);
    z-index: -1;
    border-radius: 50%;
    transition: .5s ease;
}

header a:hover::before {
    border-radius: 0px;
    width: 100px;
}


section.tow {
    position: relative;
    z-index: 0;
}

.questions-container {
    background-color: rgb(30, 30, 30);
    /* width: fit-content; */
    border-radius: 5px;
    position: relative;
    z-index: 111;
}




section.three {
    min-height: 100vh;
}

.product-box:not(.modal .modal-dialog .product-box) {
    position: relative;
    /* background-image: url(/imgs/project1.png); */
    cursor: pointer;
    /* background-color: red; */
    border: 1px solid var(--OrangeText);
    box-shadow: 0 5px  10px var(--OrangeTransparenBackgournd);
    max-width: 450px;
    width: 100%;
    /* height: 400px; */
    max-height: 500px;
    height: 100%;
}

.product-box img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product1 {
    bottom: 50px;
}

.product2 {
    bottom: 0px;
}

.product-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.three .rows:not(.rows:nth-child(1)) {
    margin-bottom: 130px;
}



section.three .rows:nth-of-type(1) {
    margin-top: 100px;
}

section.three .layer {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.761);
    color: white;
    display: grid;
    place-content: center;
}

.modal {
    z-index: 1111111111111111;
}
.modal .modal-dialog .product-box{
    border: 1px solid var(--OrangeText);
}
.modal .modal-dialog .product-box img {
    max-width: 450px;
    width: 100%;
    max-height: 500px;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-dialog {
    /* padding: 10px; */
    max-width: 900px;
    width: 100%;
    /* height: 500px; */
}
.modal .modal-content{
    padding: 10px;
    background-color: var(--BlackBackground) !important;
}
.modal .modal-header{
    border-bottom: 1px solid var(--OrangeText);
}
.modal button.btn-close{
    background-color: var(--OrangeText);
}
.modal .demo-button{
    border: 2px solid white;
    padding: 10px;
    color: white;
    width: 120px;
    transform: scaleX(1.2);
    transition: .4s linear;
}
.modal .demo-button:hover{
    background-color: var(--OrangeText);
}
.modal .price{
    color: green;
}


@media (max-width:767px) {
    section.three .rows:not(.rows:nth-child(1)) {
        margin-bottom: 3rem;
    }

    .product1 {
        bottom: 0px;
    }
    .ml1,
    .ml2 {
        font-size: 2rem;
    }
}