@charset "utf-8"; :root { --light-color: rgb(255, 255, 255); --dark-color: rgb(0, 0, 0); } /* CLEAN BASE */ html, body, br, div, span, a, object, iframe, ul, ol, dl, li, dt, dd, h1, h2, h3, h4, h5, h6, p, blockquote, q, address, small, big, cite, dfn, ins, del, i, em, b, strong, sup, sub, strike, pre, code, samp, kbd, var, tt, form, fieldset, legend, label, input, textarea, option, .nobox { background: transparent; border: 0; font-size: 100%; margin: 0; outline: 0; padding: 0; vertical-align: baseline; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } blockquote, q { quotes: none; } blockquote { display: block; margin-block-start: 1em; margin-block-end: 1em; margin-inline-start: 40px; margin-inline-end: 40px; } br { height: 0; } ul, ol, dl, li { margin: 0; padding: 0; } html, body { border: none; -webkit-appearance: none; -ms-appearance: none; -webkit-text-size-adjust: none; -ms-text-size-adjust: none; } /* Class for clearing floats */ .clear { clear: both; display: block; overflow: hidden; visibility: hidden; width: 0; height: 0; } .cf:after, .cf:before { display: table; content: ''; } .cf:after { clear: both; } *, *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } /* BASE TYPOGRAPHY */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; vertical-align: top; margin: 0; padding: 0; } html, body { font-family: var(--font-body); font-size: 16px; font-weight: 400; font-style: normal; letter-spacing: 0.02px; line-height: normal; color: var(--body-text-color); } a { text-decoration: none; display: inline-block; color: var(--body-text-color); } .basecraft-btn { display: inline-block; background-color: var(--button-bg-color); border: 2px solid var(--button-bg-hover-color); color: var(--button-bg-hover-color); padding: 15px 30px 17px; line-height: 1; border-radius: 15px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; } .basecraft-btn:hover { background-color: var(--button-bg-hover-color); border-color: var(--button-bg-color); color: var(--button-bg-color); } .basecraft-container { width: 100%; margin: 0px auto; max-width: 1300px; padding: 0px 15px; } .section-padding { padding: 40px 0; } .basecraft-light { color: var(--light-color); } h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); } h1 { font-size: 50px; line-height: 60px; font-weight: 600; margin-bottom: 15px; } h2 { font-size: 40px; line-height: 50px; font-weight: 600; margin-bottom: 15px; } h3 { font-size: 32px; line-height: 42px; margin-bottom: 15px; font-weight: 600; } h4 { font-size: 28px; line-height: 38px; font-weight: 600; color: var(--body-text-color); margin-bottom: 15px; } h5 { font-size: 24px; line-height: 34px; font-weight: 600; color: var(--body-text-color); margin-bottom: 15px; } h6 { font-size: 20px; line-height: 30px; font-weight: 600; color: var(--body-text-color); margin-bottom: 10px; } p { font-size: 16px; line-height: 1.4; margin-bottom: 10px; } p:last-of-type { margin-bottom: 0; } ul, ol { padding-left: 20px; } /* START HEADER */ header { padding: 20px 0px; border-bottom: 1px solid #c7c7c7; background-color: var(--primary-color); overflow: hidden; } .basecraft-header-wrap { display: flex; justify-content: space-between; align-items: center; } .basecraft-header-wrap .menu { list-style: none; display: flex; padding: 0; } .basecraft-header-wrap .menu>li:not(:last-child) { margin-right: 30px; } .basecraft-header-wrap .menu>li a, footer .menu-footer-menu-container .menu>li a { color: var(--body-text-color); cursor: pointer; } .basecraft-header-wrap .menu>li a:hover { opacity: 0.6; } .basecraft-header-wrap .basecraft-site-logo img { max-width: 180px; object-fit: cover; } .basecraft-skip-link { position: absolute; top: -40px; left: 0; background: #000; color: #fff; padding: 8px 16px; z-index: 1000; text-decoration: none; transition: top 0.3s ease; } .basecraft-skip-link:focus { top: 0; } a:focus, button:focus, input:focus, textarea:focus, select:focus { outline: 2px solid #000000; outline-offset: 0.5pxbasecraft-; } .basecraft-mobile-menu-trigger { width: 5rem; height: 3rem; position: relative; z-index: 10; border-radius: 100%; display: none; margin-left: autobasecraft-; } .basecraft-mobile-menu-trigger span { height: 2px; background-color: #000000; width: 40px; position: absolute; top: 50%; transform: translateY(-50%); right: 0; } .basecraft-mobile-menu-trigger span::before, .basecraft-mobile-menu-trigger span::after { -webkit-transition-duration: .5s; transition-duration: .5s; position: absolute; width: 40px; height: 2px; background-color: #000000; content: ""; top: -9px; rightbasecraft-: 0; } .basecraft-mobile-menu-trigger span::after { top: 9px; } .menu-open .basecraft-mobile-menu-trigger span::before { -webkit-transform: rotateZ(45deg) scaleX(1) translate(5px, 8px); transform: rotateZ(45deg) scaleX(1) translate(5px, 8px); width: 2.5rem; height: 2px; } .menu-open .basecraft-mobile-menu-trigger span::after { -webkit-transform: rotateZ(-45deg) scaleX(1) translate(5px, -8px); transform: rotateZ(-45deg) scaleX(1) translate(5px, -8px); width: 2.5rem; height: 2px; } /* END HEADER */ /* START FOOTER */ footer { padding: 40px 0px 0px 0px; background: var(--primary-color); border-top: 1px solid #c7c7c7; overflow:hidden; } .basecraft-footer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; } .basecraft-copyright { border-top: 1px solid #c7c7c7; padding: 20px 0; text-align: center; } .basecraft-social-icons img { width: 30px; height: 30px; object-fit: contain; } .basecraft-social-icons a:hover { opacity: 0.65; } .basecraft-social-icons { display: flex; gap: 20px; } footer .menu-footer-menu-container .menu { display: flex; flex-wrap: wrap; list-style: none; padding: 0; } footer .menu-footer-menu-container .menu>li:not(:last-child) { margin-right: 15px; } .basecraft-footer-logo img { max-width: 250px; height: auto; object-fit: contain; } .basecraft-footer-top .basecraft-footer-right { display: flex; flex-direction: column; gap: 30px; } .basecraft_back_to_top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; z-index: 10; background-color: var(--primary-color); border: 1px solid var(--secondary-color); display: flex; justify-content: center; align-items: center; border-radius: 50px; transition: all 0.3s ease; } .basecraft_back_to_top:hover { background-color: var(--secondary-color); border: 1px solid var(--primary-color); } .basecraft_back_to_top img { display: block; max-width: 20px; height: auto; object-fit: contain; } .basecraft_back_to_top:hover img{ filter: invert(1); } /* END FOOTER */ /* SECTION CSS STARTS HERE */ section { padding: 60px 0px; overflow:hidden; } /* SECTION CSS STARTS HERE */ /* DEFAULT PAGE START HERE */ .basecraft-post-inner .basecraft-post-content { margin: -30px 15px 15px; padding: 15px; background: var(--light-color); z-index: 1; position: relative; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; border-radius: 5px; flex: 1; overflow: hidden; } .basecraft-post-wrap .basecraft-post-inner { padding: 15px; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; display: flex; flex-direction: column; border-radius: 10px; } .basecraft-post-content .basecraft-post-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .basecraft-post-content .basecraft-post-info { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .basecraft-post-info .basecraft-author, .basecraft-post-info .basecraft-author, .basecraft-post-info .basecraft-post-category { display: flex; align-items: center; font-size: 14px; } .basecraft-post-info .basecraft-author img, .basecraft-post-info .basecraft-post-category img { max-width: 16px; display: block; margin-right: 6px; } .basecraft-post-inner .basecraft-post-img { position: relative; } .basecraft-post-img .basecraft-post-date { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%) scale(0.25); opacity: 0; z-index: 1; max-width: 92px; margin: 0 auto; padding: 10px; white-space: normal; display: inline-block; text-align: center; border: 4px solid #fff; transition: all 0.3s ease; } .basecraft-post-wrap .basecraft-post-inner:hover .basecraft-post-date { transform: translateY(-50%) scale(1); opacity: 1; } .basecraft-post-inner .basecraft-feature-img { position: relative; padding-bottom: 67%; overflow: hidden; } .basecraft-post-wrap .basecraft-post-inner .basecraft-feature-img::before { position: absolute; content: ""; inset: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.45); z-index: 1; opacity: 0; transition: opacity 0.3s ease; } .basecraft-post-wrap .basecraft-post-inner:hover .basecraft-feature-img::before { opacity: 1; } .basecraft-post-inner .basecraft-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: transform 0.3s ease; } .basecraft-post-inner:hover .basecraft-feature-img img { transform: scale(1); } /* DEFAULT PAGE END HERE */ /* SINGLE POST CSS START HERE */ .basecraft-post-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } .basecraft-post-banner, .basecraft-page-banner, .basecraft-error-img { position: relative; min-height: 400px; display: flex; align-items: center; } .basecraft-post-banner .basecraft-banner-img img, .basecraft-page-banner .basecraft-page-image img, .basecraft-error-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .basecraft-post-banner .basecraft-post-title, .basecraft-page-banner .basecraft-page-title, .basecraft-error-img h2 { position: relative; z-index: 1; color: var(--light-color); text-align: center; } .basecraft-post-banner::before, .basecraft-page-banner::before, .basecraft-error-img::before { position: absolute; content: ""; inset: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.35); z-index: 1; } .basecraft-post-content .basecraft-post-meta { display: inline-flex; margin-bottom: 30px; gap: 20px; } .basecraft-post-meta span img { max-width: 25px; display: inline-block; margin-right: 8px; } .basecraft-post-meta span, .basecraft-post-meta span>a { display: inline-flex; align-items: center; } /* SINGLE POST CSS ENDS HERE */ /* START 404 PAGE DESIGN */ .basecraft-error-page { padding: 0; } .basecraft-error-wrap, .basecraft-error-img { padding: 50px 0; text-align: center; overflow: hidden; } .basecraft-error-wrap h1 { font-size: 9vw; line-height: 1; } .basecraft-error-wrap .basecraft-btn { margin-top: 20px; } /* END 404 PAGE DESIGN */ /* START SEARCH RESULT PAGE DESIGN */ .basecraft-search-result { text-align: center; } /* ENDS SEARCH RESULT PAGE DESIGN */ /* PAGINATION DESIGN */ .basecraft-pagination { text-align: center; margin-top: 2rem; display: flex; justify-content: center; align-items: center; gap: 20px; } .basecraft-pagination .page-numbers:not(.prev, .next, .dots) { background: var(--primary-color); color: var(--body-text-color); width: 50px; height: 50px; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; transition: all 0.3s ease; box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px; } .basecraft-pagination .page-numbers.current, .basecraft-pagination .page-numbers:not(.prev, .next):hover { background: var(--secondary-color); color: #ffffff; } /* ENDS PAGINATION DESIGN */ @media (max-width:991px) { body.menu-open { overflow-y: hidden; } .basecraft-post-wrap { grid-template-columns: repeat(2, 1fr); } .basecraft-mobile-menu-trigger { display: block; z-index: 999999; } .menu-header-menu-container { position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; padding: 140px 30px 60px; display: flex; justify-content: flex-start; align-items: flex-start; background: rgba(0, 0, 0, 0.85); z-index: 9999; transition: left 0.3s ease; } .menu-header-menu-container.active { left: 0; } .menu-header-menu-container ul { max-height: 100%; overflow-y: auto; width: 100%; flex-direction: column; } .basecraft-header-wrap .menu-header-menu-container ul li:not(:last-child) { margin: 0 0 30px 0; } .basecraft-header-wrap .menu-header-menu-container ul li a { font-size: 35px; color: #ffffff; } .basecraft-mobile-menu-trigger.active span { background-color: transparent; } .basecraft-mobile-menu-trigger.active span:before, .basecraft-mobile-menu-trigger.active span:after { background-color: #ffffff; } .basecraft-footer-top { flex-wrap: wrap; } .basecraft-header-menu-container { transform: none !important; } } @media (max-width:767px) { h1 { font-size: 40px; line-height: 60px; } h2 { font-size: 32px; line-height: 40px; } h3 { font-size: 28px; line-height: 38px; } h4 { font-size: 24px; line-height: 34px; } .basecraft-post-wrap { grid-template-columns: repeat(1, 1fr); } .basecraft-footer-logo img { max-width: 180px; } .basecraft-footer-top>* { width: 100%; } .basecraft-footer-top .basecraft-footer-right .basecraft-social-icons, .menu-footer-menu-container .menu { justify-content: flex-end; } .basecraft-footer-top .basecraft-footer-right { gap: 20px; margin-top: 20px; } .basecraft-post-banner, .basecraft-page-banner, .basecraft-error-img { min-height: 300px; } .basecraft-post-meta span img { max-width: 18px; } .basecraft-post-content .basecraft-post-meta span { font-size: 14px; } .basecraft-post-content .basecraft-post-meta { margin-bottom: 18px; gap: 15px; } .basecraft-error-wrap h1 { font-size: 125px; } .basecraft-error-wrap .basecraft-btn { margin-top: 0; } .basecraft-header-wrap .basecraft-site-logo img { max-width: 150px; } }