
@font-face {
    font-family: 'Gilroy-Regular';
    src: url('/fonts/gilroy-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-SemiBold';
    src: url('/fonts/gilroy-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Gilroy-Bold';
    src: url('/fonts/gilroy-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


.section-one-ug-course {
    font-size: 50px;
    z-index: 3;
    position: relative;
    margin-bottom: 50px;
    font-family: 'Gilroy-SemiBold';
    font-weight: 400;
    word-wrap: break-word;
}

.ug-course-Rectangle7 {
    width: 50%;
    height: 62px;
    background: white;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 7px;
    box-sizing: border-box;
    z-index: 3;
    position: relative;
}


.ug-course-SearchForACourse {
    color: #808080;
    font-size: 14px;
    font-family: 'Gilroy-SemiBold';
    font-weight: 400;
    word-wrap: break-word;
    align-self: center;
    z-index: 3;
}

.ug-course-Rectangle11 {
    width: 152px;
    height: 52px;
    background: #3E245C;
    border-radius: 31px;
    display: flex;
    align-items: center;
    justify-content:center; /* Align items to the left inside Rectangle11 */
    padding: 0 41px; /* Add padding for spacing */
    box-sizing: border-box;
    margin-top: 6px;
    cursor: pointer;
}

.ug-course-SearchIcon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px; /* Space between the icon and the text */
}

.ug-course-search-icon {
    color: white;
    font-size: 16px;
}

.ug-course-SearchText {
    color: white;
    font-size: 14px;
    font-family: 'Gilroy-Bold';
    font-weight: 400;
    word-wrap: break-word;
    align-self: center; /* Vertically center the text */
}

.ug-courses-more-info-btn-container {
    width: 148px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #3E245C;
    background-color: #3E245C;
}

.ug-course-more-info-btn {
    width: 100px;
    height: 40px;
    background-color: white;
    color: black;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 2px solid #3E245C;
    border-top: 2px solid #3E245C;
    border-bottom: 2px solid #3E245C;
}

.ug-course-white-arrow{
    color: white;
    padding-left: 15px;
}

.ug-courses-img{
    width: 95%;
}
.teaser-text{
    display: block;
}

/* Media query for mobile view */
@media screen and (max-width: 768px) {
    .ug-courses-more-info-btn-container {
        margin-bottom: 15px;
    }
    .teaser-text{
        display: none;
    }
    .pt--medium.rounded-container{
        padding-top: 0px !important;
    }
    .teaser--course .teaser-text{
        margin-left: 0px !important;
        width: 90% !important;
    }
    .ug-course-Rectangle11 {
        height: 34px;
        width: 30%;
        padding: 0 12px;
    }
    .section-one-ug-course {
        margin-top:-70px;
        font-size: 25px !important;
    }
    .ug-course-Rectangle7 {
        width: 100%;
        height: 45px;
    }
    .ug-courses-img{
        margin-bottom: 0px;
        width: 100%;
    }
}
.mobile-view-teaser-text{
    display: none;
}

@media screen and (max-width: 768px) {
    .mobile-view-teaser-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        display: block;
    }

    .mobile-view-entry,
    .mobile-view-ug-courses-more-info-btn-container {
        width: 100%;
        margin-bottom: 10px;
        font-size: 16px;
    }
    .mobile-view-teaser-title{
        width: 100%;
        margin-bottom: 10px;
        font-size: 18px;
        font-weight: 500;
    }

    .mobile-view-ug-courses-more-info-btn-container {
        display: flex;
        align-items: center;
    }

    .mobile-view-ug-course-more-info-btn {
        margin-right: 10px;
    }

    .mobile-view-ug-course-white-arrow {
        font-size: 16px;
    }
}


/* Small desktop screens */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .ug-course-Rectangle7 {
        width: 80%;
    }
    .section-one-ug-course {
        font-size: 40px;
    }
}

