@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap"); /* for mobile */ @media (max-width: 600px) { header { flex-direction: column; } header .title { justify-content: center; margin: 0.5rem 0; } header .list ul { margin: 0rem 1.5rem 1.5rem; flex-direction: column; justify-content: center; } header .list li { text-align: center; } header .list .vertical { display: none; } } /* mobile end */ /* global classes */ .container { max-width: 1500px; margin: 0 auto; } .vertical { width: 2px; height: 1.2rem; margin: auto 1rem; } .overlay { height: 100%; background-color: #000000; opacity: 0.9; } .overlay:hover { opacity: 1; transition-duration: 0.3s; } /* titles */ .title_small { font-size: 1.5rem; } .title_medium { font-size: 1.75rem; } .title_large { font-size: 2.25rem; } /* Background colors */ .user { display: flex; justify-content: center; margin: 0 -1rem; } /* Background colors end*/ /* global classes end*/ * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Open Sans"; } body { background: #e8e8e8; } /* for header */ header { background: #161a1d; display: flex; justify-content: space-between; color: #fff; } header .title { align-items: center; display: flex; margin: 0 1rem; } header .list ul { display: flex; list-style-type: none; margin: 1.5rem; } header .list li { margin: 0.5rem; } header .list li a { text-decoration: none; color: #fff; } header .list li a:hover { color: #d3d3d3; transition-duration: 0.3s; } header .list span { align-items: center; } header .list button { border: none; color: #fff; border-radius: 2px; padding: 0.5rem 1.5rem; font-size: 16px; background: #5a189a; } header .list button:hover { background: #7b2cbf; transition-duration: 0.3s; } /* header end */ /* for most popular section*/ .title_medium { margin: 1rem; } .popular { display: flex; flex-wrap: wrap; } .popular .post { margin: 1rem; width: 465px; height: 300px; } .popular .post img { height: 100%; width: 100%; } .popular .post .post_body { position: absolute; transform: translate(15px, -70px); color: #fff; } /* most popular section end */ /* for login page */ header { position: relative; } .main { display: flex; justify-content: center; align-items: center; height: 80vh; } .main .login { border-radius: 4px; padding: 3rem 2rem; background: #161a1d; color: #fff; } .main .login h2 { display: flex; justify-content: center; margin: 1rem 0; } .main .login input { width: 20rem; height: 2rem; margin: 0.5rem 1rem; border: none; padding: 0.5rem; } .main .login label { margin: 0 1rem; } .main .login div { display: flex; justify-content: space-between; margin: 1rem 1rem 0; } .main .login div small { display: flex; align-items: center; } .main .login div a { color: gray; text-decoration: none; } .main .login div button { border: none; padding: 0.5rem 1rem; color: #000; background: #fff; } .main .login div button:hover { background: #7b2cbf; transition-duration: 0.3s; } /*login page end*/ /* Recent posts */ .recent_posts { display: flex; flex-wrap: wrap; } .recent_posts .recent_post { width: 465px; margin: 1rem; } .recent_posts img { width: 100%; height: 300px; } .recent_posts .post_body { padding: 0.5rem; box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); } .recent_posts button { border: none; background: #161a1d; padding: 0.5rem 1.5rem; color: #fff; margin: 0.5rem 0; transform: translateX(275%); } .recent_posts a { color: #5a189a; text-decoration: none; } /* Recent posts end */ #subscribe { margin: 1rem 0; height: 20vh; width: 100%; background: #161a1d; } #subscribe .newsletter { display: flex; justify-content: center; align-items: center; height: 20vh; } #subscribe .newsletter label { color: #fff; text-align: center; } #subscribe .newsletter input { margin: 0.5rem 0; padding: 0.4rem; width: 300px; } #subscribe .newsletter button { border: none; padding: 0.5rem 1rem; background: #7b2cbf; color: #fff; } /*# sourceMappingURL=main.css.map */