:root{
    --orange: orange;
    --darkorange: #cf8127;
    --brown: brown;
    --pink: pink;
    --purple: purple;
    --lightpurple: #d0ccff;
}
@font-face {
    font-family: "Rigid Square";
    src: url('./fonts/rigidsquare.otf') format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Jetbrains Mono";
    src: url('./fonts/JetBrainsMono.ttf') format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Monaspace Krypton Var";
    src: url('./fonts/MonaspaceKryptonRegular.otf') format("opentype");
    font-display: swap;
    font-style: normal;
    font-weight: normal;
}

*{
    margin: 0;
    padding: 0;  
    /* outline: 1px solid red !important; */
    /* ::-webkit-scrollbar{
        width: 13px;
        border-radius: 10px;
        margin: 2px;
    }
    ::-webkit-scrollbar-thumb{
        background: #763b01;
        border-radius: 3px;
    }       
    ::-webkit-scrollbar-track{
        background: rgb(207, 206, 206);
        border-radius: 3px;
    }
    ::-webkit-scrollbar-corner{
        background: rgb(0, 174, 255);
    }
    ::-webkit-scrollbar-button:vertical:decrement{
        border-width: 0 7px 14px 7px;
        border-color: #873131;
    }
    text-emphasis-color: purple;
    ::selection{
        color: rgb(22, 172, 206);
        background: rgb(112, 55, 119);
    } */
}
body{
    font-family: "Rigid Square";

}
body::-webkit-scrollbar{
    display: none;
    overflow: hidden;
}
marquee{
    font-size: large;
    color: rgb(214, 0, 139);
    background: rgb(255, 220, 175);
    padding: 0;
    margin: 0;
}
section#home{
    background: rgb(3, 74, 196);
    background-image: url(../images/background/bg_final_6.svg);
    background-size: cover;
    background-repeat: no-repeat;
    /* background-position: center; */
    height: fit-content;
    text-align: center;
    color: aliceblue;
    margin: 0;
    padding: 0;
    /* background-image: url(/Portfolio/images/background/subtle-carbon.png); */

}
section#home div#navbar{
    background-color: transparent;
    padding: 1.5em 1.5em 3.5em 1.5em;
    color: #faead8;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
section#home div#navbar ul{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;

    a{
        text-decoration: none;

        
    }
    

}

section#home div#navbar ul li{
    text-decoration: 4px underline;
    text-underline-offset: 4px;
    list-style-type: none;
    cursor: pointer;
    margin: 0 1rem;
    border-radius: 10px;
    transition: all 0.5s;
    border: 2.5px solid transparent;
    padding: 0.75rem;

    a{
        color: #faead8;
        text-decoration: none;
        padding: 1rem;

        i{
            margin: 7px auto;
            color: rgb(255, 236, 207);
        }
    }
    &#store5.block{
        background: rgb(201, 1, 141);
        box-shadow: -1px 3px 2px 2px rgba(45, 45, 45, 0.5);
    }
    &#contact6.block{
        background: rgb(3, 164, 204);
        box-shadow: -1px 3px 5px 2px rgba(45, 45, 45, 0.5);
    }
    
    
}
@keyframes blink {
    from{
        opacity: 1;
    }
    to{
        opacity: 0.3;
    }
}
@keyframes rotateLogo {
    from{
        rotate: 0deg;
    }
    10% { transform: translate(-1px, -2px)}
    20% { transform: translate(-3px, 0px)}
    30% { transform: translate(3px, 2px)}
    40% { transform: translate(1px, -1px)}
    50% {
    transform: scale(1.2);
    }
    
    50% { transform: translate(-1px, 2px)}
    60% { transform: translate(-3px, 1px)}
    70% { transform: translate(3px, 1px)}
    80% { transform: translate(-1px, -1px)}
    90% { transform: translate(1px, 2px)}
    to{
        rotate: 360deg;
    }
}
/* This is me */

section#home div#navbar ul img{
    height: 20vh;
    aspect-ratio: 1/1;
    cursor: crosshair;

}
section#home div#navbar ul li:hover{
    text-underline-offset: 10px;
    border: 2.5px solid;
}
section#home div#navbar ul li:active{
    color: rgb(252, 210, 175);
}
section#home div#navbar ul img:hover{
    animation-name: rotateLogo;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}


@media (max-width: 600px) {
    section#home div#navbar ul{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas:
            "home   .    projects"
            "places logo writings"
            "store  .    contact";
        align-items: center;
        justify-content: center;

        & > li:nth-child(1){grid-area: home;}
        & > li:nth-child(2){grid-area: projects;}
        & > li:nth-child(3){grid-area: places;}
        & > a:nth-child(4){grid-area: logo;}
        & > li:nth-child(5){grid-area: writings;}
        & > li:nth-child(6){grid-area: store;}
        & > li:nth-child(7){grid-area: contact;}

        li{
            margin: 0.5rem;
            font-size: 1rem;
            /* padding: 1rem; */

            i{
                margin: 0 0 1rem 0;
                display: block;
                text-decoration: none;
            }
            
            
        }
        img{
            height: 15vh;
            width: auto;
            aspect-ratio: 1/1;
            object-fit: contain;
        }
    }
}



