.footer{width: 100%;
display: flex;
flex-direction: column;
}

.first-footer{width: 100%;
display: flex;
background-image: url('../img/overlay/pattern-7.jpg');
background-repeat: no-repeat;
padding: 4% 0px;
background-size: 100% auto;
align-items: center;}

.first-footer-copy1{width: 70%;
}
  
.first-footer-copy1 h4{font-size: 30px;
font-family: 'Rubik';
text-align: center;
color: white;
text-transform: uppercase;}

.first-footer-copy2{width: 30%;}

.footer-ex{   margin-top: 15px;
    text-decoration: none;
    color: white;
    background-color: orangered;
    display: inline-block;
    padding: 16px 20px;
    font-family: 'Rubik';
    text-transform: uppercase;
    transition: all .5s ease-out;
    background-position: right bottom;}

.footer-ex:hover{
    background-position: left bottom;
    background: linear-gradient(to right, white 50%, black 50%);
    background-size: 200% 100%;
    color: black; 
}

/* start second footer */
.footer-second{width: 100%;
    border-top: 2px solid #998484;
display: flex;
flex-direction: column;
background-image:url(../img/overlay/footer-bg.jpg);
background-position: center;
background-repeat: no-repeat;
}

/* second */

.second-firstf{width: 100%;
display: flex;
padding: 5% 0px;
align-items: center;
justify-content: center;
/* border-bottom: 1px solid #8b8b8b; */

}

.copy-second-firstf{width:auto;
   

display: flex;
flex-direction: column;}

.copy-second-firstf h5{    font-family: 'montserrat';
    color: #ddd;
    font-size: 16px;
letter-spacing: 1px;}

   .copy-second-firstf p{    font-family: 'Rubik';
    color: white;
    font-size: 19px;
    letter-spacing: 1px;
    margin-top: 10px;} 

.middlefooter2{justify-content: center;
align-items: center;
width: 60%;}


/* second */


/* second ff  */

.second-second-f{display: flex;
padding:0px 2% 3% 5%;
}

.first-start-copy{width: 24%;
border-top: 1px solid #857f7f;
padding-top: 3%;
}

.second-footer-copy{
    display: flex;
    flex-direction: column;}

.first-start-copy h3{font-family: 'Rubik';
color: #f9e9e9;
font-size: 20px;
line-height: 35px;
text-transform: uppercase;}

.first-start-copy p{    font-family: 'Rubik';
    color: #a9a9a9;
    word-spacing: 2px;
    letter-spacing: 1px;
    line-height: 27px;
    margin-top: 10px;}

.list-footer-a{    font-family: 'Rubik';
    color: #a9a9a9;
    word-spacing: 2px;
    letter-spacing: 1px;
    line-height: 27px;
    margin-top: 10px;
display: inline-block;
text-decoration: none;
transition: all .4s;}

.list-footer-a:hover{border-bottom: 1px solid orangered;
color: white;}

.social-media-div{display: flex;
margin-top: 10px;}

.icon-footer-social{    text-decoration: none;
    color: white;
    width: 16%;
    background-color:#0e0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    padding: 15px 6px;
    margin-left: 10px;
transition: all .5s;}

#margin{margin-left: 0px;}

.icon-footer-social:hover{background-color: orangered;}

.footer-form{width: 100%;
position: relative;}

.footer-form input{    padding: 12px 10px;
    width: 100%;
    margin-top: 10px;
    font-family: 'Rubik';}

.footer-form button{    padding: 8px 10px;
    background-color: transparent;
    border: 1px solid transparent;
    outline: 1px solid transparent;
    color: white;
    position: absolute;
    right: 2%;
    background-color: orangered;
    bottom: 5px;
cursor: pointer;}

.footer-copyright{width: 100%;
    background-color: #111111;
    padding:3% 0px;
}

.footer-copyright p{font-family:'Rubik';
font-size: 16px;
color: #857f7f;
text-align: center;}


/* second ff  */

/* end second footer */


@media(max-width:900px){

    .first-footer{background-size:unset;
    flex-direction: column;}

    .footer-second{background-size: 100% 100%;}

    .second-firstf{flex-direction: column;
    justify-content:unset;
align-items:unset;
padding-left: 7%;}

.middlefooter2{margin-top: 30px;
margin-bottom: 30px; 
height: 31px;

justify-content: unset;
align-items: unset;}

.second-second-f{flex-direction: column;}

.first-start-copy{ width: 100%;
}

.icon-footer-social{height: 73px;}

.first-start-copy{padding-bottom: 4%;}

}

@media(max-width:600px){

    .first-footer-copy1{width: 100%;}

    .first-footer-copy2{width: auto;}

    .first-footer-copy1 h4{font-size: 25px;
    line-height: 45px;}

    .icon-footer-social{width: 60px;
    height: 60px;}
}