@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Manrope:wght@200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --f-poppins: "Poppins", sans-serif;
    --f-manrope: "Manrope", sans-serif;
    --f-inter: "Inter", sans-serif;
    /* --c-paragraph: rgb(159, 159, 159); */
    --c-paragraph: rgb(191, 191, 191);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    background-color: #0f0f0f;
}

.body-hidden {
    overflow: hidden;
}

/* NAVBAR */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 65px;
    background-color: rgba(29, 29, 29, 0.6);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-inline: 20px;
    z-index: 12;
}

.logo {
    display: flex;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
}

.logo > span {
    color: white;
    font-family: var(--f-manrope);
    font-weight: 900;
    font-size: 1.5rem;
}

.links {
    height: 100%;
    display: flex;
    column-gap: 30px;
    list-style: none;
}

.links > li {
    height: 100%;
}

.links > li > a {
    height: 100%;
    display: grid;
    place-content: center;
    text-decoration: none;
    color: white;
    font-family: var(--f-manrope);
    position: relative;
}

.links > li > a:hover::after {
    content: '';
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    bottom: 0px;
}

.links > li > a:hover {
    color: #dfdfdf;
}

.menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 35px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.menu * {
    position: absolute;
    transition: 350ms;
}

.menu > div {
    width: 80%;
    height: 2px;
    background-color: white;
}

.menu-top {
    transform: translateY(-7px);
}

.menu-bottom {
    transform: translateY(7px);
}

.menu-js > .menu-top {
    transform: translateY(0) rotateZ(40deg);
}

.menu-js > .menu-middle {
    transform: rotateY(90deg);
}

.menu-js > .menu-bottom {
    transform: translateY(0) rotateZ(-40deg);
}

.menu-links {
    width: 98%;
    top: 69px;
    left: calc(50% - 49%);
    position: fixed;
    background-color: #1e1e1e;
    background-color: #181818;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    padding-block: 20px;
    font-family: var(--f-manrope);
    opacity: 0;
    pointer-events: none;
    transition: 350ms;
    font-size: 1.1rem;
}

.menu-links > li > a {
    text-decoration: none;
    color: white;
}

.menu-links-js {
    opacity: 1;
    pointer-events: all;
}

/* CONTENT */

main {
    width: 100%;
}

/* MAIN HEADER */

