/**
* File Name: thecodemeor.about - v1.0
* Author: Meor Hakim
* Date Complete: 
* Last Modified:
*/


/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body 
{    
    height: 100vh;
    background: #181818;
    font-family: "Montserrat";
    overflow: hidden;
}

main 
{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

p
{
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.3);
}

a 
{
    color: rgba(255, 255, 255, 0.3);
    /* -webkit-appearance: none; */
}

.row 
{
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.d-none
{
    display: none;
}

.copyright
{
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0 50px 40px 0;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 1.5px;
}


/*--------------------------------------------------------------
# Navbar
--------------------------------------------------------------*/
.navbar
{
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 20px 0 0 0;
    text-align: center;
    letter-spacing: 4px;
    line-height: 2.5;
    z-index: 10;
}

.navbar a 
{
    text-decoration: none;
    transition: all 0.5s ease;
}

.navbar a:hover
{
    color: white;
    transition: all 0.5s ease;
}

.navbar .index
{
    opacity: 0;
    animation: index 0.5s ease-out forwards;
    animation-delay: 2.5s;
}

@keyframes index
{
    to
    {
        opacity: 1;
    }
}


/*--------------------------------------------------------------
# Canvas
--------------------------------------------------------------*/
canvas 
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -100;
}


/*--------------------------------------------------------------
# Polaroid
--------------------------------------------------------------*/
.polaroid__wrapper
{
    top: 210px;
    right: 200px;
	position: absolute;
	--width: 35vmin;
	--aspect-ratio: 2.12 / 2.62;
	transition: transform 1s ease;
	transform: rotate(var(--rotation)) scale(var(--scale));
    opacity: 0;
    z-index: 2;
    animation: polaroid 0.5s ease-out forwards;
    animation-delay: 2s;
}

@keyframes polaroid
{
    to
    {	
        transition: transform 0.5s ease;
        transform: rotate(var(--rotation, 6deg)) scale(var(--scale, 1));
        opacity: 1;
    }
}
  
