@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');

:root {
    --lexend:"Lexend", serif;
    /* Colors */
    --w: #ffffff;
    --lb: #0042CF;
    --b: #002152;
    --linear90: linear-gradient(180deg, #111111, #002152);
    --linear2: radial-gradient(#00215200,#11111149);
    --m05: 5px;
    --m10: 10px;
    --m15: 15px;
    --m20: 20px;    
    --t2s: all ease-in-out 0.2s;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--b);
}   

strong {
    color: var(--lb);
    transition: var(--t2s);
}

strong:hover {
    color: var(--w);
}

body {
    font-family: var(--lexend);
    color: var(--w);
    background-color: var(--b);
}

h3 {
    text-transform: uppercase;
    font-size: 50pt;
}

.top {
    position:fixed;
    top: 850px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 90;
    background-color: var(--lb);
    width: 50px;
    height: 50px;
    border-radius: var(--m05);
    display: none;
}

.container {
    width: 80%;
    margin: var(--m15) auto;
    padding: var(--m20) 0;
}

.container p {
    font-size: 20pt;
    font-weight: 300;
}

header {
    padding: var(--m20) var(--m10);
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 10;
    backdrop-filter: blur(20px);
}

header nav a {
    font-size: 18pt;
    font-weight: 300;
    margin: var(--m05) var(--m10);
    text-transform: uppercase;
    color: var(--w);
    transition: var(--t2s);
}

nav a:hover {
    color: var(--lb);
}

.slider {
    height: 100vh;
    background: var(--linear90);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.slider h1 {
    font-size: 60pt;
}

.slider h2 {
    font-size: 60pt;
    text-transform: uppercase;
}

.slider img {
    transition: all ease-in-out 0.2s;
}

.slider img:hover {
    filter: blur(5px); 
}

.slider .arrow {
    width: 25px;
    height: 25px;
    position: absolute;
    border-bottom: 10px solid var(--w);
    border-left: 10px solid var(--w) ;
    border-radius: var(--m05);
    bottom: 50px;
    transform: rotate(-45deg);
}

.skills, .projects {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.skill-box, .projects-box {
    object-fit: contain;
    border: 1px var(--w) solid;
    width: fit-content;
    text-transform: uppercase;
    font-size: 35pt;
    padding: 50px 25px;
    border-radius: var(--m05);
    margin: var(--m20);
    min-width: 150px;
    text-align: center;
    background: var(--linear2);
}

.projects-box {
    color: var(--w);
    width: 95%;
    padding: var(--m20);
    margin: var(--m10) var(--m20);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 24px;
    font-weight: lighter;
}


.contact {
    position: relative;
}

.contact-box {
    display: flex;
    align-items: center;
}

.contact-box span {
    font-size: 25pt;
    text-transform: uppercase;
    font-weight: 300;
}

.contact-case {
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact-case i {
    font-size: 40pt;
    text-align: center;
}


.contact-case {
    width: 80px;
    height: 80px;
    margin: var(--m20);
    border-radius: var(--m05);
    border: var(--w) 1px solid;
    backdrop-filter: blur(20px);
}

.contact img {
    position: absolute;
    margin: 0;
    width: 800px;
    left: -45vh;
    top: -5vh;
    z-index: -10;
}

/* styles for mobile devices */
@media only screen and (max-width: 1024px) {
    body {
      /* font-size: 12px; */
      width: 100%;
      margin: 0;
    }

    header nav a {
        display: none;
    }

    .slider {
        flex-direction: column !important;
        height: 50vh;
    }

    .skills {
        flex-wrap: wrap;
    }

    .slider img {
        display: none;
    }

    .slider h1, .slider h2 {
        font-size: 70pt;
    }

    strong:hover {
        color: var(--w);
        font-size: 20pt
    }
    
    h3 {
        font-size: 65pt;
    }

    p {
        font-size: 65pt;
    }

    .skill-box {
        text-transform: uppercase;
        font-size: 70pt;
        min-width: 500px;
        justify-content: left;
        align-items: start;
        margin: var(--m10) 0;
        transition: var(--t2s);
    }

    .skill-box:hover {
        min-width: 120px;
    }
}  


/* NOEL */
/* Snowfall effect */
.snowflake {
    position: absolute;
    top: -10px;
    z-index: 9999;
    pointer-events: none;
    font-size: 24px;
    color: #ffffff;
    user-select: none;
    opacity: 0.8;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(-10px);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}