* { margin: 0px; padding: 0px; box-sizing: border-box; } /*navbar css*/ .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; } } /* The side navigation menu */ .sidebar { margin: 0; padding: 0; width: 200px; background-color: #f1f1f1; height: auto; overflow: auto; float : left; border: 2px solid black; border-radius: 5px; position: sticky; position: -webkit-sticky; top: 100px; } /* Sidebar links */ .sidebar a { display: block; color: black; padding: 16px; text-decoration: none; } /* Active/current link */ .sidebar a.active { background-color: #04AA6D; color: white; } /* Links on mouse-over */ .sidebar a:hover:not(.active) { background-color: #555; color: white; } /* Page content. The value of the margin-left property should match the value of the sidebar's width property */ div.content { margin-left: 200px; padding: 1px 16px; height: auto; } /* On screens that are less than 700px wide, make the sidebar into a topbar */ @media screen and (max-width: 762px) { .sidebar { width: 100%; height: auto; position: relative; } .sidebar a {float: left;} div.content {margin-left: 0;} } /* On screens that are less than 400px, display the bar vertically, instead of horizontally */ @media screen and (max-width: 400px) { .sidebar a { text-align: center; float: none; } } .content{ display: flex; flex-direction: column; justify-content: center; align-items: center; } .card{ box-shadow: .8rem .8rem 1.5rem black; width: 70%; height: auto; margin: 1.0rem; border-radius: 1.0rem; background-color: white; border-style: inset; } .cardtext ul{ display: flex; justify-content: center; } .cardtext li{ text-align: center; margin: 1rem ; padding: 1rem; } .cardtext a{ color: black; text-decoration: none; } .cardhead{ background: radial-gradient(white, #D3D3D3); border-radius: 1.0rem 1.0rem 0 0; text-align: center; height: 3rem; padding-top: 0.7rem; font-family: 'Ceviche One', cursive; letter-spacing: 2px; font-size: 1.5rem; } .content img{ height: 5rem; width: 30%; } h2{ font-family: 'Righteous', cursive; letter-spacing: 1px; text-shadow: 2px 2px lightslategray; } @media screen and (max-width: 1020px) { .cardtext li{ margin: .8rem ; padding: .8rem; } .cardhead{ /*font-size: 1.3rem;*/ height: 2.5rem; padding-top: .3rem; } } @media screen and (max-width: 920px) { .cardtext li{ margin: .6rem ; padding: .6rem; } .cardhead{ font-size: 1.3rem; height: 2rem; } } @media screen and (max-width: 840px) { .cardtext li{ margin: .6rem ; padding: .6rem; font-size: .8rem; } .cardhead{ font-size: 1.1rem; height: 1.6rem; padding-top: .1rem; } } @media screen and (max-width: 565px) { .cardtext li{ margin: .5rem ; padding: .5rem; font-size: .6rem; } .cardhead{ font-size: .9rem; height: 1.4rem ; } } @media screen and (max-width: 456px) { .cardtext li{ margin: .4rem ; padding: .4rem; font-size: .5rem; } .cardhead{ font-size: .8rem; height: 1.2rem; padding-top: .2rem; } } @media screen and (max-width: 382px) { .cardtext li{ margin: .3rem ; padding: .3rem; font-size: .4rem; } .cardhead{ font-size: .6rem; height: 1rem; padding-top: .2rem; } } /*footer-css*/ .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; } @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; /* bottom: 20px; */ }