/* section#home h1.sectionheader{
    color: #fbebcb;
    text-transform: uppercase;
    font-size: 4em;
    display: block;
    padding: 0.5em;
} */


section#home div#profile{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    height: 58.5vh;
    align-items: center;
    padding: 0 5% ;
    box-sizing: border-box;
    gap: 2rem;

    

    .headshot{
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        flex: 1 1 200px;
        max-width: 100%;
        height: 100%;
        border-radius: 10px;
        position: relative;

        
        #welcomestamp{
            position: absolute;
            bottom: 90%;
            left: 70%;
            width: 37.5%;
            padding: 0;
            margin: 0;
        }

        #cred{
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            color: #fffcf0;
            font: normal 0.9rem "Rigid Square";
            text-align: center;
            background: rgba(255, 255, 244, 0.2);
            backdrop-filter: blur(15px);
            border-radius: 10px;
            padding: 10px;
            width: fit-content;
            height: fit-content;
            margin: auto;
        }
        .head{
            flex-grow: 1;
            min-height: 0;
            background: transparent;
            height: 100%;
            width: 100%;

            img{
                width: 100%;
                height: 100%;
                object-fit: contain;
    
            }
        }
        
    }
}


section#home div#profile div.biocard{
    display: flex;
    flex-direction: column;
    max-width: 45vw;
    margin: auto;
    height: 100%;
    flex: 1 1 300px;
}

div.terminal{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 0;
    height: auto;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.571);
    font: normal 1rem "monaspace Krypton Var";
    border-radius: 8px;
    flex: 1 1 0;
}

div.terminal div.terminaltopbar{
    width: auto;
    height: auto;
    min-height: 2.4rem;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    box-sizing: border-box;
    font-family: "Jetbrains Mono";
    background: rgba(211, 146, 6, 0.9);
    cursor: move;
    font-size: large;
    user-select: none;
    font-weight: 595;
    color: #ffebd1ed;
    border-radius: 7px 7px 0 0;

    i{
        font-size: small;
        font-weight: bolder;
        aspect-ratio: 1/1;
        background: rgb(168, 49, 2);
        color: #f8e5ca;
        margin: 7px;
        padding: 5px;
        border-radius: 5px;
    }
    p{
        margin: 0;
    }

}

div.terminal div.terminalbody{
    flex: 1 1 0;
    box-sizing: border-box;
    padding: 5px;
    min-height: 0;
    height: auto;
    width: 100%;
    overflow: auto;
    background-color: #03002b;
    background-image: radial-gradient(rgba(197, 255, 205, 0.25)10%, transparent 10%);
    background-position: 0 0;
    background-size: 15px 15px;
    border-radius: 0 0 6px 6px;
    font-family: "Jetbrains Mono";
    font-size: 0.87rem;

    #terminaldefault{
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        box-sizing: border-box;
        padding: 10px;
        
        pre{
            font-size: 10px;
            color: #d6d3ff;
            transition: all 1s ease;
            line-height: 1;
            font-size: small;
            padding: 10px;
            font-weight: bolder;


            &:hover{
                transform: rotate(90deg);
                color: rgb(255, 255, 0);
            }
        }
        #terminalwelcome{
            color: rgb(255, 66, 138);
            font-weight: normal;
            text-align: center;
            text-align-last: center;
            width: 60%;
            padding: 10px;
            /* margin: auto; */
            /* animation: blink 1s ease 0.5s infinite; */

            #terminalwelcome2{
                color: rgb(252, 245, 38);
                font-style: italic;
                font-weight: normal;
                display: block;
                padding: 10px;
                line-height: 1.5;
                
                #helpcommand{
                    font-weight: bolder;
                    font-size: 110%;
                    color: rgb(0, 191, 255);
                    text-decoration: 2px underline wavy rgb(18, 216, 0);
                    text-underline-offset: 3px;
                    text-shadow: 0px 0px 3px rgba(111, 246, 14, 0.881);
                }
            }
        }
    }
    
    .promptunit{
        /* height: inherit; */

        .promptoutline{
            display: block;
            background: rgba(95, 75, 57, 0);
            color: rgb(164, 177, 249);
            /* min-height: 10%; */
            /* I guess height: auto is almost same as fit-content so just leaving auto here 'cause I haven't been using it */
            height: auto;
            width: 100%;
            padding:  1% 5%;
            box-sizing: border-box;

        }
    }
}
::selection{
    color: #c8ffa3;
    background: rgb(212, 0, 117);
}
div.terminal div.terminalbody::-webkit-scrollbar{   
    height: 8px;
    width: 7px;
}
 
