/*
	Inspired by:
		- https://github.com/flexdinesh/dev-landing-page
		- https://github.com/Kikobeats/uno-zen

*/

/* --- COMMON STYLES --- */

html {
	font-family: 'Roboto', sans-serif;
}

body {
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: center;
}

canvas {
    margin: 0;
	padding: 0;
	
}

@media (min-width: 576px) {
	html {
		font-size: 14px;
	}
}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

@media (min-width: 992px) {
	html {
		font-size: 18px;
	}
}

@media (min-width: 1200px) {
	html {
		font-size: 20px;
	}
}

.icons-social i {
	font-size: 2em;
}

main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	justify-content: center;
	padding: 0 30px;
	text-align: center;
}

main > .avatar {
	
}

main > .avatar > a > img {
	border-radius: 50%;
	width: 8rem;
}

main > .intro {
	font-family: 'Reem Kufi', sans-serif;
	font-size: 3.75em;
	font-weight: 600;
}

main > .tagline {
	font-size: 1.5rem;
	margin: 1.5rem 0;
	font-weight: 100;
}

main > hr {
	width: 30%;
	border: 0;
	border-top: 1px solid rgba(255,255,255,.2);
	margin: 0.5rem auto;
}

.links {
	margin: 2rem auto;
}

.icons-social i {
	padding: 10px;
}

.devto {
	margin-bottom: -0.20rem;
}

.devto svg {
	margin-bottom: -0.20rem;
	margin-left: 0.675rem;;
	width: 2.65rem;
	height: 2.65rem;
}

/* --- THEME --- */


@keyframes canvas-light-animation {
     0% {
             filter: brightness(0.1) hue-rotate(0deg);
     }
     
     25% {
           filter: brightness(0.5) hue-rotate(90deg);
     }
     
     50% {
          filter: brightness(.9) hue-rotate(0deg);
     }
     
     75% {
         filter: brightness(0.5) hue-rotate(120deg);
     }
     
    100% {
        filter: brightness(0.1) hue-rotate(0deg);
     }
     
    
    
}


canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    animation: canvas-light-animation 60s ;
    animation-iteration-count: infinite;
}

main {
	position: absolute;
	color: #FAFAFA;
	position: absolute;
}

.links a {
	margin: 0 0.5rem;
	padding: 0.625em 1.25rem;
	
	border: 2px solid rgba(255,255,255,0.6);	
	border-radius: 2rem;

	font-size: 1em;
	line-height: 1em;
	-webkit-font-smoothing: antialiased;
	font-weight: 400;
	letter-spacing: 1px;

	color: #FAFAFA;
	text-decoration: none;
	transition: all .2s;
}

.links a:hover { 
	color: #1359b1;
	border: 2px solid #1359b1;
}

.icons-social a {
	color: #FAFAFA;
	transition: all .2s;
}

.icons-social a:hover {
	color: #1359b1;
}

main > .avatar img {
	border: 3px solid #DADADA;
	transition: all .2s ease-in-out;
}

main > .avatar img:hover {
	transform: scale(1.1);
}
