/*Intro Area */
*,
*::before
*::after {
  box-sizing: border-box;
}

:root{
  --clr-yellow: #febd33;
  --clr-gray: #1a1a1a;
  --clr-pinkish: #93156f;
  --clr-purple: #441a5e;
  --clr-blue: #0033ff;
  --clr-black: #0a0a0a;
  --clr-gradient: linear-gradient(110deg, rgba(2,1,25,1) 0%, rgba(40,66,47,1) 30%, rgba(9,79,46,1) 55%, rgba(7,77,64,1) 83%, rgba(13,1,14,1) 100%);
  --br: 1.5em;
  --clr-gradient2: linear-gradient(110deg, rgba(41,43,43,1) 0%, rgba(96,31,87,0.7931373232886905) 36%, rgba(53,16,61,1) 69%, rgba(32,33,33,1) 83%, rgba(0,0,0,1) 100%);
}


/*Fonts Section */

/* CSS rules to specify families

    font-family: 'Josefin Sans', sans-serif; */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@200&display=swap');

@font-face {
	font-family:'WebNEC';
	src: url('../fonts/NEC.woff') format('woff');
}

@font-face {
	font-family: 'Sparrow';
	src: url('../fonts/Cordata.woff') format('woff');
}

@font-face {
	font-family: 'Olive';
	src: url('../fonts/Olivetti.woff') format('woff');
}

@font-face {
	font-family: 'Compaq';
	src: url('../fonts/Compaq.woff') format('woff');
}


/*BG CSS*/
.coloring{
  display: grid;
  place-items: center;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background-image: var(--clr-gradient2);
  pointer-events: none;
  z-index: 9;
  animation: fadeIn 2s linear, bg-move 25s infinite alternate;
}

.coloring:hover{
  background-image: var(--clr-gradient);
}

/*BG anim */
@keyframes bg-move {
  0% {background-position: left}
  100% {background-position: right}
}

/*FadeIn Anim */
@keyframes fadeIn{
  0% {opacity: 0}
  100% {opacity: 1}
}

/*Image zooms in load */
@keyframes ImageZoom{
  0% {scale: 0}
  100% {scale: 1}
}

/*Zoom Out on Icon when hovered */
@keyframes ZoomOut{
  0% {scale:1}
  100% {scale: 0.5}
}

@keyframes Begone {
  0% {scale:1}
  100% {scale: 0}
}

@keyframes SlideDown{
  0% {transform: translateY(0%);}
  100% {transform: translateY(900%);}
}

@keyframes SlideIn{
  0% {transform: translateY(900%);}
  100% {transform: translateY(0%);}
}

a:hover{
	color: var(--clr-yellow);
	transition: 0.7s ease;
}

a:visited:hover{
  color: var(--clr-yellow);
	transition: 0.7s ease;
}

.myface{
  border-radius: var(--br);
  animation: ImageZoom 2s ease;
}

.my_name{
  color: var(--clr-yellow);
  font-family: 'WebNEC';
  font-weight: bold;
  text-align: center;
}

.title{
  color: var(--clr-yellow);
  font-family: 'WebNEC';
  font-weight: bold;
  text-align: center;
}

.grad_info{
  color: var(--clr-pinkish);
  font-family: 'Sparrow';
  font-weight: bold;
  text-align: center;
}

.about_me{
  color: var(--clr-yellow);
  font-family: 'Olive';
  text-align: center;
}

.about_myself{
  color: var(--clr-yellow);
  font-family: 'Sparrow';
  text-align: center;
  display: flex;
}

.linkedin, .email {
  color: var(--clr-pinkish);
  font-family: Compaq;
}

.icon{
  display: flex;
  width: 3.5em;
  height: 3.5em;
  text-align: center;
}

.update{
  font-size: 0.75em;
  text-align: center;
  animation: fadeIn 400ms ease, SlideIn 2s ease;
}

h1, h2, h3, h4, h5, h6, p{
  margin: 0;
}

img{
  max-width: 100%;
}

.portbox{
  position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
  width: 22.5em;
  pointer-events: auto;
  animation: fadeIn 3s;
}

.whoami{
  display: flex;
  align-items: center;
}

.front{
  transition: 250ms;
}

.behind{
  opacity: 0;
  position: absolute;
  bottom: -45%;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.indepth{
  margin: 1.01em 0;
  columns: 2;
  column-rule: 2px solid rgba(255,255,.55,.25);
  text-align: center;
}

.my_company{
  color: var(--clr-yellow);
  text-align: center;
  font-family: 'WebNEC';
  font-weight: bold;
}

.comp_image{
  height: 25%;
  width: 25%;
  border-radius: var(--br);
  margin: 0 auto;
  display: block;
}

.jobs{
  text-align: center;
}

.job_info{
  color: var(--clr-pinkish);
  font-family: 'Sparrow';
  font-weight: bold;
	text-align: center;
}

.social_media{
  columns: 2;
  text-align: center;
  margin: 1em 0;
}

span{
  font-size: .75rem;
  display: block;
}

.job_location, .job_date{
  font-size: .45rem;
  display: block;
}

.btn{
  margin: .45em;
  cursor: pointer;
  border: 0;
  border-radius: 20vh;
  background-color: var(--clr-black);
  color:var(--clr-pinkish);
  padding: .5em 3em;
  font-family: 'Sparrow';
  font-size: 0.900rem;
}

.icon:hover{
  animation: ZoomOut 750ms ease;
  animation-fill-mode: forwards;
}

.bg{
  background: var(--clr-gray);
  position:absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: -1;
  transform: scale(.2);
  transition: transform 250ms cubic-bezier(.21, 1.00, .90, 1.01);
  opacity: 0;
  border-radius: 1em;
}

/*Footer CSS */

.footy{
  pointer-events: auto;  
  color: var(--clr-yellow);
  font-family: 'Sparrow';
  animation: fadeIn 5s;
  text-align: center;
}

.ending{
    pointer-events: auto;  
    color: var(--clr-yellow);
    font-family: 'Sparrow';
    animation: fadeIn 5s;
    text-align: center;
}

footer{
  position: fixed;
  text-align: center;
  margin: 2em;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

/* All the Portbox Dealings */

.portbox:hover .bg{
  transform: scale(2.25);
  transition: opacity 250ms cubic-bezier(.21, 1.00, .90, 1.01);
  opacity: 1;
}

.portbox:hover .front{
  transform: translateY(-98%) scale(.30);
}

.portbox:hover .about_myself{
  transform: translateY(-90%);
}

.portbox:hover .about_me{
  transform: scale(0);
}

.portbox:hover .my_name{
  animation: Begone 500ms ease;
  animation-fill-mode: forwards;
}

.portbox:hover .behind{
  transition: opacity 400ms linear;
  opacity: 1;
}

.portbox:hover .footy{
 animation: SlideDown 350ms ease;
 animation-fill-mode: forwards;
}

.portbox:hover .ending{
  animation: Begone 400ms ease;
}

.homeaudio{
  display: none;
}
