*,
*::before,
*::after{
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root{
  --color-bg: #f7f7f7;
  --color-bg-invrt: #111111;
/*  --color-bg-alt-2: #999999;*/
  --color-primary: #f0f0f0;
  --color-primary-invrt: #dfdfdf;
/*  --color-secondary: darkorange;*/
  --gapEquation: calc(1/3*100% - (1 - 1/3)*10px);
  --radialBlackBg: radial-gradient(circle farthest-corner at left center, #2c2f3f 0%, #030507 100%);

}

html{
  font-size: 62.5%;
}
body{
  font-size: 1.6rem;
  letter-spacing: 0.3px;
/*  background: rgba(0,0,0,0.8);*/
  background: center / 30% repeat url("/img/living-room.jpg");

/*  filter: blur(5px);*/
/*  z-index: 1*/
/*backdrop-filter: opacity(40%);*/
  /*background: linear-gradient(
        45deg,
        hsl(240deg 100% 20%) 0%,
        hsl(289deg 100% 20%) 11%,
        hsl(315deg 100% 20%) 22%,
        hsl(329deg 100% 20%) 33%,
        hsl(337deg 100% 20%) 44%,
        hsl(357deg 91% 20%) 56%,
        hsl(17deg 100% 20%) 67%,
        hsl(34deg 100% 20%) 78%,
        hsl(45deg 100% 20%) 89%,
        hsl(55deg 100% 20%) 100%
);*/
  color: var(--color-primary);
/*  background: #138510;
  color: #0f5e9c;*/
  font-family: sans-serif;
/*  line-height: 2rem;*/
}
a{
  text-decoration: none;
  color: inherit;
}
ul{
  list-style: none;
}
h2{
  font-size: 2rem;
}
/*h3{
  font-weight: normal;
}*/
/*span{
  opacity: 60%;
  font-weight: bolder;
  font-size: 1.5rem;
}*/
input{
  border: 0;
/*  background: inherit;*/
/*  color: inherit;*/
  padding: 5px;
}
input:focus {
/*  outline: 0;*/
}
input::placeholder{
/*  color: grey;*/
}
button{
  display: block;
  margin: auto auto 20px auto;
  padding: 5px;
}

main{
  margin: 16rem;
}
.mainHolder{
  margin: auto;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 30px;
  box-shadow: 0px 0px 40px 5px rgba(0, 0, 0, 0.2);
}
.mainHolder > form{
  display: flex;
  justify-content: center;
  text-align: left;
  color: #ffffff;
}
.mainHolder h1{
  font-size: 2.8rem;
}
.formTitle{

  text-align: center;
  margin: 30px auto;
  font-weight: bolder;
}
.mainHolder li{
  margin-bottom: 20px;
}
.mainHolder label{
  font-size: 1.8rem;
}
.mainHolder input{
  margin: 10px 0;
  width: 100%;
  border-radius: 3px;
}
/******************************************
/* ADDITIONAL STYLES
/*******************************************/
h2{
  font-size: 10rem;
  color: red;
  font-weight: bold;
}

.overlay{
  height: 100%;
  width: 100%;
  height: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(60,10,20, 0.9);
  overflow-x: hidden;
  transition: 0.3s;
}

.overlayContent{
  position: relative;
/*  max-width: 1000px;*/
/*  width: 100%;*/
  margin: 60px auto auto auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.overlayCaption{
  width: 50%;
/*  border: 2px solid black;*/
  text-align: center;
}
.overlayCaption *{
  text-shadow: 0px 0px 30px rgba(32,11,11,0.9);
}
.closebtn{
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 1;
}

svg{
  width: 4rem;
}

/*.shakey {
  font-weight: 800;
  color: #dbdb0d;
  display: flex;
  text-transform: uppercase;
  text-shadow: 1px 1px 2px red, 0 0 1em black, 0 0 0.1em black;
}
*/

/* https://www.dayaweb.com/blog/css-text-animation-shake/ */
.shakey {
  animation-name: shake;
  animation-duration: 0.5s;
  animation-iteration-count: infinite;
/*  cursor: pointer;*/
}

/*.shakey-block {
    display: inline-block;
  }*/

@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
