body,html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* ---- reuseable------ */

.row{
    width: 1140px;
    margin: 0 auto;
}

.heading-main h2{
    color: rgb(29, 29, 31);
    text-align: center;
}

.heading-main h2:after{
    content: "";
    display: block;
    border-bottom: solid rgb(29, 29, 31);
    width: 180px;
    margin: 15px auto;
}

/* Main */


/* section cover and logo */

header{
    background: /*linear-gradient(rgba(1, 1, 1, 0.5),rgba(102, 102, 102, 0.8))*/ url(img/backgroundpro.jpeg);
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
}



/* Mobile navigation - Hamburger menu */

.hamburger-icon{
    display: none;
    width: 35px;
    position: fixed;
    top: 8px;
    right: 20px;
    z-index: 200;
    cursor: pointer;

}

.logo-icon {
    width: 40px;
    display: block;
}






/* section navigation */

.nav-bar{
    background-color: black; 
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8));
    position: fixed;
    width: 100%;
    top: 0%;
    left: 0%;
    height: 50px;
    border-bottom: #7a8188 solid;
    z-index: 100;
}

.nav-content{
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

nav ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li{
    display: inline-block;
    margin-left: 15px;
    
}

nav ul li a:link,
nav ul li a:visited{
    text-decoration: none;
    color: rgb(254, 254, 255);
    font-size: 25px;
    border-bottom: 2px solid transparent;
}

nav ul li a:hover, 
nav ul li a:active{
transition: border-bottom 0.5s;
    border-bottom: 2px solid  rgb(209, 206, 206);
}
   

/* Header cover */

.header-text{
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate(-50%,-50%);
}

.header-text h1{
    color: rgb(29, 29, 31);
    text-transform: uppercase;
    font-size: 50px;
    letter-spacing: 1.6px;
    word-spacing: 3px;
    margin-bottom: 10px;
    
}



.btn-left{
    display: inline-block;
    text-decoration: none;
    color: white;
    background: #0071e3;
    border-radius: 32px;
    font-size: 15px;
    letter-spacing: 1.9px;
    padding: 16px 32px;
}

.btn-left:hover,
.btn-left:active{
    text-decoration: underline;
    background: #0262cf;
    
    
}

.btn-right{
    display: inline-block;
    text-decoration: none;
    color: white;
    background: rgb(126, 123, 123);
    border-radius: 32px;
    font-size: 15px;
    letter-spacing: 1.9px;
    padding: 16px 32px;
    margin-left: 5px;
}

.btn-right:hover,
.btn-right:active{
    text-decoration: underline; 
    background:  rgb(106, 104, 104);
}

/* section main */

/* Design block */

.about-us{
    padding-top: 40px;
}

.image-example img{
    width: 250px;
    margin-right: 40px;
    margin-top: -20px;
    transition: all 0.5s linear;
}

.image-example img:hover{
    transform: scale(1.3);
}

.design-example{
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-items: center;

}

/* Specification block */

.about-spec{
    padding-top: 40px;
}

.spec-flexbox{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

}


.text-spec div {
    font-size: 17px;
    width: 91px;
    height: 37px;
    color: #000000;
    border: solid 3px #000000;
    text-align: center;
    border-radius: 40px;
    padding-top: 20px;
}

.text-spec p{
    margin-left: 20px;
}

.text-spec{
    display: flex;
    align-items: start;
    
}


/* ------- Reference block ------ */

.reference{
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(img/backgroundpro.jpg);
    background-size: cover;
    background-attachment: fixed;
    padding-top: 40px;
    padding-bottom: 30px;
}


.reference h2{
    color: white;
    padding-top: 10px;
}

.reference h2::after{
    border-bottom: 2px solid #ffffff;
}

.costumer-ref.row{
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

.photo-ref{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.photo-ref img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}



.photo-ref p{
    margin: 0;
    font-weight: bold;
} 

.text-ref{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    margin-right: 25px;
    font-style: italic;
    padding: 20px;
}

.text-ref p{
    text-align: left;
    

}

/* --- Photo-gallery block --- */

.photos ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    
    
}

.photo-segment li{
    background-color: #000000;
    margin: 20px 20px;
}

.photo-segment img{
    max-width: 100%;
height: auto;
    opacity: 0.5;
    transform: scale(1.15);
    transition: all 0.5s linear;
}

.photo-segment img:hover{
    transform: scale(1);
    opacity: 1;
    

}


/* Form */

.display-form{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: #030303;
  height: 500px;
}

form{
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 500px;
    padding: 10px;
  
   
}


input,textarea{
    width: 50%;
    align-self: center;
    padding: 8px 8px;
    border-radius: 15px;
    outline: none;
    background: black;
    text-align: center;
    border: #3d3d3e solid 1px;
    color: #ffffff;
    transition: width 400ms;
   
    
}

input[type="text" ]:focus, input[type="mail"]:focus, textarea:focus{
    width: 70%;
    transition: 400ms;
    border: rgb(243, 9, 9) solid 1px;


}



input[type="submit"]{
width: 40%;
align-self: center;
background-color: #000000;
border: #0071e3 solid 1px;
transition: background-color 0.5s;
color: #ffffff;}



input[type="submit"]:hover{
    background-color: #0071e3;
    transition: all 0.2s linear;
  

}


input::placeholder, textarea::placeholder{
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-style: italic;
    color: rgb(213, 214, 214);

}

/* Footer */

footer{
    text-align: center;
    margin-left: 10px;
    font-size: 14px;
    color: rgb(198, 203, 207);
    margin: 10px auto;
}

