/* Desktop styles */

:root
{
    font-size: max(1.5vw, 1.5vh);
    font-family: 'Poppins', 'Poppins', 'helvetica neue', helvetica, arial, sans-serif;
    --font-color-darker: #888;
    --font-color: #ccc;
    --font-color-lighter: #f0f0f0;
    --background-color: #222;
    --animation-time: 0.2s;

    text-align: justify;
    
    background: var(--background-color);
    background-color: var(--background-color);
}

*:focus
{
    outline: none;
}

header a:focus
{
    outline: 0.12rem solid #fff;
    border-radius: 0.12rem;
}

a {
    color: #0099B5;
}

a:hover {
    color: #33BBD5;
}

.projects {--glow-color: #00FF41;}
.edu {--glow-color: #6EBBD5;}
.about {--glow-color: #D4AF37;}
.telegram {--glow-color: #2AABEE;}
.github {--glow-color: #DDDDDD;}
.whatsapp {--glow-color: #25D366;}
.linkedin {--glow-color: #0077B5;}
.instagram {--glow-color: #F58529;}
.youtube {--glow-color: #FF0000;}
.presentation {--glow-color: #E2BB78;}
.discord {--glow-color: #7289da;}
.default {--glow-color: #AAAAAA; }

body 
{
    padding: 0px;
    margin: 0px;
    position: relative;

    background: var(--background-color);
    background-color: var(--background-color);

    overflow-y: scroll;

    scrollbar-color: dark;
}

body::-webkit-scrollbar { background-color: rgba(128,128,128,0.15); }
body::-webkit-scrollbar-thumb { background-color: rgba(128,128,128,0.5); }

a 
{
    text-decoration: none !important;
}

ul 
{
    padding-left: 1.4rem;
}

.first-wrapper, .first-following-wrapper
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;

    width: 92vw;

    position: relative;
    left: 4vw;
}

.text-wrapper
{
    display: flex;

    flex-direction: column;
    flex-wrap: nowrap;

    width: 80%;
}

.links-wrapper
{
    display: flex;
    flex-direction: column;
}

.name-wrapper
{
    display: flex;
    flex-direction: column;
}

.name-wrapper .name
{
    font-size: 2rem;
    line-height: 1.8rem;

    color: var(--font-color);
}

.name-wrapper .mail
{
    font-size: 0.8rem;
    line-height: 1rem;
    margin-top: 0.6rem;
    margin-left: 0.1rem;

    color: var(--font-color);
    transition: all var(--animation-time) ease;
}

.name-wrapper .mail:hover
{
    color: var(--font-color-lighter);
}

header
{
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding-top: 0.3rem;
}

header .text
{
    z-index: 9999;
    font-family: Bungee;

    font-size: 0.75rem;
    line-height: 1rem;

    text-align: center;

    color: var(--font-color);
}

.intro
{
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
}

.intro .text
{
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.25rem;

    padding-top: 8%;

    color: var(--font-color);

    width: auto;
}

.menu
{
    width: 100%;
}

.link 
{
    padding: 0.4rem;
    border-radius: 0.4rem;
    border: 0.12rem solid var(--font-color-darker);
    
    margin: 0.2rem;
    display: flex;

    transition: border-color var(--animation-time) ease;

    animation: shadow-animation-out var(--animation-time);
    animation-fill-mode: forwards;
    
    cursor: pointer;
}

@keyframes shadow-animation-in
{
    from 
    {
        box-shadow: inset 0 0 0.5rem 0 var(--background-color), 0 0 0.5rem 0 var(--background-color);
    }

    to 
    {
        box-shadow: inset 0 0 0.5rem 0 var(--glow-color), 0 0 0.5rem 0 var(--glow-color);
    }
}

@keyframes shadow-animation-out
{
    from 
    {
        box-shadow: inset 0 0 0.5rem 0 var(--glow-color), 0px 0 0.5rem 0 var(--glow-color);
    }

    to 
    {
        box-shadow: inset 0 0 0.5rem 0 var(--background-color), 0 0 0.5rem 0 var(--background-color);
    }
}

.link .link-text 
{
    transition: color var(--animation-time) ease;
    color: var(--font-color);
}

.link svg 
{
    stroke: var(--font-color);
    transition: stroke var(--animation-time) ease;
}

.links-wrapper img, svg
{
    width: 16%;
    height: 100%;
    
    object-fit: contain;
}

.link-text 
{
    width: 84%;
    height: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.social
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.social .link
{
    display: flex;
    padding: 0.4rem;
}

.social svg
{
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.hovered 
{
    border-color: var(--glow-color) !important;
    animation: shadow-animation-in var(--animation-time);
    animation-fill-mode: forwards;
}

.hovered svg
{
    stroke: var(--glow-color) !important;
}

.hovered .link-text
{
    color: var(--glow-color) !important;
}

@keyframes fade
{
    from
    {
        opacity: 1;
        z-index: 999;
    }

    50%
    {
        opacity: 1;
    }

    99%
    {
        opacity: 0;
        z-index: 999;
    }

    to
    {
        display: none;
        z-index: -999;
    }
}

.loading-screen
{
    z-index: 999;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;

    background-color: var(--background-color);

    animation: fade 0.6s;
    animation-fill-mode: forwards;
}

