/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Correct the line height in all browsers.
 * 3. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */
/* Document
   ========================================================================== */
html {
  font-family: sans-serif;
  /* 1 */
  line-height: 1.15;
  /* 2 */
  -ms-text-size-adjust: 100%;
  /* 3 */
  -webkit-text-size-adjust: 100%;
  /* 3 */ }

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/**
 * Add the correct display in IE 9-.
 */
article,
aside,
footer,
header,
nav,
section {
  display: block; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/* Grouping content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in IE.
 */
figcaption,
figure,
main {
  /* 1 */
  display: block; }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the gray background on active links in IE 10.
 * 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
 */
a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */ }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
audio,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers (opinionated).
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */ }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS and Safari.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * 1. Add the correct display in IE 9-.
 * 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 */
details,
menu {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

/* Scripting
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 */
canvas {
  display: inline-block; }

/**
 * Add the correct display in IE.
 */
template {
  display: none; }

/* Hidden
   ========================================================================== */
/**
 * Add the correct display in IE 10-.
 */
[hidden] {
  display: none; }

.clean-list {
  list-style: none; }

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%; }

/*----------- lato regular-----------*/
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"), url(https://fonts.gstatic.com/s/lato/v13/UyBMtLsHKBKXelqf4x7VRQ.woff2) format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Layout */
  --container-width: 1063px;
  --inner-container-width: 900px;
  /*header */
  --header-background: #323232;
  /* Fonts */
  --primary-font: Playfair;
  --secondary-font: Ubuntu;
  /* Colors */
  --main-color: #626262;
  --sections-bg: #f0f0f0; }

/*----------  Containers  ----------*/
.container {
  width: var(--container-width);
  margin: 0 auto;
  width: 100%; }

.inner-container {
  width: var(--inner-container-width);
  margin: 0 auto; }

/*----------  Flex Helpers  ----------*/
.flex {
  display: flex; }

.align-center {
  align-items: center; }

.justify-center {
  justify-content: center; }

.space-between {
  justify-content: space-between; }

.flex-wrap {
  flex-wrap: wrap; }

.full-height {
  height: 100%; }

/* Breakpoint mixins */
* {
  box-sizing: border-box; }

html {
  color: var(--main-color);
  font-family: var(--primary-font);
  font-size: 16px; }

a {
  color: currentColor;
  text-decoration: none;
  display: inline-block; }

ul,
fieldset {
  padding: 0;
  margin: 0; }

header {
  display: flex;
  justify-content: center;
  height: 63px;
  background-color: var(--header-background);
  width: 100%; }
  header nav {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    width: 371px;
    font-family: 'Lato', sans-serif; }
  header ul {
    color: #e4e4e4;
    text-transform: uppercase;
    width: 117px;
    display: flex;
    justify-content: space-between;
    font-size: 0.5625em; }
  header span {
    color: #464b5e; }

header + div {
  display: flex;
  justify-content: center; }
  header + div .triangle {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 26px solid #2f2f2f;
    max-width: 90px;
    background-color: white;
    z-index: 1; }

.border-bottom {
  position: relative;
  bottom: 10px;
  border-bottom: 1px solid #e4e9eb; }

header li {
  display: inline; }

.active {
  color: #2c917d; }

.images {
  min-height: 206px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; }
  .images .image {
    overflow-x: auto;
    overflow-y: auto;
    overflow: hidden;
    width: 200px;
    height: 250px;
    border: 1px solid black;
    transition: 5s; }
  .images img {
    margin: -40% -50%; }

.image:hover {
  cursor: pointer; }

.search-array {
  max-width: 400px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; }
  .search-array div {
    margin-left: 15px; }

.keyword {
  display: flex;
  flex-direction: column;
  justify-content: center; }

.keyword:hover {
  cursor: pointer; }

#screen-pick-meme {
  width: 100%; }
  #screen-pick-meme aside {
    display: flex;
    justify-content: center;
    min-height: 70px; }

.devs-info-container {
  background-color: #2AB499;
  width: 100%;
  min-height: 340px;
  border-left: solid #219d84;
  border-right: solid #219d84;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  padding-top: 70px;
  margin-bottom: 0;
  /* 1. how to move the borders 40px from edges?
       2. how to make border not be full on endges?*/ }

.about-pic {
  padding-left: 120px; }

.about-text {
  margin-left: 20px;
  color: #d7fcf5; }

h1, h3 {
  font-size: 30px;
  margin-bottom: 0px;
  margin-top: 0;
  font-family: 'Maven Pro', sans-serif; }

h2 {
  font-size: 18px;
  margin-bottom: 8px;
  margin-top: 0;
  color: #20816d;
  font-family: 'Maven Pro', sans-serif; }

p {
  font-size: 12px;
  font-family: 'Lato', sans-serif; }

.contact-us {
  width: 100%;
  height: 564px;
  color: #e0e0e0;
  background-color: #323232;
  margin-top: 0;
  margin-bottom: 8px;
  padding-left: 121px;
  padding-top: 67px;
  font-family: 'Maven Pro', sans-serif;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap; }

textarea, .contact-us input {
  margin-top: 24px;
  background-color: #454545;
  max-width: 580px;
  height: 38px;
  border: none;
  padding-top: 5px; }

.text-area {
  line-height: 4px;
  color: #C7C7CD; }

.input-text {
  padding-left: 10px;
  color: white; }

.contact-us-txt-field {
  margin-bottom: 18px; }

::placeholder {
  padding-left: 10px;
  padding-top: 10px; }

.send-button {
  width: 90px;
  height: 37px;
  margin: 16px 0;
  background-color: #2eb398;
  border: none;
  color: #d7fcf5; }

.send-button:active {
  background-color: #37ddbc; }

.contact-us button:hover {
  cursor: pointer; }

.left-contact-us {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 580px;
  margin-right: 5px; }

.right-contact-us {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  min-width: 180px; }

.right-contact-us div {
  display: flex; }

.nav-arrow {
  width: 38px;
  height: 33px; }

.nav-arrow:hover {
  cursor: pointer; }

@media screen and (max-width: 720px) {
  .devs-info-container {
    flex-direction: column;
    padding-top: 10px; }
  .about-pic {
    order: 3; }
  .about-text {
    order: 1; } }

button:hover {
  cursor: pointer; }

@media (max-width: 600px) {
  .contact-us {
    padding-left: 0; } }

.screen {
  transition: 2s; }

.screen-active {
  right: 0px;
  position: relative; }

.screen-inactive {
  transform: translate(-2750px, 0);
  position: absolute; }

.screens-container {
  display: flex;
  justify-content: center; }

#screen-meme-gen {
  display: flex;
  justify-content: center; }

#screen-pick-meme form {
  display: flex;
  justify-content: center; }

.toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; }
  .toolbar button {
    padding: 0;
    width: 50px; }

#screen-meme-gen .form {
  min-height: 70px;
  display: flex;
  flex-direction: column; }

#screen-meme-gen button {
  min-height: 50px; }

#screen-meme-gen input {
  height: 100px; }

#screen-meme-gen .screen-inactive {
  position: absolute; }

@media (max-width: 985px) {
  #screen-meme-gen {
    display: flex;
    flex-direction: column; }
  canvas {
    flex-shrink: 1;
    width: 100%;
    height: auto; } }
