@font-face {
    font-family: SatoshiRegular;
    src: url(fonts/satoshi/Satoshi-Regular.woff2);
}

@font-face {
    font-family: SatoshiMedium;
    src: url(fonts/satoshi/Satoshi-Medium.woff2);
}

@font-face {
    font-family: SatoshiBlack;
    src: url(fonts/satoshi/Satoshi-Black.woff2);
}

@font-face {
    font-family: SatoshiBold;
    src: url(fonts/satoshi/Satoshi-Bold.woff2);
}

.semester-container * {
    box-sizing: border-box;
    /* margin: 0; */
    padding: 0;
    font-family: SatoshiRegular;
}

.semester-container {
    padding-top: 48px;
}

.semester-container .semester-heading-container {
    text-align: center;
    max-width: 250px;
    margin: auto;
}

.semester-container .semester-heading-container h2 {
    font-size: 22px;
    color: #2B2B2B;
    margin-bottom: 16px;
    font-family: SatoshiBlack;
}

.semester-container .semester-heading-container p {
    color: #4C4C4C;
    font-size: 16px;
    font-family: SatoshiRegular;
    margin-bottom: 32px;
}

.semester-container .curriculum-section {
    /* background: url(../bucket/semester-background-waves.png);
    background-size: cover; */
    padding: 0px 16px 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-attachment: fixed;
}

