@import url("https://fonts.googleapis.com/css?family=Work+Sans:400,600");

.container {
  height: 100vh;
  /* background-color: #fff8e8; */
  display: grid;
  grid-template-rows: 1f5frr 80fr;
  grid-template-areas:
    "head"
    "mid";
}

body {
  cursor: crosshair;
  background-color: #0a1930;
  height: 100vh;
  overflow-x: hidden;

  scrollbar-width: none;
}

header {
  grid-area: head;
}

.heading_box {
  width: 80%;
  margin: 0 auto;
}

header::after {
  content: "";
  display: table;
  clear: both;
}

.logo {
  float: left;
  padding: 10px 0;
}

nav {
  float: right;
  font-weight: 800;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

nav li {
  display: inline-block;
  margin-left: 70px;
  padding-top: 23px;

  position: relative;
}

nav a {
  color: grey;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

nav a:hover {
  color: white;
}

nav a::before {
  content: "";
  display: block;
  height: 5px;
  background-color: #e63462;

  position: absolute;
  top: 0;
  width: 0%;

  transition: all ease-in-out 250ms;
}

nav a:hover::before {
  width: 100%;
}

/* GLOBALS */
li {
  list-style: none;
}

/* CLASSES */

.main-body {
  background-color: #0a1930;
  grid-area: mid;
  display: flex;
  justify-content: center;
}

.main-text {
  display: grid;
  grid-template-columns: 1fr; /* Create one column for the name and title */
  grid-template-rows: auto auto; /* Automatically adjust the row size based on content */
  gap: 10px; /* Add some spacing between the name and title */
}

.name-title-container {
  margin-bottom: -18%;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* Align items to the end (right) */
}

#hello-text {
  margin-bottom: -13%; /* Remove default margin for "hello, I'm" */
}

#name-text {
  font-weight: bold; /* Optional: Make the name text bold */
}

.reference-bar {
  margin-top: 20%;
  /*  background-color: #273043; */
  background-color: #0a1930;
  padding: 2rem 100px;
  border-radius: 25px;
}

.reference-bar ul {
  padding-left: 0px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.reference-bar li {
  list-style: none;
}

@keyframes scale-in-hor-left {
  0% {
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }

  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

hr {
  display: block;
  unicode-bidi: isolate;
  margin-block-start: 0.5em;
  margin-block-end: 0.5em;
  margin-inline-start: auto;
  margin-inline-end: auto;
  overflow: hidden;
  border-style: inset;
  border-width: 1px;
  border-color: #e63462;
  padding-right: 60%;
  margin-left: -30%;
  animation: expand 0.3s ease-in-out;
  animation: scale-in-hor-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.7s
    both;
  width: 100%;
}

#name-hr {
  margin-top: 10%;
  margin-bottom: 10%;
}

#title {
  /* background-color: red; */
  /* margin-top: 35px */
  position: relative;
  top: 17.5%;
}
