.mainSection3d{
    width: 100%;
    position: relative;
    height: 100%;
}
.mainSection3d::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#746f6b, #7e5f40);
    clip-path: circle(20% at 10% 10%);
    z-index: 1;
}
.mainSection3d::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#e7e5df, #a57952);
    clip-path: circle(30% at right 70%);
}
.d3FlexBox:nth-child(1){
    padding-top: 200px;
}
.d3FlexBox{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 30px 150px;
}
.d3FlexBox h1{
    color: #7f5539;
    font-size: 1.7rem;
    max-width: 430px;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    z-index: 2;
    margin-right: 20px;
    margin-left: 20px;
}
.d3FlexBox:nth-child(1) h1:nth-child(1){
    color: #dcd0b7;
}
.line{
    width: 3px;
    background-color: white;
    height: 600px;
    z-index: 10;
}
.imgContainer{
    position: relative;
    width: 600px;
    overflow: visible;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 20;
}
.imgContainer:hover{
    width: 650px;
}
.d3FlexBox img{
    max-width: 100%;
    transition: all 0.3s;
    border-radius: 5px;
    z-index: 2;
    animation: d3Scale 0.5s forwards;
}
.imgContainer:nth-child(1n+2){
    animation: d3Right 0.5s forwards;
}
.imgContainer:nth-child(3n+1){
    animation: d3Leftt 0.5s forwards;
}
.d3FlexBox h1:nth-child(1n+2){
    animation: d3Right 0.5s forwards;
}
.d3FlexBox h1:nth-child(3n+1){
    animation: d3Leftt 0.5s forwards;
}
.d3FlexBox h1:nth-child(4){
    position: relative;
}
@keyframes d3Right {
    from{
        opacity: 0;
        transform: translateX(-400px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
    
}
@keyframes d3Leftt {
    from{
        opacity: 0;
        transform: translateX(400px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
    
}
@keyframes d3Scale {
    from{
        transform: scale(0.5, 0.5);
    }
    to{
        transform: scale(1, 1);
    }
    
}
.d3Zamow{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-content: center;
    margin-left: 100px;
}
.zamow{
    position: relative;
    width: 100%;
    height: 50px;
    border: 3px white solid;
    display: flex;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    transition: all 0.3s;
    padding-top: 4px;
    color: white;
    font-size: 1.5rem;
    background-color: #a57952;
    overflow: hidden;
}
.zamow::before {
    font-size: 2.5rem;
    content: '';
    position: absolute;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f291";
    opacity: 0.5;
    right: -5px;
    bottom: -6px;
    transform: rotate(22deg);
}
.zamow::after {
    font-size: 2.5rem;
    content: '';
    position: absolute;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f07a";
    opacity: 0.5;
    left: 0;
    bottom: -3px;
    transform: rotate(22deg);
}
.zamow:hover{
    border: rgb(206, 206, 206) solid;
    color: rgb(206, 206, 206);
    transform: scale(0.9,0.9);
}
@media screen and (max-width:850px){
    .d3FlexBox{
        flex-direction: column;
        padding: 10px 50px;
    }
    .imgContainer{
        width: 350px;
    }
    .d3FlexBox h1 {
        border-bottom: 3px white solid;
        margin-bottom: 20px;
    }
    .d3FlexBox h1:nth-child(1){
        order: 1;
    }
    .imgContainer:hover{
        width: 380px;
    }
    .d3Zamow{
        margin-left: 0;
        display: block;
    }
}
.nav2{
    z-index: 24;
}
.formInfo{
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    width: 100%;
}
.formImgContainer{
    width: 300px;
    height: 300px;
    margin-right: 50px;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: left;
    flex-direction: column;
}
.formImgContainer:nth-child(2){
    width: 500px;
}
.formImgContainer h1{
    height: 50px;
    overflow: hidden;
    font-size: 1.3rem;
    color: white;
}
.zamowienieContent{
    color: white;
}
.formImgContainer:nth-child(1){
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.back{
    position: absolute;
    top: 200px;
    right: 50px;
    z-index: 2220;
    color: white;
    background-color: #6c584c;
    border: 3px white solid;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transform: translate(2px, -2px);
    box-shadow: 0px 10px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}
.back:hover{
    transform: translateX(0px);
    box-shadow: 0 10px 10px rgba(0,0,0,0);
    background: #6c584c;
    color:rgb(206, 206, 206);
    border-color: rgb(206, 206, 206);;
}
@media screen and (max-width:850px){
    .back{
        top: 160px;
        right: 40px;
    }
}
.zamowienie form{
    padding: 200px 10%;
    position: fixed;
    overflow-y: scroll;
    top: 0;
    left: 0;
    height: 100%;
    max-height: 100%;
    width: 100%;
    background-image: linear-gradient(to right bottom, #a9927d, #beab94, #d3c5ac, #e8dfc5, #fefae0);
    display: flex;
    justify-content: space-between;
    align-content: center;
    flex-direction: column;
    transform: translateX(-100%);
    transition: 0.4s all;
}
form div{
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
    z-index: 200;
}
.lastDiv{
    display: none;
    visibility: hidden;
}
  input, textarea, text{
    width: 100%;
    padding: 10px;
    outline: 0;
    border: 1px solid #fff;
    color: #fff;
    background: transparent;
    font-size: 15px;
    overflow: visible;
}
  textarea{
    max-height: 150px;
    max-width: 350px;
}
  label{
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px;
    color: #fff;
    cursor: text;
    transition: 0.3s;
}
  input:focus~label,
  input:valid~label,
  textarea:focus~label,
  textarea:valid~label{
    top: -25px;
    font-size: 12px;
}
button{
    padding: 10px 0;
    outline: none;
    color: #fff;
    background: transparent;
    border: 1px solid #fff;
    width: 100%;
    cursor: pointer;
    transform: translate(5px, -5px);
    box-shadow: 0px 10px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}
button:hover{
    transform: translateX(0px);
    box-shadow: 0 10px 10px rgba(0,0,0,0);
    background: #6c584c;
}

.zamowienie form::before {
    font-size: 16.5rem;
    content: '';
    position: absolute;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f291";
    opacity: 0.3;
    right: -30px;
    top: 100px;
    transform: rotate(15deg);
}
.zamowienie form::after {
    font-size: 16.5rem;
    content: '';
    position: absolute;
    font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f07a";
    opacity: 0.3;
    left: -50px;
    bottom: -3px;
    transform: rotate(22deg);
}