/* All General CSS */
body {
    background-color: rgb(24, 24, 25);
}

p {
    color: white;
}

html, body.no-scroll-page {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* End General CSS */
/**/
/**/
/**/
/* All Navbar CSS */

/* General Navbar */
.custom-navbar {
    background-color: #772dcb;
    padding-right: 1rem;
    padding-top: 0%;
    padding-bottom: 2px;
}

/* Title */
.custom-navbar .navbar-brand {
    color: white;
    margin: 0 6rem 0 2rem;
    font-size: 1.65rem;
}

/* Link color transition */
.custom-navbar .nav-link {
    color: rgba(255,255,255,0.8);
    position: relative;
    display: inline-block;
    margin: 0 1rem;
    transition: color 0.25s ease, transform 0.25s ease;
    padding: 0.8rem 1rem;
}

/* Animate underline un-hover*/
.custom-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: #ececec;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
    border-radius: 2px;
}

/* Highlight on hover */
.custom-navbar .nav-link:hover {
    color: white;
}

/* Underline upon hover*/
.custom-navbar .nav-link:hover::after {
    transform: scaleX(1.4);
}

/* Active page */
.custom-navbar .nav-link.active {   
    color: white;
    background: none;
}

/* Active page persist underline*/
.custom-navbar .nav-link.active::after {
    transform: scaleX(1.4);
}

/* Title anim */
.navbar-brand:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
}

/* Active Darken Box */
.custom-navbar .active {
    background-color: rgba(20, 20, 20, 0.495);
    display: inline-block;
}

/* Align mobile mode navbar to desktop mode */
.custom-navbar .navbar-toggler{
    padding: 0.77rem
}

/* Hidden state */
.nav-link.hide-after::after {
    display: none;
}

/* End Navbar CSS */
/**/
/**/
/**/
/* All Main CSS */

.video-background-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -100; 
    overflow: hidden;
    filter: blur(0.3rem);
}

.content-layer {
    position: relative;
    z-index: 0; 
    height: 100%;

    margin-left: 12rem;
    
    display: flex;
    flex-direction: column;
    color: #e5e4e4; 
    text-align: left;
    justify-content: left;
}

.homepage-title {
    position: relative;
    display: inline-block;

    margin-top: 15%;
    margin-bottom: 10px;
    font-size: 7rem;
    text-align: left;

    font-family:Arial, Helvetica, sans-serif;
}

.homepage-title::after {
    margin: 0 1rem 0 0;
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 57%;
    height: 3px;
    background-color: #ececec;
}

.homepage-description {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 110%;
    color:rgba(219, 219, 219, 0.769)c;
}

.portfolio-redirect {
    position: absolute;
    display: inline-block;
    
    margin-top: 8rem;
    padding: 0.5rem 1.5rem;

    text-decoration: none;
    font-size: 120%;
    background-color: none;
    color: inherit;
    border: #e4e3e6 2px solid;
    border-radius: 2rem;
}

.github-redirect {
    position: absolute;
    display: inline-block;
    
    margin-top: 6.58rem;
    margin-left: 12.5rem;
    padding: 0.5rem 1.5rem;

    text-decoration: none;
    color: inherit;
    font-size: 300%;
}
/* End Main CSS */
/**/
/**/
/**/
/* All Index CSS */
.title {
    color: rgb(232, 231, 232);
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

.grid-portfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-left: 3%;
    margin-right: 3%;
}

.portfolio {
    background-color: rgb(46, 46, 46);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

    padding: 1rem;
    margin-top: 20%;
    border-radius: 0.8rem;

    justify-content: center;
    display: flex;
    flex-direction: row;

    img {
        justify-content: left;
        width: 25%;
        height: auto;
        border-radius: 100%;
    }

    img:hover {
        transform: translateY(-8px);
        transition: all 0.3s ease;
    }
}

.portfolio-text {
    margin-left: 2rem;
    align-items: left;
    justify-content: left;
}
/* End Index CSS */
/**/
/**/
/**/
/* All Journal CSS */

/* End Journal CSS */
/**/
/**/
/**/
/* All Hobbies CSS */

/* End Hobbies CSS */
/**/
/**/
/**/
/* All Contacts CSS */
.contacts {
    display: grid;
    color: white;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

.contact {
    margin-top: 3rem;;
}

.contact tr {
    font-weight: bold;
}

.contact img {
    border-radius: 100%;
}
/* End Contacts CSS */
