body {
    font-family: "Roboto", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    ;
}

.nav-bar {
    background-color: #272397;
}

li {
    list-style: none;
}

.nav-bar .nav-1 .align {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    background-color: #272397;
    color: #bbc6ff;
    width: 938px;
    margin: 0 auto;
    padding: 5px;


    .followed {
        display: flex;
        gap: 2rem;

        .logo {
            display: flex;
            gap: 1.5rem;


        }
    }




}

.nav-bar .nav-2 .align {
    display: flex;
    justify-content: space-between;
    background-color: #040fac;
    /* padding: 5px; */
    width: 938px;
    margin: 0 auto;

    .site-logo a img {
        padding: 15px;
    }

    .newsletter button {
        background-color: #ffdb4d;
        padding: 0 12px;
        border-radius: 6px;
        border: #ffdb4d;
        color: #4a380e;
        line-height: 40px;
        margin: 18.5px 0;
        font-weight: 500;
        font-weight: bolder;
        height: 40px;
        display: flex;
        /* gap: 1rem; */
        cursor: pointer;

        .email-logo {
            padding: 4px 4px;
            margin-right: 5px;
        }


    }
}

.nav-3 .align {
    display: flex;
    justify-content: space-between;
    width: 938px;
    margin: 0 auto;
    padding: 5px;

    .links {
        display: flex;
        gap: 3rem;
        font-size: 15px;
        color: #555555;
        font-weight: 500;
        background-color: #fff;
        padding: 10px;
    }

    .search-menu {
        display: flex;
        gap: 3rem;
        padding: 12px;

        .search button,
        .menu button {
            background-color: #fff;
            border: 0;
        }



    }

}

.banner {
    padding: 20px;
    background-color: aliceblue;
    border-top: 5px solid #e2ebee;






    .align {
        width: 938px;
        margin: 0 auto;
        /* margin-right: 1px; */
        display: flex;
        justify-content: center;

        .banner-img img {
            border-radius: 6px;

        }





    }

}

.banner:hover {
    transform: scale(1.025);
}

