/*********************************************************************************/
/*                                        GENERAL                                */
/*********************************************************************************/

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    position: relative;
    outline: none;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-family: monospace;
    color: black;
    width: 100%;
    min-width: 900px;
    height: 100%;
    background-color: #efefef;
}

a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: blue;
}


input {
    font-family: monospace;
    font-size: 15pt;
    border: 5px solid black;
    width: 350px;
    padding: 10px;
}

textarea {
    font-family: monospace;
    font-size: 15pt;
    border: 5px solid black;
    width: 707px;
    height: 300px;
    padding: 10px;
    resize: none;
}

.submit-button {
    font-family: monospace;
    font-size: 15pt;
    border: 5px solid black;
    width: 350px;
    padding: 10px;
    background-color: lightgrey;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-align: center;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
}

.submit-button:hover {
    background-color: grey;
}

.submit-button:active {
    background-color: black;
    color: white;
}

/*********************************************************************************/
/*                                        AUTH   OVERLAY                         */
/*********************************************************************************/

#auth {
    text-align: center;
}

#auth p {
    margin: 10px 0;
}

.auth-column-title {
    font-size: 20pt;
    font-weight: bold;
    text-align: center;
}

.auth-column {
    padding: 0 40px;
    border-right: 10px solid black;
    display: inline-block;
}

.auth-column:last-child {
    border-right: none;
}

/*********************************************************************************/
/*                                 POST   MESSAGE   OVERLAY                      */
/*********************************************************************************/

#message-post {
    text-align: center;
}

#message-post p {
    margin: 10px 0;
}

.message-column-title {
    font-size: 20pt;
    font-weight: bold;
    text-align: center;
}

.message-post-time {
    font-size: 15pt;
    display: inline-block;
}

.message-post-background {
    font-size: 15pt;
    display: inline-block;
}

#message-post-button {
    text-align: center;
    margin-top: 40px;
}

/*********************************************************************************/
/*                              POST   BACKGROUND   OVERLAY                      */
/*********************************************************************************/

#background-post {
    text-align: center;
}

#background-post p {
    margin: 10px 0;
}

.background-post-background {
    font-size: 15pt;
    display: inline-block;
}

#background-post-button {
    text-align: center;
    margin-top: 40px;
}


/*********************************************************************************/
/*                                 OVERLAY   MESSAGE                             */
/*********************************************************************************/

.message-large {
    width: 60%;
    margin: 0 auto;

}

.message-content-large {
    text-align: justify;
    font-size: 15pt;
    margin-top: 10px;
    padding: 20px;
    width: 100%;
}

.message-time-large {
    font-size: 15pt;
    color: blue;
    padding: 0 20px;
    width: 100%;
}

.questions {
    margin-top: 20px;
    font-size: 13pt;
    border-top: 2px dashed black;
    width: 100%;
}

#questions-inner {
    overflow-y: scroll;
    height: 250px;
}

.questions-title {
    margin-bottom: 10px;
    font-size: 15pt;
    color: grey;
    padding: 20px;
}

.question {
    padding: 20px;
}

.question-time {
    font-size: 9pt;
    color: grey;
}

.question-content {
    font-size: 12pt;
    color: black;
}

.question-reply {
    font-size: 12pt;
    color: black;
    font-style: italic;
    margin-left: 10px;
}

.new-question {
    padding: 20px;
}

.new-question input {
    font-family: monospace;
    font-size: 12pt;
    border: 2px solid black;
    width: 70%;
    padding: 10px;
}

#question-submit-button {
    font-family: monospace;
    font-size: 12pt;
    border: 2px solid black;
    width: 15%;
    padding: 10px;
    background-color: lightgrey;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-align: center;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
    margin-left: 10px;
}

#question-submit-button:hover {
    background-color: grey;
}

#question-submit-button:active {
    background-color: black;
    color: white;
}

.question-reply input {
    font-family: monospace;
    font-style: italic;
    font-size: 12pt;
    border: 1px dashed black;
    width: 70%;
    padding: 5px;
}

.reply-submit-button {
    font-size: 12pt;
    color: black;
    font-style: normal;
    border: 1px solid black;
    width: 15%;
    padding: 5px;
    background-color: lightgrey;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    text-align: center;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
    margin-left: 10px;
}

.reply-submit-button:hover {
    background-color: grey;
}

.reply-submit-button:active {
    background-color: black;
    color: white;
}


/*********************************************************************************/
/*                                 LANDING PAGE                                  */
/*********************************************************************************/

#wrapper {
    width: 100%;
    min-height: 100%;
}

#transparent-background {
    position: fixed;
    background-size: cover;
    opacity: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1000;
}

#menu {
    position: absolute;
    top: 60px;
    right: 0;
    padding: 20px;
    width: 100%;
    text-align: center;

}

