/**
* File Name: thecodemeor.style - 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);
}
  
.hidden
{
    visibility: hidden !important;
}

.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 
{
    font-weight: 600;
    text-decoration: none;
    transition: all 0.5s ease;
}

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

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

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


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

@media only screen and (min-width: 1367px)
{
    .plane-canvas-mobile, .main-canvas-mobile
    {
        display: none;
    }
}


/*--------------------------------------------------------------
# Mouse
--------------------------------------------------------------*/
.mouse 
{
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.45em;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 6px;
    line-height: 2.5;
    text-align: center;
    text-transform: uppercase;
    opacity: 0;
    z-index: 2;
    transform: translateY(-15px);
    transition: all 0.5s ease;
}

.mouse.active 
{
    opacity: 1;
    transform: none;
}


/*--------------------------------------------------------------
# Plate
--------------------------------------------------------------*/
.plate 
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    font-size: 0.6em;
    color: white;
    letter-spacing: 4px;
    line-height: 2.5;
    text-align: center;
}

/* -- Text Animation -- */
.plate .text-animation 
{
    opacity: 0;
}

.plate .text-animation.active 
{
    opacity: 1;
}

.plate .text-animation .letter 
{
    opacity: 0;
    color: white;
    transform-origin: bottom;
    transition: color 0.5s ease, opacity 0.3s ease;
}

.plate .text-animation .letter.active 
{
    color: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: none;
    -webkit-animation: color 5s ease infinite 3s;
    animation: color 5s ease infinite 3s;
}

@-webkit-keyframes color 
{
    0% 
    {
        color: white;
    }

    20% 
    {
        color: rgba(255, 255, 255, 0.3);
    }

    100% 
    {
        color: rgba(255, 255, 255, 0.3);
    }
}

@keyframes color 
{
    0% 
    {
        color: white;
    }

    20% 
    {
        color: rgba(255, 255, 255, 0.3);
    }

    100% 
    {
        color: rgba(255, 255, 255, 0.3);
    }
}

/* -- Social -- */
.plate .social a 
{
    margin: 0 8px;
    display: inline-block;
    visibility: hidden;
    vertical-align: middle;
    opacity: 0;
    font-size: 30px;
    letter-spacing: 0;
    transition: all 0.7s ease 0.15s;
}

.plate .social.active 
{
    opacity: 1;
}

.plate .social.active a 
{
    opacity: 0;
    visibility: visible;
    transform: none;
}

.plate .social svg 
{
    width: 32px;
    height: 36px;
    fill: rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.2s ease;
}

.plate .social svg:hover 
{
    fill: white;
}

.plate .social .social__email
{
    margin-right: 50px;
    opacity: 0;
    animation: email 0.5s ease-out forwards;
    animation-delay: 3s;
}

@keyframes email
{
    to
    {
        margin-right: 8px;
        opacity: 1;
    }
}

.plate .social .emailid
{
    position: absolute;
    top: 90px;
    margin: 0;
    width: 180px;
    height: 20px;
    font-size: 10px;
    font-weight: 600;
    line-height: 2;
    color: black;
    text-align: center;
    align-items: center;
    letter-spacing: 0;
    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;
}
  
.plate .social .emailid::after 
{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}

.plate .social .social__linkedin
{
    margin-left: 50px;
    opacity: 0;
    animation: linkedin 0.5s ease-out forwards;
    animation-delay: 3s;
}

@keyframes linkedin
{
    to
    {
        margin-left: 8px;
        opacity: 1;
    }
}

.plate .social .linkedinid
{
    position: absolute;
    top: 90px;
    margin: 0;
    width: 80px;
    height: 20px;
    font-size: 10px;
    font-weight: 600;
    line-height: 2;
    color: black;
    text-align: center;
    align-items: center;
    letter-spacing: 0;
    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;
}
  
.plate .social .linkedinid::after 
{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: white transparent transparent transparent;
}