/*Defaults*/
*{
  scroll-behavior: smooth;
  text-align: center;
}
html, body{
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  -webkit-overflow-scrolling: touch;
  max-width: 100vw;
  overflow-x: hidden; 
  background-color: rgb(255, 255, 255);
} 

/*Title Screen*/
.large{
  font-family: 'Fredoka One','Montserrat', sans-serif;
  background: url('./Images/Background/landing7.jpg');
  width: 100%;  
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  max-width: 100vw;
  padding:0;
  display: table;
/*  background-attachment: fixed;*/
  background-size: cover;
}
.large .inner{
  display: table-cell;
  vertical-align: middle;
  max-width: 100vw;
}
.large h1{
  font-family: 'Trade Winds';  
  font-size: 9.5vw;
  color: #ffffff;
  opacity: 1;
  transition: 0.1s;
  font-weight: 100;
  letter-spacing: 0.25em;
}
.large h6{
  font-family: 'Fredoka One', cursive;  
  font-size: 1.5vw;
  color: #ffffff;
  opacity: 1;
  transition: 0.1s;
  font-weight: 100;
  /* letter-spacing: 0.25em; */
}
hr{
  color: white;
  background-color: white;
  height: 0.25vw;
  width: 75%;
  margin: auto;
}

/*Common*/
span{
  font-family: 'Nunito', sans-serif;
  border-radius: 5px;
  padding: 0px 5px;
  white-space: nowrap;
  overflow: hidden;
}
.section{
  width: 100vw;
  min-height: 100vh;
  padding: 10vh 10vw;
  transition: 0.75s;
}
.section h1{
  font-family: 'Fredoka One','Montserrat', sans-serif;
}
.section h4{
  font-family: 'Fredoka One','Montserrat', sans-serif;
  color: #717279; 
}
.section h6, .section h5{
  font-family: 'Nunito', sans-serif;
  color: #858796; 
}
.section p{
  font-family: 'Nunito', sans-serif;
  color: #858796; 
  font-size: 2vh;
}
.card, .card-header{
  border: none;
}
.progress-bar {
  background-color: #4e73df;
}
 
/*About*/
.about h1{
  color: #4e73df; 
}
.about{
  opacity: 1;
}
.about.show{
  opacity: 1;
}
.about-right{
  padding-right: 5vh;
  padding-left: 5vh;
}
.about-left{
  padding-left: 5vh;
  padding-right: 5vh; 
}
.about img{
  width: 50vh;
  height: 50vh;
  border-radius: 100%;
  max-width: 100%; 
  height:auto;
  margin-bottom: 30px; 
  max-height: 100%;
  transition: 0.7s; 
}
.about img:hover{
  transform: scale(1.1);
}
.computer-engineering{
  color: white;
  background: #1cc88a;
}
.university-of-waterloo{
  color: white;
  background: #f6c23e;
} 
.passions{
  color: white;
  background: #e74a3b;
}
.attributes{
  color: white;
  background: #50d35b;  
}
.ncr{
  color: white;
  background: #28ec39;  
}
.character{
  color: white;
  background: #9a28c7;
}
.software{
  color: white;
  background: #28beec;
}
.university-of-toronto{
  color: white;
  background: #4e73df;
}

/*Projects*/
.project h1{
  color: #1cc88a;
}
.project{
  opacity: 1;
}
.project.show{
  opacity: 1;
}
.project img{
  border-radius: 5px 5px 0 0;
  width: 100%;
}
.project iframe{
  border-radius: 5px 5px 0 0;
  width: 100%;
  height: 100%;
}
.project-right{
  padding-right: 5vh;
  padding-left: 5vh;
  font-size: 3vh;
}
.project-left{
  padding-left: 5vh;
  padding-right: 5vh; 
}
.project-container{
  padding-right: 3vw;
  padding-left: 3vw;
} 
.projec{
   
  border: 0;
}
.projec p{
  font-size: 16px;
}
.header-container{
  padding-bottom: 5px;
}
.markup{
  color: white;
  background: rgb(61, 213, 240);
}
.markup2{
  color: white;
  background: rgb(116, 139, 131);
}
.markup3{
  color: white;
  background: rgb(51, 51, 51);
}
.lang{
  color: white;
  background: rgb(255, 100, 159);
}
.tool{
  color: white;
  background: rgb(100, 255, 152);
}
.api{
  color: white;
  background: rgb(91, 114, 245);
}

/*Skills*/
.skills h1{
  color: #4e73df;
}
.skills{
  opacity: 1;
}
.skills.show{
  opacity: 1; 
}
.progress-header h6{
  float: left;
}
.progress-header img{
  width: 20px;
  height: 20px;
  float: left;
}

