/*variables*/
/*--------------------------------------------------*/
:root {
	--brick: #B82D00;
	--blue-dark: #1B1B7E;
	--blue-light: #1B1BC9;
	--grey-0: #C4CBD2;
	--dark: #000000;
	--white: #FFFFFF;
}
/*--------------------------------------------------*/

/*css reset*/
/*--------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	font-family: 'Roboto', sans-serif;
	background-color: var(--grey-0);
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/*--------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

.shadow {
	filter: drop-shadow(-3px 3px 1px var(--dark));
}

/*The whole site*/
/*--------------------------------------------------*/
/*home page*/
#whole-site-hp {
	width: 100%;
	height: 100vh;
	background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-light) 100%);
	display: flex;
	flex-direction: row;
}

/*the other pages*/
#whole-site-page {
	height: 100vh;
	background-color: var(--grey-0);
	display: flex;
	flex-direction: column;
}
/*--------------------------------------------------*/

/*body-left home page*/
/*--------------------------------------------------*/
#body-left {
	width: 50%;
	height: 90vh;
	margin-top: 5vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/*--------------------------------------------------*/

/*body-right home page*/
/*--------------------------------------------------*/
#body-right {
	width: 50%;
	justify-content: center;
	align-items: center;
	height: 100vh;
	display: flex;
}
/*--------------------------------------------------*/

/*Header*/
/*--------------------------------------------------*/
#governance-header {
	height: 15vh;
	display: flex;
}

#governance-title {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 40pt;
	margin-left: 5%;
}

#governance-title a {
	color: var(--grey-0);
	text-decoration: none;
}

#governance-title a:hover {
	text-decoration: none;
}

#governance-title-page {
	font-family: 'Big Shoulders Display', sans-serif;
	font-weight: 900;
	font-size: 40pt;
	margin-left: 2.5%;
	margin-top: 2.5%;
}

#governance-title-page a {
	color: var(--blue-dark);
	text-decoration: none;
}

#governance-title-page a:hover {
	color: var(--brick);
	text-decoration: none;
}
/*--------------------------------------------------*/

/*list of pages*/
/*--------------------------------------------------*/
#list-pages {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-left: 5%;
  line-height: 25pt;
}

.page-title {
  width: 100%;
  display: flex;
  align-items: center;
}

.page-title h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
  font-size: 25pt;
}

.page-title h2 a {
	text-decoration: underline;
	color: var(--grey-0);
}

.page-title h2 a:hover {
	color: var(--brick);
}
/*--------------------------------------------------*/

/*Logo*/
/*--------------------------------------------------*/
#logo-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

#governance-logo {
	display: flex;
	justify-content: center;
}

#logo {
	width: 50%;
	animation: rotation 60s infinite linear;
}
/*--------------------------------------------------*/

/*About us*/
/*--------------------------------------------------*/
#about-us {
	width: 75%;
	margin-left: 5%;
	color: var(--grey-0);
}

#about-us h3{
		font-family: 'Roboto', sans-serif;
		font-weight: 900;
  	font-size: 25pt;
}

#about-us p{
		margin-top: 1%;
		font-family: 'Roboto', sans-serif;
  	font-size: 15pt;
}

#about-us a{
		text-decoration: none;
		color: var(--grey-0);
}
/*--------------------------------------------------*/

/*Chat*/
/*--------------------------------------------------*/
#chat {
	font-family: 'Roboto', sans-serif;
	display: flex;
	flex-direction: column;
	height: 80vh;
	width: calc(70% - 10%);
	padding: 5%;
	background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue-light) 100%);
	height: 80vh;
	overflow: hidden;
}

#chat-content {
	overflow: auto;
}

.post {
	display: flex;
	flex-direction: column;
	padding-top: 7pt;
	padding-bottom: 7pt;
  border-bottom: 2pt solid var(--grey-0);
  color: var(--grey-0);
}

.post-info {
	display: flex;
	width: 100%;
}

.post-pseudo {
	color: var(--brick);
	font-weight: 900;
}

.post-time {
	display: none;
	font-style: italic;
}

.form-element {
	margin-top: 1%;
}

#new-post {
	margin-top: 7pt;
	display: flex;
	flex-direction: column;
}

