/* Custom Default Font */
@import url('https://fonts.googleapis.com/css2?family=Prompt&display=swap');
/* Name Plate */
@import url('https://fonts.googleapis.com/css2?family=Fredoka+One&display=swap');
/* Web Dev Text */
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');
/* About Me Heading */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Outline&display=swap');
/* Certificates Heading */
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans+Inline+One&display=swap');
/* HX Title */
@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu&display=swap');
/* fcc Title */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&display=swap');
/* "Click Me" Text */
@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&display=swap');
/* Projects Heading */
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

/*
Color samples:
Dark Purple ( #2f0068 )
Dark Purple/Blue ( #0a0c2e )
Light blue ( #003258 )
Greenish Blue ( #44ffb5 )
Subdued Greenish Blue ( #00ffed )
Blueish Green ( #00d4b5 )
Orange ( #ff8800 )
Yellow ( #e7dc00 )
Lighter Yellow ( #f9f047 )
Red ( #940000 )
White ( #d8e4ec )
Greyish White ( #cccde0 )
Greyish Blue ( #131328 )
*/


* {
    color: #d8e4ec;
    font-family: 'Prompt', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: #0a0c2e;
    scroll-behavior: smooth;
}

#header_content {
    background-color: #131328;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.300);
}

#name-container {
    width: 11em;
    height: 3em;
}

#name {
    font-family: 'Fredoka One', cursive;
    font-size: 1.75em;
    height: 100%;
    width: 100%;
    padding: 5px 10px 5px 10px;
    background-image: url("./Images/name-bg.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #131328;
}

#pg_nav {
    width: 21rem;
}

#pg_nav_bkgrnd {
    width: 20rem;
    border-radius: 0 0 4rem 0;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.300);
    background-color: #131328;

}

#contact_label {
    font-weight: 600;
}

#email {
    border: none;
    background: none;
}

#cpy_border {
    border: solid 1px;
    border-color: #d8e4ec;
    height: 1em;
}

#alert {
    font-size: 16px;
    width: fit-content;
}

#menu_icn {
    height: 2em;
    width: auto;
}

#creds_section {
    margin-top: 10rem;
    margin-bottom: 100vh;
}

#intro {
    font-family: 'Tektur', sans-serif;
    font-weight: bold;
    font-size: 5em;
    line-height: 5rem;
    color: rgb(249, 240, 71);
    margin-bottom: 2rem;
}

.lang {
    width: 2em;
    margin-bottom: .5rem;
}

#htmlang:hover, 
#css:hover, 
#bootstrap:hover, 
#tailwind:hover, 
#javascript:hover, 
#jquery:hover,
#react:hover, 
#python:hover, 
#gml:hover, 
#django:hover, 
#flask:hover, 
#sql:hover, 
#c_lang:hover {
    position: relative
}

#htmlang:hover::before, 
#css:hover::before, 
#bootstrap:hover::before, 
#tailwind:hover::before, 
#javascript:hover::before, 
#jquery:hover::before, 
#react:hover::before,
#python:hover::before,
#gml:hover::before,
#django:hover::before, 
#flask:hover::before, 
#sql:hover::before, 
#c_lang:hover::before {
    width: min-content;
    position: absolute;
    content: attr(data-tooltip);
    font-size: small;
    font-weight: bold;
    text-align: center;
    bottom: -.05rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    transition: 400ms transform;
    transform-origin: top center;
}

#resume {
    margin-top: 1.5rem;
    background-color: #940000;
    width: 7em;
    height: 2em;
    border-radius: 10px;
    transition: transform 100ms linear;
}

#resume:hover {
    transform: scale(1.05);
}

#about_nav {
    margin-bottom: 45rem;
    transform: translateY(-25rem);
}

#about_container {
    width: auto;
    margin-bottom: 27vh;
}

#me_container {
    height:auto;
    width: auto;
}

/* adjust this to adjust about me section position */
#me_text_circle {
    width: 50vh;
    height: 50vh;
    border-radius: 50%;
    background-color: #00ffee51;
    box-shadow: 3px 7px 20px 1px rgba(0, 0, 0, 0.5);
    margin-bottom: 65vh;

}

#about_me {
    font-family: 'Londrina Outline', cursive;
    font-size: 10em;
    font-weight: bolder;
    line-height: 10rem;
    transform: translateX(-10rem) translateY(-7rem);
}

#me_text {
    width: 70vw;
    height: 100%;
    line-height: 2rem;
    font-size: 1.5rem;
    transform: translateX(5rem) translateY(15rem);
}

