/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.26, autoprefixer: v9.7.3) */

:root {
  --amc-p: #d53602;
  --amc-l: white;
  --amc-d: #232323;
}

html,
body,
body * {
  box-sizing: border-box;
  margin: 0;
}

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%;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  width: 100%;
  height: auto;
  font-family: sans-serif;
  position: relative;
  /* background: white; */
  /* background: rgb(158, 18, 18);
    background: radial-gradient(red, rgb(158, 18, 18)); */
  overflow: overlay;
  overflow-x: hidden;
}

@font-face {
  font-family: "Transuranium";
  src: url("/fonts/Transuranium.eot?#iefix") format("embedded-opentype"),
    url("/fonts/Transuranium.woff") format("woff"),
    url("/fonts/Transuranium.ttf") format("truetype"),
    url("/fonts/Transuranium.svg#Transuranium") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "murphy_scriptregular";
  src: url("/fonts/murphyscript-regular-webfont.woff2") format("woff2"),
    url("/fonts/murphyscript-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

p {
  line-height: 1.3em;
  margin: 0.6em 0;
  font-size: 1rem;
}

p,
h1,
h2,
h3 {
  max-width: 100%;
}

.isdark p,
.isdark h1,
.isdark h2,
.isdark h3,
.isdark li {
  color: #ffffff;
}

a {
  text-decoration: none;
  color: var(--amc-d);
  font-weight: bold;
}

.isdark a {
  color: var(--amc-p);
}

h1 {
  font-size: 3.6em;
  margin: 0;
  max-width: 100%;
  font-weight: 100;
  /* font-family: 'kg_happyregular', cursive; */
  font-family: "Transuranium", sans-serif;
  text-transform: uppercase;
  text-shadow: -3px 4px 8px black;
}

h2 {
  font-size: 1.6em;
}

h3 {
  font-size: 1.2em;
  text-align: center;
  margin: 0 auto;
  font-family: "Boogaloo", cursive;
  color: black !important;
  z-index: 9;
  transform: rotate(-4deg);
}

img {
  max-width: 100%;
}

ul li {
  list-style: none;
  position: relative;
}

nav img {
  -webkit-filter: brightness(0.2);
  filter: brightness(0.2);
  width: 130px;
  height: auto;
}

nav a:not(.alt) {
  text-decoration: none;
  /* border: 1px solid grey; */
  padding: 0.4em;
  min-width: 100px;
  text-align: center;
  /* border-radius: 12px; */
  color: grey;
}

.about p,
.about a {
  font-family: "murphy_scriptregular";
  font-size: 2.3vh;
  height: unset;
  word-break: break-word;
  display: inline;
}

.about a {
  transition: color 300ms ease;
}
.about a:hover {
  color: red;
}

/* STRUCTURE */

.grapper {
  display: -ms-grid;
  display: grid;
  width: 100vw;
  margin: 0 auto;
  -ms-grid-rows: auto auto;
  grid-template-rows: auto auto;
  grid-auto-rows: auto;
  -ms-grid-columns: (1fr) [4];
  grid-template-columns: repeat(4, 1fr);
  -ms-scroll-snap-type: y mandatory;
  scroll-snap-type: y mandatory;
}

.grapper::before {
  content: "";
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* background-image: url(../img/web-bg.jpg); */
  background-size: cover;
  width: 100vw;
  height: 100%;
  z-index: -1;
}

.grapper::after {
  content: "";
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #f2f6fa00;
  opacity: 1;
  top: 0;
  z-index: -1;
  transform: translateX(-50%);
  left: 50%;
}

.grapper > * {
  -ms-grid-column: 1;
  -ms-grid-column-span: 4;
  grid-column: 1/5;
}

section {
  position: relative;
  scroll-snap-align: start;
}

.flex {
  display: flex;
  flex-direction: column;
  place-content: center;
  place-items: center;
}

.inner.padd {
  padding: 2.6em 1.6em;
}

section#top {
  /* background: rgb(158, 18, 18);
    background: radial-gradient(red, rgb(158, 18, 18)); */
  background: white;
}

section#top p {
  font-family: "Transuranium", sans-serif;
  text-transform: uppercase;
  color: black;
  font-size: 14vw;
}

section#top h1 {
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  -webkit-text-orientation: upright;
  text-orientation: upright;
  display: inline;
  position: absolute;
  position: relative;
  float: left;
  color: black;
  font-size: 23vw;
  background: white;
  padding: 0.2em;
  text-shadow: none;
  line-height: 0.4em;
}