#field-pseudo {
	border: none;
	color: var(--brick);
	width: 50%;
	margin-bottom: 1%;
	background-color: var(--white);
}

#field-post {
	border: none;
	color: var(--brick);
	width: 100%;
	margin-bottom: 1%;
	background-color: var(--white);
}

#post-button-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

#post-button {
	border: none;
	color: var(--brick);
	width: 33%;
	border-radius: 12px;
	background-color: var(--white);
}

#post-button:hover {
	color: var(--white);
	width: 33%;
	background: var(--brick);
	color: var(--grey-0);
	border-radius: 12px;
	filter: drop-shadow(-5px 5px 5px var(--dark));
}

/*--------------------------------------------------*/

/*The different pages*/
/*--------------------------------------------------*/
#governance-page {
	width: 100%;
}

#governance-page h2 {
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
  font-size: 25pt;
  color: var(--blue-dark);
  margin-left: 2.5%;
  margin-top: 3%;
  margin-bottom: 3%;
}

#content {
	font-size: 16pt;
	color: var(--blue-dark);
	width: calc(100% - 5%);
	margin-left: 2.5%;
	margin-right: 2.5%;
	margin-bottom: 5 %;
}

#content a {
	text-decoration: underline;
	color: blue;
}

#content a:hover {
	color: var(--brick);
}

#content img {
	margin-top: 3%;
	margin-bottom: 3%;
	margin-left: -2.5%;
	width: 105%;
}
/*--------------------------------------------------*/

/*BUILDING 404*/
/*--------------------------------------------------*/
#governance-login {
	display: flex;
	justify-content: center;
}

#building404 {
	margin-left: 2.5%;
}

#building404 h2 {
	font-size: 20pt;
	font-weight: 800;
	margin-bottom: 15pt;
}

#new-page {
	margin-bottom: 15pt;
}

#pages404 {
	margin-top: 30pt;
	margin-bottom: 15pt;
}

#pages-control-modify {
	margin-left: 2.5%;
	margin-top: 2.5%;
}

#editZone {
	margin-left: 2.5%;
}


.manage-page {
	margin-bottom: 10pt;
}
/*--------------------------------------------------*/

/*Link to modify pages on pages-control*/
/*--------------------------------------------------*/
#modify-title {
	font-family: 'Roboto', sans-serif;
	font-weight: 900;
  font-size: 25pt;
  color: var(--blue-dark);
  margin-left: 2.5%;
  margin-top: 3%;
  margin-bottom: 3%;
}
/*--------------------------------------------------*/

/*full-page logo*/
/*--------------------------------------------------*/
#logo-php {
	display: flex;
	width: 100%;
	height: 100vh;
	align-items: center;
	justify-content: center;
	align-content: center;
}
/*--------------------------------------------------*/


/*animation logo*/
/*--------------------------------------------------*/
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}
/*--------------------------------------------------*/

/*color of placeholders*/
/*--------------------------------------------------*/
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--brick);
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: var(--brick);
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: var(--brick);
}
/*--------------------------------------------------*/

/*Hide chat link on desktop*/
/*--------------------------------------------------*/
#chat-link {
	display: none;
}
/*--------------------------------------------------*/

/*Tablets*/
@media (max-width: 1100px) {

}


/*Phones*/
/*--------------------------------------------------*/
@media (max-width: 700px) {

	#governance-header {
		height: 10vh;
	}

	#governance-title {
		font-size: 35pt;
	}

	#chat-link {
		display: block;
	}

	#body-left {
		width: 100%;
	}

	.page-title h2 {
		font-family: 'Roboto', sans-serif;
		font-weight: 900;
  	font-size: 20pt;
	}

	#about-us h3{
		font-family: 'Roboto', sans-serif;
		font-weight: 900;
  	font-size: 20pt;
	}

	#about-us p{
		margin-top: 1%;
		font-family: 'Roboto', sans-serif;
  	font-size: 12pt;
  	margin-bottom: 2vh;
	}

	#body-right {
		display: none;
	}

	#chat {
		height: 70vh;
		width: calc(100% - 30%);
		padding: 5%;
		margin-left: 10%;
		margin-bottom: 5%;
		margin-right: 10%;
	}
}
/*--------------------------------------------------*/



/*To do*/
/*Hypens in chat*/