div.terminal div.terminalbody::-webkit-scrollbar-track {
    border-radius: 2px;
    background-color: rgba(204, 175, 144, 0.7);
}
    
div.terminal div.terminalbody::-webkit-scrollbar-thumb {
    /* somethng about the visibility of the thumb, you know */
    border-radius: 7px;
    background-color: rgb(0, 102, 255);
}


div.terminal div.terminalbody div.promptline{
    display: flex;
    caret-color: rgb(245, 185, 125);
    background: rgba(2, 0, 44, 0.75);
    border-radius: 7px;
    padding: 3px;
}

div.terminal div.terminalbody div.promptline span#prompt{
    font-weight: bold;
    padding: 3px;
    color: rgb(166, 228, 40);

    #visitornumber, #root{
        color: rgb(255, 116, 243);
    }
}

div.terminal div.terminalbody div.promptline input.terminalinput{
    background: transparent;
    border: none;
    color: #ffc09b;
    font: inherit;
    width: 100%;
    outline: none; 
    caret-color: underscore;
    padding: 3px;
    text-shadow:  0px 0px 20px #0059e700;
}

div.terminal div.terminalbody input.terminalinput::placeholder{
    color: #fecfb1;

}


@media (max-width:600px) {
    section#home{
        height: auto; 
        

        div#profile{
            height: auto;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            padding-block: 3.5rem 1.5rem;


            .headshot{
                flex: none;
                width: 100%;
                height: clamp(260px, 40svh, 380px);

                #cred{
                    font-size: 0.875rem;
                }
                #welcomestamp{
                    width: 70%;
                    left: auto;
                }
            }


            .biocard{
                flex: none;
                width: 100%;
                min-width: 87.5%;
                min-height: 62.5svh; 
                height: auto;
            }
        }
    }
}






































