
* {
    margin: 0;
    padding: 0;
}

#footer {
    display: grid;
    justify-content: center;
    grid-template-columns: 220px 220px 200px 200px 210px;
    grid-template-rows: 197px 1px 87.80px;
    gap: 20px;
    border: 1px solid rgb(225, 224, 224);
    background-color: #f9fafb;
    margin-top: 100px;
    padding-top: 30px;
    padding-bottom: 30px;
    font-family: Graphik Web Regular, sans-serif;
    color: gray;
}

/* ...............box1........... */


#box01 {
    grid-area: 1/1/2/3;

}

#bin1 {

    font-size: 13.3px;
    width: 443.19px;
    font-size: 13.3px;
    line-height: 20px;
}

#boxinput {
    border: 1px solid rgb(201, 196, 196);
    border-radius: 5px;
    padding-left: 8px;
    margin-right: 5px;
}

#subscribe {
    height: 36px;
    width: 110px;
    background-color: #1f7ae0;
    border-radius: 5px;
    border: none;
    color: white;
}

#iemail {
    border: none;
    box-shadow: none;
    width: 179px;
    height: 32px;
    outline: none;
    border-radius: 5px;
    padding-left: 5px;
}

#lower {
    display: flex;
    justify-content: left;
    align-items: left;
    margin-top: 8px;
}

#i100 {
    border: 1px solid #cecece;
    border-radius: 5px;
    margin-right: 10px;
    justify-content: center;
    align-items: center;
    align-content: center;

    height: 35px;
}

/* ..........box2........... */
#box02 {
    grid-area: 1/3/2/4;

}

#bin2>p>a,
#bin3>p>a,
#bin4>p>a {
    color: #828588;
    text-decoration: none;
    line-height: 25px;
    font-size: 13.2px;
    transition: width 2s, height 4s;
}

#bin2>p>a:hover,
#bin3>p>a:hover,
#bin4>p>a:hover {
    color: #313234;
    text-decoration: none;
    line-height: 25px;
    font-size: 13.2px;
    font-weight: bold;
}

/* ..........box3........... */


#box03 {
    grid-area: 1/4/2/5;


}

#box04 {
    grid-area: 1/5/2/6;

}

/* ..........box5........ */

#box05 {
    grid-area: 2/1/3/6;
    background-color: rgb(230, 224, 224);
}

/* ...........box6......... */
#box06 {
    grid-area: 3/1/4/3;

    font-size: 13px;
    line-height: 20px;

}

#box1>p {
    width: 250px;
}

/* ..............box7........... */
#box07 {
    grid-area: 3/3/4/5;

    font-size: 13px;
    line-height: 20px;

}

#box2>p {
    width: 230px;
}

/* ...............box8............. */
#box08 {
    grid-area: 3/5/4/6;

    font-size: 13px;
    line-height: 20px;
}


.fa-brands {
    font-size: 20px;
    color: gray;

}

.fa-brands:hover {
    font-size: 20px;
    color: rgb(75, 75, 75);
    background-color: rgb(223, 223, 223);
    padding: 5px;
    transition: width 10s, height 10s;
}

/* ...............alert msg..........  */

.alert {
    border: 1px solid green;
    padding: 15px 20px;
    min-width: 250px;
    position: absolute;
    overflow: hidden;
    background-color: white;
    left: 20px;
    /* top: 20px; */
    border-radius: 5px;
}

.alert.show {
    animation: show_slide 1s ease forwards;
}

@keyframes show_slide {
    0% {
        transform: translateX(100%);
    }

    40% {
        transform: translateX(-10%);
    }

    80% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-10px);
    }
}

.alert.hide {
    display: none;
}

.alert .fa-circle-check {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

.alert .msg {
    padding: 5px 20px;
    margin-left: 16px;
}

.alert .close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}



/* for  ipad and tablets */


