/* vars */ :root { --color-text: #2b2b2b; --color-background: #ededed; --color-white: #ffffff; --color-link: #2b2b2b; --color-link-current: #a6a6a6; --color-pagination: #d7d7d7; --color-link-hover: cornflowerblue; --color-link-active: #00D254; --color-border: #ededed; --color-filter-icon-bg: #fff; --color-filter-icon-hover-bg: #ededed; --color-skrikethrough: #b5b5b5; --space-1: 4px; --space-2: 6px; --space-3: 9px --space-4: 13px; --space-5: 19px; --space-6: 28px; --border-color: #ccc; } /* fonts */ @font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; src: url('../fonts/inter-regular.woff2') format('woff2'); } @font-face { font-family: "Lisboa Heavy"; src: url('../fonts/LisboaHeavy.woff2') format('woff2'), url('../fonts/LisboaHeavy.woff') format('woff'); } @font-face { font-family: 'FS Elliot Pro'; font-style: normal; font-weight: 400; src: url('./../fonts/FS_Elliot_ProRegular.woff') format('woff'); } @font-face { font-family: 'FS Elliot Pro'; font-style: normal; font-weight: 700; src: url('./../fonts/FS_Elliot_ProBold.woff') format('woff'); } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; scrollbar-width: thin; } body { margin: 0; width: 100vw; color: var(--color-text); font-family: "Inter", sans-serif; background-color: var(--color-background); } ul, li, ol { list-style: none; } a { text-decoration: none; } span { font-size: inherit; font-weight: inherit; color: inherit; } h1 { font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.2; } h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); line-height: 1.25; } h3 { font-size: clamp(1.3rem, 3vw, 1.5rem); line-height: 1.3; } h4 { font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.4; } h5 { font-size: clamp(0.85rem, 2vw, 1rem); line-height: 1.5; } h6 { font-size: clamp(0.7rem, 1.5vw, 0.85rem); line-height: 1.6; } h1, h2, h3, h4, h5, h6 { font-family: "Lisboa Heavy"; font-weight: bold; } p { font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.7; } .flex { display: flex; } .title { display: flex; justify-content: center; align-items: center; font-family: "Lisboa Heavy"; font-weight: bold; font-size: 24px; font-weight: 700; margin-bottom: 24px; width: 100%; } .flex-inline { display: inline-flex; } .center { display: flex; justify-content: center; align-items: center; } .hidden { display: none !important; } .w-100 { width: 100%; } .fdr { flex-direction: row; } .fdc { flex-direction: column; } .aic { align-items: center; } .ais { align-items: start; } .aie { align-items: end; } .jcc { justify-content: center; } .jcs { justify-content: start; } .jce { justify-content: end; } .jcb { justify-content: space-between; } .jca { justify-content: space-around; } .jcevn { justify-content: space-evenly; } .acs { align-content: start; } .ace { align-content: end; } .acc { align-content: center; } .acsb { align-content: space-between; } .acsa { align-content: space-around; } .fww { flex-wrap: wrap; } .fwn { flex-wrap: nowrap; } .fwwr { flex-wrap: wrap-reverse; } .fg1 { flex-grow: 1; } .fg0 { flex-grow: 0; } .fs0 { flex-shrink: 0; } .fs1 { flex-shrink: 1; } .f1 { flex: 1; } .w5 { width: 5%; } .container { max-width: 1440px; margin: auto; width: 100%; } section { width: 100%; padding: 40px 20px; } img, button, a { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; -o-user-drag: none; -webkit-touch-callout: none; text-decoration: none; } /* header */ .header { font-family: "Inter"; font-size: 14px; background-color: var(--color-white); font-weight: bold; height: 74px; z-index: 3; } .logo { font-size: 24px; padding-left: 16px; padding-bottom: 4px; line-height: auto; font-family: "Lisboa Heavy"; } .header a { color: var(--color-link); } .header a:hover { color: var(--color-link-hover); } .header a.active { color: var(--color-link-active); } .navbar { width: 100%; max-width: 473px; display: flex; justify-content: space-between; align-items: center; } .navbar-menu { display: none; gap: 4px; flex-direction: column; width: 74px; } .navbar-menu span { width: 20px; height: 3px; background-color: var(--color-text); } .searchcontainer button { background-color: transparent; } .searchbox { display: flex; position: relative; justify-content: center; align-items: center; } .searchbar { padding: 24px 25px 26px 50px; max-width: 490px; height: 74px; border: 1px solid #ededed; border-top: 0; border-bottom: 0; } .searchbox-mobile { display: none; } .search-icon { position: absolute; top: 25px; left: 25px; width: 20px; height: 20px; } .searchbox-mobile { display: none; background-color: transparent; } .search-mobile, .filter-icon, .searchbox-mobile { background-color: #fff; } .searchbox-mobile:hover, .filter-icon:hover { background-color: #ededed; } .filter-icon { width: 74px; height: 74px; padding: 22px; background-color: var(--color-filter-icon-bg); border: 1px solid var(--color-border); border-top: 0; border-bottom: 0; } .filter-icon:hover, .searchbar:focus { background-color: var(--color-background); } /* Laptop breakpoint */ @media (max-width: 1024px) { .searchbox * { display: none !important; } .searchbox-mobile { display: block; width: 74px; height: 74px; border: 0; } } /* Tablet & Mobile */ @media (max-width: 768px) { .navbar-menu { display: flex; height: 74px; } .navbar-menu:hover { background-color: #ededed; } .navbar { display: none; } .navbar-menu { position: relative; right: 0; top: 0; z-index: 100; transition: all 1s; } .navbar-checkbox:checked ~ .search .navbar-menu span:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); } .navbar-checkbox:checked ~ .search .navbar-menu span:nth-child(2) { opacity: 0; } .navbar-checkbox:checked ~ .search .navbar-menu span:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); } .navbar-checkbox:checked ~ #navbar { padding-top: 74px; display: flex; flex-direction: column; justify-content: start; align-items: start; position: absolute; top: 0; max-width: 100vw; width: 100vw; height: 100vh; z-index: 99; background-color: var(--color-white); left: 0; } .navbar-checkbox:checked ~ .navbar a { padding: 20px 30px; width: 100%; } } /* sections */ .main { display: flex; justify-content: center; flex-direction: column; z-index: 2; } /* hero */ .hero { width: 100vw; background-color: transparent; overflow: hidden; } .hero-img { position: absolute; right: 0; z-index: -1; bottom: -60px; } .hero h3 { font-family: "Lisboa Heavy"; font-style: 36px; max-width: 1440px; margin: 0; width: auto; text-align: start; } .hero-contents { padding: 146px 0 146px 14px; width: 100%; position: relative; z-index: 2; } .hero p { max-width: 515px; font-size: 18px; font-weight: normal; } @media (max-width: 1024px) { .hero-img { width: 878px; bottom: -50px; } .hero-contents { padding-top: 10px; } } @media (max-width: 768px) { .hero-img { width: 100%; } .hero p { max-width: 515px; font-size: 18px; font-weight: normal; } .hero-contents { padding-top: 25px; } } /* advantage */ .advantage { font-family: 'FS Elliot Pro'; font-weight: normal; background-color: var(--color-white); } .advantage .item { padding: 16px; width: 350px; height: 254px; margin-bottom: 12px; } .advantage .inner-wrapper { display: flex; flex-direction: row; width: 300px; align-items: center; justify-content: start; margin: 10px 0; gap: 16px; } .advantage .inner-wrapper .title { max-width: 155px; justify-content: start; align-items: start; margin-bottom: 0; } .advantage .inner-wrapper .icon { max-width: 155px; word-break: keep-all; } .advantage .inner-title { font-size: 20px; max-width: 160px; font-weight: bold; margin-bottom: 0; white-space: normal; } .advantage .inner-wrapper p { font-size: 14px; line-height: 24px; } @media (max-width:768px) { .advantage .item { max-width: 375px; width: auto; } .advantage .inner-wrapper { width: auto; } .advantage .inner-title { max-width: 2000px; } } /* course-links */ .course-links h3 { font-size: 24px; font-weight: 700; margin-bottom: 24px; text-align: center; width: 100%; } .course-layout { display: flex; margin: 0 auto; background: var(--color-background); padding: 30px; max-height: 500px; font-family: 'FS Elliot Pro'; font-weight: normal; } .categories { min-width: 221px; height: 420px; display: flex; flex-direction: column; justify-content: space-between; scrollbar-width: none; } .categories-select { display: none; } .categories button { background: none; border: none; text-align: left; font-size: 16px; font-family: 'FS Elliot Pro'; font-weight: 500; cursor: pointer; color: var(--color-link); padding: 16px; } .categories button.active { font-weight: bold; background: var(--color-white); } .categories button:hover { color: var(--color-link-hover); } .subcategories { background: var(--color-white); column-count: 3; column-gap: auto; padding: 10px; width: 100%; } .subcategories a { break-inside: avoid; padding: 10px 24px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; color: var(--color-link); } .subcategories a:hover { background-color: var(--color-background); color: var(--color-link-hover); } @media (max-width: 1440px) { .categories { height: none; flex-direction: row; gap: 30px; width: 100%; margin: 10px 0; overflow-x: scroll; height: auto; } .course-layout { max-height: none; flex-direction: column; } .categories button { padding: 10px; border-radius: 999px; color: var(--color-link); height: 40px; white-space: nowrap; } .categories button.active { background-color: var(--color-link-active); color: var(--color-border); } .subcategories { column-count: 2; column-gap: auto; padding: 10px; width: 100%; } } @media (max-width: 768px) { .categories { display: none; } .categories-select { display: block; padding: 13px 30px; width: 100%; margin: 30px 0; border-radius: 99px; border: 1px solid var(--color-text); } .categories-select option { padding: 10px !important; } .subcategories { column-count: 1; column-gap: auto; padding: 10px; width: 100%; } } /* sponsors */ .sponsors { background-color: var(--color-white); } .carousel-wrapper { max-width: 1236px; margin: 0 auto; display: flex; align-items: center; justify-content: center; position: relative; } .carousel { position: relative; overflow: hidden; width: 100%; } .carousel-track { display: flex; gap: 16px; padding: 16px; padding-left: 22px; transition: transform 0.3s ease; } .prev, .next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 12px; background-color: var(--color-link-active); color: var(--color-border); font-weight: bolder; border: none; border-radius: 9999px; z-index: 10; cursor: pointer; display: grid; place-items: center; } .prev { left: -22px; } .next { right: -22px; } .carousel-slide { flex: 0 0 auto; width: 287px; height: 220px; border-radius: 8px; box-shadow: 0 4px 26px rgba(203, 203, 203, 0.25); } .pagination { display: flex; justify-content: center; margin-top: 10px; } .pagination div { width: 6px; height: 6px; background: var(--color-pagination); margin: 0 4px; border-radius: 50%; } .pagination .active { background: var(--color-link-active); } @media (max-width: 1280px) { .carousel { max-width: 924px; margin: 0 auto; } .carousel-track { padding-left: 16px; } .carousel-wrapper { max-width: 924px; } } @media (max-width: 1024px) { .carousel { max-width: 624px; margin: 0 auto; } .carousel-track { padding-left: 16px; } .carousel-wrapper { max-width: 624px; } } @media (max-width: 928px) and (min-width: 376px) { .carousel-slide { width: 315px; height: 270px; } .carousel { max-width: 345px; } .carousel-wrapper { max-width: 345px; } } @media (max-width: 375px) { .carousel-wrapper { width: 100%; padding: 0 10px; } .carousel-slide { width: 315px; height: 270px; } } /* course */ .course { background-color: var(--color-white); line-height: 1.3; } .course-categories { max-width: 1116px; margin: 0 auto; } .course-categories ul { display: flex; flex-direction: row; justify-content: space-between; white-space: nowrap; gap: 20px; width: 100%; margin: 10px 0; overflow-x: scroll; padding-bottom: 4px; height: auto; scrollbar-width: none; } .course-categories ul li button { white-space: nowrap; padding: 10px 20px; background-color: var(--color-white); border-radius: 99px; border: 0; font-family: 'FS Elliot Pro', sans-serif; border: none; text-align: left; font-size: 16px; font-family: 'FS Elliot Pro'; font-weight: 500; cursor: pointer; color: var(--color-link); padding: 16px; } .course-categories ul li button.active { font-weight: bold; background: var(--color-link-active); } .course-categories ul li button:hover { background: var(--color-link-active); color: var(--color-whitef); } .course-wrapper { display: flex; justify-content: space-between; flex-direction: column; gap: 10px; } .course-item { padding: 24px 36px; max-width: 1195px; width: 100%; display: flex; justify-content: space-between; margin: 0 auto; align-items: center; flex-direction: row; max-height: 150px; box-shadow: 0 4px 26px rgba(203, 203, 203, 0.25); } .course .square-wrapper { display: flex; justify-content: space-around; align-items: center; flex-direction: row; width: 100%; max-width: 710px; } .course-course div { display: flex; flex-direction: column; justify-content: space-between; } .course-item p { word-wrap: break-word; } .course .old-price { text-decoration: line-through; color: var(--color-skrikethrough); } .course .jobtitle { width: 150px; font-family: 'FS Elliot Pro'; font-weight: bold; } .course .inner-title, .small, .course .current-price { font-family: 'FS Elliot Pro', sans-serif; font-weight: bold; } .course .compare { font-family: 'FS Elliot Pro', sans-serif; font-size: 10px; } .course .review { color: var(--color-skrikethrough); } .course .monthly-price, .course .monthly-price span { font-family: 'FS Elliot Pro', sans-serif; color: var(--color-link-active); font-weight: bold; } .course .monthly-price span, .course .review span { font-size: 14px; } .course .review, .course .monthly-price, .course .old-price, .course .currency, .course .small, .course .time { font-size: 12px; } .course .time img { margin-right: 15px; } .course .time { display: flex; flex-direction: row; align-items: center; font-family: 'FS Elliot Pro', sans-serif; justify-content: center; font-weight: bold; max-width: 90px; } .course .compare { color: var(--color-link-current); } .course .details { display: flex; justify-content: center; align-items: start; flex-direction: column; } .course .details .small { display: flex; gap: 18px; justify-content: center; align-items: center; flex-direction: row; } .course .inner-wrapper { display: flex; justify-content: center; flex-direction: column; gap: 8px; align-items: center; } .course .inner-wrapper a { display: flex; justify-content: center; align-items: center; gap: 9px; } .course .btn { border-radius: 999px; width: 144px; padding: 10px 20px; align-items: center; font-family: 'FS Elliot Pro', sans-serif; font-weight: bold; border: none; } .course .btn.secondary { border: 1px solid var(--color-link); } .course .btn:hover { background-color: var(--color-background); color: var(--color-link-active); } .course .active { background-color: var(--color-link-active); color: var(--color-white); } .course a:hover { color: var(--color-link-active); } .course .show-more { padding: 12px 42px; display: flex; color: #8c8c8c; border-radius: 999px; background-color: var(--color-white); border: 1px solid #8c8c8c; margin: 38px auto; font-family: 'FS Elliot Pro', sans-serif; justify-content: center; font-weight: bold; } .course .show-more:hover { background-color: var(--color-background); border: 1px solid var(--color-link-active); color: var(--color-link-active); } @media (max-width: 1024px) { .course .time { display: flex; flex-direction: column; text-align: center; max-width: 50px; } .course .review { max-width: 75px; } .course .time img { margin-right: 0; margin-bottom: 10px; } } @media (max-width: 860px) { .course .square-wrapper div { display: flex; justify-content: center; align-items: start; flex-direction: column; padding: 10px 10px; height: 120px; width: 150px; } .course .time { display: flex; flex-direction: row !important; align-items: center !important; text-align: left; gap: 10px; max-width: 130px; } .course .time img { margin-bottom: 0; margin-right: 15px; } .course-item { max-width: 345px; max-height: 381px; padding: 20px 30px; flex-direction: column; } .course .inner-title { width: 100%; gap: 4px; } .course .jobtitle { display: flex; flex-direction: row; justify-content: start; max-width: none; width: 100%; font-weight: normal; gap: 4px; font-size: 16px; } .course .square-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); justify-content: space-between; row-gap: 10px; } .course .square-wrapper .inner-title { text-align: left; font-size: 16px; } .course .inner-wrapper { display: grid; grid-template-columns: repeat(2, 1fr); width: auto; gap: 10px; justify-items: center; } .course .inner-wrapper .compare { grid-column: span 2; justify-self: center; } .course .review { max-width: 150px; } .course .compare { margin: 0 auto; } } /* breadcrubms*/ .breadcrumbs-link { color: var(--color-link); text-decoration: underline; } .breadcrumbs-current { color: var(--color-link-current); } /* blog */ .blog { background-color: var(--color-white); } .blog-title { text-align: center; font-size: 2.5em; color: #333; margin-bottom: 40px; position: relative; display: inline-block; left: 50%; transform: translateX(-50%); } .blog-title::after { content: ''; display: block; width: 70px; height: 3px; background-color: #007bff; margin: 10px auto 0; } .blog-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(384px, 1fr)); gap: 20px; row-gap: 24px; } .blog-card { background-color: #fff; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); min-width: 345px; max-width: 384px; margin: 0 auto; overflow: hidden; display: flex; flex-direction: column; } .blog-card .card-header { background-color: var(--color-background); padding: 15px; min-height: 200px; display: flex; align-items: flex-end; justify-content: flex-start; } .blog-card .category { background-color: #333; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 0.8em; text-transform: uppercase; } .blog-card .card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; } .blog-card .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 15px; border-top: 1px solid #eee; } .blog-card .date { font-size: 0.9em; color: #777; } .blog-card .details-button { background-color: var(--color-white); color: var(--color-skrikethrough); padding: 8px 15px; border-radius: 999px; font-size: 10px; border: 1px solid var(--color-skrikethrough); text-decoration: none; transition: background-color 0.3s ease; } .blog-card .details-button:hover { background-color: var(--color-filter-icon-hover-bg); } @media (max-width:768px) { .blog-cards { grid-template-columns: 1fr; } } /* foooter */ .footer { background: #000; color: var(--color-skrikethrough); font-family: 'FS Elliot Pro', sans-serif; font-weight: normal; padding: 30px; padding-bottom: 15px; } .footer-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-bottom: 30px; row-gap: 30px; } .footer-column { font-size: 14px; min-width: 180px; } .footer-column h3 { color: var(--color-border); margin-bottom: 8px; font-weight: bold; font-size: 16px; } .footer-column ul { list-style: none; padding: 0; margin: 0; } .footer-column ul li { padding: 4px 8px 4px 0; } .footer-column ul.collapsed { display: block; } .footer-column li a { color: var(--color-skrikethrough); font-size: 14px; } .footer-column h4 { font-family: 'FS Elliot Pro', sans-serif; font-size: 18px; color: var(--color-white); } .footer-top { display: none; justify-content: space-between; width: 100%; padding: 16px 4px 32px 4px; } .footer-bottom { border-top: 1px solid #333; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-top: 15px; font-size: 14px; } .footer-sign { display: none; } .footer-logo { color: var(--color-white); font-weight: bold; } .footer-copy { color: var(--color-skrikethrough); margin: 10px 0; } .footer-links { display: flex; justify-content: space-between; gap: 20px; } .footer-links a { margin: 0 5px; color: #fff; text-decoration: none; } .footer-terms a { color: var(--color-skrikethrough); text-decoration: none; } @media (max-width: 1024px) { .footer-columns { grid-template-columns: repeat(3, 1fr); justify-content: center; } .footer-top { display: flex; } .footer-bottom { position: relative; height: 56px; padding-top: 0; } .footer-bottom .footer-links, .footer-bottom .footer-logo { display: none; } .footer-bottom .footer-terms { position: absolute; left: 0; } .footer-bottom .footer-copy { display: block; position: absolute; right: 0; margin: 0; } } @media (max-width: 768px) { .footer-columns { grid-template-columns: repeat(1, 1fr); justify-content: center; } .footer-sign { display: block; } .footer-column ul.collapsed { display: none; } .footer-column h4 { width: 100%; display: flex; justify-content: space-between; padding: 10px 4px; } .footer-column ul { padding: 10px 4px; } .footer-column li a { padding: 10px 4px; font-size: 12px; } .footer-bottom .footer-logo, .footer-bottom .footer-links { display: none; } .footer-bottom { height: 32px; position: relative; } } @media (max-width: 480px) { .footer-columns { grid-template-columns: 1fr; } } @media (max-width: 375px) { .footer { display: flex; flex-direction: column-reverse; } .footer-bottom { text-align: left; padding-bottom: 20px; } }