section#top .inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  grid-auto-rows: -webkit-min-content;
  grid-auto-rows: min-content;
  grid-auto-flow: column;
  height: 100%;
  grid-template-rows: repeat(6, 11vw);
  position: relative;
  width: 100%;
  place-content: flex-start;
  place-items: center;
}

section#two .inner {
  margin-top: -4em;
  background: white;
  box-shadow: 0px -6px 6px -4px #2f2f2f;
  position: relative;
  transform: rotate(-1deg);
}

.sidebar,
.marker {
  background: black;
  width: 100%;
  height: 100%;
  grid-column: 4/5;
  grid-row: 1/7;
}

.marker {
  grid-column: 1/2;
  grid-row: 6/7;
  background: red;
  padding: 14%;
  width: 8vw;
  box-sizing: border-box;
  margin: 55px;
  position: relative;
  height: 8vw;
}

/* section#two .inner::before, section#two .inner::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

section#two .inner::before {
    margin-top: -4em;
    transform: rotate(-1deg);
    -webkit-transform: rotate(-1deg);
    -moz-transform: rotate(-1deg);
    -ms-transform: rotate(-1deg);
    -o-transform: rotate(-1deg);
}

section#two .inner::after {
    margin-top: -4em;
    transform: rotate(1deg);
    -webkit-transform: rotate(1deg);
    -moz-transform: rotate(1deg);
    -ms-transform: rotate(1deg);
    -o-transform: rotate(1deg);
} */

section .inner {
  padding: 2.6em 1.6em;
  height: 100%;
  display: block;
  place-content: center;
  place-items: flex-start;
  position: relative;
}

section .inner.center {
  place-items: center;
}

section .inner.fw {
  padding: 2.6em 0;
}

/* SPECIAL CLASSES */

.inline-butts {
  display: -ms-grid;
  display: grid;
  gap: 10px;
  -ms-grid-columns: 1fr 10px 1fr;
  grid-template-columns: 1fr 1fr;
  width: 90%;
  margin: 0 auto;
  text-align: center;
}

.button {
  background-color: var(--amc-p);
  color: white;
  padding: 0.8em;
  border-radius: 8px;
  place-content: center;
  place-items: center;
  display: flex;
  text-decoration: none;
  box-shadow: 0px 4px 6px -5px black;
  transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
}

.button:hover {
  background-color: orangered;
}

a.button.invert,
.CTA .invert {
  background: ghostwhite;
  color: var(--amc-p);
  border: 2px solid var(--amc-p);
}

#li li::before,
.mark::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  margin-bottom: 1em;
  height: 1.3em;
  background-color: #f44336;
}

.foot-link {
  opacity: 0.55;
  font-size: 0.9em;
  display: flex;
  place-items: center;
  cursor: pointer;
  transition: opacity 2400ms ease;
}

.foot-link:hover {
  opacity: 1;
  transition: opacity 300ms ease;
}

.visible {
  opacity: 1 !important;
}

.is-sent {
  background-color: green;
}

.grid {
  display: grid;
}

.center {
  place-content: center;
  place-items: center;
}

/* FORM STUFFS */

input:focus,
textarea:focus {
  border: 4px solid white !important;
}

form {
  display: -ms-grid;
  display: grid;
  grid-gap: 1em;
  -ms-grid-columns: 1fr 1em 1fr;
  grid-template-columns: 1fr 1fr;
}

textarea#Msg,
input {
  background: #1e1e1e;
  outline: transparent;
  border: 0px;
  padding: 2rem;
  font-size: 1em;
  color: ghostwhite;
  max-height: 300px;
  max-width: 100%;
  font-family: sans-serif;
  border-radius: 19px;
}

input {
  -ms-grid-column-span: 1;
  grid-column: span 1;
  min-height: 50px;
  padding: 1em 2em;
  width: 100%;
}

textarea {
  -ms-grid-column: 1;
  -ms-grid-column-span: 2;
  grid-column: 1/3;
  width: 100% !important;
  resize: vertical;
  overflow: hidden;
}

@media only screen and (min-width: 42em) {
  .grapper {
    width: 100%;
  }

  section .inner {
    margin: 0 auto;
    width: 80%;
  }
}

@media only screen and (min-width: 60em) {
  .grapper {
    width: 60em;
  }

  section .inner {
    /* padding: 2.6em 20% 2.6em 0; */
    width: 80%;
    margin: 0 auto;
  }

  p,
  h1,
  h2,
  h3 {
    max-width: 80%;
  }

  textarea#Msg,
  input {
    font-size: 1.2em;
  }

  .inner.padd {
    padding: 3em;
  }

  .inline-butts {
    width: unset;
    margin: 0;
  }
}

@media only screen and (min-width: 75em) {
  .grapper {
    width: 100%;
  }
}
