@font-face {
  font-family: Diatype;
  src: url(".ABCDiatype-Regular.woff");
  src: url(".ABCDiatype-Regular.woff") format("woff"),
    url(".ABCDiatype-Regular.woff2") format("woff2");
}

@font-face {
  font-family: DiatypeLight;
  src: url("ABCDiatype-Light.woff");
  src: url("ABCDiatype-Light.woff") format("woff"),
    url("ABCDiatype-Light.woff2") format("woff2");
}

/* // ==========================================================================
// Reset
// ========================================================================== */
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: inherit;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Diatype", sans-serif;
}

/* ===== Layout ===== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Diatype", sans-serif;
  margin: 0;
}

main {
  flex: 1;
  justify-content: center;
  align-items: center;
}

section {
  height: 100vh;
}

.content-wrapper {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 100%;
  margin: auto 0;
}

.image-wrap {
  grid-column: 4/10;
  grid-row: 1;
  margin: auto 0 65px 0;
}

.logo {
  width: 100%;
  max-width: 100vw;
  height: auto;
  max-height: 50vh;
  display: block;
}

.site-footer {
  text-align: left;
  padding: 1rem 0;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* // ==========================================================================
//input
// ========================================================================== */

.input-section {
  grid-column: 5/9;
  grid-row: 2;
}

.input-section .input-wrapper {
  position: relative;
  margin: 0 auto;
}

.input-section input {
  padding: 16px 4px 16px 24px;
  width: 100%;
  border-radius: 100px;
  border: none;
  background: #f2f2f2;
  outline: none;
  color: #4d4d4d;
  font-weight: 300;
  font-size: 1rem;
  font-family: "DiatypeLight";
}

.input-section input::placeholder {
  color: #4d4d4d;
  opacity: 1;
  text-overflow: ellipsis;
  font-family: "DiatypeLight";
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
}

/* Button inside input */
.input-section button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid #4d4d4d;
  padding: 10px;
  color: #fff;
  padding: 8px 8px 5px 8px;
  border-radius: 100px;
  cursor: pointer;
  font-family: "Diatype";
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
}

/* // ==========================================================================
//Footer
// ========================================================================== */
.site-footer {
  position: absolute;
  bottom: 0;
  padding: 20px 32px;
  font-size: 14px;
}

/* // ==========================================================================
// Mobile
// ========================================================================== */
@media (min-width: 0) {
  .input-section {
    grid-column: 2/12;
    grid-row: 2;
  }

  .image-wrap {
    grid-column: 2/12;
    grid-row: 1;
    margin: auto 0 65px 0;
  }

  .input-section input {
    font-size: 14px;
    line-height: 20px;
  }

  .input-section input::placeholder {
    font-size: 14px;
    line-height: 20px;
  }
}

/*
// ==========================================================================
// Desktop
// ========================================================================== */
@media (min-width: 1020px) {
  .input-section {
    grid-column: 5/9;
    grid-row: 2;
  }

  .image-wrap {
    grid-column: 4/10;
    grid-row: 1;
    margin: auto 0 65px 0;
  }

  .input-section input {
    padding: 16px 4px 16px 24px;
    width: 100%;
    border-radius: 100px;
    border: none;
    background: #f2f2f2;
    outline: none;
    color: #4d4d4d;
    font-weight: 300;
    font-size: 1rem;
    font-family: "DiatypeLight";
  }

  .input-section input::placeholder {
    color: #4d4d4d;
    opacity: 1;
    text-overflow: ellipsis;
    font-family: "DiatypeLight";
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
  }
}

/*
// ==========================================================================
// HD Desktop
// ========================================================================== */
@media (min-width: 1420px) {
  .input-section {
    grid-column: 5/9;
    grid-row: 2;
  }

  .image-wrap {
    grid-column: 4/10;
    grid-row: 1;
    margin: auto 0 65px 0;
  }

  .input-section input {
    padding: 16px 4px 16px 24px;
    width: 100%;
    border-radius: 100px;
    border: none;
    background: #f2f2f2;
    outline: none;
    color: #4d4d4d;
    font-weight: 300;
    font-size: 1rem;
    font-family: "DiatypeLight";
  }

  .input-section input::placeholder {
    color: #4d4d4d;
    opacity: 1;
    text-overflow: ellipsis;
    font-family: "DiatypeLight";
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
  }
}

/*
// ==========================================================================
// HD Desktop - wide
// ========================================================================== */

@media (min-width: 2200px) {
  .input-section {
    grid-column: 5/9;
    grid-row: 2;
  }

  .image-wrap {
    grid-column: 4/10;
    grid-row: 1;
    margin: auto 0 65px 0;
  }

  .input-section input {
    padding: 16px 4px 16px 24px;
    width: 100%;
    border-radius: 100px;
    border: none;
    background: #f2f2f2;
    outline: none;
    color: #4d4d4d;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    font-family: "DiatypeLight";
  }

  .input-section input::placeholder {
    color: #4d4d4d;
    opacity: 1;
    text-overflow: ellipsis;
    font-family: "DiatypeLight";
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
  }
}