.polaroid 
{
	margin: 0;
	--spread: 6px;
	--dot: hsl(74 29% 92%);
	width: var(--width);
	aspect-ratio: var(--aspect-ratio);
	background: radial-gradient(var(--dot) 1px, transparent 1px),
	  radial-gradient(var(--dot) 1px, transparent 1px), hsl(74 29% 96%);
	background-size: var(--spread) var(--spread);
	background-position: 0 0, calc(var(--spread) * 0.5) calc(var(--spread) * 0.5);
	padding: calc((0.2 / 3.5) * var(--width));
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
  
.polaroid__img 
{
	width: 100%;
	aspect-ratio: 1;
	filter: saturate(0.95) sepia(30%);
}
  
.polaroid__caption 
{
	font-size: calc(var(--width) * 0.065);
	display: grid;
	place-items: center;
	flex: 1;
	font-family: "Gloria Hallelujah", cursive;
	text-align: center;
	font-weight: bold;
    line-height: 1.5;
}
  
.polaroid__particles 
{
	position: absolute;
	z-index: -1;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
  
.polaroid__particle 
{
	height: calc(var(--width) * 0.1);
	aspect-ratio: 1;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(calc(var(--fly-my-pretties, 0) * var(--scale, 1))) rotate(calc(var(--rotation, 0) * 1deg)) translate(0, calc((var(--width) * 0.5) + ((var(--width) * 0.1) * var(--distance)))) rotate(calc(var(--spin, 0) * 1deg));
	opacity: calc(1 - var(--fly-my-pretties, 0));
}
  
.polaroid__particle svg 
{
	height: 100%;
	width: 100%;
	fill: hsl(var(--hue, 0) 90% 90%);
	stroke-width: 50px;
	overflow: visible !important;
	stroke: hsl(0 0% 15%);
}


/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.glass1
{
    padding: 50px 40px 0 40px;
    top: 160px;
    left: 50px;
    position: absolute;
    width: 35%;
    height: 60%;
    align-items: center;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: saturate(100%) blur(10px);
    box-shadow: 5px 10px 29px 0 rgba(124, 124, 124, 0.2);
    border: solid 1px rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    justify-content: space-between;
    z-index: 5;
    opacity: 0;
    animation: glass 1s ease-out forwards;
    animation-delay: 2s;
}

@keyframes glass
{
    to
    {
        left: 100px;
        opacity: 1;
    }
}

.glass1 h1
{
    margin: 0 0 30px 50px;
    position: relative;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.glass1 h1 span:nth-child(1)
{
    color: rgba(255, 255, 255, 0.7);
}

.glass1 h1 span:nth-child(2)
{
    animation: tubelight1 10s ease-out infinite;
}

@keyframes tubelight1
{
    0%,50%,51%,52%,100%
    {
        color: rgba(255, 255, 255, 0.7);
    }
    50.5%,51.5% 
    {
        color: rgba(255, 255, 255, 0.1);
    }
}

.glass1 h1 span:nth-child(3)
{
    color: rgba(255, 255, 255, 0.7);
}

.glass1 h1 span:nth-child(4)
{
    animation: tubelight2 5s ease-out infinite;
}

@keyframes tubelight2
{
    0%,18%,20%,50.1%,60%,60.1%,80%,90.1%,92% 
    {
        color: rgba(255, 255, 255, 0.1);
    }
    18.1%,20.1%,30%,50%,60.1%,65%,80.1%,90%,90.2%,100%
    {
        color: rgba(255, 255, 255, 0.7);
    }
}

.glass1 p
{
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

.glass1 .skill-link
{
    position:absolute; 
    bottom:10px; 
    color: rgba(255, 255, 255, 0.3);
    font-size:13px; 
    font-weight:300; 
    letter-spacing:2px; 
    cursor: pointer;
    animation: jump 0.5s ease-out infinite;
}

@keyframes jump 
{
    50%
    {
        transform: translateY(3px);
    }
    100%
    {
        transform: translateY(0);
    }
}

.glass1 .skill-link:hover
{
    color: white;
    transform: translateY(-1px);
    animation: none;
}


/*--------------------------------------------------------------
# Download Resume
--------------------------------------------------------------*/
.download-link
{
    bottom: -10px;
    left: 400px;
    position: absolute;
    width: 200px;
    height: 50px;
    text-decoration: none;
    text-align: center;
    align-items: center;
    background: rgba(170, 170, 170, 0.9);
    backdrop-filter: saturate(500%) blur(50px);
    box-shadow: 5px 10px 29px 0 rgba(147, 147, 147, 0.2);
    border: solid 1px rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    z-index: 5;
}

@media only screen and (max-width: 999px)
{
    .download-link
    {
        display: none;
    }
}

.download-link .bi-check
{
    margin-top: 0;
    bottom: 0;
    height: 50px;
    font-size: 40px;
    text-align: center;
    color: white;
    z-index: 16;
}

.download-link .text
{
    padding: 15px 0 0 0;
    text-align: center;
    height: 50px;
    z-index: 15;
    transition: all 0.1s ease-in-out;
}

.download-link .text p
{
    margin: 0;
}

/*-- Animation Hover--*/
.download-link:hover>.text p
{
    color: white;
    transition: all 0.1s ease-in-out;
}

.glass1 .tooltipsize 
{
    position: absolute;
    top: 450px;
    left: 450px;
    margin: 0;
    width: 100px;
    height: 15px;
    padding: 4px 0 0 0;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    align-items: center;
    background-color: white;
    border: solid 1px white;
    border-radius: 10px;
    box-shadow: 5px 10px 29px 0 rgb(68 88 144 / 20%);
    visibility: visible;
    z-index: 21;
}
  
.glass1 .tooltipsize::after 
{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

@media only screen and (max-width: 999px)
{  
    .glass1 .tooltipsize 
    {
        display: none;
    }
}
  
.hidden
{
    visibility: hidden !important;
}


/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.glass2
{
    padding: 50px 40px 0 40px;
    display: none;
    top: 160px;
    left: 100px;
    width: 35%;
    height: 60%;
    position: absolute;
    align-items: center;
    background: rgb(20, 20, 20);
    backdrop-filter: saturate(100%) blur(10px);
    box-shadow: 5px 10px 29px 0 rgba(147, 147, 147, 0.2);
    border: solid 1px rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    justify-content: space-between;
    z-index: 10;
}

.show
{
    display: block;
}

.glass2 h1
{
    margin: 0 0 30px 50px;
    position: relative;
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
    animation: tubelight1 7s ease-out infinite;
}

@keyframes tubelight1
{
    0%,50%,51%,52%,100%
    {
        color: rgba(255, 255, 255, 0.7);
    }
    50.5%,51.5% 
    {
        color: rgba(255, 255, 255, 0.1);
    }
}

.glass2 p
{
    margin: 20px 0 5px 10px;
    position: relative;
    color: rgba(255, 255, 255, 0.7);
}

/*-- Skills --*/
.glass2 .bar 
{
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}

.glass2 .skills 
{
    height: 3px;
    color: white; 
}

.html {width: 0%; background-color: white;}
.css {width: 0%; background-color: white;}
.js {width: 0%; background-color: white;}
.ps {width: 0%; background-color: white;}
.ai {width: 0%; background-color: white;}
.pr {width: 0%; background-color: white;}
.xd {width: 0%; background-color: white;}

.glass2 .back-link
{
    position:absolute; 
    bottom:10px; 
    color: rgba(255, 255, 255, 0.3);
    font-size:13px; 
    font-weight:300; 
    letter-spacing:2px; 
    cursor: pointer;
    animation: jump 0.5s ease-out infinite;
}

@keyframes jump 
{
    50%
    {
        transform: translateY(3px);
    }
    100%
    {
        transform: translateY(0);
    }
}

.glass2 .back-link:hover
{
    color: white;
    transform: translateY(-1px);
    animation: none;
}