/* CSS RESET */

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%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

#background {
  position: fixed;
  height: 100vh;
  width: 100%;

  object-fit: cover;

  filter: brightness(0.7);
}

.header {
  position: relative;
  z-index: 2;
  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  font-size: 5vw;

  z-index: 5;

  margin: 3vw;

  line-height: 1.1;
}

#sendAMessage {
  margin-top: 0.3vw;
  font-size: 3.5vw;
  margin-bottom: 0;
}

.tagline {
  position: relative;
  z-index: 2;

  top: 7vw;

  width: 20vw;

  display: block;

  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 1.25vw;

  margin-top: 0.85vw;
  margin-left: 0.5vw;

  line-height: 1.05;
}

#emailText {
  top: 0;
  margin: 0;

  margin-top: 1vw;

  left: 50%;
  transform: translate(-50%, -50%);
}

#lastLine {
  text-decoration: underline;
}

#titleCard {
  background-color: #faf9f6;
  height: 30vw;
  width: 50vw;

  background-image: url("assets/clean-gray-paper.png");

  text-align: center;

  border-style: double;
  border-color: black;
  border-width: 0.5vw;

  padding-top: 1vw;

  position: absolute; /* Positions relative to the nearest positioned ancestor */
  top: 50%; /* Moves top edge to the exact center */
  left: 50%; /* Moves left edge to the exact center */
  transform: translate(-50%, -50%);

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  overflow: hidden;

  transition: transform 0.3s ease-in-out;
}

#titleCard:hover {
  transform: translate(-50%, -50%) scale(1.13);
}

#line {
  position: absolute;
  display: inline-block;
  height: 25vw;
  width: 0.3vw;
  background-color: rgb(0, 0, 0);

  top: 2.5vw;

  z-index: 1;
}

#leftBox {
  text-align: right;

  height: 20vw;
  width: 24vw;
}

#rightBox {
  text-align: left;

  height: 20vw;
  width: 23vw;

  position: absolute;
  right: 0;
  top: 0;
}

#googleLogin {
  height: 4.5vw;
  width: 15vw;

  background-color: rgb(255, 251, 211);
  color: black;

  background-image: url("assets/lined-paper.png");

  position: absolute;

  bottom: 2vw;
  right: 4vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1.45vw;

  display: flex;

  align-items: center;
  justify-content: center;

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: transform 0.3s ease-in-out;

  border-color: rgb(158, 156, 140);
  border-style: solid;
  border-width: 0.35vw;
  border-radius: 0.15vw;
}

#googleLogin:hover,
#sendMessage:hover,
#seeSecretButton:hover {
  transform: scale(1.2);
}

#sendMessage {
  height: 3vw;
  width: 10vw;

  background-color: rgb(255, 251, 211);
  color: black;

  background-image: url("assets/lined-paper.png");

  position: absolute;

  bottom: 2vw;
  right: 4.6vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  display: flex;

  align-items: center;
  justify-content: center;

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: transform 0.3s ease-in-out;

  font-size: 1.5vw;
}

#seeSecretButton {
  height: 3vw;
  width: 10vw;

  background-color: rgb(255, 251, 211);
  color: black;

  background-image: url("assets/lined-paper.png");

  position: absolute;

  bottom: 2vw;
  left: 5vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  display: flex;

  align-items: center;
  justify-content: center;

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: transform 0.3s ease-in-out;

  font-size: 1.5vw;
}

#stamp0 {
  position: absolute;

  bottom: 2vw;
  left: 0.5vw;

  height: 7vw;
  width: 14vw;

  opacity: 0.3;
  rotate: -3deg;

  z-index: 10;
}

#stamp1 {
  position: absolute;

  top: 1.5vw;
  right: 2vw;

  height: 6vw;
  width: 6vw;

  opacity: 0.6;
  rotate: 3deg;
}

#stain {
  position: absolute;

  top: 2vw;
  right: 3vw;

  height: 35vw;
  width: 55vw;

  opacity: 0.3;
  rotate: 45deg;

  filter: invert(100%) brightness(75%) saturate(200%) hue-rotate(359deg);
}

#logo {
  position: absolute;

  bottom: 2.6vw;
  right: 3vw;

  height: 6vw;
  width: 17vw;
}

#firstNameSection {
  position: absolute;

  height: 2.5vw;
  width: 30vw;

  left: 5vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  font-size: 1vw;
  letter-spacing: 0.05vw;

  margin-top: 0.5vw;

  padding-left: 0.3vw;
}

#messageSection {
  position: absolute;

  height: 11.5vw;
  width: 40vw;

  left: 5vw;
  top: 12vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  font-size: 1vw;
  letter-spacing: 0.05vw;

  padding-top: 0.3vw;
  padding-left: 0.3vw;

  resize: none;

  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

#charCountMessage {
  position: relative;
  z-index: 2;

  top: 15.9vw;
  left: 5.2vw;

  width: 15svw;

  text-align: left;

  display: block;

  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;

  font-size: 0.65vw;

  margin-top: 1vw;
}

#messageBoard {
  position: fixed;

  height: 100vh;
  width: 100%;

  padding-left: 3.5vw;

  overflow: scroll;

  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#messageBoard::-webkit-scrollbar,
#messageTag::-webkit-scrollbar {
  display: none;
}

#messageBoardAdmin {
  position: fixed;

  height: 100vh;
  width: 100%;

  overflow: scroll;

  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#messageBoardAdmin::-webkit-scrollbar,
#messageTagAdmin::-webkit-scrollbar {
  display: none;
}

.parentContainer {
  position: relative;

  display: inline-block;

  height: 12vw;
  width: 20vw;

  border-radius: 15px;

  margin: 1.5vw;

  background-color: rgb(255, 255, 255);

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  overflow: hidden;

  background-image: url("assets/clean-gray-paper.png");

  transition: transform 0.3s ease-in-out;
}

.parentContainer:hover {
  transform: scale(1.2);
}

.parentContainerAdmin {
  height: 7vw;
  width: 100vw;

  background-color: lightgray;
  border-color: black;
  border-style: solid;
  border-width: 0.25vw;
  
  margin-bottom: 0.5vw;

  padding-top: 0.5vw;
  padding-left: 0.5vw;
}

#messageTag {
  position: absolute;

  color: black;

  width: 90%;
  height: 65%;

  margin: 5%;

  overflow: scroll;

  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;

  font-size: 110%;

  line-height: 1.5vw;

  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#firstNameTag {
  position: absolute;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;

  font-size: 110%;

  bottom: 10%;
  left: 7%;
}

#seeMessage {
  height: 3vw;
  width: 10vw;

  background-color: rgb(255, 251, 211);
  color: black;

  background-image: url("assets/lined-paper.png");

  position: absolute;

  bottom: 2.5vw;
  right: 3.5vw;

  font-family: "Damion", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 1vw;

  display: flex;

  align-items: center;
  justify-content: center;

  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: transform 0.3s ease-in-out;

  opacity: 0.4; 
}

#seeMessage:hover {
  opacity: 1;

  transform: scale(1.4);
}