.semester-container .curriculum-section .card-outer-wrapper {
    width: 100%;
    position: relative;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card {
    background: #FBF0E1;
    border-radius: 20px;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 10px solid #1A1A1A;
    box-shadow: 0 0 0 2px #e9cfac;
    margin: auto;
    height: 100vh;
    overflow: scroll;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container {
    background-color: #FFFFFF;
    color: #2B2B2B;
    padding: 24px;
    border-bottom: 1px solid #E0E0E0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .semester-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 24px;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container .card-top-down-arrow {
    float: right;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container .card-top-down-arrow .icon-corner-img {
    position: absolute;
    right: 10px;
    top: 10px;
}

.semester-top-bar .sem-info-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 50;
}

.semester-top-bar .sem-info-group .sem-title {
    font-family: SatoshiMedium;
    color: #DA694F;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}

.semester-top-bar .sem-info-group .sem-challenge-name {
    font-family: SatoshiBlack;
    font-size: 24px;
    color: #1A1A1A;
}

.semester-top-bar .sem-number-group {
    position: relative;
    cursor: pointer;
    z-index: 10;
    flex: 50;
}

.sem-dropdown-list {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 5px;
    box-shadow: none;
    border: none;
    padding: 0;
    background-color: transparent;
    margin-top: 10px;
}

.sem-dropdown-item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    min-width: 25px;
    padding: 0;
    font-size: 13px;
    color: #565656;
    background-color: transparent;
    border-radius: 50%;
    border: 1px solid transparent;
    cursor: pointer;
}

.sem-dropdown-item:hover {
    background-color: #f0f0f0;
}

.sem-dropdown-item.active {
    color: #565656;
    background-color: #FBF0E1;
    border: 1px solid #E9DCCB;
}

.sem-active-desc {
    display: none;
}

.sem-number-group::before {
    content: "Semester no.";
    font-family: SatoshiBold;
    font-weight: 500;
    color: #565656;
    font-size: 15px;
    margin-left: 5px;
}

.sem-number-group .sem-active-number {
    font-size: 13px;
    font-family: SatoshiBold;
    color: #2B2B2B;
    background-color: #FBF0E1;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    cursor: pointer;
    margin-left: 3px;
    border: 1px solid #555555;
    position: relative;
}

.sem-info-group .card-minimize-btn {
    background-color: #FFFFFF;
    border: 1px solid #1A1A1A;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 0;
}

.card-minimize-btn .icon-corner-img {
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.semester-challenge-card .semester-card-content {
    padding: 24px;
    position: relative;
    color: #2B2B2B;
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #FBF0E1;
    gap: 0px;
}

.semester-card-content .content-grid {
    display: flex;
    gap: 10px;
    flex: 1 1 50%;
}

.semester-card-content .content-grid .challenge-number-bg {
    font-family: SatoshiBlack;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(26, 26, 26, 0.08);
    line-height: 1;
    grid-column: 1 / 2;
    position: relative;
    top: -10px;
    left: -5px;
}

.semester-card-content .content-grid .challenge-details {
    margin-top: 4px;
    flex: 1;
    min-width: 0;
}

.challenge-details .challenge-main-title {
    font-family: SatoshiBold;
    font-size: 20px;
    font-weight: 700;
    color: #DA694F;
    margin-bottom: 8px;
    line-height: 1.2;
}

.challenge-details .challenge-description {
    font-size: 16px;
    color: #2B2B2B;
}

.semester-card-content .logo-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0px;
    gap: 10px;
}

.semester-card-content .logo-bar .logo {
    padding: 8px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #f1f1f1;
}

.semester-card-content .logo-bar .logo img {
    height: 35px;
    width: 100%;
    object-fit: contain;
    vertical-align: middle;
}

.semester-card-content .challenge-objectives-list {
    list-style: none;
    padding: 0;
    margin-top: 8px;
}

.challenge-subcontent {
    margin: 16px 0px;
}

.challenge-subcontent h3 {
    font-family: SatoshiMedium;
    margin-bottom: 10px;
    font-size: 16px;
}

.challenge-objectives-list .objective-item {
    display: flex;
    align-items: flex-start;
    font-size: 16px;
    margin-bottom: 24px;
    color: #2B2B2B;
}

.challenge-objectives-list .objective-item .objective-bullet {
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    justify-content: center;
    min-width: 25px;
    vertical-align: middle;
}

.challenge-objectives-list .objective-item .objective-bullet img {
    width: 100%;
    object-fit: contain;
}

.semester-challenge-card .skill-tags-section {
    background-color: #FBF0E1;
    padding: 24px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.semester-challenge-card .skill-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.semester-challenge-card .skill-tags-wrapper .skill-tags-heading {
    display: flex;
    flex-direction: column;
}

.semester-challenge-card .skill-tags-wrapper .skill-tags-heading .skill-tags-heading-parent {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.semester-challenge-card .skill-tags-wrapper .skill-tags-heading h3 {
    font-size: 17px;
    margin-bottom: 10px;
    font-family: SatoshiMedium;
    margin-top: 5px;
}

.semester-challenge-card .skill-tag {
    background-color: #E9DCCB;
    color: #2B2B2B;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.challenge-objectives-list {
    display: none;
}

.sem-number-group {
    display: none;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper {
    position: sticky;
    top: 10px;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(1) {
    z-index: 1;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(2) {
    z-index: 2;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(3) {
    z-index: 3;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(4) {
    z-index: 4;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(5) {
    z-index: 5;
}

.semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper:nth-child(6) {
    z-index: 6;
}

@media (min-width: 400px) {
    .semester-container .semester-heading-container h2 {
        font-size: 28px;
    }

    .semester-container .semester-heading-container p {
        font-size: 18px;
    }

    .semester-container .semester-heading-container {
        max-width: 300px;
    }

    .semester-container {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .semester-container .curriculum-section {
        padding: 0px 16px;
    }
}

@media (min-width: 500px) {
    .semester-card-content .logo-bar {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 640px) {
    .semester-top-bar .sem-number-group {
        position: static;
    }

    .semester-card-content .content-grid .challenge-details {
        margin-right: 8px;
    }

    .semester-card-content .challenge-groups {
        flex: 1 1 50%;
    }
}

@media (min-width: 641px) {
    .challenge-objectives-list {
        display: block;
    }

    .sem-number-group {
        display: block;
    }
}

@media (min-width: 768px) {
    .semester-container .semester-heading-container {
        max-width: 550px;
    }

    .semester-container .curriculum-section .card-outer-wrapper {
        max-width: 648px;
    }
}

@media (min-width: 1000px) {
    .semester-container .semester-heading-container {
        max-width: 650px;
    }

    .semester-container .semester-heading-container h2 {
        font-size: 32px;
    }

    .semester-container .curriculum-section .card-outer-wrapper {
        max-width: 900px;
    }

    .semester-challenge-card .semester-card-content,
    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container {
        padding: 32px 56px;
    }

    .semester-challenge-card .semester-card-content {
        padding-bottom: 16px;
    }

    .semester-challenge-card .skill-tags-section {
        padding-top: 16px;
    }

    .semester-container {
        padding-top: 72px;
    }

    /* .semester-container .curriculum-section {
        padding: 72px 0px;
    } */

    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card {
        border-width: 18px;
    }

    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container .card-top-down-arrow .icon-corner-img {
        width: 50px;
    }

    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card {
        overflow: hidden;
    }
}

@media (min-width: 1200px) {
    .semester-container .curriculum-section .card-outer-wrapper {
        max-width: 1024px;
    }


    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container {
        padding: 32px 56px;
    }

    .semester-challenge-card .semester-card-content {
        padding: 32px 28px 20px;
    }

    .semester-challenge-card .skill-tags-section {
        padding-top: 20px;
    }
}

@media (min-width: 1400px) {
    .semester-container .curriculum-section .card-outer-wrapper {
        max-width: 1260px;
    }
}

@media (min-width: 1600px) {
    .semester-container .curriculum-section .card-outer-wrapper {
        max-width: 1220px;
    }
}

@media only screen and (max-width: 768px) {
    .semester-card-content .challenge-objectives-list {
        width: auto;
    }
}

@media only screen and (max-width: 640px) {
    .semester-challenge-card .semester-card-content {
        flex-direction: column;
        padding: 24px 24px 0px 24px;
    }

    .semester-top-bar .sem-info-group .sem-title {
        font-size: 14px;
    }

    .semester-top-bar .sem-info-group .sem-challenge-name {
        font-size: 15px;
    }

    .challenge-details .challenge-main-title {
        font-size: 15px;
    }

    .challenge-details .challenge-description {
        font-size: 12px;
    }

    .challenge-objectives-list .objective-item {
        font-size: 12px;
    }

    .semester-challenge-card .skill-tag {
        font-size: 10px;
    }

    .semester-challenge-card .skill-tags-section {
        padding: 0px 0px 40px 50px;
    }

    .sem-number-group .sem-active-desc {
        display: flex;
        justify-content: space-between;
        margin-top: 8px;
        margin-bottom: 5px;
        font-family: SatoshiMedium;
        font-weight: 500;
        color: #2B2B2B;
        font-size: 13px;
    }

    .sem-active-desc {
        display: flex;
        align-items: center;
    }

    .sem-dropdown-list {
        list-style: none;
        padding: 5px 0;
        margin: 0;
        position: absolute;
        top: 100%;
        right: 0;
        min-width: 50px;
        background-color: #FFFFFF;
        border: 1px solid #DDDDDD;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        display: none;
        flex-direction: column;
    }

    .sem-dropdown-item {
        padding: 8px 15px;
        font-size: 0.9rem;
        color: #2B2B2B;
        cursor: pointer;
        text-align: center;
        background-color: transparent;
        border-radius: 0;
        border: none;
        display: block;
        width: auto;
        height: auto;
        min-width: auto;
    }

    .sem-dropdown-item.active {
        color: #DA694F;
        background-color: #fff4e1;
    }

    .sem-active-desc {
        display: flex;
    }

    .sem-number-group::before {
        display: none;
    }

    .fade-out {
        opacity: 0;
        transform: translateY(8px);
        transition: all .35s ease;
    }

    .fade-in {
        opacity: 1;
        transform: translateY(0);
        transition: all .35s ease;
    }

    .semester-card-content .logo-bar .logo:nth-child(n+10) {
        display: none;
    }

}

@media only screen and (max-width: 425px) {
    .challenge-details .challenge-description {
        font-size: 14px;
    }

    .challenge-objectives-list .objective-item {
        font-size: 14px;
    }
}

@media only screen and (max-width: 320px) {
    .sem-number-group .sem-active-desc {
        gap: 8px;
        font-size: 14px;
        justify-content: flex-end;
    }

    .semester-top-bar .sem-info-group .sem-title {
        font-size: 16px;
    }

    .semester-top-bar .sem-info-group .sem-challenge-name {
        font-size: 18px;
    }

    .challenge-details .challenge-main-title {
        font-size: 16px;
    }

    .semester-challenge-card .skill-tag {
        font-size: 11px;
    }
}

@media (min-width: 375px) {
    .semester-container .semester-heading-container h2 {
        font-size: 25px;
    }

    .semester-container .semester-heading-container p {
        font-size: 18px;
    }

    .semester-container {
        padding-top: 36px;
    }

    .sem-number-group .sem-active-desc {
        gap: 6px;
        justify-content: flex-end;
        font-size: 15px;
        margin-top: 27px;
        margin-bottom: 1px;
    }

    .semester-top-bar .sem-info-group .sem-title {
        font-size: 16px;
    }

    .semester-top-bar .sem-info-group .sem-challenge-name {
        font-size: 17px;
    }

    .challenge-details .challenge-main-title {
        font-size: 16px;
    }

    .challenge-details .challenge-description {
        font-size: 14px;
    }

    .challenge-objectives-list .objective-item {
        font-size: 16px;
    }

    .semester-challenge-card .skill-tag {
        font-size: 12px;
    }

    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card .card-top-bar-container {
        padding: 22px 28px 14px;
    }

    .semester-challenge-card .semester-card-content {
        padding: 22px 28px 14px;
    }
}

@media (min-width: 640px) {
    .semester-card-content .content-grid .challenge-number-bg {
        font-size: 5rem;
    }
}

@media (min-width: 900px) {
    .semester-card-content .content-grid .challenge-number-bg {
        font-size: 7rem;
    }
}

/* @media (min-width: 1000px) and (min-height: 900px) {
    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card {
        height: 70vh;
    }

    .semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper {
        margin-bottom: 50vh;
        top: 10vh;
    }
} */
@media (min-width: 1000px) and (min-height: 1000px) {
    .semester-container .curriculum-section .card-outer-wrapper .semester-challenge-card {
        height: 70vh;
    }

    .semester-container .curriculum-section .card-outer-wrapper .semester-card-wrapper {
        margin-bottom: 3vh;
        top: 10vh;
    }
}