

canvas {
	position: fixed;
  top: 0;
  left: 0;
}

:root {
  --dark-bg: rgba(15, 15, 15, 0.75);
  --spacing: 350px;

  font-family: brandon-grotesque, sans-serif;
  font-weight: 400;
  font-style: normal;
}

main {
  width: 100vw;
  color: white;
  z-index: 99;
  position: absolute;
  width: 100%;
  margin: 0px auto;
  padding: 120px 0px;
  
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

h1, h2, h3, blockquote {
  font-family: elevon, sans-serif;
  font-weight: 700;
  font-style: normal;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
}

header {
  background: var(--dark-bg);
  grid-column: 2 / span 5;
  font-size: 2.5rem;
  padding: 2rem;
  margin-bottom: var(--spacing);
}

@media (max-width: 500px) {

section {
  
  grid-column: 2;
  padding: 1rem;
  background: var(--dark-bg);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: var(--spacing);
}

blockquote {
  margin: 0;
  padding: 0;
  grid-column: 2;
  margin-bottom: var(--spacing);
}

blockquote p {
  color: black;
  background-color: rgba(255, 255, 255, 0.75);
  font-size: 4rem;
  display: inline;
  line-height: 1;
}

  #preloader{
  background: #000 url(cube.gif) no-repeat 50% 30%;
  background-size: 30%;
  height: 150%;
  width: 110%;
  position: absolute;
  z-index: 100;
  left: -1%;
  top: -0.01%;
}

  .white{
  color: white;
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -30%);
}



}

@media (min-width: 501px) {
section {
  
  grid-column: 2 / 8;
  padding: 1rem;
  background: var(--dark-bg);
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: var(--spacing);
}

blockquote {
  margin: 0;
  padding: 0;
  grid-column: 2 / span 9;
  margin-bottom: var(--spacing);
}

blockquote p {
  color: black;
  background-color: rgba(255, 255, 255, 0.75);
  font-size: 4rem;
  display: inline;
  line-height: 1;
}

  .left {
  grid-column: 6 / 12;
}

#preloader{
  background: #000 url(crystal.gif) no-repeat center center;
  background-size: 10%;
  height: 100%;
  width: 102%;
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 100;
  left: -1%;
  top: -0.01%;
}

  .white{
  color: white;
  position: absolute;
  left: 50%;
  top: 67%;
  transform: translate(-50%, -30%);
}
  
}





label{
  display: block;
  margin: 20px 0;
}

input, textarea {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  outline: none;
/*   resize: none; */
  border: none;
  border-bottom: 1px solid #D3D3D3;
}

input[type = "text"]:focus, textarea:focus{
  border: bottom;
  1px solid rgb(255,0,106);
}

textarea::-webkit-scrollbar-thumb{
  background-color: rgb(255, 0, 106);
}

.center {
  text-align:center;
}

input[type = "submit"]{
  margin-top: 30px;
  width: 90%;
  max-width: 200px;
  background: linear-gradient(to right, rgb(255, 0, 106), rgb(255, 67, 61));
  color: white;
  font-size: 17px;
  cursor: pointer;
  border: radius; 3px;
}

.error{
  color: red;
}

.error-border {
  border-bottom: 1px solid red;
}

#success{
  color: #28A745
}

right {
  margin: 0;
  padding: 0;
  text-align: right;
}


.glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #fff;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: #000
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


