/*
---------------------------------------
    START: GENERAL UTILITY
---------------------------------------
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: monospace;
    background-color: #120925;
    overflow: hidden;
    /* Prevent scrolling */
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

/*
---------------------------------------
    END: GENERAL UTILITY
---------------------------------------
*/



/*
---------------------------------------
    START: NAV BAR
---------------------------------------
*/

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background-image: linear-gradient(to right, #120925 50%, #120925 50%);
    color: #fff;

    height: 40px;
    position: fixed;
    z-index: 20;
    width: 100%;
    top: 0;
}

/* NAVBAR INITIALS */
.initials {
    font-size: 30px;
    font-family: "Luxurious Script", sans-serif;
}

/* NAVBAR MENU */
.menu {
    display: flex;
    gap: 1px;
}

.menu li:hover {
    /* background-color: #fab4d1; */
    background-color: #b1fbffc9;
    border-radius: 10px;
    transition: 0.4s ease;
}

.menu li {
    padding: 5px 12px;
    transition: 0.4s ease;
}

/* DROPDOWN MENU */
/* Links inside the navbar */
.navbar a {
    float: left;
    font-size: 14px;
    color: white;
    text-align: center;
}

/*
---------------------------------------
    END: NAV BAR
---------------------------------------
*/



/*
---------------------------------------
    START: MAIN PAGE ELEMENTS
---------------------------------------
*/

.name-image {
    display: grid;
    position: relative;
    text-align: center;
    height: 100vh;
    align-content: center;
    justify-content: center;
}

.text-name {
    font-family: trebuchet ms;
    text-align: center;
    font-size: 20vh;
    margin-bottom: 12vh;
}

.text-name span {
    display: inline-block;
    position: relative;
}

.text-name span:first-child,
.text-name span:last-child {
    /* background-image: linear-gradient(0.3turn, #fa1feb 35%, #efb8d3 45%, #a88efc 55%, #02f4f9 65%);
    -webkit-background-clip: text; */
    transition: transform 1.2s ease, top 1.2s ease;
}

.firstName {
    background-image: linear-gradient(0.3turn, #ffb6f8 25%, #caf6ff 55%, #b2ffb1 85%);
    -webkit-background-clip: text;
    color: transparent;
}

.text-bottom {
    font-family: trebuchet ms;
    background-image: linear-gradient(0.3turn, #ffb6f8 25%, #caf6ff 65%, #b2ffb1 85%);
    -webkit-background-clip: text;
    color: transparent;
    text-align: center;
    font-size: 5vh;
}

/*
---------------------------------------
    END: MAIN PAGE ELEMENTS
---------------------------------------
*/


/*
---------------------------------------
    START: ANIMATE ELEMENTS ON LOAD
---------------------------------------
*/

@keyframes firstName_fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes firstName_fadeInUp_Small {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(30%);
    }
}

@keyframes bottomText_fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (min-width: 691px) {
    .firstName.animate {
        animation: firstName_fadeInUp 1.2s ease forwards;
    }
}

@media (max-width: 690px) {
    .firstName.animate {
        animation: firstName_fadeInUp_Small 1.2s ease forwards;
    }
}

.text-bottom.animate {
    animation: bottomText_fadeIn 1.2s ease forwards;
}

/*
---------------------------------------
    END: ANIMATE ELEMENTS ON LOAD
---------------------------------------
*/



/*
---------------------------------------
    START: ICON LINKS
---------------------------------------
*/


/*
---------------------------------------
    END: ICON LINKS
---------------------------------------
*/

.icon-links {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icon-links a {
    color: white;
    font-size: 40px;
    transition: color 0.3s ease;
}

.icon-links a:hover {
    color: #9fc9d1;
}

/*
---------------------------------------
    START: RESPONSIVE DESIGN
---------------------------------------
*/

/* ADJUST 1200px */
@media (max-width: 1200px) {
    .text-name {
        font-size: 18vh;
    }

    .icon-links a {
        font-size: 35px;
    }

    .text-bottom {
        font-size: 4.5vh;
    }
}

/* ADJUST 992px */
@media (max-width: 992px) {
    .text-name {
        font-size: 16vh;
    }

    .icon-links a {
        font-size: 30px;
    }

    .text-bottom {
        font-size: 4vh;
    }
}

/* ADJUST 768px */
@media (max-width: 768px) {
    .text-name {
        font-size: 15vh;
    }

    .icon-links a {
        font-size: 25px;
    }

    .text-bottom {
        font-size: 3.8vh;
    }
}

/* ADJUST 690px */
@media (max-width: 690px) {

    .text-name {
        font-size: 14vh;
    }

    .icon-links a {
        font-size: 20px;
    }

    .text-bottom {
        font-size: 2.5vh;
    }

    .text-name span:first-child {
        margin-bottom: 0px;
        transform: translateY(30%);
        transition: transform 1.2s ease, top 1.2s ease;
    }
}

/*
---------------------------------------
    END: RESPONSIVE DESIGN
---------------------------------------
*/