.main-header {
    margin-top: 65px;
    width: 100%;
    height: 600px;
    background-color: #0f0f0f;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(https://framerusercontent.com/images/zL56H0ZkUI70RARs1Ty3RPV93M.svg) no-repeat;
    background-size: cover;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.main-header > h1 {
    color: white;
    font-size: 3.5rem;
    font-family: var(--f-manrope);
    text-align: center;
    font-weight: 900;
    line-height: 65px;
}

.main-header > p {
    margin-top: 5px;
    color: var(--c-paragraph);
    width: 39%;
    font-size: 1.2rem;
    text-align: center;
    font-family: var(--f-manrope);
}

.quick-access-links {
    margin-top: 30px;
    display: flex;
    align-items: center;
    column-gap: 20px;
    font-family: var(--f-poppins);
}

.quick-access-links > a {
    text-decoration: none;
    text-transform: uppercase;
    transition: 350ms;
}

.quick-access-links > a:first-of-type {
    color: white;
    background-color: #ff4800;
    padding: 8px 25px;
    border-radius: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1.02rem;
}

.quick-access-links > a:first-of-type:hover {
    background-color: #db3e00;
}

.quick-access-links > a:last-of-type {
    border-radius: 1.5rem;
    padding: 8px 20px;
    color: white;
    font-size: 1.02rem;
}

.quick-access-links > a:last-of-type:hover {
    color: var(--c-paragraph);
}

/* ABOUT SECTION */

.about-section {
    width: 100%;
    background-color: #0d0d0d;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 70px;
    gap: 40px;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.about-section-left {
    z-index: 2;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    font-family: var(--f-manrope);
}

.about-section-left > h1 {
    color: white;
    font-size: 2.5rem;
}

.about-section-left > p {
    color: var(--c-paragraph);
    line-height: 25px;
}

.about-section-left > a {
    width: max-content;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    font-family: var(--f-manrope);
    padding: 12px 18px;
    background-color: #1c1c1c;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 2rem;
}

.about-section-left > a:hover {
    background-color: #212121;
}

.about-section-right {
    z-index: 1;
    background: url(https://images.unsplash.com/photo-1504384308090-c894fdcc538d?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D) no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 0.2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* SHOWCASE */

.brief-showcase-of-what-we-offer {
    background-color: #0f0f0f;
}

/* LEARNING PATHS */

.learning-paths-showcase,
.resources,
.community {
    width: 100%;
    display: grid;
    grid-template-columns: 500px 1fr;
    padding-top: 50px;
    padding-inline: 50px;
    padding-bottom: 100px;
    column-gap: 20px;
}

.learning-paths-showcase-left,
.resources-left,
.community-left {
    position: relative;
}

.learning-paths-showcase-left-inner,
.resources-left-inner,
.community-left-inner {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    position: sticky;
    top: 120px;
}

.learning-paths-showcase-left-inner > h1,
.resources-left-inner > h1,
.community-left-inner > h1 {
    color: white;
    font-family: var(--f-manrope);
    font-size: 2.5rem;
}

.learning-paths-showcase-left-inner > p,
.resources-left-inner > p,
.community-left-inner > p {
    color: var(--c-paragraph);
    font-family: var(--f-manrope);
}

.learning-paths-showcase-left-inner > a,
.resources-left-inner > a {
    width: max-content;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    font-family: var(--f-manrope);
    padding: 12px 18px;
    background-color: #1c1c1c;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 2rem;
}


.learning-paths-showcase-left-inner > a:hover,
.resources-left-inner > a:hover {
    background-color: #212121;
}

.learning-paths-showcase-right,
.resources-right {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 80px;
}

.learning-paths-showcase-right > a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    background-color: #1e1e1e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.learning-paths-showcase-right > a:hover .images {
    padding: 0;
}

.learning-paths-showcase-right > a > h2 {
    color: white;
    font-family: var(--f-manrope);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
    padding-inline: 15px;
    font-weight: 500;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.learning-paths-showcase-right > a > span {
    color: white;
    font-family: var(--f-manrope);
    font-weight: 200;
    text-transform: uppercase;
    padding-inline: 15px;
    font-size: 0.9rem;
    margin-top: 5px;
}

.learning-paths-showcase-right > a > img {
    width: 100%;
    height: 300px;
    transition: 400ms;
    object-fit: cover;
    padding: 5px;
}

/* COMMUNITY */

.community-left-inner > a {
    width: max-content;
    margin-top: 20px;
    text-decoration: none;
    font-weight: 500;
    color: white;
    font-family: var(--f-manrope);
    padding: 12px 18px;
    background-color: #1f2bd4;
    border-top: 1px solid rgba(255,255,255,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-radius: 2rem;
}

.community-left-inner > a:hover {
    background-color: #1420c6;
}

.community-right {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    padding-left: 30px;
}

.community-right-text {
    background-color: #161616;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    font-family: var(--f-manrope);
}

.community-right-text > h2 {
    color: white;
}

.community-right-text > p {
    color: var(--c-paragraph);
    line-height: 25px;
}

/* BENEFITS OF DEVJOURNEY */

.benefits {
    width: 100%;
    padding-top: 30px;
    font-family: var(--f-manrope);
    padding-bottom: 80px;
}

.benefits-text {
    display: grid;
    place-content: center;
}

.benefits-text > h2 {
    color: white;
    font-size: 3.5rem;
    /* font-weight: 200; */
}

.benefits-inner {
    margin-top: 50px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

/* LEFT */

.benefits-left,
.benefits-right {
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    padding-inline: 50px;
    row-gap: 15px;
}

.benefits-left > div,
.benefits-right > div {
    background-color: #161616;
    border-radius: 0.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.benefits-left > div > h2,
.benefits-right > div > h2 {
    color: white;
}

.benefits-left > div > p,
.benefits-right > div > p {
    color: var(--c-paragraph);
    line-height: 25px;
}

.hidden-left,
.hidden-right {
    opacity: 0;
}

/* MIDDLE */

.benefits-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
}

.down-arrow {
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #24242496;
}

.benefit-number {
    color: white;
    display: grid;
    place-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: #24242496;
    font-weight: 200;
}

.benefit-one-divider {
    border: 1px solid #ffffff22;
    height: 110px;
}

.benefit-two-divider {
    border: 1px solid #ffffff22;
    height: 170px;
}

.benefit-three-divider {
    border: 1px solid #ffffff22;
    height: 170px;
}

.benefit-four-divider {
    border: 1px solid #ffffff22;
    height: 160px;
}

.benefit-five-divider {
    border: 1px solid #ffffff22;
    height: 160px;
}

/* CONTINUES */

.continuing {
    color: white;
    padding-bottom: 40px;
    font-size: 1.5rem;
    display: flex;
    justify-content: center;
    font-family: var(--f-manrope);
    font-weight: 200;
    font-style: italic;
}

/* FOOTER */

footer {
    padding: 15px;
    background-color: #1b1b1b2f;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--f-manrope);
}

footer > p {
    font-weight: 200;
    color: white;
}

footer > p > a {
    color: white;
    text-decoration: none;
}

footer > p > a:hover {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* MEDIA QUERIES */

@media (max-width: 1450px) {
    .learning-paths-showcase,
    .resources,
    .community {
        padding-inline: 25px;
    }
}

@media (max-width: 1300px) {
    .brief-showcase-of-what-we-offer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .learning-paths-showcase,
    .resources,
    .community {
        grid-template-columns: 1fr;
        width: 950px;
        row-gap: 35px;
        padding-bottom: 60px;
    }
    .learning-paths-showcase-right,
    .resources-right {
        gap: 25px;
    }
    .community-right {
        padding-left: 0;
    }
    .main-header > p {
        width: 50%;
    }
    .about-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }
    .about-section-left,
    .about-section-right {
        width: 900px;
    }
    .about-section-right {
        height: 400px;
    }
}

@media (max-width: 1000px) {
    .learning-paths-showcase,
    .resources,
    .community,
    .about-section-left,
    .about-section-right {
        width: 100%;
    }
    .about-section {
        padding-inline: 25px;
    }
    .main-header {
        height: auto;
        padding-block: 150px;
    }
    .main-header > h1 {
        font-size: 3rem;
        line-height: 60px;
    }
    .main-header > p {
        width: 80%;
    }
}

@media (max-width: 900px) {
    .about-section,
    .learning-paths-showcase,
    .resources,
    .community {
        padding-inline: 20px;
    }
    .learning-paths-showcase-right,
    .resources-right {
        gap: 15px;
    }
    .learning-paths-showcase-left-inner > h1,
    .resources-left-inner > h1,
    .community-left-inner > h1,
    .about-section-left > h1 {
        font-size: 2rem;
    }
}

@media (max-width: 800px) {
    .learning-paths-showcase-right,
    .resources-right {
        grid-template-columns: 1fr;
    }
    .learning-paths-showcase,
    .resources,
    .community {
        padding-bottom: 30px;
    }
    .about-section-right {
        height: 350px;
    }
    .main-header {
        padding-inline: 20px;
        padding-block: 120px;
    }
    .main-header > h1 {
        font-size: 2.5rem;
        line-height: 50px;
    }
    .main-header > p {
        width: 90%;
    }
}

@media (max-width: 600px) {
    .main-header > h1 {
        font-size: 2rem;
        line-height: 40px;
    }
    .main-header > p {
        width: 100%;
    }
    .learning-paths-showcase-left-inner > h1,
    .resources-left-inner > h1,
    .community-left-inner > h1,
    .about-section-left > h1 {
        font-size: 1.7rem;
    }
}

@media (max-width: 520px) {
    .learning-paths-showcase-right > a > img {
        padding: 0 !important;
    }
    .box-anchor > img {
        padding: 0 !important;
    }
}

@media (max-width: 450px) {
    .main-header > h1 > br {
        display: none;
    }
}

@media (max-width: 380px) {
    .about-section,
    .learning-paths-showcase,
    .resources,
    .community {
        padding-inline: 10px;
    }
}

/* BENEFITS NUMBER */

@media (max-width: 1450px) {
    .benefit-one-divider {
        height: 140px;
    }
    .benefit-four-divider {
        height: 190px;
    }
}

@media (max-width: 1300px) {
    .benefit-three-divider {
        height: 200px;
    }
    .benefit-five-divider {
        height: 190px;
    }
    .benefits-left,
    .benefits-right {
        padding-inline: 20px;
    }
    .benefits-text > h2 {
        font-size: 3rem;
    }
}

@media (max-width: 1160px) {
    .benefit-two-divider {
        height: 190px;
    }
    .benefit-four-divider {
        height: 240px;
    }
}

@media (max-width: 1140px) {
    .benefit-five-divider {
        height: 240px;
    }
}

@media (max-width: 1000px) {
    .benefits-left {
        display: none;
    }
    .hidden-right {
        opacity: 1;
    }
    .benefits-right {
        padding-inline: 0;
    }
    .benefits {
        padding-inline: 20px;
        padding-bottom: 40px;
    }
    .benefits-inner {
        grid-template-columns: auto 1fr;
        column-gap: 20px;
        margin-top: 0px;
    }
    .benefit-one-divider {
        height: 100px;
    }
    .benefit-two-divider {
        height: 140px;
    }
    .benefit-three-divider {
        height: 140px;
    }
    .benefit-four-divider {
        height: 140px;
    }
    .benefit-five-divider {
        height: 140px;
    }
    .benefits-text > h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 840px) {
    .benefit-one-divider {
        height: 120px;
    }
    .benefit-two-divider {
        height: 160px;
    }
    .benefit-three-divider {
        height: 150px;
    }
    .benefit-four-divider {
        height: 150px;
    }
    .benefit-five-divider {
        height: 160px;
    }
    .benefits-text > h2 {
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    .benefit-two-divider {
        height: 180px;
    }
    .benefit-three-divider {
        height: 180px;
    }
    .benefit-four-divider {
        height: 200px;
    }
    .benefit-five-divider {
        height: 200px;
    }
}

@media (max-width: 620px) {
    .benefit-two-divider {
        height: 220px;
    }
    .benefit-three-divider {
        height: 240px;
    }
    .benefit-five-divider {
        height: 250px;
    }
}

@media (max-width: 530px) {
    .benefit-one-divider {
        height: 200px;
    }
    .benefit-two-divider {
        height: 240px;
    }
    .benefit-three-divider {
        height: 260px;
    }
    .benefit-four-divider {
        height: 300px;
    }
    .benefit-five-divider {
        height: 280px;
    }
}

@media (max-width: 465px) {
    .benefit-two-divider {
        height: 350px;
    }
    .benefit-three-divider {
        height: 350px;
    }
    .benefit-four-divider {
        height: 300px;
    }
    .benefit-five-divider {
        height: 280px;
    }
}

@media (max-width: 420px) {
    .benefits {
        padding-inline: 15px;
    }
    .benefits-inner {
        column-gap: 10px;
    }
    .benefit-four-divider {
        height: 350px;
    }
    .benefit-five-divider {
        height: 320px;
    }
}

@media (max-width: 380px) {
    .benefits-text > h2 {
        margin-bottom: 15px;
        font-size: 1.7rem;
    }
    .benefit-one-divider {
        height: 300px;
    }
    .benefit-two-divider {
        height: 400px;
    }
    .benefit-three-divider {
        height: 450px;
    }
    .benefit-four-divider {
        height: 380px;
    }
}

@media (max-width: 350px) {
    .benefit-five-divider {
        height: 450px;
    }
    .benefits {
        padding-inline: 10px;
    }
}

/* NAVBAR */

@media (max-width: 800px) {
    .links {
        display: none;
    }
    .menu {
        display: flex;
    }
}

/* FOOTER */

@media (max-width: 800px) {
    footer {
        flex-direction: column;
        row-gap: 20px;
        text-align: center;
    }
}