/*-------------------------------------------*/
/*     Style sheet for the M&A app
/*-------------------------------------------*/


/* Define custom colors for consistent branding */
:root {
  --cape-cod-beachgrass: #98c19f;
  --cape-cod-beachgrass-gradient: linear-gradient(
                                  105deg,
                                  #bfeec7 0%,
                                  var(--cape-cod-beachgrass) 25%,
                                  var(--cape-cod-beachgrass) 75%,
                                  #bfeec7 100%
  );
  --masthead-height: 150px;
}

/* Define fonts (stored locally) */
@font-face {
  font-family: "WindSong";
  src: url('../fonts/WindSong/WindSong-Regular.ttf');
}

@font-face {
  font-family: "WindSong";
  src: url('../fonts/WindSong/WindSong-Medium.ttf');
  font-weight: 500;
}


/* Define custom animations */
@keyframes fadeIn {
    0% { opacity: 0; }
  100% { opacity: 1; }
}


/* General characteristics */
html {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Neuton', serif;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', "Neuton", serif;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus {
  outline: none;
}

input {
  color: inherit;
  font-size: inherit;
  font-family: inherit;
}

/*
 * Create dark grey header with a white logo
 */
header#masthead {
  position: fixed;
  top: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  height: var(--masthead-height);
  width: 100%;
  background-color: var(--cape-cod-beachgrass);
  background: var(--cape-cod-beachgrass-gradient);
  opacity: 0.9;
}

#masthead a {
  text-decoration: none;
}

#masthead .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding-top: 30px;
}

.manda-logo {
  margin: 0;
  color: white;
  font-family: "WindSong", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 5em;
}

.manda-logo:hover {
  color: #f5f5f5;
}


/*
 * Display navigation links inline
 */
#nav-menu {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #004c4c;
  background: linear-gradient(
                45deg,
                #6fa679 0%,
                #598c62 100%
              );
}

#nav-menu ul {
  padding: 0;
  margin: 3px;
}

#nav-menu li {
  display: inline;
}

#nav-menu li + li {
  margin-left: 35px;
}

#nav-menu li a {
  color: white;
}

#nav-menu li a:hover {
  color: #f5f5f5;
}

#nav-menu li .username {
  color: #777;
}

#nav-menu li .username:hover {
  color: red;
}


/*
 * Create a footer with site information
 */
footer#site-info {
  margin-top: auto;
}

#site-info p {
  color: #cccccc;
  font-size: 9pt;
  text-align: center;
}

#site-info span {
  padding: 0 5px;
}


/*
 * Handle the main body content area for pages
 */
#page {
  display: flex;
  justify-content: space-between;
  margin-top: var(--masthead-height);
  padding-top: 50px;
  padding-bottom: 30px;
}

#page .container {
  width: 90%;
}

aside.sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 100%;
  width: 5%;
  min-width: 50px;
  margin-top: 50px; /* Account for content header */
}

#content-header h1 {
  height: 50px;
  box-sizing: border-box;
  margin: 0 0 30px 0;
  padding-bottom: 10px;
  text-align: center;
  font-size: 2em;
  letter-spacing: -2px;
}


/*
 * Style forms
 */
form button,
form input,
form select {
  box-sizing: border-box;
  border-radius: 3px;
}

form input {
  padding: 5px;
}

form button,
form input.button {
  font-weight:bold;
  cursor: pointer;
}


/*
 * Customization for the landing page
 */
#landing-page {
  background-color: var(--cape-cod-beachgrass);
  background: var(--cape-cod-beachgrass-gradient);
  color: white;
}

#landing-page .initials {
  height: 100%;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25vmin;
  font-family: "WindSong", "Helvetica Neue", Helvetica, Arial, sans-serif;
  opacity: 0;
  animation: 2.5s fadeIn 0.5s forwards;
}
@media screen and (max-width: 1000px) {
  #landing-page .initials {
  }
}

#landing-page .initials .initial {
  font-weight: 500;
}

#landing-page .initials .ampersand {
  margin: 0 -20px;
  font-size: 20vmin;
}

#landing-page #site-info p {
  color: #ffffff80;
}


/*
 * Customization for the 'Log In' page
 */
form#login {
  width: 50%;
  margin: auto;
}

form#login label {
  display: block;
  padding: 10px 0;
}

form#login button,
form#login input,
form#login select {
  width: 100%;
}

form#login button,
form#login input.button {
  margin-top: 20px;
}
