footer {

    width: 100%;
    height: 600px;
    border-width: 0px;
    margin-top: 100px;
    border-bottom-style: solid;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(45deg, #000000, #4f00fa);


}

footer img {

    width: 160px;
    height: 50px;
    padding-top: 10px;
}

footer a {

    color: #d8d8d8;
    display: flex;
    align-items: center;
}


footer .bottom .links2 a {

    padding: 15px;
    display: flex;

}


.top .links {
    display: flex;
    align-items: center;
    gap: 10%;
    height: 25%;
    justify-content: center;
}

.ppp {

    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;

}


.top {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;

}

.bottom {
    margin-top: 10px;
}




.sub_ourcon {

    display: flex;
    width: 60%;
    max-width: 750px;
    gap: 25%;


}

.links .ourcon {

    width: 100%;
    max-width: 1100px;
    display: flex;
    justify-content: center;

}



.subscribe {

    width: 30%;
    display: grid;
    justify-items: start;
    height: 100px;

}

#message_sub {
    display: none;
    color: white;
    font-size: 10px;
}

.subscribe div {

    max-width: 300px;
}

.subscribe label {
    color: white;
    font-size: 15px;
}

.subscribe input[type="email"] {


    width: 96%;
    border: 1px solid #ffffff;
    outline: none;
    background-color: #ffffff00;
    color: white;
    margin-bottom: 15px;
    margin-top: 10px;
    padding: 5px;

}

.subscribe button {


    width: 100%;
    color: #4b4949;
    cursor: pointer;
    border-radius: 2px;
    padding: 2px;
    border: none;
    margin-bottom: 5px;

}

.subscribe input::placeholder {
    font-size: 12px;
    color: #c3c3c3;
}


.logo_footer {

    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Marcellus', serif;


}

.logo_footer h1 {

    font-family: 'Marcellus', serif;
    font-weight: 100;
    font-size: 36px;


}

.logo_footer h6 {

    font-weight: 30;
    font-family: 'Open Sans', sans-serif;
    font-size: 10px;
    letter-spacing: 8px;
    padding-left: 11px;
}


.links2 {

    display: flex;
    text-align: center;
    align-items: center;
    gap: 12%;
    justify-content: center;
    width: 20%;

}

.social {

    display: flex;
    padding: 50px 0px;
    border-bottom: 1px solid white;
    justify-content: space-around;
    flex-direction: row-reverse;
}

.social .sub_social {

    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    justify-content: space-around;
    max-width: 1520px;
    margin-left: 30px;
}

.legal {
    display: block;
    text-align: center;
}

.col2 {

    height: 100%;
    width: 100%;
    background-image: url(../img/afaqbar.png);
    background-size: cover;

}

.cll {
    display: flex;
    justify-content: center;
    margin-bottom: 9px;
    width: 100%;
    height: 100%;
}

.bb {
    display: flex;
    justify-content: center;
    gap: 20%;
    align-items: center;
}

footer h2 {

    text-transform: uppercase;
    color: #ffffff;


}

.legal .rights {
    color: #ffffff;
    font-size: 18px;
    display: flex;
    gap: 5px;
    align-items: center;
    margin: 18px 0px;
}

.rights div {

    font-size: 20px;
    padding-top: 3px;
}

.legal .conditions {

    display: flex;
    justify-content: space-evenly;
    gap: 10px;
}

.cont1 {

    font-size: 15px;
    margin-left: 10px;
    margin-top: 4px;

}

.cont2 {

    font-size: 25px;
    transition: 0.3s ease;


}

#youtube:hover {

    fill: #d8d8d8;




}

#twitter {

    font-size: 22px;
}

#twitter:hover {

    fill: #d8d8d8;



}

#whatsapp:hover {

    fill: #d8d8d8;



}

#tiktok:hover {

    fill: #d8d8d8;



}

#instagram:hover {

    fill: #d8d8d8;



}


@media(max-width: 1490px) {





    .social .sub_social {

        margin-left: 0px !important;
    }



}


@media(max-width: 870px) {








   

    .links .ourcon div {

        height: auto;

    }


    footer img {
        width: 120px;
        height: 40px;
    }


    .links .ourcon {
        display: flex;
        font-size: 14px;
    }


    .bottom {
        margin-top: 0px;
    }

    .cont2 {

        font-size: 20px !important;

    }

    footer .bottom .links2 a {

        padding: 5px;

    }

    .logo_footer h6 {

        font-size: 8px;

    }

    .logo_footer h1 {

        font-size: 32px;

    }

    .legal span {

        font-size: 15px;
    }

    .rights div {
        font-size: 18px;
    }

    .legal .rights {
        font-size: 16px;

    }

    


}


@media (max-width:770px) {

    footer {

        height: 750px;
    }


    .top {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 50px;
    }

    .social {
        display: flex;
        padding: 50px 0px;
        border-bottom: 1px solid white;
        justify-content: space-around;
        flex-direction: row-reverse;
    }

    .social .sub_social {
        display: flex;
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-around;
        max-width: 1550px;
    }


    .top .links {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        gap: 15%;
        height: 44%;
        flex-direction: column;
    }


    .links .ourcon {
        display: contents;
    }

    .sub_ourcon {

        display: flex;
        width: 100%;
        gap: 30%;


    }


    .ourcon_project {

        margin-right: 50px;

    }

    .subscribe {

        width: 60%;
        display: flex;
        flex-direction: column;
        margin-right: 50px;
    }

    .links .ourcon {
        font-size: 13px;
    }

    .subscribe label {
        font-size: 12px;
    }


    .col2 {
        height: 70%;

    }



}

@media (max-width:470px) {

    .sub_ourcon {
        gap: 30%;
    }




}

@media (max-width:450px) {

    .sub_ourcon {

        justify-content: space-evenly;
        gap: 3%;
    }

    .ourcon_project {
        margin-right: 0px;
    }

    .subscribe {

        width: 100%;
        display: flex;
        align-items: center;
        margin-right: 00px;


    }

    .subscribe div {
        width: 85%;
        max-width: 300px;
    }

    .ourcon_project {
        margin-right: 20px;
    }

    .ourcon_contact {
        margin-left: 20px;
    }

    .font h2 {
        font-size: 22px !important;
    }

    .social .sub_social {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .links2 {
        width: 60%;
    }

    .top {
        gap: 0;
    }

    .social {
        padding: 35px 0px;
    }

    .top .links {

        height: 55%;
        gap: 7%;

    }

    .subscribe {

        width: 100%;


    }

    .ourcon_contact,
    .ourcon_project {
        margin-left: 10%;
        margin-right: 10%;


    }




}

@media (max-width:350px) {



    .sub_ourcon {
        flex-direction: column;
        height: 215px !important;
        gap: 25px;
    }

    .cll {

        height: 60%;
    }

    .ourcon_contact div,
    .ourcon_project div {
        display: flex;
        gap: 10%;
        margin-top: 8px;
        align-items: flex-start;
        flex-direction: column;
    }

    .about p {

        font-size: 12px;

    }

        .top .links {
            height: 60%;
        
        }


}

@media (max-width: 560px) {


    .top .links {

        gap: 14%;

    }



}