/*Work*/
.work h1{
  color: #1cc88a;
}
.work{
  opacity: 1;
}
.work.show{
  opacity: 1;
}
.work img{
  margin: 0;
  width: 100%; 
}
.work-container{
  margin-bottom: 20px;
}

/*Awards*/
.awards h1{
  color: #4e73df;
}
.awards{
  opacity: 1;
}
.awards.show{
  opacity: 1;
}
.awards img{
  border-radius: 1% 1% 0 0;
  width: 100%;
}
.award-container{
  padding-right: 3vw;
  padding-left: 3vw;
}

/*Loading Screen*/
.float {
  -webkit-transition:all .25s ease-out;
  -moz-transition:all .25s ease-out;
  -ms-transition:all .25s ease-out;
  -o-transition:all .25s ease-out;
  transition:all .25s ease-out;
}
.float:hover {
  -webkit-transform:translate(0px,-7.5px);
  -moz-transform:translate(0px,-7.5px);
  -ms-transform:translate(0px,-7.5px);
  -o-transform:translate(0px,-7.5px);
  transform:translate(0px,-7.5px);
}
.grow {
  -webkit-transition:all 0.25s ease-out;
  -moz-transition:all 0.25s ease-out;
  -ms-transition:all 0.25s ease-out;
  -o-transition:all 0.25s ease-out;
  transition:all 0.25s ease-out;
}
.grow:hover {
  -webkit-transform:scale(1.05);
  -moz-transform:scale(1.05);
  -ms-transform:scale(1.05);
  -o-transform:scale(1.05);
  transform:scale(1.05);
}
.grow2 {
  -webkit-transition:all 0.5s ease-out;
  -moz-transition:all 0.5s ease-out;
  -ms-transition:all 0.5s ease-out;
  -o-transition:all 0.5s ease-out;
  transition:all 0.5s ease-out;
}
.grow2:hover {
  -webkit-transform:scale(1.05);
  -moz-transform:scale(1.05);
  -ms-transform:scale(1.05);
  -o-transform:scale(1.05);
  transform:scale(1.05);
}
.bar {
  position: relative;
  height: 2px;
  width: 500px;
  margin: 0 auto;
  background: #fff;
  margin-top: 150px;
}
.circle {
  position: absolute;
  top: -30px;
  margin-left: -30px;
  height: 60px;
  width: 60px;
  left: 0;
  background: #fff;
  border-radius: 30%;
  -webkit-animation: move 5s infinite;
  overflow-x: hidden;
  overflow-y: hidden;
}
.bar p {
  position: absolute;
  top: -35px;
  right: -85px;
  text-transform: uppercase;
  color: rgb(10, 25, 47);;
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
}
@-webkit-keyframes move {
  0% {left: 0;}
  50% {left: 100%; -webkit-transform: rotate(450deg); width: 150px; height: 150px;}
  75% {left: 100%; -webkit-transform: rotate(450deg); width: 150px; height: 150px;}
  100 {right: 100%;}
} 
#loader {
  background: url('./Images/Background/landing6.jpg');
  background-size: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid rgb(181, 124, 228);
  width: 150px;
  height: 150px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader2 {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid rgb(181, 124, 228);
  width: 60px;
  height: 60px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loader3 {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: -75px 0 0 -75px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid rgb(181, 124, 228);
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s
}
@-webkit-keyframes animatebottom {
  from { bottom:-100px; opacity:0 } 
  to { bottom:0px; opacity:1 }
}
@keyframes animatebottom { 
  from{ bottom:-100px; opacity:0 } 
  to{ bottom:0; opacity:1 }
}
:root {
	--animation-delay: 0;
	--duration: 800ms;
	--iterations: 1;
}
.reveal-text,
.reveal-text::after {
	animation-delay: var(--animation-delay, 2s);
	animation-iteration-count: var(--iterations, 1);
	animation-duration: var(--duration, 800ms);
	animation-fill-mode: both;
	animation-timing-function: cubic-bezier(0.0, 0.0, 0.2, 1);
}
.reveal-text {
	position: relative;
	font-size: 10vw;
	color: #FFF;
	white-space: nowrap;
	cursor: default;
}
.reveal-text::after {
  content: "";
  position: absolute;
  z-index: 999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  animation-name: text-revealer;
}
 
@keyframes text-revealer {
	0%, 50% {
		transform-origin: 0 50%;
	}
	60%, 100% {
		transform-origin: 100% 50%;		
	}	
	60% {
		transform: scaleX(1);
	}
	100% {
		transform: scaleX(0);
	}
}

