:root {
    background: transparent;
}

.coursesMain {
    width: 100vw;
    height: 100vh;
    gap:0
}

.coursesMain > .coursesMainContent > p:nth-of-type(1) {
    font-family: "Oswald";
    font-size: 200%;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 193, 26, 1);
    margin-top: 2%;
}

.coursesMain > .coursesMainContent > p:nth-of-type(2) {
    font-family: "Oswald";
    font-size: 140%;
    font-weight: 500;
    color: rgba(0,0,0,1);
    margin-top: 0.5%;
}

.coursesMain > .coursesMainContent > p:nth-of-type(3) {
    font-family: "Carlito";
    font-size: 105%;
    font-weight: 400;
    color: rgba(0,0,0,1);
    margin-top: 0.5%;
}

.coursesMain > .coursesMainContent > div:nth-of-type(1) {
    width: 40%;
}

.coursesMain > .coursesMainContent > div:nth-of-type(1) > p:nth-of-type(1) {
    font-family: "Carlito";
    font-size: 105%;
    font-weight: bolder;
    color: rgba(0,0,0,1);
}

.coursesMain > .coursesMainContent > div:nth-of-type(1) > p:nth-of-type(2) {
    padding-left: 1%;
    font-family: "Carlito";
    font-size: 105%;
    font-weight: 400;
    color: rgba(0,0,0,1);
}

.coursesMain > .coursesMainContent > p:nth-of-type(4) {
    font-family: "Carlito";
    margin-top: 2%;
    color: rgba(0, 0, 0, 1);
    width: 55%;
}

.coursesMain > .coursesMainContent > p:nth-of-type(5) {
    font-family: "Carlito";
    margin-top: 0.5%;
    color: rgba(0, 0, 0, 1);
    width: 55%;
}

.coursesMain > .coursesMainContent > div:nth-of-type(2) {
    width: 80%;
    gap: 3%;
}

.coursesMain > .coursesMainContent > div:nth-of-type(2) > .courseCard {
    margin-top: 5%;
    height: 20%;
    width: 22.5%; 
    box-shadow: 0px 4px 21.9px -4px rgba(0, 0, 0, 0.25);
}

.coursesMain > .coursesMainContent > div:nth-of-type(2) > .courseCard:hover {
    box-shadow: 0px 4px 21.9px -4px rgba(255, 193, 26, 1);
}

.courseCard > p:nth-of-type(1),
.courseCard > p:nth-of-type(2) {
    background-color: rgba(255, 193, 26, 1);
    font-family: "Oswald";
    font-size: 141%;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(0,0,0,1)
}

.courseCard > p:nth-of-type(1) {
    padding-top: 2.5%;
}

.courseCard > p:nth-of-type(2) {
    padding-bottom: 2.5%;
}

.courseCard > div:nth-of-type(1) {
    margin-top: 5%;
    font-family: "Oswald";
    font-size: 280%;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 193, 26, 1);
}

.courseCard > p:nth-of-type(3) {
    margin-top: -3%;
    font-family: "Oswald";
    font-size: 70%;
    font-weight: 500;
    line-height: 23.71px;
    letter-spacing: 0.05em;
    color: rgba(255, 193, 26, 1);
}

.courseCard > p:nth-of-type(4),
.courseCard > p:nth-of-type(5),
.courseCard > p:nth-of-type(6),
.courseCard > p:nth-of-type(7),
.courseCard > p:nth-of-type(8),
.courseCard > p:nth-of-type(9) {
    margin-top: 5%;
    font-family: "Carlito";
    font-size: 105%;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(0,0,0,1);
}

.courseCard > div:nth-of-type(2),
.courseCard > div:nth-of-type(3),
.courseCard > div:nth-of-type(4),
.courseCard > div:nth-of-type(5),
.courseCard > div:nth-of-type(6),
.courseCard > div:nth-of-type(7) {
    width: 70%;
    margin-top: 5%;
    margin-left: 15%;
}

.courseCard > button {
    margin-top: 10%;
    margin-left: 30%;
    width: 40%;
    background-color: rgba(255, 193, 26, 1);
    font-family: "oswald";
    font-weight: 500;
    font-size: 105%;
    height: 4vh;
    color: rgba(255, 255, 255, 1);
    border-radius: 5vh;
}

.courseCard > button:hover {
    background-color: rgba(0,0,0,1);
}

.courseCard > p:nth-of-type(10) {
    margin-top: 5%;
    margin-left: 20%;
    width: 60%;
}