section#projects{
    background: rgb(248, 225, 201);
    height: 100vh;
    /* width: 100%; */
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    overflow: hidden;
    padding: 1em;
    /* box-sizing: border-box; */

    .controls{
        position: relative;
        z-index: 980;
        display: flex;
        align-items: flex-end;
        
        i{
            padding: 0.5em;
            font-size: x-large;
            color: rgb(245, 123, 1);
            background: rgb(178, 178, 253);
            border-radius: 10px;
            
            cursor: pointer;
            transition: all 0.75s ease;
            /* z-index: 100; */
            transform: translateZ(1000px);

            &:hover{
                box-shadow: 0px 3px 3px 0px rgba(104, 104, 104, 0.822);
                color: rgb(155, 190, 255);
                background: rgb(163, 0, 100);
                transform: translateZ(1200px);
            }
        }
    }
    .projectbook{
        color: #dae8fc;
        background: rgba(109, 50, 4, 0);
        width: 45vw;
        height: 90%;
        transform-style: preserve-3d;
        perspective: 80cm;
        position: relative;
        /* this is to bend the book to an angle to kinda present it like its down for you to read */
        /* transform: rotateX(20deg);  */
        transition: all 0.5s ease;
        margin: auto;
        outline: none;
        /* box-shadow: 0px 20px 10px 3px rgba(94, 93, 93, 0.75); */
        
        &.openbookshift{
            transform: translateX(22.5vw);
        }
        &.closebookshift{
            transform: translateX(45vw);
        }
        .rings{ display: none; }
        .paper{
            position: absolute;
            display: flex;
            width: 100%;
            height: 100%;
            /* background: rgb(212, 209, 255); */
            color: rgb(93, 151, 8);
            justify-content: space-evenly;
            align-items: center;
            /* overflow: hidden; */
            transform-style: preserve-3d;
            transform-origin: left center;
            transition: all 1.5s ease;
            /* text-align: center; */
            /* box-shadow: 0px 1px 1px rgba(107, 106, 106, 0.15), 0 2.5px 2.5px rgba(94, 93, 93, 0.15), 0 0 5px 5px rgba(156, 156, 156, 0.15); */
            /* border-radius: 0px 8px 8px 0px; */

            .pagefront, .pageback{
                position: absolute;
                width: 97.5%;
                height: 95%;
                margin: auto 0;
                /* top: 0; */
                left: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                backface-visibility: hidden;
                    
                /* transform-style: preserve-3d; */
            }
            .pagefront{
                color: rgb(253, 170, 114);
                background: 
                    repeating-linear-gradient(to bottom, transparent, transparent 10%, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.3) 10.25%),
                    repeating-linear-gradient(to right, transparent, transparent 10%, rgb(255, 255, 255, 0.3) 10%, rgb(255, 255, 255, 0.3) 10.25%),
                    rgb(59, 114, 0);
                border-right: 1px solid grey;
                border-radius: 0 10px 10px 0;


        
            }
            .pageback{
                color: #00adfd;                
                background: 
                    repeating-linear-gradient(to bottom, transparent, transparent 10%, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.3) 10.25%),
                    repeating-linear-gradient(to right, transparent, transparent 10%, rgb(255, 255, 255, 0.3) 10%, rgb(255, 255, 255, 0.3) 10.25%),
                    rgb(43, 41, 42);
                border-left: 1px solid grey;
                border-radius: 10px 0 0 10px;
                transform: rotateY(180deg);
            }
            .turnedpage{
                color: #00adfd;                
                background: 
                    repeating-linear-gradient(to bottom, transparent, transparent 10%, rgba(255, 255, 255, 0.3) 10%, rgba(255, 255, 255, 0.3) 10.25%),
                    repeating-linear-gradient(to right, transparent, transparent 10%, rgb(255, 255, 255, 0.3) 10%, rgb(255, 255, 255, 0.3) 10.25%),
                    rgb(43, 41, 42);
                /* border-left: 1px solid grey; */
                border-radius: 0 0 10px 10px;
            }
        }
        
        p.page-number{
            position: absolute;
            color: rgb(249, 248, 248);
            bottom: 3vh;
            right: 3vw;
            font-weight: bolder;
            padding: 5px;
            border-radius: 7.5px;
            background: rgb(65, 65, 65);
        }
        .paper.frontcover{
            transition: all 2s;
            height: 100%;
            width: 100%;
            padding: 20px;
            background: rgb(70, 1, 45);
            border: 15px solid rgb(174, 85, 1);
            box-sizing: border-box;
            user-select: none;
            border-radius: 0px 8px 8px 0px;
            overflow: hidden;
            /* backface-visibility: hidden; */
            h1{
                color: rgb(105, 210, 255);
                font-size: 3.25rem;
                text-align: center;
                line-height: 2;
                font-weight: 800;
                
            
                &::first-letter{
                    font-size: 2.5em;
                    color: rgb(255, 137, 82);
                    padding: 10px 20px;

                    /* margin: 2px; */
                    font-family: "Monaspace Krypton Var";
                    background-image: url(../images/background/t4.png);
                    background-repeat: no-repeat;
                    background-position: center;
                    background-size: 1.35em;
                    border: 2px solid rgb(210, 98, 0);
                }
            }
        }

        /* Going from prjectbook to the pagefront and pageback */
        
        .paper.paper1{

        }
        
        .paper.backcover{
            display: flex;
            flex-direction: column;
            position: absolute;
            color: rgb(229, 222, 253);
            background: rgb(155, 0, 101);
            box-sizing: border-box;
            border: 15px solid rgb(174, 85, 1);
            padding: 20px;
            border-radius: 0px 8px 8px 0px;
            h1{
                color: rgb(255, 187, 0);
                font-size: 2em;
                text-align: center;
                transform: rotateY(180deg);
            }
            h3{
                color: rgb(189, 227, 249);
                display: block;
                font: 1.25em "Caveat";
                transform: rotateY(180deg);


            }
        }
    }
        
    @media (max-width: 600px) {
        .projectbook{
            width: 90%; 
            height: 85%;
            position: relative;
            touch-action: none;
            

            .rings{
                display: flex;
                justify-content: space-evenly;
                position: absolute;
                left:0;
                right: 0;
                top: -10px;
                z-index: 5000;
                pointer-events: none;

                span{
                    width: 12.5px;
                    height: 35px;
                    background: rgb(177, 196, 250);
                    border-radius: 40%;
                }
            }
            .paper{
                transform-origin: center top;
                border-radius: 0 0 8px 8px;
                margin: auto;
                transform-style: flat;

                &.frontcover{
                    border-radius: 0 0 8px 8px;

                }
                &.backcover{
                    transform: rotateY(180deg);
                    border-radius: 0 0 8px 8px;
                }
                .pagefront{
                    width: 95%;
                    border-radius: 0 0 10px 10px;  
                    backface-visibility: visible;
                    -webkit-backface-visibility: visible;
                    left: auto;
           
                }
                &.paperflip{
                    transform: rotateX(180deg);
                    box-shadow: none;
                }
            }
            
            
            
            &.openbookshift, &.closebookshift {
                transform: none;
            }
        }

    }
    .nextbutton{
        color: #0a2b00;            
    }
        
}

.paperflip{
    transform: rotateY(-180deg);
    box-shadow: none;
}















