@media only screen and (max-width: 900px) {

    /*900*/
    #footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding-left: 50px;
        padding-right: 5px;

    }

    /* #box01{
          
        } */

    #bin1 {

        font-size: 18px;
        width: 500px;
        line-height: 30px;
    }

    #smallcaselog {
        height: 40px;
    }

    #boxinput {
        border: 1px solid rgb(201, 196, 196);
        border-radius: 2px;
        padding-left: 8px;
        margin-right: 5px;

    }

    #subscribe {
        height: 30px;
        width: 70px;
        background-color: #1f7ae0;
        border-radius: 2px;
        border: none;
        color: white;
        font-size: 10px;
    }

    #iemail {
        border: none;
        box-shadow: none;
        width: 120px;
        height: 20px;
        outline: none;
        border-radius: 5px;
        padding-left: 5px;
        font-size: 10px;
    }

    #lower {
        display: flex;
        justify-content: left;
        align-items: left;
        margin-top: 8px;
    }

    #i100 {
        border: 1px solid #cecece;
        border-radius: 5px;
        margin-right: 10px;
        justify-content: center;
        align-items: center;
        align-content: center;
        height: 35px;
    }

    #bin2>p>a,
    #bin3>p>a,
    #bin4>p>a {
        color: #828588;
        text-decoration: none;
        line-height: 30px;
        font-size: 15px;
    }

    /* #box02{
             
        }
        #box03{
            
        }
        #box04{

        }
        #box05{

        }
        #box06{

        } */
    #box1>p {
        font-size: 18px;
        width: 400px;
    }

    /* #box07{

        } */
    #box2>p {
        width: 260px;
        font-size: 16px;
    }

    /* #box08{

        } */
    .fa-brands {
        font-size: 32px;
        color: gray;

    }

    .fa-brands:hover {
        font-size: 32px;
        color: rgb(75, 75, 75);
        background-color: rgb(223, 223, 223);
        padding: 5px;
        transition: width 10s, height 10s;
    }

}

/*     for smartphones      */

@media only screen and (max-width: 600px) {

    /*600*/
    #footer {
        display: flex;
        justify-content: center;
        flex-direction: column;
        padding-left: 15px;
        padding-right: 5px;

    }

    /* #box01{
          
        } */
    #bin1 {

        font-size: 10px;
        width: 180px;
        line-height: 16px;
    }

    #smallcaselog {
        height: 20px;
    }

    #boxinput {
        border: 1px solid rgb(201, 196, 196);
        border-radius: 2px;
        padding-left: 8px;
        margin-right: 5px;

    }

    #subscribe {
        height: 20px;
        width: 50px;
        background-color: #1f7ae0;
        border-radius: 2px;
        border: none;
        color: white;
        font-size: 10px;
    }

    #iemail {
        border: none;
        box-shadow: none;
        width: 80px;
        height: 20px;
        outline: none;
        border-radius: 5px;
        padding-left: 5px;
        font-size: 10px;
    }

    #lower {
        display: flex;
        justify-content: left;
        align-items: left;
        margin-top: 8px;
    }

    #i100 {
        border: 1px solid #cecece;
        border-radius: 5px;
        margin-right: 10px;
        justify-content: center;
        align-items: center;
        align-content: center;
        height: 35px;
    }

    #bin2>p>a,
    #bin3>p>a,
    #bin4>p>a {
        color: #828588;
        text-decoration: none;
        line-height: 25px;
        font-size: 10px;
        transition: width 2s, height 4s;
    }

    /* #box02{
             
        }
        #box03{
            
        }
        #box04{

        }
        #box05{

        }
        #box06{

        } */
    #box1>p {
        font-size: 10px;
        width: 200px;
    }

    /* #box07{

        } */
    #box2>p {
        width: 200px;
    }

    /* #box08{

        } */
    .fa-brands {
        font-size: 20px;
        color: gray;

    }

    .fa-brands:hover {
        font-size: 30px;
        color: rgb(75, 75, 75);
        background-color: rgb(223, 223, 223);
        padding: 5px;
        transition: width 10s, height 10s;
    }


}


