body{ background-color: azure; } /* Header Start */ header { margin: 0; width: 100%; background-color: #fff; box-shadow: 0px 0px 5px 0px #999; position: fixed; height: 70px; z-index: 2000; } .Navbar-brand { display: flex; align-items: center; justify-content: center; } .logo { float: center; padding-top: 5px; } nav { height: 100%; position: fixed; right: 0; width: 320px; margin-top: 10px; transform: translateX(320px); transition: transform 560ms ease-in-out; background-color: white; ol { margin: 0; padding: 0; border-top: 1px solid #eee; z-index: -1; li { list-style: none; color: #fff; text-transform: uppercase; font-weight: bold; padding: 20px; cursor: pointer; border-bottom: 1px solid #eee; transition: 0.25s; span { display: block; font-size: 14px; color: #353535; } a { color: #353535; text-transform: uppercase; font-weight: bold; color: #353535; cursor: pointer; text-decoration: none; } &:hover { background-color: #eee; } } } } input[type="checkbox"]:checked~nav { transform: translateX(0); } input[type="checkbox"] { box-sizing: border-box; display: none; transition: all 0.25s; } .menuIconToggle { box-sizing: border-box; cursor: pointer; position: fixed; z-index: 40; height: 100%; width: 100%; top: 2px; right: 15px; height: 22px; width: 22px; transition: all 0.3s; } .menuIconToggle i { font-size: 22px; color: #1b1b1b; transition: all 0.3s; } h1 { margin: 0; font-size: 3em; text-align: center; } @media screen and (max-width: 640px) { nav { height: 100%; width: 100%; transform: translateX(100%); } } /* Header End */ .container h1 { background: #02132F; background: linear-gradient(to bottom, #02132F 32%, #174F6F 46%, #0095cf 64%); background-clip: text; -webkit-text-fill-color: transparent; text-transform: uppercase; font-weight: bold; font-family:'Times New Roman', Times, serif; } @media (max-width: 568px) { .container h1 { font-size: 1.7rem; } } .container { padding: 10px; max-width: 966px; margin: 0 auto; } .l1 { font-weight: 600; font-size: 1.3rem; color: #066da0; } .lm1 { font-weight: 600; font-size: 1.3rem; } .design { padding: 10px; line-height: 1.6rem; box-shadow: 0px 0px 1px 1px rgb(37, 101, 221); background-color: #fffbfb; border-radius: 1rem; border: 3px solid #01A0E3; } .des { font-weight: 600; font-size: 17px; padding: 7px 10px; border-radius: 1rem; box-shadow: 0px 0px 3px 1px; margin-top: 2rem; } .read1 a { text-decoration: none; }