section#writings{
    color: rgb(255, 159, 56);
    background: rgb(228, 232, 255);
    font-family: "Rigid Square";
    height: fit-content;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    

    & ::-webkit-scrollbar{
        display: none;
    }

    h3{
        padding: 1.3em 1.3em 0 1.3em;
        i{
            margin-right: 3vw;
            vertical-align: middle;
        }
    }
    p.sectionsubtitle{
        padding-bottom: 1em;
        text-align: center;
        font: italic bold 1.2em "caveat";
    }
    form#writingssearch{
        display: flex;
        margin-right: 10%;
        margin-left: auto;
        align-items: center;
        border-radius: 8px;
        position: relative;
        box-shadow: 2px 2px 2px rgb(206, 154, 0);
        width: 20vw;
        background: #f7e0fd;
        padding: 0.5em;

        input{
            border: none;
            outline: none;
            color: rgb(226, 153, 43);
            background: transparent;
            width: 80%;
            /* border-radius: inherit; */
            margin-right: 1.5em;
            float: left;
            &::placeholder{
                color: rgb(255, 176, 58);
            }
            &::-webkit-search-cancel-button{
                filter: hue-rotate(150deg) saturate(200%) brightness(110%);
            }
        }
        button#search{
            width: 2em;
            height: 2em;
            /* background-image: url(/images/logos/magnifying\ search\ button.png); */
            background-size: cover;
            color: orange;
            background-repeat: no-repeat;
            /* border: 2px solid orangered; */
            background: transparent;
            border: none;
            cursor: pointer;
            border-radius: 50%;
            position: absolute;
            right: 2.5em;
            vertical-align: middle;
            /* margin-left: 1em; */
        }
        button#filter{
            width: 2em;
            height: 2em;
            /* background-image: url(/images/logos/transparent\ filter\ icon.png); */
            background-size: cover;
            color: #faeffd;
            background-repeat: no-repeat;
            background: orange;
            /* border: 3px solid orangered; */
            border: none;
            cursor: pointer;
            border-radius: 20%;
            position: absolute;
            right: 0.5em;
            /* padding: 5px; */
        }
    }
    .writingsview{
        display: flex;
        flex-direction: column;
        
        #articlegrids{
            display: grid;
            grid-auto-columns: 27.5%;
            gap: 2em;
            grid-template-rows: repeat(2, max-content);
            row-gap: 1.5em;
            grid-auto-flow: column;
            overflow-x: auto;
            justify-content: start;
            align-items: normal;
            padding: 2em;
            color: #dee4ff;
            transition: all 1s ease;
            
            .article{
                background: rgb(1, 11, 65);
                list-style-type: none;
                /* border: 0.5em solid transparent; */
                transition: all 0.4s ease-in-out;
                padding: 0.5em;
                border: 0.5em ridge rgb(188, 82, 2);
                display: flex;
                flex-direction: column;
                justify-content: space-evenly;


                img{
                    width: 100%;
                    aspect-ratio: 1.5/1;
                    background-size: contain;
                    background-repeat: no-repeat;
                    background-position: center;
                    margin: 0 auto;
                }
                h4{
                    width: 100%;
                    margin: 5% auto;
                    font-size: medium;
                }
                p{
                    width: 100%;
                    font-size: small;
                    color: rgb(223, 224, 255);
                    margin: 0 auto;
                }
                &:hover{
                    cursor: pointer;
                    box-shadow: 0px 3px 8px 1px rgba(51, 51, 51, 0.75);
                    transform: translateY(-0.75em);
                }
            }
        }
        .writingsexplorer{
            display: none;
            position: relative;
            grid-template-columns: 35% 1fr;
            margin: 5%;
            height: 85vh;
            opacity: 1;

            .backtolatest{
                position: absolute;
                bottom: 103%;
                padding: 7.5px;
                border-radius: 5px;
                transition: all 0.3s ease;
                background: rgb(110, 55, 0);
                color: rgb(255, 241, 221);
                cursor: pointer;

                &:hover{
                    background: rgb(3, 74, 196);
                    color: rgb(230, 246, 255);
                }
            }

            .writingslist{
                background-color: rgb(252, 246, 236);
                color: rgb(135, 70, 0);
                border-radius: 5px 0 0 5px;

                li{
                    list-style-type: none;
                    transition: all 0.3s ease;
                    padding: 10px;
                    border: 2.5px solid transparent;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    text-align: left;


                    &:hover{
                        background: rgba(175, 165, 255, 0.5);
                        border: 2.5px solid rgb(100, 115, 168);
                        cursor: pointer;
                    }
                    &.active{
                        background: rgb(110, 55, 0);
                        color: #ffffff;
                        cursor: pointer;
                    }
                }
            }
            .writingspreview{
                background: rgb(1, 11, 65);
                color: white;
                padding: 30px;
                overflow-wrap: break-word;
                text-overflow: clip;
                white-space-collapse: collapse;
                border-radius: 0 5px 5px 0;
            }
        }
        .carouselpager{
            color: rgb(234, 234, 234);
            padding: 2.5%;
            display: flex;
            justify-content: space-evenly;
            align-items: center;
            height: fit-content;

            i{
                font-size: x-large;
            }
            .scrollarticlesleft, .scrollarticlesright{
                background: rgb(1, 11, 92);
                width: 10em;
                height: 3em;
                /* aspect-ratio: 1/1; */
                display: flex;
                justify-content: center;
                align-items: center;
                cursor: pointer;
                transition: all 0.5s ease;

                &:hover{
                    background: rgb(1, 72, 224);
                }
            }
            .disabled{
                filter: grayscale(0.9);
                /* background: gray; */
            }
            /* .num{
                background: rgb(7, 55, 95);
                margin: 10px;
                padding: 5px;

                .blogpagenumber{
                    color: red;
                }
                .blogtotalpagesnumber{
                    color: rgb(89, 255, 0);
                }
            } */
            
        }
        @media (max-width: 450px) {
            #articlegrids{
                grid-auto-columns: 45%;
            }

        }
    }
    
}

