:root {
  
  /*COLORS*/
  --oilBlack: RGB(10, 10, 10);
  --offWhite: RGB(246, 246, 246);
  --lightgray: RGB(208, 208, 208);
  --darkgray: RGB(129, 129, 129);
  --techGreen: RGB(67, 158, 51);
  --hdr-gradient: radial-gradient(
    farthest-corner circle in oklab,
    RGB(246, 246, 246), RGB(67, 158, 51));

    /*BORDER RADIUS*/
    --brad:15px;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, 
*:before, 
*:after {
  box-sizing: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

p {
  margin: 0 0 1rem;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--oilBlack);
  color: var(--offWhite);
  font-family: Arial, Helvetica, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 100%;
  line-height: 1.65;
  padding: 0;
  margin: 0;
  min-height: 100vh;
  width: 100%;
}

@keyframes fadein {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }

  to{
    transform: translateX(0);
    opacity: 1;
  }
}

.header {
  background: url(../images/star-background.gif);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-nav {
  z-index: 10;
  animation: fadein 1.5s ease-in 0.3s;
}

.header ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 3rem;
  padding: 0;
  animation: fadein 1.5s ease-in 0.3s;
}

.header li a{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background-color: var(--oilBlack);
  color: inherit;
  width: 25rem;
  font-size: 2rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.5s ease-in-out;
}

.header li a::before,
.header li a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--techGreen);
  transition: transform 0.5s ease-in-out;
}

.header li a::before {
  top: 0;
  transform: scaleX(0);
}

.header li a::after {
  bottom: 0;
  transform: scaleX(0);
}

.header li a:hover::before,
.header li a:hover::after {
  transform: scaleX(1);
}

.header-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  margin: 0 1rem 0 1rem;
}

.header-main > h1{
  text-align: center;
  font-size:5rem;
  font-style: bold;
  letter-spacing: 1.5rem;
  margin: 3rem;
  padding: 0;
  animation: fadein 1.5s ease-in 0.5s;
}

.header-main .typing {
  font-size: 8rem;
  overflow: hidden; 
  border-right: .15em solid var(--offWhite);
  white-space: nowrap;
  margin: 0 auto;
  letter-spacing: .15em;
  color: var(--techGreen);
  animation: typing 2s steps(50, end) 2.5s,
  blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--offWhite); }
}

.header-main h2{
  font-size:2rem;
  font-style: italic;
  letter-spacing: 0.5rem;
  margin: 0;
  padding: 0;
  animation: fadein 1.5s ease-in 0.7s;
}

.about-me {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 100vh;
  margin: 1rem 0 1rem 0;
  transition: all 0.5s ease-in-out;
  animation: fadein 1.5s ease-in 1.1s;
}

.about-me h2 span {
  display: inline-block;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: underline;
  font-size: 3rem;
  color: var(--techGreen);
  background-color: var(--oilBlack);
  border: 0.1rem solid var(--techGreen);
  width: 90%;
  height: 100%;
}

.about-info {
  width: 100%;
  text-align: center;
}

.about-info .skills {
  display: flex;
  justify-content: center;
  align-content: center;
  gap: 20px;
}

.skills .skill {
  width: 150px;
  height: fit-content;
  font-size: 1rem;
  letter-spacing: 0.3rem;
  background-color: var(--darkgray);
  color: var(--oilBlack);
  border: 2px solid var(--techGreen);
  border-radius: var(--brad);
  transition: all 0.5s ease-in-out;
}

.skill:hover {
  transform: scale(1.3);
}

.education {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  height: 100vh;
  margin: 1rem 0 1rem 0;
  transition: all 0.5s ease-in-out;
  animation: fadein 1.5s ease-in 1.1s;
}

.education h2 span {
  display: inline-block;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: underline;
  font-size: 3rem;
  color: var(--techGreen);
  background-color: var(--oilBlack);
  border: 0.1rem solid var(--techGreen);
  width: 90%;
  height: 100%;
}

.education-info {
  width: 100%;
  text-align: center;
}

.education-info .badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.projects {
  display: flex;
  align-items: center;
  width: 90%;
  height: 100vh;
  margin: 1rem 0 1rem 0;
  transition: all 0.5s ease-in-out;
  animation: fadein 1.5s ease-in 0.9s;
}

.projects h2 span {
  display: inline-block;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: underline;
  font-size: 3rem;
  color: var(--techGreen);
  width: 90%;
  height: 100%;
  background-color: var(--oilBlack);
  border: 0.1rem solid var(--techGreen);
}

.projects-list {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.projects ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 0.1rem;
  padding: 0;
  overflow: hidden;
}

.rectangle-pair {
  position: relative;
  width: 100%;
  height: 50%;
  margin: 0 1rem 0 1rem;
  border-radius: var(--brad);
  transition: transform 1s ease-in-out;
}

.rectangle-pair li {
  align-content: center;
  align-items: flex-start;
  text-align: center;
  position: relative;
  border-radius: var(--brad);
  background-color: var(--lightgray);
  color: var(--oilBlack);
  padding: 0.5rem;
  font-size: 3rem;
  font-weight: bold;
  width: 100%;
  height: 100%
}

.rectangle-background {
  position: absolute;
  width: 100%;
  height: 102%;
  inset: 0px;
  background-color: var(--techGreen);
  border-radius: var(--brad);
  filter: blur(15px);
  z-index: -1;
}

.projects-list .skills {
  display: flex;
  align-content: flex-end;
  text-align: center;
  width: 100%;
  height: 10%;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-content: center;
  color: var(--offWhite);
  background-color: var(--oilBlack);
  border-top: 0.1rem solid var(--techGreen);;
  width: 100%;
  height: fit-content;
}

.footer-summary {
  font-style: bold;
  font-size: 1rem;
  margin: 1rem;
}

.contact-container {
  align-content: center;
  
  margin: 0 1rem 0 1rem;
}

.contact-container a {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--techGreen);
  margin: 0.3rem;
}