body{
  margin: 0px;
  margin-left: 8px;
  margin-right: 8px;
}
.PageLayout {
    display: grid;
    grid-template-rows: 1fr auto 0.5fr;
    grid-template-columns: 1fr 8fr 1fr;
    overflow: hidden;
    gap: 10px;
    margin: 0px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.HomePageLayout {
  display: grid;
  grid-template-rows: 1fr auto 0.5fr;
  grid-template-columns: 1fr 8fr 2fr;
  /* overflow: hidden; */
  gap: 10px;
  margin: 0px;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

header {
    grid-column: 1/4;
    grid-row: 1/2;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 8fr 3fr;
    overflow: hidden;
    border-bottom: groove;
    background-color: white;
  }


img.logo {
  width: 70px;
  /* margin-top: 10px; */
  height: 6 0px;
  justify-self: center
}

img.biglogo {
  width:300px;
}

.nav{
  display:block;
  align-self: center;
  justify-self: center; 
  font-size: 20px;
  font-weight: bold;
  color: black;
}

/* I got to know about the flex I tried I use it here */
.nav ul {
    display: flex;
    align-self:center;
    justify-self:center; 
    padding-right: 20px;
    padding-left: 20px;
    margin: 0px;
    list-style-type: none;
}

.loginSection, .profileSection {
    display: flex;
    align-self: center;
    justify-self: center;
}

.loginSection a, .profileSection a{
  padding: 5px;
  justify-self: center;
  align-self: center;
}


.textSection{
  display: block;
  align-self: center;
  justify-self: center;
  font-size: xx-large;
  font-weight: bold;
}

.profileSection a {
  padding: 10px;
}

#index{
    grid-column: 2/3;
    grid-row: 2/3;
    display: grid;
    overflow: hidden;
}

aside{
  grid-column: 3/4;
  grid-row: 2/3;
}

.loginPage{
  margin-top: 10px;
}

footer{
    grid-column: 1/4;
    grid-row: 3/4;
    width: 100%;
    border-top: gray;
    background-color: aliceblue;
}


.myinfo {
	position: block;
  margin-left: auto;
  margin-right: auto;
	top: 20%;
	left: 30%;
  transform: translate((-50%, -50%));
	width: 500px;
	height: 200px;
	padding: 30px;
  padding-top: 20px;
	background: whitesmoke;
	border-radius: 10px;
	box-shadow: 0 30px 100px rgba(0, 0, 0, 2);
}

.mypic {
	width: 180px;
	height: 180px;
	background-color: rgba(0, 0, 0, 0.4);
	background-image: url(../images/kartikpatel0170.jpg);
	background-size: cover;
	border-radius: 50%;
	float: left;
	shape-outside: circle();
	margin: 30px 20px 30px 0;
	box-shadow: -2px 2px 400px #808080;
	transform: translate(-70%, -10%);
}

#myname {
	font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
	transform: translateX(-85px);
	margin: 0 0 5px;
	padding: 0;
	font-size: 35px;
}

#mytitle {
	font-weight: 300;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-size: 13px;
	transform: translateX(-85px);
	margin: 0 0 15px;
	padding: 0;
}

.mybio {
	transform: translateX(-95px);
	margin: 0;
	padding: 0;
	text-align: justify;
  font-size: 13px;
	line-height: 16px;
}

.mysocial {
	display: grid;
	line-height: 2.5;
	transform: translate(260px, -190px);
	width: 50px;
}
.s-btn {
	color: black;
}


footer p {
  font-weight: bold;
  padding: 5px;
}
 
.content, .Article {
    display: grid;
    padding-bottom: 20px;
    overflow: hidden;
    margin: 5px;
}

 

.Article{
  grid-column: 2/3;
  grid-row: 2/3;
  margin-left: auto;
  margin-right: auto;
}
   

.headline {
  grid-row: 1/2;
  grid-column: 1/2;
  display: block;
  margin-top: 5em;
  margin-bottom: 5em;
  text-align: center;

}
.headline p {
  margin-top: 0px;
}
.headline h1 {
  margin-bottom: 5px;
  font-size: xx-large;
}


