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

body {
  background-color: #000;
  font-family: "Bebas Neue", cursive;
  overflow: hidden;
}

div#opening {
  display: flex;
  justify-content: center;
  /* padding: 20px; */
  position: absolute;
  z-index: 1;
  width: 100vw;
  /* bottom: 35%; */
}
div#opening h1 {
  font-size: 80px;
  color: #000;
}

div#audio-wrapper {
  z-index: 1;
  top: 15%;
  position: absolute;
  right: 20px;
  bottom: 20px;
  overflow: hidden;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
}

audio#player {
  margin-left: -3px;
}
audio::-webkit-media-controls-panel {
  background-color: #ffffff;
}

nav.glassy-nav {
  display: flex;
  justify-content: space-between;
  font-size: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
  padding: 15px 0;
}

nav a {
  text-decoration: none;
  color: white;
  padding: 0 20px;
}

.glassy-text span {
  color: pink;
}

.pink {
  color: pink;
}

.aqua {
  color: #00f9fd;
}

.glassy-text {
  font-family: "Bebas Neue", cursive;
  padding: 20px 40px;
}
div#opening div#left {
  position: absolute;
  display: flex;
  justify-content: left;
  color: white;
  flex-direction: column;
  margin-left: 20px;
  left: -50%;
  transition: all 1s ease-in;
}

div#opening div#left.active {
  left: 0;
}

div#opening div#left h4 {
  font-size: 40px;
  font-family: "Bebas Neue", cursive;
  color: pink;
  padding-left: 2px;
}

div#opening div#left h1 span {
  font-size: 40px;
}

div#opening div#left h4:first-of-type {
  line-height: 3;
}

div#opening div#left h1 {
  font-size: 11.25em;
  color: white;
}
div#opening div#left h1:first-of-type {
  line-height: 0.4;
}

/* div#opening div#left h1:first-of-type::after {
  content: "&";
  font-size: 40px;
  margin-left: 10px;
  color: pink;
} */

div#opening div#right {
  display: flex;
  justify-content: right;
  margin-left: 40px;
  flex-direction: column;
  justify-content: center;
  width: 400px;
  align-items: flex-end;
  right: 0;
  padding-right: 40px;
  position: absolute;
  top: 20em;
  height: 26.375em;
}

div#opening div#right div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
}

div#opening div#right p {
  font-size: 30px;
  color: white;
  width: 400px;
  text-align: right;
}

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

button#contact {
  display: inline-block;
  padding: 8px 16px;
  color: #fff;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
}

div#opening div#right button#contact:hover {
  background-color: #00f9fd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

button#contact:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 255, 242, 0.5);
}

button#contact:active {
  background-color: #00f9fd;
  box-shadow: none;
  transform: translateY(1px);
}

div#opening div#left h1.glassy-text span {
  font-family: "Bebas Neue", cursive;
}

p#about-me,
div#right button#contact {
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

p#about-me.active,
div#right button#contact.active {
  opacity: 1;
}

div#opening div#right h1 {
  font-family: "Playfair Display", serif;
  color: pink;
  margin-left: 20px;
  text-align: right;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  .glassy-text {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.5);
  }
  .glassy-nav {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.205);
  }
}
