/* Inporting google fonts: Rototo, Roboto mono,  */
@import url('https://fonts.googleapis.com/css2?family=NTR&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: NTR, Roboto, sans-serif;
    /*Setting default fonts for the portfolio*/
}

p {
    line-height: 0.95;
    /*Setting line-height for all the paragraph*/
}

a {
    color: #E0E0E0;
    ;
    /*Setting default text colour*/
}

#home {
    /*landing page/home*/
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0px;
}

.header {
    /*Main Header section*/
    padding: 0px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121212;
    box-shadow: 0px 5px 10px rgba(1, 1, 1, 0.5);
    height: 50px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
}

.left-header {
    /*Sub header left side*/
    width: 400px;
    display: flex;
    justify-content: space-between;
}

.header-icon {
    /* color: #B388FF; */
    font-size: 18px;
    cursor: pointer;
    transition: color 0.15s;
}

.header-icon:hover {
    color: #b488ffe8;
    /* color: #66FFCC; */
}


.right-header {
    width: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.header-icon-container {
    position: relative;
    display: flex;
    justify-content: center;
}
/* Hello  */

.header-icon-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.tooltip {
    position: absolute;
    color: #b488ffe8;
    bottom: -38px;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.15s;
    pointer-events: none;
}

.header-icon-container:hover .tooltip {
    opacity: 0.9;
}

.menu {
    display: none;
}

.side-menu {
    position: fixed;
    background: rgba(31, 31, 31, 0.359);
    box-shadow: -10px 0 30px -10px rgba(0, 0, 0, 0.5);
    padding: 80px 40px 4px;
    backdrop-filter: blur(10px);
    right: -20rem;
    top: 0;
    bottom: 0;
    width: 20rem;
    pointer-events: none;
    transition: right 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.4);
}

.side-menu.open {
    right: 0;
    pointer-events: all;
}

.close-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 18px;
}

.side-menu-options {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-size: 2rem;
    gap: 35px;
    flex-shrink: 0;
    overflow: auto;
}

.side-menu-options a {
    text-decoration: none;
}

.side-menu-options p:hover {
    color: #b488ffe8;
    cursor: pointer;
}

.side-menu-options::-webkit-scrollbar {
    width: 8px;
}

.side-menu-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.side-menu-options::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.side-menu-options::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.6);
}




/*Homescreen*/
.homescreen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 4rem;

}

.left-homescreen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.short-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.right-homescreen img {
    width: 40rem;
    position: relative;
    right: -50px;
}

@media (max-width:1360px) {
    .right-homescreen img {
        width: 35rem;
    }
}

@media (max-width:1230px) {
    .right-homescreen {
        display: none;
    }

    .homescreen {
        display: block;
    }

    .short-description {
        width: 80vw;
    }
}

@media(max-width:700px) {
    .header {
        padding: 0 20px;
    }

    .left-header .header-icon-container {
        display: none;
    }

    .menu {
        display: flex;
    }
}

@media (hover:none) and (pointer:coarse) {
    .header-icon:hover {
        color: inherit;
    }

    .header-icon-container:hover .tooltip {
        opacity: 0;
    }

    .side-menu-options p:hover {
        color: inherit;
    }
}