section#gallery{
    min-height: 65vh;
    height: auto;
    background: rgb(251, 238, 223);
    color: rgb(255, 102, 0);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* the hr isnt needed but learning about how to design it is great for later reference
hr{
    height: 20px;
    color: rgb(80, 239, 0);
    background-image: linear-gradient(
    90deg,
    rgb(255, 206, 100),
    rgb(235, 255, 83) 33.33%,
    transparent 33.33%,
    transparent 100%);
    background-size: 10px 100%;
    width: 25%;
    border: none;
    margin: 20px auto;
} */
/* section#workhistory{
    display: flex;
    background: rgb(110, 193, 110);
    justify-content: space-evenly;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    padding: 1.5em;
    .workchart{
        text-align: center;
        height: 65%;
        width: 85vw;
        background: var(--lightpurple);
        border-radius: 10px;

        .chart{
            display: grid;
            border: 2px solid var(--pink);
            position: relative;
            overflow: hidden;
        }
    }
    .skillschart{
        text-align: center;
        height: 15%;
        width: 85vw;
        background: var(--pink);
        border-radius: 10px;
    }
} */







section#contact{
    height: fit-content;
    color: black;
    text-align: center;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    background: linear-gradient(to bottom, rgb(228, 232, 255), rgb(255, 243, 227));

    /* div.sectionheader{
        h3{
            height: fit-content;
            padding: 10px;

            span{
                color: rgb(255, 255, 255);
                font-size: 1.25em;
                background-color: rgb(249, 158, 0);
                padding: 5px;
                border-radius: 25px;
                padding: 13px 20px;
                display: inline-block;
            }

        }
    
    } */
    div#footnav{
        display: flex;
        /* display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: 
        "col1 col2"
        "col3 col4"; */
        position: relative;
        justify-content: space-evenly;
        align-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        color: white;
        min-height: 70vh;
        height: auto;
        padding: 2em;
        border-radius: 35px;
        border: 5px solid rgb(255, 217, 0);
        width: 100%;
        box-sizing: border-box;
        
        /* #ff80006d */
        background: rgb(0, 73, 15);
        box-shadow: 0.75em 0.75em 1px 1px rgb(222, 2, 126);

        .pcbmount{
            .pcbhole{
                position: absolute;
            }         
            #pcbhole-tl{
                top: 3%;
                left: 2%;
            }
            #pcbhole-tr{
                top: 3%;
                right: 2%;
            }
            #pcbhole-br{
                bottom: 3%;
                right: 2%;
            }
            #pcbhole-bl{
                bottom: 3%;
                left: 2%;
            }
        }
        #connectors{
            position: absolute;
            top: -23px;
            display: flex;
            justify-content: center;
            background: linear-gradient(to bottom, rgba(0, 129, 0, 0.95), rgb(0, 73, 15));
            padding: 2.5px;
            border-radius: 2px;
            
            .pin{
                margin: 3px;
                height: 28px;
                width: 5px;
                background: linear-gradient(to top, rgb(207, 176, 0), gold);
                border-radius: 3px;
            }
        }
        .col{
            height: 100%;
            word-wrap: break-word;
            max-width: 20%;
            margin: 1em;

            
            
            .colitem{
                border-radius: 10px;
                padding: 0.5em;
                position: relative;

                ul li{
                    font-size: medium;
                    text-align: left;
                    background: rgba(255, 255, 255, 0.65);
                    backdrop-filter: blur(5px);
                    margin: 5px 0px;
                    width: 100%;
                    border-radius: 3px;
                    transition: all 0.3s ease;
                    padding: 5px;
                    box-sizing: border-box;
                    padding-right: 10px;
                    color: rgb(3, 3, 3);
                    list-style-type: none;
                    border-bottom: 3px solid transparent;
                    
                    a{
                        display: inline-block;
                        color: inherit;
                        text-decoration: none;
                        width: 100%;
                    }
                    /* display: flex; */

                    &::marker{
                        color: transparent;
                        transition: 1s;
                        /* line-height: 1; */
                        font-size: larger;
                        margin: 0;
                        
                    }

                    &:hover{
                        background: rgba(111, 111, 111, 0.65);
                        cursor: pointer;
                        color: rgb(255, 255, 255);
                        border-bottom: 3px solid white;

                        &::marker{
                            color: rgb(255, 255, 255);
                        }
                        a{
                            color:rgb(255, 255, 255);
                            width: 100%;
                            height: 100%;
                        }
                    }
                }


                &::before, &::after{
                    content: '';
                    position: absolute;
                    background: rgb(181, 180, 180);
                    top: 50%;
                    transform: translateY(-50%);
                    width: 12.5px;
                    height: 70px;
                    background: repeating-linear-gradient(
                        to bottom,
                        rgb(255, 0, 234) 0px,
                        rgb(255, 247, 0) 7.5px,
                        transparent 5px,
                        transparent 15px
                    );

                }

                &::before{
                    left: -12.5px;
                }
                &::after{
                    right: -12.5px;
                }

                h3{
                    font-size: 1.3em;
                    text-underline-offset: 5px;
                    color: rgb(255, 255, 255);
                    text-decoration: underline rgb(255, 255, 255) 2px;
                    border-radius: 7px;
                    margin-bottom: 0.75em;
                    text-align: center;
                }
            }
        }
        .col1{
            /* width: 20%; */
            text-align: center;
            color: rgb(255, 255, 255);
            /* background: green; */
            /* grid-area: col1; following with the grid to respond to where its supposed to be */
            
            
            div#pagesummary{
                /* background: cadetblue; */
                font-size: small;
                word-break: normal;
                text-align: justify center;

                img{
                    display: block;
                    width: 50%;
                    aspect-ratio: 1/1;
                    margin: auto;
                    padding: 10px;
                }
                p{
                    width: 100%;
                    font-size: 1.2em;
                    margin-bottom: 3em;
                    line-height: 1.5;
                    
                    span#name{
                        color: rgb(214, 224, 255);
                        /* text-decoration: 2px wavy underline rgb(100, 182, 0); */
                        text-underline-offset: 1.5px;
                        font: Italic 1.1em "Segoe Script" ;
                    }
                    span#fprogram{
                        color: #ffad7e;
                        /* text-decoration: 1px wavy underline rgb(0, 217, 255); */
                        text-underline-offset: 2px;
                        font: normal 1rem "OCR-A BT";

                    }
                    span#fhardware{
                        color: rgb(255, 160, 236);
                        /* text-decoration: 1px wavy underline rgb(253, 193, 89); */
                        text-underline-offset: 2px;
                        font: normal 1rem "OCR-A BT";
                    }
                    span#call{
                        background: linear-gradient(to right, rgb(255, 225, 0), rgb(0, 195, 255));
                        background-clip: text;
                        color: transparent;

                        /* padding: 2px; */
                        border-radius: 5px;
                        /* text-shadow: 0px 0px 5px rgba(197, 196, 242, 0.564) ; */
                        text-decoration: 1px wavy underline rgb(110, 156, 24);
                        text-underline-offset: 5px;
                        font: bolder 1rem "Segoe Script";
                        cursor: pointer;
                    }
                }
            }
            div#media{
                background: rgb(32, 32, 32);
                border: 3px solid rgb(185, 185, 185);
                
                ul#contact{
                    margin-top: 0.7rem;
                    /* width: 100%; */
                    /* height: 100%; */
                    /* img{
                        width: 10%;
                        aspect-ratio: 1/1;
                        padding: 7px;
                        margin: 3px;
                        border: 1.5px solid transparent;
                        border-radius: 5px;
                        background: transparent;
                        transition: all 0.5s ease;

                        &:hover{
                            background: rgb(211, 197, 0);
                            border: 1.5px solid rgb(63, 190, 179);
                            transform: translateY(-0.1rem);

                        }
                    } */
                    a{
                        text-decoration: none;


                        i, iconify-icon{
                            aspect-ratio: 1/1;
                            font-size: x-large;
                            display: inline-flex;
                            padding: 10px;
                            margin: 3px;
                            border: 3px solid transparent;
                            /* justify-content: center; */
                            /* align-items: center; */
                            border-radius: 50%;
                            background: transparent;
                            transition: all 0.5s ease;
                            color: rgb(255, 254, 240);

                            &:hover{
                                background: rgba(255, 255, 255, 0.838);
                                border: 3px dashed rgb(39, 39, 39);
                                transform: translateY(-0.1rem);
                                color: rgb(33, 33, 33);
                                backdrop-filter: blur(15px);

                            }
                        }
                    }
                    
                }

            }
        }
        .col2{
            text-align: left;
            
            /* background: brown; */
            /* grid-area: col2; following with the grid to respond to where its supposed to be */
            #check{
                background: rgb(179, 0, 0);
                margin-bottom: 0.5em;
                border: 3px solid rgb(202, 202, 0);
            }
            #services{
                background: rgb(103, 62, 0);
                border: 3px solid rgb(99, 128, 255);

            }
        }
        .col3{
            text-align: left;
            transition: all 0.2s ease;
            /* background: pink; */
            /* grid-area: col3; following with the grid to respond to where its supposed to be */
            #reviews{
                background: rgb(0, 42, 166);
                border: 3px solid rgb(132, 255, 0);
                height: 100%;
            }
        }
        .col4{
            /* text-align: center; */
            background: rgb(255, 170, 0);
            border: 3px solid rgb(243, 241, 241);
            border-radius: 10px;
            align-items: center;
            max-width: 27.5%;
            /* max-width: 30%; */
            /* grid-area: col4; following with the grid to respond to where its supposed to be */
 

            form#contactform{
                width: 100%;
                text-align: left;
                text-transform: capitalize;

                label{
                    display: inline-block;
                    width: 100%;
                    color: rgb(255, 213, 0);
                    padding: 7px;
                    box-sizing: border-box;
                    background: rgb(105, 12, 147);
                    border-radius: 7px 7px 0 0;


                }
                input{
                    width: 100%;
                    outline: none;
                    border: none;
                    border-bottom: 4px solid rgb(3, 158, 0);
                    color: rgb(118, 70, 21);
                    font: normal 1rem "Rigid Square";
                    background: rgb(244, 240, 229);
                    padding: 7px;
                    box-sizing: border-box;
                    border-radius: 0 0 7px 7px;
                    margin-bottom: 3px;

                    &::placeholder{
                        color: #e38a3189;
                    }
                }
                textarea#formmessage{
                    width: 100%;
                    height: 10%;
                    outline: none;
                    border: none;
                    border-bottom: 4px solid rgb(3, 158, 0);
                    color: rgb(118, 70, 21);
                    font: normal 1rem "Rigid Square";
                    padding: 7px;
                    background: rgb(244, 240, 229);
                    box-sizing: border-box;
                    resize: none;
                    border-radius: 0 0 10px 10px;


                    &::placeholder{
                        color: #e38a3189;
                    }

                }
                button{
                    background: rgb(105, 12, 147);
                    display: block;
                    margin: auto;
                    border-radius: 10px;
                    width: 30%;
                    color: rgb(255, 213, 0);
                    padding: 10px;
                    text-align: center;
                    outline: 0;
                    border: 0;
                    width: 75%;
                    font: normal 1rem "Rigid Square";
                    border-bottom: 4px solid rgb(3, 158, 0);
                    cursor: pointer;
                    transition: all 0.4s ease;

                    &:active{
                        transform: rotateX(15deg);
                    }
                    &:hover{
                        background: rgb(77, 7, 100);
                        border-bottom: 4px solid rgb(4, 255, 0);
                    }

                }

            }
        }
        @media (max-width: 800px) and (max-width: 1500px){
            .col{
                max-width: 40%;
            }
            #connectors{
                padding: 2px;

                .pin{
                    width: 3.5px;
                    margin: 2px;
                }
            }
        }
        @media (max-width: 470px) {
            .col{
                max-width: 80%;
                margin: 2em auto;
            }
            #connectors{
                padding: 1px;

                .pin{
                    width: 3px;
                    margin: 2px;
                }
            }
        }
    }
}