.coursesMain > .footerdiv {
    position: relative;
    top: 100%;
    margin-top: 10%;
}


/* Courses Mobile Styling */


.coursesMainMobile > .coursesMainContentMobile > p:nth-of-type(1) {
    font-family: "Oswald";
    font-weight: 600;
    font-size: 170%;
    line-height: 150%;
    letter-spacing: 5%;
    color: rgba(255, 193, 26, 1);
    width: max-content;
    margin-top: 5%;
}

.coursesMainMobile > .coursesMainContentMobile > p:nth-of-type(2),
.coursesMainMobile > .coursesMainContentMobile > p:nth-of-type(3) {
    font-family: "Carlito";
    font-weight: 400;
    font-size: 110%;
    width: 80%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    line-height: 150%;
    letter-spacing: 1px;
    margin-top: 3%;
}

.courseMainMobile > .coursesMainContentMobile > div {
    width: 75%;
}

.coursesMainMobile > .coursesMainContentMobile > div > p:nth-of-type(1) {
    font-family: "Carlito";
    font-weight: 900;
    font-size: 110%;
    width: max-content;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    line-height: 150%;
    letter-spacing: 1px;
    margin-top: 6%;
}

.coursesMainMobile > .coursesMainContentMobile > div > p:nth-of-type(2) {
    font-family: "Carlito";
    font-weight: 400;
    font-size: 105%;
    width: 65%;
    text-align: center;
    color: rgba(0, 0, 0, 1);
    line-height: 150%;
    letter-spacing: 1px;
    margin-top: 6%;
}

.coursesMainMobile > .coursesMainContentMobile > div:nth-of-type(2) {
    width: 80%;
    gap: 1%;
    margin-bottom: 10%
}

.coursesMainMobile > .coursesMainContentMobile > div:nth-of-type(2) > .courseCardMobile {
    margin-top: 10%;
    height: 20%;
    width: 100%; 
    box-shadow: 0px 4px 21.9px -4px rgba(0, 0, 0, 0.25);
}

.coursesMainMobile > .coursesMainContentMobile > div:nth-of-type(2) > .courseCardMobile:hover {
    box-shadow: 0px 4px 21.9px -4px rgba(255, 193, 26, 1);
}

.courseCardMobile > p:nth-of-type(1),
.courseCardMobile > p:nth-of-type(2) {
    background-color: rgba(255, 193, 26, 1);
    font-family: "Oswald";
    font-size: 141%;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(0,0,0,1);
    width: 100%;
}

.courseCardMobile > p:nth-of-type(1) {
    padding-top: 2.5%;
}

.courseCardMobile > p:nth-of-type(2) {
    padding-bottom: 2.5%;
}

.courseCardMobile > div:nth-of-type(1) {
    margin-top: 5%;
    font-family: "Oswald";
    font-size: 280%;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255, 193, 26, 1);
}

.courseCardMobile > p:nth-of-type(3) {
    margin-top: -3%;
    font-family: "Oswald";
    font-size: 70%;
    font-weight: 500;
    line-height: 23.71px;
    letter-spacing: 0.05em;
    color: rgba(255, 193, 26, 1);
}

.courseCardMobile > p:nth-of-type(4),
.courseCardMobile > p:nth-of-type(5),
.courseCardMobile > p:nth-of-type(6),
.courseCardMobile > p:nth-of-type(7),
.courseCardMobile > p:nth-of-type(8),
.courseCardMobile > p:nth-of-type(9) {
    margin-top: 5%;
    font-family: "Carlito";
    font-size: 105%;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: rgba(0,0,0,1);
    width: 80%;
}

.courseCardMobile > div:nth-of-type(2),
.courseCardMobile > div:nth-of-type(3),
.courseCardMobile > div:nth-of-type(4),
.courseCardMobile > div:nth-of-type(5),
.courseCardMobile > div:nth-of-type(6),
.courseCardMobile > div:nth-of-type(7) {
    width: 70%;
    margin-top: 5%;
    margin-left: 15%;
}

.courseCardMobile > button {
    margin-top: 10%;
    width: 40%;
    background-color: rgba(255, 193, 26, 1);
    font-family: "oswald";
    font-weight: 500;
    font-size: 105%;
    height: 4vh;
    color: rgba(255, 255, 255, 1);
    border-radius: 5vh;
}

.courseCardMobile > button:hover {
    background-color: rgba(0,0,0,1);
}

.courseCardMobile > p:nth-of-type(10) {
    color: rgba(0,0,0,1);
    margin-top: 5%;
    width: 60%;
    margin-bottom: 5%;
}