@font-face {
    font-family: irsans;
    src: url("../fonts/IRANSansWeb.woff2")format("woff2");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: irsans;
}

/* FOOTER START */

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 30px;
    margin: 50px 0px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 1200px;
    border-radius: 10px;
    border: 4px solid #D1DBE8;
    padding: 40px 40px 20px 40px;
}

footer .footer-border {
    width: 100%;
    height: 3px;
    background: #833ab4;
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    padding-bottom: 40px;
}

.footer-top-1,
.footer-top-3,
.footer-top-4 {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: column;
    width: 300px;
    height: 250px;
}

.footer-top-4 {
    gap: 10px;
}

.footer-top-1 h3,
.footer-top-3 h3,
.footer-top-4 h3 {
    margin-bottom: 15px;
}

.footer-top-1 a {
    text-decoration: none;
    color: black;
    transition: all .3s;
}

.footer-top-1 a:hover {
    color: blue;
}

.footer-top-3 p i {
    margin-left: 5px;
    transform: translateY(1px);
    color: blue;
    font-size: 18px;
}

.footer-top-4 form {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 10px;
    border: 2px solid black;
    padding: 5px;
    gap: 5px;
}

.footer-top-4 form input[type="email"] {
    outline: none;
    border: none;
    background-color: white;
    padding: 5px;
    color: black;
    width: 225px;
}

.footer-top-4 form input[type="submit"] {
    outline: none;
    border: none;
    background-color: blue;
    border: 2px solid blue;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all .3s;
}

.footer-top-4 form input[type="submit"]:hover {
    color: blue;
    background-color: white;
}

.footer-top-4-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
}

.footer-top-4-img img {
    width: 50px;
}

.footer-bottom {
    padding-top: 10px;
}

.footer-bottom p a {
    text-decoration: none;
    background: #833ab4;
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FOOTER END */















@media screen and (max-width:768px) {

    .footer-container {
        width: 100%;
    }

    .footer-top {
        flex-direction: column;
        gap: 50px;
    }

    .footer-top-1,
    .footer-top-3,
    .footer-top-4 {
        width: 100%;
    }

    .footer-top-4 p {
        font-size: 14px;
    }

    .footer-top-4 form {
        width: 100%;
    }

    .footer-top-4 form input[type="email"] {
        width: 100%;
    }

    .footer-bottom {
        font-size: 10px;
        text-align: center;
    }

    .footer-top-3 p {
        font-size: 14px;
    }

}






@media screen and (min-width:768px) and (max-width:1000px) {

    .footer-container {
        width: 100%;
    }

    .footer-top {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }

    .footer-top-1,
    .footer-top-3,
    .footer-top-4 {
        width: 100%;
    }

    .footer-top-4 p {
        font-size: 10px;
    }

    .footer-top-4 form {
        width: 100%;
    }

    .footer-top-4 form input[type="email"] {
        width: 100%;
    }

}