*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins','cambria','helvetica', sans-serif;
	text-decoration: none;
}

html {
	scroll-behavior: smooth;
}

body {
	background: #fff;
	color: #000;
	font-size: 18px;
}

header, .header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f2f2f2;
	color: #003366;
	padding: 2px 8%;
	top: 0;
	z-index: 150;
	border-bottom: 1px rgba(0, 0, 0, 0.1) solid;
}

header {
	position: sticky;
}

.header{
	background: #fff;
	display: none;	
}

header nav{
	display: flex;
	align-items: center;
}

header nav ul{
	list-style: none;
}

header nav ul li{
	position: relative;
	float: left;
}

header nav ul li a{
	font-size: 18px;
	padding: 8px 25px;
	color: #333;
	display: block;
	margin: 0 10px;
	display: flex;
	align-items: center;
}

header .navbar ul li a:hover{
	color: red;
}

header img {
	width: 23px;
	height: 23px;
	margin: 0 4px;
}

header a div img, header .sub img {
	display: none;
}

h1 {
	color: #003366;
	font-size: 24px;
}

.homepg{
	width: 100%;
	height: 60vh;
}

.homepg button{
	width: 300px;
	margin: 7px 5px;
	color: #fff;
	padding: 13px 12px;
	font-size: 18px;
	font-weight: normal;
	background: #003366;
	cursor: pointer;
}

.homepg button:hover{
	color: #003366;
	background: #fff;
}

.homepg img{
	width: 80px;
	height: 80px;
	border-radius: 50%;
	margin-bottom: 12px;
}

section {
	padding: 35px 8%;
}

.row {
	display: flex;
}

section {
	padding: 35px 8%;
}

.row {
	display: flex;
}

.left-col {
	flex-basis: 75%;
	margin-right: 25px;
}

.right-col{
	flex-basis: 25%;
}

.sidebar {
	border: 1px #ddd solid;
	margin-bottom: 45px;
	margin-left: 15px;
	position: sticky;
	top: 40px;
}

.sidebar .title {
	font-size: 21px;
	font-weight: bold;
	padding: 12px 10px;
	background: #ddd;
}

.sidebar .contents{
	background: #fff;
	padding: 12px 10px;
	
} 

.sidebar img {
	width: 100%;
}

.h1 {
	border-bottom: 1px #ddd solid;
	padding: 10px 0;
	margin-bottom: 20px;
	font-size: 30px;
	color: #003366;
}

.discussion div {
	color: #000;
	margin-bottom: 12px;
}
form div {
	color: #000;
	font-weight: bold;
	margin-bottom: 15px;
	
}

form button {
	color: #fff;
	padding: 10px 35px;
	background: #003366;
	font-size: 18px;
	margin-top: 15px;
	font-weight: bold;
	cursor: pointer;
}

input {
	width: 100%;
	height: 30px;
	padding: 25px 15px;
	font-size: 18px;
	margin-bottom: 25px;
}

.accountlog {
	width: 350px;
	text-align: left;
}

.accountlog input {
	padding: 20px;
	margin-bottom: 15px;
}
textarea {
	width: 100%;
	height: 250px;
	padding: 15px;
	font-size: 18px;
}

.maths{
	border-bottom: 1px #ddd solid;
	padding: 30px;
	line-height: 1.8;
	margin-bottom: 25px;
	background: #fff;
	border-radius: 2px;
	font-size: 18px; 
	color: #000;
}

.maths .h2 {
	font-size: 30px;
	color: #000;
	font-weight: bold;
}

.maths .date{
	color: #000;
	margin-bottom: 10px;
	font-size: 14px;
}

.maths p {
	color: #000;
}

.maths .date span{
	color: #003366;
}

.maths small {
	color: blue;
}

.auth {
	color: #000;
	font-size: 15px;
	padding: 15px 0;
}

.auth span{
	color: #003366;
}

.contx {
	background: #faf9f6;
	padding: 10px; 
	border-bottom: 1px #333 solid;
}

.contx div {
	color: #000;
	margin-bottom: 20px;
	font-size: 20px;
	font-weight: bold;
}

.contx span{
	font-size: 18px;
}

footer {
	background: #333;
	padding: 20px 8%;
	color: #fff;
}

footer a{
	color: yellow;	
}

@media(max-width: 999px) {
	.row {
		display: block;
	}
	
	.left-col {
		width: 100%;
	}

	.right-col{
		width: 100%;
		margin-top: 35px;
	}
	
	section {
		padding: 35px 5%;
	}
	
	.sidebar {
		margin-left: 0;
	}
}

@media(max-width: 850px) {
	header nav ul li a span {
		display: none;
	}
	
	header nav ul li a{
		padding: 8px 15px;
	}
}

@media(max-width: 650px) {
	header h1 {
		font-size: 4vw;
	}
}

@media(max-width: 550px) {
	header h1, header .sub span {
		display: none;
	}
	
	header a div img, header .sub img {
		display: flex;
	}
	
	.header{
		display: flex;	
	}
}

@media(max-width: 500px) {
	header nav ul li a{
		padding: 8px;
	}
}

@media(max-width: 450px) {
	section {
		padding: 35px 2%;
	}
	
	.maths{
		font-size: 15px; 
	}
	
	.maths .h2{
		font-size: 21px; 
	}
}

@media(max-width: 400px) {
	
}

@media(max-width: 360px) {
	.homepg button{
		width: 90%;
	}	
}

@media(max-width: 350px) {
	header img {
		width: 20px;
		height: 20px;
		margin: 0;
	}		
}