@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/Bebas_Neue/BebasNeue-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Permanent Market";
  src: url("../fonts/Permanent_Marker/PermanentMarker-Regular.ttf")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: white;
  font-family: "Bebas Neue";
}

nav.glassy-nav {
  background-color: rgba(255, 255, 255, 0.15);
}

nav a {
  color: rgb(0, 0, 0);
}

/* Form styles */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
}

input,
textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

textarea {
  resize: none;
}

button {
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #3e8e41;
}

.column-layout {
  position: relative;
  z-index: 5;
  display: -ms-grid;
  display: grid;
  margin-top: -2px;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  grid-auto-columns: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  -ms-grid-columns: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  -ms-grid-rows: auto;
  grid-template-rows: auto;
  height: 100vh;
  width: 100vw;
}

.form-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 80px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #5f9ea0b0;
}

.contact-message {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin-top: 0;
  margin-bottom: 0;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -webkit-justify-content: center;
  -ms-flex-pack: start;
  justify-content: center;
  -webkit-box-align: start;
  -webkit-align-items: center;
  -ms-flex-align: start;
  align-items: center;
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  background-color: pink;
}

form h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

form#contact-form {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  width: 80%;
}

form#contact-form input {
  width: 100%;
  font-family: "Bebas Neue";
}

form#contact-form textarea {
  width: 100%;
  font-family: "Bebas Neue";
}

.card {
  position: relative;
  width: 300px;
  height: 400px;
  background: url("../resources/7487.webp") center center/cover no-repeat;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  background-color: cadetblue;
}

.contact-message a#card::before {
  position: absolute;
  width: 300px;
  height: 400px;
  background-image: url("../resources/IMG_0798.png");
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 0;
  content: "";
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(-15deg);
}

.contact-message a#card:hover::before {
  background-image: url("../resources/7487.webp");
  background-color: cadetblue;
}

.contact-message div.card img.hover {
  visibility: hidden;
}

.contact-message div.card img {
  visibility: visible;
}

.contact-message a#card {
  position: relative;
}

.contact-message a#card:hover::after {
  content: "Real me";
  font-family: "Permanent Market";
  font-size: 24px;
  /* bottom: -2em; */
  /* top: 2em; */
  position: absolute;
  color: black;
}

.contact-message a#card::after {
  content: "Web3 me: My HAPE NFT";
  font-family: "Permanent Market";
  font-size: 24px;
  top: -4em;
  position: absolute;
  color: black;
}

.card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
}

.card img {
  margin-top: 10px;
  margin-left: 10px;
  height: 40px;
}

.card:hover {
  background: url("../resources/IMG_0798.png") center center/cover no-repeat;
}

.linkedIn {
  fill: #0a66c2;
  height: 50px;
  width: 50px;
}

button#contact {
  color: black;
  background-color: pink;
  font-family: "Bebas Neue", cursive;
  margin-top: -20px;
  font-size: 24px;
  max-width: fit-content;
}

.card h1 {
  position: absolute;
  color: white;
  bottom: 14px;
  letter-spacing: -9px;
  font-size: 30px;
  right: -2px;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