section#contact div#footnav .col ul#contact a{
    /* height: 100%; */
    /* width: 100%; */
}

section#navigationSlider{
    --rail: 10%;
    
    
    display: flex;
    flex-direction: column;
    background: rgb(212, 121, 3);
    justify-content: center;
    align-items: center;
    position: fixed;
    width: clamp(30px,3vw, 45px);
    right: 2%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100%;
    font-weight: bolder;
    text-shadow: 0px 0px 10px rgb(141, 129, 251);
    box-sizing: border-box;
    gap: 1.5px;
    overflow: hidden;
    border-radius: 5px 0px 0px 5px;
    border: 0;
    outline: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 10px 16px 1px rgba(0,0,0,0.4);

    z-index: 1000;
    
    .navdotnum{
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to right, rgb(153, 66, 0) 90%, transparent 90% 100%) ;
        width: 100%;
        cursor: pointer;
        border-radius: 2.5px 0 0 2.5px;
        outline: none;
        border: none;

        .nav-icon{
        display: inherit;
        padding: 5px 0;
        font-size: clamp(0.8rem, 1.1vw, 1.1rem);
        color: rgba(255, 246, 216, 0.9);
    }

    }
    
    .navtrack{
        position: absolute;
        top: 0;
        right: 0;
        width: 15%;
        height: 100%;
        background: rgb(66, 34, 0);
        border-radius: 2px;
        overflow: hidden;
        outline: none;

        .navsliderthumb{
            background: rgb(0, 102, 255);
            width: 100%;
            border-radius: 3px;
            transition: 0s ease;
            overflow: hidden;
            transition: ease;
            will-change: transform;
            touch-action: none;
            -ms-touch-action: none;
                        
            &:active{
                background: rgb(0, 168, 223);
                cursor: grabbing;
            }
        }
    }

}
/* Update: 5:54 PM */
