/* reset all margins and padding*/ * { margin: 0; padding: 0; font-family: 'Rosario', sans-serif !important; } body { background-color: #ffffff; } h1 { color: #17375e; margin-left: 20px; margin-top: 20px; margin-bottom: 10px } p { color:#292929; margin-left: 20px; margin-bottom: 20px; } nav ul { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color:#29755b; position: fixed; /* position: absolute; */ /* top: 0; */ width: 100%; /* iOS padding fix, fixes notch problems and statusbar problems */ /* top | right | bottom | left */ padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left); } nav li { float: left; /* border-right: 10px solid #c90000; */ } nav li:last-child { border-right: none; } nav li a { display: inline-block; color: black; text-align: center; padding: 14px 16px; text-decoration: none; } nav li a:hover { color: white; } .active { background-color: #3caf87; color: black; } /* a.active:hover{ color: #4b5786; } */ #container{width:900px;} #left{float:left;width:215px;} #right{float:right;width:215px;} #center{margin:0 auto;width:215px;} .mainbody{ /* iOS padding fix, fixes notch problems and statusbar problems */ /* top | right | bottom | left */ padding: 75px env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); } .submit{ margin-top: 10px; } .indent{ margin-left: 30px; } .err p{ color: #960000; font-weight: bold; } .footer { color:white; background-color:#29755b; /* margin-left: 20px; */ position: fixed; left: 0; bottom: 0; width: 100%; text-align: center; /* iOS padding fix, fixes notch problems and statusbar problems */ /* top | right | bottom | left */ padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); } .container .item { width: 75%; height: 60vh; } .container { margin-top:50px; display: flex; justify-content: center; align-items: center; } .item { margin: auto; } .table { border-collapse:collapse; border-spacing:0; margin: 0 auto; width: min-content + 20px; margin-bottom: 10%; } .left { text-align: left; } .right { text-align: right } .table td, .table th { border-color:black; border-style:solid; border-width:2px }