*{ margin: 0px; padding: 0px; box-sizing: border-box; } .topnav { background-color: rgb(45 200 45); overflow: hidden; font-family: "Ubuntu", sans-serif; font-weight: bold; } .topnav a { float: left; display: block; color: #f2f2f2; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .topnav a:hover { background-color: #d2e4d4; color: black; } .topnav a.active { background-color: #0e6344; color: white; } .topnav .icon { display: none; } .topnav input[type="text"] { float: right; padding: 6px; border: none; margin-top: 8px; margin-right: 16px; font-size: 17px; border-radius: 11px; } @media screen and (max-width: 600px) { .topnav a:not(:first-child) { display: none; } .topnav a.icon { float: right; display: block; } .topnav input { display: none; } } @media screen and (max-width: 600px) { .topnav.responsive { position: relative; } .topnav.responsive a.icon { position: absolute; right: 0; top: 0; } .topnav.responsive a { float: none; display: block; text-align: left; } .topnav.responsive input { float: none; display: block; text-align: left; width: 100%; margin: 0; padding: 14px; border: 2px solid black; } } #heading{ font-size: 3rem; margin-left: 3rem; padding-top: 3rem; font-weight: bold; font-family: 'Roboto Condensed', sans-serif; } .main{ /* border: 2px solid red; */ width: 60%; height: auto; font-size: 26px; font-family: 'Roboto Condensed', sans-serif; margin-left: 45px; margin-top: 28px; background-color: #EDEDED; padding: 23px; } .para1{ margin: 21px; } .head{ margin-left: 23px; } .algo{ border: 2px solid black; border-radius: 5px; margin-left: 23px; margin-top: 2rem; margin-bottom: 2rem; font-size: 20px; padding-left: 2rem; padding-top: 0.7rem; padding-bottom: 0.7rem; } .footer_div { max-width: 1170px; margin: auto; font-family: "Ubuntu", sans-serif; } .footer_row { display: flex; flex-wrap: wrap; } ul { list-style: none; } .footer { background-color: #3b590e; padding: 70px 0; } .footer_col { width: 25%; padding: 0 15px; } .footer_col h4 { font-size: 18px; color: #ffffff; text-transform: capitalize; margin-bottom: 35px; font-weight: 500; position: relative; } .footer_col h4::before { content: ""; position: absolute; left: 0; bottom: -10px; background-color: #e91e63; height: 2px; box-sizing: border-box; width: 50px; } .footer_col ul li:not(:last-child) { margin-bottom: 10px; } .footer_col ul li a { font-size: 16px; text-transform: capitalize; color: #ffffff; text-decoration: none; font-weight: 300; color: #bbbbbb; display: block; transition: all 0.3s ease; } .footer_col ul li a:hover { color: #ffffff; padding-left: 8px; } .footer_col .social-links a { display: inline-block; height: 40px; width: 40px; background-color: rgba(255, 255, 255, 0.2); margin: 0 10px 10px 0; text-align: center; line-height: 40px; border-radius: 50%; color: #ffffff; transition: all 0.5s ease; } .footer_col .social-links a:hover { color: #24262b; background-color: #ffffff; } /* responsive css */ @media (max-width: 767px) { .footer_col { width: 50%; margin-bottom: 30px; } } @media (max-width: 574px) { .footer_col { width: 100%; } } #scrollTopBtn { background-color: rgba(64, 64, 64, 0.9); color: #fff; padding: 10px 10px; position: fixed; width: 40px; height: 40px; display: none; bottom: 0; margin-bottom: 0px; cursor: pointer; right: calc(50% - 20px); z-index: 1023; } @media (min-width: 400px ) and (max-width: 580px) { .main { font-size: 20px; padding: 6px; } } @media (max-width: 400px) { .main { font-size: 15px; padding: 6px; } } @media (min-width: 400px ) and (max-width: 580px) { .algo { font-size: 15px; padding-left: 1rem; margin-left: 15px; padding-right: 5px; } } @media (max-width: 400px) { .algo { font-size: 12px; padding-left: 1rem; margin-left: 15px; padding-right: 5px; } } @media (max-width: 400px) { #heading { font-size: 2rem; } }