article .container {
    display: flex;
    justify-content: space-between;
    /* gap: 10rem; */
    width: 938px;
    margin: 0 auto;
    padding: 35px;

    .container-1 {

        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .container-1 .news-card {
        display: flex;
        gap: 1rem;

        .news-info .news-title {
            font-size: 12px;
            line-height: 27px;
            margin-bottom: 5px;



            /* line-height: 28px; */
        }

        .news-wrapper {
            display: flex;
            gap: 1rem;
        }

        .news-info .news-title a:link,
        a:visited {
            text-decoration: none;
            color: #232f3e
        }

        .news-info .news-title a:hover {
            text-decoration: underline;
        }



        .date-category {
            display: flex;
            gap: 1rem;
            font-size: 13px;
            color: #425a78;
            margin-bottom: 5px;

            .news-date {
                display: flex;
                gap: 0.5rem;
            }

        }

        .news-desc {
            font-size: 13.5px;
            color: #425a78;
            line-height: 22px;
            display: -webkit-box;
            max-width: 300px;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;

        }

        .news-image a img {
            border-radius: 6px;
        }


    }

    .container-1 .news-card a:link,
    a:visited {
        text-decoration: none;
    }

    .container-1 .news-card a:hover {
        text-decoration: none;

        .news-wrapper .news-info .news-title {
            text-decoration: underline;
        }

        .news-image img {
            border-radius: 6px;

        }


    }

    .container-2 {
        display: flex;

        flex-direction: column;
        gap: 1rem;

        .underline {
            display: flex;
            width: 35%;
        }

        .underline .underline-1 {
            flex-basis: 20%;


            height: 6px;

            background-color: #232F3E;
        }

        .underline .underline-2 {
            flex-grow: 1;

            height: 1px;
            background-color: #232F3E;
            align-self: center;
        }

        .trending-card {
            display: flex;
            gap: 1rem;

            .trending-img img {
                border-radius: 6px;
            }

            .news-link a:link,
            a:visited {
                text-decoration: none;
                color: #425a78;
            }

            .news-link a:hover {
                text-decoration: underline;
            }


        }



        .trending {
            /* margin: 0 0 10px; */
            /* 20px margin-bottom */
            font-size: 20px;
            /* padding: 0 0 2px; */
            font-weight: 900;


            color: #232F3E;
        }
    }
}

footer {
    width: 938px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 30px;

    .Connect {
        display: flex;
        justify-content: center;
        font-size: 18px;
        font-weight: 750;
        line-height: 20px;
    }

    .social {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 30px;

        .social-desc a:link,
        a:visited {
            text-decoration: none;
            color: gray;
            font-size: small;
            font-weight: 600;

        }

        .social-image {
            display: flex;
            justify-content: center;
            align-items: center;
            padding-bottom: 5px;

        }

        .social-image:hover {
            transform: scale(1.1);
        }



    }

    .about {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        .about-info {

            display: flex;
            flex-direction: column;
            gap: 0.5rem;

            .about-title {
                font-size: 16px;
                color: #232f3e;


            }

            .about-links li a:link,
            a:visited {
                font-size: 14px;
                text-decoration: none;
                color: #3f5672;
            }

            .about-links li a:hover {
                text-decoration: underline;
            }
        }


    }

    .btn button {
        display: flex;
        justify-content: space-between;

        padding: 5px 60px;
        background-color: #eaedf7;
        border-radius: 6px;
        margin: 15px 0;
        font-size: 15px;
        max-width: 300px;
        color: #3f5672;
        border: 1px solid #d2d4e2;
        cursor: pointer;
        padding-left: 30px;
        margin-right: 10px;
        width: 200px;

        .text-link a:link,
        a:visited {
            text-decoration: none;
            color: #3f5672;

        }




    }

    .btn button:hover {
        transform: scale(1.2);
        /* increses button size by 120%  */
    }

    .copyright {
        font-size: 11px;
        padding: 5px 5px 5px 0;
        color: #425a78;
        border-top: 2px solid #e2e7fd;
    }
}

.container-3 {
    background-color: #3732b3;
    display: flex;
    justify-content: center;
    text-align: center;
    border-bottom: 8px solid #ffe052;
    width: 938px;
    margin: 0 auto;
    padding: 30px 20px;
    border-top-left-radius: 6px;
    border-top-right-radius: 25px;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 6px;
    color: white;

    .sign-up-wrap {
        width: 500px;
        margin: 0 auto;
    }


    .sign-up-wrap .Join,
    .sign-up-wrap .sign,
    .sign-up-wrap .email-address {
        padding: 10px;
    }

    .sign-up-wrap .Join {
        font-size: 22px;
        font-weight: 500;
        line-height: 25px;
    }

    .sign-up-wrap .sign {
        color: #ebf0ff;
        line-height: 27px;
        font-size: 16px;
    }

    .sign-up-wrap {


        .email-address {
            background-color: white;
            display: flex;
            justify-content: space-between;
            width: 75%;
            margin-left: 50px;
            border-radius: 3px;



            .first-part {
                color: #555555;
                text-align: left;


                .input-box {
                    height: 40px;
                    width: 300px;
                    border: none;
                    border-color: transparent;

                }



            }

            .second-part button {
                color: white;
                background-color: #195afe;

                border: none;
                width: 60px;
                height: 40px;
                /* padding: 0px 5px; */
                cursor: pointer;
                border-radius: 3px;
                font-size: large;
            }

        }
    }

}

.next-btn {
    width: 938px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;

    .btnclass {
        font-size: 16px;
        color: white;
        background-color: #3732b3;
        border: none;
        cursor: pointer;
        padding: 10px 16px;
        border-radius: 6px;
        text-align: center;
    }
}