* {
    padding: 0;
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    background-color: black;
    color: white;
    font-family: 'Nunito';
}

.bgdiv {
    height: 100vh;
    width: 100vw;
    position: fixed;
    background-image: radial-gradient(rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

::selection {
    background-color: white;
    color: black;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.5); 
  border-radius: 4px;
}

.loadingdiv {
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 20;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    font-size: clamp(1.2rem, 4vw, 2rem);
    position: fixed;
}

.parent-div {
    box-sizing: border-box;
    margin: 0px 100px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(20, 70px);
    justify-content: center;
    gap: 10px;
}

.subdiv {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px; 
    transition: border-color 0.4s;
    box-sizing: border-box;
    padding: 10px 20px;
    overflow: hidden;
    background-color: black;
    position: relative;
}

.subdiv:hover {
    border-color: rgba(255,255,255,0.4);
}

.subdiv::before {
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.07), transparent 40%);
    content: "";
    left: 0px;
    position: absolute;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    top: 0px;
    pointer-events: none;
    z-index: 2;
}

.subdiv:hover::before {
    opacity: 1;
}

.subdiv > a {
    text-decoration: none;
    color: white;
}

.name-div {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 4;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    flex-direction: column;
    gap: 10px;
    font-family: 'Jersey 10';
    font-weight: 400;
    cursor: default;
}

.name-div > p {
    font-size: 1rem;
    font-weight: 100;
    font-family: 'Nunito';
}

.work-div {
    grid-column-start: 4;
    grid-column-end: 10;
    grid-row-start: 2;
    grid-row-end: 10;
    box-sizing: border-box;
    cursor: default;
    height: 100%;
}

.heading {
    font-size: 6rem;
    font-family: 'Jersey 10';
    font-weight: 400;
}

.workscollection {
    height: 100%;
    overflow-y: scroll;
}

.work {
    background-color: rgba(255,255,255, 0.05);
    border-radius: 15px;
    height: 150px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 10px 10px;
    position: relative;
    margin: 10px 0px;
    gap: 10px;
}

.work-heading {
    font-size: 2rem;
    font-weight: 600;
}

.work-desc {
    font-weight: 100;
}

.iconlol {
    position: absolute;
    right: 10px;
    font-size: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: border-color 0.2s;
    border-radius: 50%;
}

.work > a {
    text-decoration: none;
    color: rgba(255,255,255,0.2);
    transition: color 0.2s;
}

.work > a:hover {
    color: rgba(255,255,255,1);
}

.work > a:hover .iconlol {
    border-color: rgba(255,255,255,0.5);
}

.about-div {
    grid-row-start: 4;
    grid-row-end: 7;
    grid-column-start: 1;
    grid-column-end: 4;
    cursor: default;
}

.aboutheading {
    font-size: 4rem;
    font-weight: 400;
    font-family: 'Jersey 10';
}

.about-desc {
    font-weight: 100;
}

.expertise-div {
    grid-row-start: 7;
    grid-row-end: 10;
    grid-column-start: 1;
    grid-column-end: 4;
}

.exp-heading {
    font-size: 4rem;
    font-weight: 400;
    font-family: 'Jersey 10';
}

.expertise-stuff {
    display: grid;
    width: 100%;
    justify-content: center;
    align-items: center;
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: repeat(5, 1fr);
    box-sizing: border-box;
    margin: 20px 0px;
    gap: 20px;
    user-select: none;
}

.littleimage {
    height: 40px;
    width: 40px;
    justify-self: center;
    align-self: center;
}

.publications-div {
    grid-row-start: 10;
    grid-row-end: 15;
    grid-column-start: 1;
    grid-column-end: 6;
    display: flex;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    cursor: default;
}

.publ-heading {
    font-size: 4.5rem;
    font-weight: 400;
    font-family: 'Jersey 10';
}

.linkedin {
    grid-row-start: 10;
    grid-row-end: 12;
    grid-column-start: 6;
    grid-column-end: 8;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.linkyhead {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: left;
    font-family: 'Jersey 10';
}

.usrnme {
    margin: 10px 0px;
    font-size: 1.2rem;
}

.github {
    grid-row-start: 10;
    grid-row-end: 12;
    grid-column-start: 8;
    grid-column-end: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;   
}

.resume {
    grid-row-start: 12;
    grid-row-end: 14;
    grid-column-start: 8;
    grid-column-end: 10;
    display: flex;
    flex-direction: column;
    gap: 10px;  
}

.gmail {
    grid-row-start: 12;
    grid-row-end: 14;
    grid-column-start: 6;
    grid-column-end: 8;
    display: flex;
    flex-direction: column;
    gap: 10px;  
}

.someicon {
    font-size: 2.5rem;
}

.msgdiv {
    grid-row-start: 14;
    grid-column-start: 6;
    grid-column-end: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}
.copywrite {
    grid-row-start: 15;
    grid-row-end: 20;
    grid-column-start: 1;
    grid-column-end: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Jersey 10';
    font-size: 2rem;
    position: relative;
}

.star {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, white, transparent);
    bottom: 0;
    animation: rise linear forwards;
}

@keyframes rise {
  0% {
    transform: translateY(100%);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}