/* Certifications section styles */

#certs_container{
    width: 100%;
}

#certs_heading {
    font-family: 'Alumni Sans Inline One', cursive;
    font-size: 70px;
    font-weight: 500;
    transform: translateY(-8rem);
}

#certs {
    width: 100%;
}

/* HarvardX cert styles */

#hx_container {
    max-width: max-content;
    border-radius: 100px 100px 100px 25px;
    background-color: #003258;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#hx_container:hover {
    transform: translateX(-10px);
}

#hx_title {
    font-family: 'Noto Nastaliq Urdu', serif;
    color: #003258;
    font-size: 25px;
    font-weight: bolder;
    background-color: #d8e4ec;
    border: solid 3px;
    border-radius: 40px;
    width: max-content;
}

#hx_desc {
    font-size: 20px;
    font-weight: 300;
    text-decoration: underline;
}

#hx_text {
    min-width: 20rem;
    max-width: 30rem;
    width: fit-content;
    height: 100%;
    font-size: 15px;
}

#CS50x {
    border-radius: 50px;
    transition: transform 100ms linear;
}

#CS50x:hover {
    transform: scale(1.015);
}

#click_me_container {
    opacity: 30%;
    transform: translateX(27rem) translateY(17rem);
}

#click_me {
    color: #f9f047;
    font-family: 'Gochi Hand', cursive;
    animation: click_me 3.7s ease infinite;
}

@keyframes click_me {
    20% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
  }

#click_me_arrow {
    width: 28px;
    transform: translateX(3.75rem) translateY(-.75rem);
}

/* Freecodecamp cert styles */

#fcc {
    min-width: min-content;
}

#fcc_container {
    max-width: max-content;
    min-width: 23rem;
    border-radius: 100px 25px 100px 100px;
    background-color: #003258;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#fcc_container:hover {
    transform: translateX(10px);
}

#fcc_title {
    font-family: 'IBM Plex Mono', monospace;
    color: #003258;
    font-size: 25px;
    font-weight: bolder;
    background-color: #d8e4ec;
    border-radius: 40px;
    width: max-content;
}

#fcc_desc {
    font-size: 20px;
    font-weight: 300;
    text-decoration: underline;
}

#fcc_text {
    min-width: 20rem;
    max-width: 30rem;
    width: fit-content;
    height: 100%;
    font-size: 15px;
}

#rwd, #jad {
    border-radius: 50px;
    transition: transform 100ms linear;
}

#rwd:hover, #jad:hover {
    transform: scale(1.015);
}

/* Projects section styles */

#projects_nav {
    transform: translateY(-7.5rem);
}

#projects_heading {
    font-family: 'Indie Flower', cursive;
    font-size: 70px;
    font-weight: 900;
    transform: translateY(-4rem);
}

#project_section {
    margin-bottom: 4rem;
}

/* Space tour project styles */

#space_tour_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/Space-tourism-screenshot.png");
    background-size: fill;
    background-color: #0e1c51;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#space_tour_title {
    width: 75%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-16.75%);
}

#space_tour_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
}

/* URL scraper styles*/

#scrape_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/URL\ Scraper.png");
    background-size: fill;
    background-color: #7dd6d3;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#scrape_title {
    width: 50%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-50%);
}

#scrape_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
}

/* Intro with dropdown project styles*/

#isdn_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/intro-section-with-dropdown-nav-screenshot.png");
    background-size: fill;
    background-color: #dde034;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#isdn_title {
    width: 50%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-50%);
}

#isdn_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
}

/* 10,000hr calc project styles */

#ten_k_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/10k-calc-screenshot.png");
    background-color: #3d3d3d;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#ten_k_title {
    width: 65%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-27%);
}

#ten_k_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(56, 56, 56, 0.6);
    backdrop-filter: blur(5px);
}

/* Order summary card project styles */

#order_card_title {
    width: 54%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-42.7%);
}

#order_card_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/order-card-screenshot.png");
    background-color: #186f91;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#order_card_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

/* Huddle site project styles */

#huddle_container {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    background-image: url("./Images/huddle-screenshot.png");
    background-color: #350076;
    background-size: 100%;
    background-repeat: no-repeat;
    box-shadow: 0px 7px 10px 1px rgba(0, 0, 0, 0.5);
    transition: transform 250ms linear;
}

#huddle_title {
    width: 54%;
    height: max-content;
    border-radius: 0 30px 0 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    transform: translateX(-42.7%);
}

#huddle_info {
    width: 100%;
    height: max-content;
    border-radius: 0px 0px 50px 50px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