.menu-item {
    cursor: pointer;
    margin: 0 10px;
    padding: 10px;
    color: #008cff;
    transition: color 0.3s;
    font-size: 25pt;
    display: inline-block;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu-item-text {
	display: inline-block;
	vertical-align: middle;
	height: 35px;
	line-height: 35px;
	margin-right: 10px;
}

.menu-item-image {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	height: 35px;
	line-height: 35px;
}

.menu-item-image img {
	position: relative;
	height: 200px;
	top: -80px;
	left: -20px;
	width: auto;
}

.explication {
	position: absolute;
	bottom: 5px;
	left: calc(50% - 92px);
	font-size: 12pt;
	transition: color 0.3s;
	
}

.explication a {
	color: #60d7ff;
	transition: color 0.3s;
}

.explication a:hover {
	color: blue;
}

#login {
	left: -40px;
	letter-spacing: 4px;
	
	font-family: 'PT Sans Narrow', sans-serif;
}

#add-message {
	font-family: 'Shadows Into Light', cursive;
	position: fixed;
	top: 65px;
	left: 22%;	
}

#set-background {
	display: none;
}

#logout {
	position: fixed;
	bottom: 2%;
	right: 0;
	font-size: 13pt;
}

#logouticon {
	font-size: 16pt;
}

.menu-item:hover {
    color: blue;
}

#message-board {
    position: absolute;
    top: 180px;
    width: 60%;
    margin: 0 20%;
    height: 684px;
    overflow-y: scroll;
	box-shadow: 0px 0px 60px 20px #444;
	padding-right: 20px;
}

#message-board::-webkit-scrollbar-track
{
	background-color: rgba(255,255,255,0.1);
}

#message-board::-webkit-scrollbar
{
	width: 6px;
	background-color: rgba(0,0,0,0.3);
}

#message-board::-webkit-scrollbar-thumb
{
	background-color: rgba(0,0,0,0.1);	
}

#message-board-border {
	position: absolute;
	pointer-events: none;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99;
}

#message-board-inner {
	position: relative;
	width: calc(100% + 20px);
	padding-right: 2px;
}

.message {
    padding: 20px 20px;
    cursor: pointer;
    background-color: #eee;
    opacity: 0.95;
	box-shadow: inset 0 10px 20px #666, inset 0 -18px 5px #fff;
	transition: all 0.3s;
	border-bottom: 1px solid white;
}

.message-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: all 0.3s;
    opacity: 0.30;
}

.message:hover {
	background-color: #ddd;
	box-shadow: inset 0 10px 20px #666, inset 0 -18px 5px #ddd;
}

.message:hover .message-background {    
    opacity: 0.6;
}

.hover {
    
}

.new-message .message-background {
    background-color: #fefefe;
}

.message:last-child {
    border-bottom: none;
}

.message-content {
    text-align: justify;
	pointer-events: none;
}

.message-time {
    margin-top: 5px;
    text-align: right;
	pointer-events: none;
}

.message-timeStart {
    color: blue;
}

.message-timeEnd {
    color: blue;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #95a1a8;
    z-index: 100;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    opacity: 0.9;
}

#overlay-content {
    display: inline-block;
    width: 100%;
}

#overlay-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 40pt;
    transition: color 0.3s;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1000;
}

#overlay-close-button:hover {
    color: grey;
}

#overlay-close-button:active {
    color: lightgrey;
}

#error {
    color: red;
    font-size: 13pt;
    text-align: center;
    height: 50px;
}

.word {
	color: #000;	
	padding: 5px 10px;
	font-size: 15pt;
}

#arrow {
	position: fixed;
	right: 5%;
	top: 130px;
	height: 460px;
}

#arrowbutton {
	position: fixed;
	bottom: 50%;
	right: 20px;
	font-size: 14pt;
}

#mot-1 {
	position: fixed;
	pointer-events: none;
	left: 35%;
	top: 50px;
}

#mot-2 {
	position: fixed;
	pointer-events: none;
	left: 36%;
	top: 70px;
}
#mot-3 {
	position: fixed;
	pointer-events: none;
	left: 43%;
	top: 30px;
}
#mot-4 {
	position: fixed;
	pointer-events: none;
	left: 50%;
	top: 76px;
}
#mot-5 {
	position: fixed;
	pointer-events: none;
	left: 57%;
	top: 95px;
}
#mot-6 {
	position: fixed;
	pointer-events: none;
	left: 63%;
	top: 110px;
}
#mot-7 {
	position: fixed;
	pointer-events: none;
	left: 55%;
	top: 40px;
	transform: rotate(32deg);
}
#mot-8 {
	position: fixed;
	pointer-events: none;
	left: 75%;
	top: 80px;
}
#mot-9 {
	position: fixed;
	pointer-events: none;
	left: 80%;
	top: 150px;
}

#explication {
	width: 100%;
	height: 100%;
	background-image: url("../img/explication.jpg");
}