body { margin: 0; padding: 0; box-sizing: border-box; line-height: normal; border: 1px solid; } .navbar { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); padding: 20px 40px !important; } .navLink { color: #000033 !important; } .btn-primary { padding: 8px 16px !important; background-color: transparent !important; border: 2px solid rgb(97, 97, 97) !important; border-radius: 8px !important; font-size: 16px !important; color: black !important; cursor: pointer !important; outline: none !important; } .navLink::after { content: ''; display: block; width: 0; height: 3px; background: #E28527; transition: width .4s ease-in; } .navLink:hover { font-weight: 600; } .navLink:hover::after { width: 100%; } .row { margin-top: 167px !important; } .phone-number { margin-top: 8px; margin-left: -11px; margin-right: 25px; } @media only screen and (min-width: 320px) and (max-width: 767px){ .main-section { padding: 2rem; } .navbar { padding: 20px !important; } .logoImg { width: 150px; } .contactBtn { display: none !important; } .navList { display: inline; text-align: right; } } .eventHeading { background-color: #FFF3E4; padding: 2rem 0 2rem 0; } .eventHeading h1 { text-align: center; } .blue-rectangle { background-color: #223545; height: 115px; } .filter-icon{ display: none; } .search-bar { width: 55%; padding: 8px; margin-left: 331px; margin-top: 34px; padding: 11px; border: 2px solid #ccc; border-radius: 5px; outline: none; } .search-icon { border: none; color: #3498db; cursor: pointer; margin-left: -42px; } @media only screen and (min-width: 320px) and (max-width: 767px){ .eventHeading { padding: 1.5rem 0 1.5rem 0; } .blue-rectangle { background-color: #223545; height: 110px; } .search-bar { width: 60%; padding: 5px; margin-left: 60px; margin-top: 34px; border-radius: 8px; } .filter-icon{ margin-right: -65px; margin-left: 18px; height: 39px; width: 40px; display: inline; } .search-icon { border: none; color: #3498db; cursor: pointer; margin-left: -42px; } } .topics-section { margin-bottom: -323px; display: flex; } .blue-topic { background-color: #FFF3E4; padding: 8px; margin-bottom: 5px; color: #E28527; border-radius: 5px; width: 162px; font-weight: bold; } .none-topic{ margin-top: 22px; } .gray-line { border: 1px solid #bdc3c7; margin-top: 22px; margin-bottom: 10px; } .topic { padding: -13px; border-radius: 5px; margin-top: 25px; margin-left: -45px; } .top-topics{ margin-top: 106px; margin-left: 63px; } .other-topics{ margin-top: 211px; margin-left: -119px; } .container-fluid{ display: flex; } .feature-heading{ margin-left: 319px; margin-bottom: 162px; } .feature-content-section { margin-top: -144px; margin-left: 325px; } .feature-rectangle { border: 1px solid #dfdfdf; border-radius: 5px; margin-right: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .feature-rectangle img { width: 316px; height: auto; } .feature-heading2{ padding: 10px; font-size: 24px; margin-top: -17px; } .feature-heading2 a{ text-decoration: none; color: black; } .feature-paragraph2{ padding: 10px; font-size: 16px; margin-top: -18px; } .small-text { font-size: 12px; margin-bottom: 5px; padding: 10px; font-size: 16px; color: #DF780F; } @media only screen and (min-width: 320px) and (max-width: 767px){ .top-topics{ display: none; } .container-fluid{ display: inline; } .feature-heading{ margin-left: 34px; font-size: 20px; font-weight: bold; margin-top: -383px; margin-bottom: 145px; } .feature-content-section { margin-left: 29px; } .feature-rectangle { border: 1px solid #dfdfdf; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); margin-bottom: 28px; } .feature-rectangle img { width: 374px; height: auto; } .feature-heading2{ padding: 10px; font-size: 15px; margin-top: -17px; font-weight: bold; } .feature-heading2 a{ text-decoration: none; color: black; font: 15px; } .feature-paragraph2{ padding: 10px; font-size: 14px; margin-top: -18px; } .small-text { font-size: 12px; /* margin-bottom: 9px; */ padding: 10px; font-size: 12px; color: #DF780F; margin-top: 7px; } } .most-recent-content { margin-top: 20px; } .recent-heading{ margin-left: 327px; margin-bottom: -28px; margin-top: 68px; } .recent-rectangle { border: 1px solid #f5f5f56b; border-radius: 5px; background-color: #F9F9F9; padding: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .recent-rectangle-2 { border: 1px solid #f5f5f56b; border-radius: 5px; background-color: #F9F9F9; padding: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .recent-rectangle-3 { border: 1px solid #f5f5f56b; border-radius: 5px; background-color: #F9F9F9; padding: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .most-recent-content{ width: 1003px; margin-top: 20px; display: flex; margin-left: 329px; gap: 22px; } .recent-details { margin-top: 10px; } .date-time { font-style: italic; } .view-all-link { display: block; margin-top: 10px; color: #DF780F; text-align: right; margin-right: 107px; } @media only screen and (min-width: 320px) and (max-width: 767px){ .recent-heading{ margin-left: 24px; margin-bottom: -28px; margin-top: -8px; font-size: 20px; font-weight: bold; } .recent-rectangle { border: 1px solid #f5f5f56b; border-radius: 5px; background-color: #F9F9F9; padding: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .recent-rectangle-2 { border: 1px solid #f5f5f56b; border-radius: 5px; background-color: #F9F9F9; padding: 10px; margin-bottom: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .recent-rectangle-3 { display: none; } .most-recent-content{ width: 333px; margin-top: 20px; display: flex; margin-left: 20px; gap: 22px; } .recent-details { margin-top: 10px; } .date-time { font-style: italic; } .view-all-link { display: block; margin-top: 6px; color: #DF780F; text-align: right; margin-right: 82px; } } /* FooterSection */ .footerSection { display: flex; justify-content: space-between; align-items: baseline; background-color: #223545; color: #fff; padding: 2rem; } .footerLogoSection { display: flex; flex-direction: column; column-gap: 1rem; } .footerLogoImg { width: 235px; height: 100%; } .mobileFooterSection{ display: none; } .socialSection { list-style: none; display: flex; column-gap: 1rem; padding: 0; margin: 2rem 0; } .socialSection .socialIcons { padding: 6px; display: flex; color: #FFF; } .socialSection .socialIcons:hover { background: #fff; border-radius: 50%; color: #000; } .footerLogoSection p { color: #D1D1D1; margin-top: 0; } .courseSection h3, .quickLinkSection h3 { margin-top: 0; font-size: 22px; } .courseSection ul, .quickLinkSection ul { padding: 0; list-style: none; display: flex; flex-direction: column; row-gap: 1rem; } .courseSection ul a, .quickLinkSection ul a { color: #fff; text-decoration: none; } @media only screen and (max-width: 600px) { /* Footer */ .mobileFooterSection { padding-inline: 2rem; } .footerSection { display: none; } .mobileFooterSection { display: block; background-color: #223545; color: #fff; padding-block: 1.5rem; } .mobileFooterSection .footerLogoSection { margin-bottom: 2rem; } .linksSection { display: flex; justify-content: space-between; align-items: flex-start; } .courseSection ul a, .quickLinkSection ul a { font-size: 14px; } .courseSection h3, .quickLinkSection h3 { font-size: 16px; } .socialSection { margin: 1rem 0; } .footerContent p { font-size: 14px; } }