/* Page Sections */

/* #loginTemplate {
  grid-column: 3/4;
  grid-row: 2/3;
} */

#Recents, #Features, #AboutUs  {
    display: block;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    background-color: whitesmoke;
}

  
/* Polls */
.pollBlock {
  display: grid;
  grid-template-rows: auto;
  margin-left:5px;
  padding-top:5px ;
}

.polls {
  background-color: rgb(182, 222, 238);
  border-radius: 5px;
  margin: 10px;
  padding: 5px;
  display: grid;
}

.Article .polls {
  margin-left: 5px;
  margin-right: 5px;
  position: relative;
}

.polls .pollQuestion {
  font-size: larger;
  font-weight: bold;
}


.options, .voteOptions, .resultOptions {
  margin-top: 7px;
  margin-bottom: 0px;
  margin-left: 50px;
  display: block;
}


/* Randomly tried list-item and found it useful */
.options p, .voteOptions p {
  display: list-item;
  list-style:decimal;
  margin-top: 5px;
  margin-bottom: 5px;
}



.resultOptions>.roptions td {
  margin-top: 0;
  margin-bottom: 0;
  padding: 5px;
  max-width: 53%;
}


.polls .voteOptions .sbutton {
  width: auto;
}
 
  
.polls .userInfo{
    display: inline-block;
    justify-self:right;
    margin-top: 0px;
    font-size:12px;
}

.polls>.userInfo p{
  margin: 0px;
  margin-bottom: 5px;
}

img.avatar {
  width: 15px;
  margin: 0%;
  padding: 0%;
}

img.avatarlogo{
  width: 60px;
  text-align: center;
  justify-self: center;
}





/* form */
.box, .loginBox, #signUpBox, .createBox {
    border-radius: 5px;
    position: inherit;
    display: block;
    left: auto;
    margin: auto;
    padding: 5%;
    align-self: center;
    justify-self: center;
    text-align: center;
}

#signUpBox{
  margin-right: auto;
  padding-left: auto;
}
.box{
  border: 1px solid black;
  position: relative;
}


.createBox {
  margin-right: auto;
  padding-left: auto;
  overflow: hidden;
  position: relative;
}

.loginBox {
  margin-right: auto;
  margin-left: auto;
}

.box form, .loginBox form, #signUpBox form, #createForm {
  text-align: left;
}

/* #signupForm,#signupForm p {
  margin-right: auto;
  margin-left: auto;
}   */


.loginid, #email, #username, #password, #cpswd, #avatar, #closedate, #opendate, .answ, #question, #paswid {
    width: 100%;
    padding: 12px 5px;
    margin: 8px 0;
    font-size: 15px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    overflow: hidden;
  }
  
button, .button1 {
    background-color: #0036e9;
    color: white;
    padding: 10px 5px;
    border: none;
    width: 100%; 
    display:inline-block;
    font-size: large;
  }

.sbutton, .nav li {
    padding: 10px 10px;
    margin: 10px;
    border: none;
  }

.nav li {
  margin: 2px 20px 2px 20px;
  padding: 0px
}

.sbutton{
    background-color: #0036e9;
    display: table-cell;
    color: white;
    width: auto;
    border-radius: 3px;
    text-align: center;
    font-weight: bolder;
}

.buttonbar{
  background-color: #0036e9;
  color: white;
  display: block;
  text-align: center;
  padding: 5px;
  border-radius: 3px;
  text-align: center;
  font-weight: bolder;
}



.err_msg{
	color:red; 
	text-decoration:underline;
  font-size:small
}

.bars {
  height: 16px;
  background-color: #0036e9;
  text-align: left;
  position: absolute;
  border-radius: 5px;
  justify-content: center;
}

/* for Links */
a:link { 
  color: grey; 
  text-decoration: none;
}
a:visited { 
  color: grey; 
  text-decoration: none; }
a:hover {
  color: black;
  text-decoration: none; 
}
a:active { text-decoration: none; }


