/* INTRO SECTION */

section#intro {
    position: relative;
    margin: auto;

    background-image: radial-gradient(circle at 52% 94%, rgba(169, 169, 169,0.04) 0%, rgba(169, 169, 169,0.04) 50%,rgba(199, 199, 199,0.04) 50%, rgba(199, 199, 199,0.04) 100%),radial-gradient(circle at 96% 98%, rgba(61, 61, 61,0.04) 0%, rgba(61, 61, 61,0.04) 50%,rgba(201, 201, 201,0.04) 50%, rgba(201, 201, 201,0.04) 100%),radial-gradient(circle at 93% 97%, rgba(227, 227, 227,0.04) 0%, rgba(227, 227, 227,0.04) 50%,rgba(145, 145, 145,0.04) 50%, rgba(145, 145, 145,0.04) 100%),radial-gradient(circle at 79% 52%, rgba(245, 245, 245,0.04) 0%, rgba(245, 245, 245,0.04) 50%,rgba(86, 86, 86,0.04) 50%, rgba(86, 86, 86,0.04) 100%),linear-gradient(90deg, rgb(210, 9, 198),rgb(25, 38, 118));
    
    font-family: "Press Start 2P";
    border-radius: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    aspect-ratio: 1/0.65;
    overflow: hidden;
    background-size: 110% 110%;
    transition: background-size 0.5s;
    color: white;
}                       

section#intro:hover {
    background-size: 100% 100%;
}

svg#controller {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    height: 110%;
    aspect-ratio: 0.5/1;
    transform: translate(0, 40%);
}

section#intro div#introLeft {
    display: flex;
    flex-direction: column;
}

div#introLeft img {
    position: absolute;
    height: 98%;
    bottom: 0;
}

div#introLeft div#controls {
    margin-top: auto;
    background: rgba(18, 18, 18, 0.8);
    border-radius: 0 100% 0% 0;
    padding: 1rem;
    z-index: 2;
}

div#controls div#controlsFlex {
    display: flex;
    flex-direction: column;
}

div#controls div#controlsFlex div {
    display: flex;
    gap: 20%;
}

div#controls div#controlsFlex div:last-child {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

div#controls h4 {
    font-size: clamp(0.6rem, 2vw, 1.2rem);
    margin: clamp(0.4rem, 1vw, 1rem) 0;
    color: rgb(63, 243, 63);
    text-align: left;
}

div#controls p {
    font-size: clamp(0.35em, 1.2vw, 0.8em);
    display: flex;
    align-items: center;
    margin-top: clamp(0.3rem, 1vw, 1rem);
}

div#controls p svg {
    height: 3em;
    margin-right: 8px;
    fill: white;
}

div#introLeft div#introPara {
    font-size: clamp(0.8rem, 2.2vw, 1.5rem);
    position: absolute;
    left: 35%;
    top: 8%;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6em;
}

div#introPara p.whoami {
    color: #7effa6;
    text-shadow: 0 2px 0 var(--body-bg);
}

div#introPara p.designation {
    display: inline;
    background-color: var(--body-bg);
    color: white;
    padding: 0.5em;
    border-radius: 5px;
    font-size: clamp(0.5rem, 1.5vw, 1rem);
    align-self: flex-start;
    margin-top: 0;
}


/* ABOUT SECTION */

section#about {
    background-color: var(--cardBgClr);
    border-radius: 20px;
}


section#about {
    padding: 1rem;
}

section#about h1 {
    margin-top: 0;
}


/* SKILLS SECTION */

section#skills > div {
    display: grid;
    grid-template: auto / min-content auto;
    column-gap: 1rem;
    row-gap: 0.5rem;
}

section#skills > div p:last-child {
    margin-bottom: 0 !important;
}

section#skills h2 {
    position: relative;
    height: min-content;
    text-align: center;
    font-size: 1.2rem;
    color: var(--body-bg);
    padding: 3px 1rem;
    border-radius: 10px;
    overflow: hidden;
}

section#skills div.svgs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

section#skills svg {
    height: 30px;
}

section#skills p {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    div#introLeft div#controls {
        padding: 0.5rem;
    }
}

@media (max-width: 396px) {
    div#introLeft div#controls {
        padding: 7px;
    }

    div#controls div#controlsFlex div {
        display: flex;
        gap: 10%;
    }
}