/* Card container hover effects */

#space_tour_container:hover,
#scrape_container:hover,
#isdn_container:hover, 
#ten_k_container:hover, 
#huddle_container:hover,
#order_card_container:hover {
    transform: translateY(-10px);
}

/* Card info text */

.infotxt {
    width: 240px;
    margin-right: 10px;
}

/* Code and demo button styles */

#space_tour_challenge,
#space_tour_code,
#scrape_code,
#scrape_demo,
#isdn_code,
#isdn_demo,
#ten_k_code, 
#ten_k_demo, 
#huddle_code, 
#huddle_demo, 
#order_card_code, 
#order_card_demo {
    background-color: #940000;
    width: fit-content;
    height: fit-content;
    padding: .25em 1em .25em 1em;
    border-radius: 10px;
    transition: transform 100ms linear;
}

#scrape_code,
#scrape_demo {
    width: 5em;
    padding: .25em .5em .25em .5em;
}

#space_tour_challenge:hover,
#space_tour_code:hover,
#scrape_code:hover,
#scrape_demo:hover,
#isdn_code:hover,
#isdn_demo:hover,
#ten_k_code:hover, 
#ten_k_demo:hover, 
#huddle_code:hover, 
#huddle_demo:hover,
#order_card_code:hover, 
#order_card_demo:hover {
    transform: scale(1.05);
}

/* Project languages styles */

#space_tour_lang, #isdn_lang, #ten_lang, #scrape_lang {
    border: 2px solid #00ffed;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    top: 0;
    left: 0;
}

.react,
.tailwind,
.jquery,
.bootstrap,
.axios {
    height: 30px;
    width: 30px;
}

.cheerio {
    font-size: x-small;
    font-weight: 700;
    margin: 0 auto;
}

/* temp in progress status */

#in_progress {
    width: fit-content;
    height: fit-content;
    border: 2px solid #DDDE00;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    top: 0;
    right: 0;

}

#construct {
    height: 30px;
    width: 30px;
}

/* Resizing styles */

@media (max-width: 1023px) {

    #click_me_container {
        transform: translateX(-1rem) translateY(32rem);
    }
}

@media screen and (max-width: 768px){
    ::-webkit-scrollbar {
        -webkit-appearance: none;
    }
  }

@media (max-width: 768px) {

    #contact_label_container {
        width: 25%;
        border-bottom: solid 1px #d8e4ec;
    }

    #me_text_circle {
        transform: translateX(4rem) translateY(-18rem);
    }
}

@media (max-width: 753px) {

    #me_text_circle {
        width: 16.5rem;
        height: 16.5rem;
        border-radius: 50%;
        background-color: #00ffee51;
        box-shadow: 3px 7px 20px 1px rgba(0, 0, 0, 0.5);
        transform: translateX(5rem) translateY(-18rem);
    
    }
    
    #about_me {
        font-family: 'Londrina Outline', cursive;
        width: 10rem;
        font-size: 4rem;
        font-weight: bolder;
        line-height: 3.3rem;
        transform: translateX(-6rem) translateY(-5rem);
    }

    #me_text {
        width: 70vw;
        line-height: 1.25rem;
        font-size: 1rem;
        transform: translateX(3rem) translateY(7rem);
    }
    
}

@media (max-width: 690px) {

    #certs_title {
        font-family: 'Alumni Sans Inline One', cursive;
        font-size: 60px;
        font-weight: bold;
        transform: translateX(0rem) translateY(-8rem);
    }

    #me_text_circle {
        transform: translateX(4.5rem) translateY(-18rem);
    
    }
}

@media (max-width: 640px) {

    #intro {
        font-size: 3em;
    }

    #htmlang, 
    #css, 
    #bootstrap,
    #tailwind, 
    #javascript, 
    #jquery,
    #react, 
    #python, 
    #gml, 
    #django,
    #flask, 
    #sql, 
    #c_lang {
        margin: .75rem;
    }

    .lang {
        margin-bottom: .15rem;
    }
}

@media (max-width: 600px) {

    #click_me_container {
        transform: translateX(-1rem) translateY(32.5rem);
    }

    #alert {
        font-size: 14px;
    }
}

@media (max-width: 550px) {

    #me_text {
        display: flex;
        width: 100%;
        line-height: 1.5rem;
        font-size: .75rem;
        text-align: center;
        transform: translateX(0rem) translateY(8rem);
    }

}

@media (max-width: 530px) {

    #click_me_container {
        transform: translateX(-1rem) translateY(34rem);
    }
}