html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
    background-color: rgb(43, 43, 43)
}

input, textarea {
    caret-color: rgba(255, 50, 187, 0.8);
    padding: 10px 15px;
}

/* //////////// */
/* SECTION MANAGEMENT */
/* //////////// */

#main {
    min-height: 100vh;
}

#projects {
    min-height: 100vh;
    padding-top: 8.5%;
}

#contact {
    min-height: 100vh;
    scroll-margin-top: 100px;
}

/* //////////// */
/* NAVBAR */
/* //////////// */

/* navbar icons */
#navbar-icons {
    color: white;
    cursor: default
}

#navbar-icons:hover {
    color: rgba(255, 50, 187, 0.8);
}

/* navbar container for both icons and links */
#navbar-item-container {
    justify-content: space-between;
    display: flex;
    width: 100%;
    border-radius: 10px;
    align-items: center;
    padding: 20px 20px;
    border-bottom: 1px solid black;
}

/* container for navbar links */
#navbar-item-list {
    display: flex;
    gap: 10px;
}

/* list items in the navbar link container */
.navbar-items {
    list-style-type: none;
} 

/* links within the navbar list items */
.navbar-links {
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease, transform 0.2s ease;
    padding: 8px 12px ;
    border-radius: 10px;
    display: inline-block;
}

.navbar-links:hover {
    color: rgba(255, 50, 187, 0.8);
    background-color: #3a3a3a;
    transform: scale(1.2);
}

/* navbar icons (on the left) */
.navbar-icon-links {
    text-decoration: none;
    color: white;
    transition: background-color 0.2s ease;
    padding: 8px 8px 0px 12px ;
    border-radius: 10px;
}

#navbar-icons-container {
    display: flex;
    flex-direction: row;
}

.navbar-github-icon:hover {
    fill: rgba(255, 50, 187, 0.8);
}

/* github icon */
.navbar-github-icon {
    fill: white;
    width: 28px;
    height: 28px;
}

#navbar-insta-icon:hover {
    fill: rgba(255, 50, 187, 0.8);
}

/* github icon */
#navbar-insta-icon {
    fill: white;
    width: 28px;
    height: 28px;
}

/* //////////// */
/* MAIN PAGE */
/* //////////// */

/* name on the welcome message */
#welcome-container {
    padding: 8% 7%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#welcome-message {
    color: white;
    font-size: 55px;
}

/* small sub-heading of what I do */
#about-message {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
    font-size: 2rem;
}

/* ABOUT ME SECTION */

/* smart hiker link in paragraph */
#main-page-crest-link {
    text-decoration: none;
}

#main-page-Astar-algorithm-link {
    text-decoration: none;
}

/* container */
#about-me-container {
    padding-left: 7%;
    font-size: 1.3rem;
}

/* heading */
#about-me-subheading {
    color: #ffffff5f;
}

/* para container */
#about-me-para-container{
    padding-top: 1.5%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    max-width: 80rem;
    gap: 0px;
}

/* paragraph */
.about-me-paragraph {
    color: white;
}

/* coloured para words */
.about-me-words {
    color: rgba(255, 50, 187, 0.8);
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
}

/* //////////// */
/* TECH STACK */
/* //////////// */

#tech-stack {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#tech-stack-header {
    font-size: 1.3rem;
    color: #ffffff5f;
    padding-top: 4%;
}

#tech-stack-icon-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 45px;
    justify-content: center;
    padding-left: 5%;
    padding-top: 2%;
}

#tech-stack-icon-container i {
    color: white;
    font-size: 78px;
    transition: color 0.2s ease, transform 0.2s ease;
}

/* Python */
#tech-stack-icon-container i:hover {
    transform: scale(1.2);
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
}


/* //////////// */
/* PROJECTS SECTION */
/* //////////// */

.project-card {
    margin: 15px auto 0px auto;
    padding: 30px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #3a3a3a;
    border-radius: 15px;
    max-width: 95%;
    height: 500px;
    flex-direction: column;
    border: 1px solid rgba(255, 50, 187, 0.8);
    box-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
    position: relative;
}

.project-card-heading {
    color: white;
}

.project-card-ss {
    margin-top: 20px;
    width: 600px;
    border-radius: 14px;
}

.project-card-ss-and-text-container {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.project-card-text-and-tags-container {
    display: flex;
    flex-direction: column;
}

.project-card-text-and-tags-container p {
    line-height: 30px;
}

.project-card-text {
    color: white;
    font-size: 1.3rem;
}

.project-card-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.project-card-github-container {
    position: absolute;
    bottom: 15px;
    right: 15px;
}

.project-tag {
    border: 1px solid rgba(255, 50, 187, 0.8);
    color: rgba(255, 50, 187, 0.8);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-container-words {
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
}

#project-heading-container {
    padding: 0 0 20px 0;
    display: flex;
    justify-content: center;
}

#project-heading {
    color: white;
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
}

/* //////////// */
/* CONTACT SECTION */
/* //////////// */

#contact-form-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15%;
}

#contact-form-header {
    color: white;
    text-shadow: 0 0 8px rgba(255, 50, 187, 0.8);
    margin-bottom: 3%;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

#contact-form input, #contact-form textarea {
    border: 1px solid rgba(255, 50, 187, 0.4);
    outline: none;
    border: 5px;
}

#contact-form input:hover, #contact-form textarea:hover {
    border: 1px solid rgba(255, 50, 187, 0.4);
    outline: none;
    border: 5px;
}

.contact-entries {
    height: 40px;
    font-size: 1.2rem;
    border-radius: 5px;
    background-color: #3a3a3a;
    color: white;
}

.contact-entries:hover {
    border: 1px solid rgba(255, 50, 187, 0.4);
    box-shadow: 0 0 8px rgba(255, 50, 187, 0.4);
    border-radius: 5px;
}

.contact-entries:focus {
    border: 1px solid rgba(255, 50, 187, 0.8);
    box-shadow: 0 0 4px rgba(255, 50, 187, 0.8), 0 0 20px rgba(255, 50, 187, 0.8);
    border-radius: 5px;
}

.contact-textarea {
    height: 80px;
    font-size: 1.2rem;
    border-radius: 5px;
    background-color: #3a3a3a;
    color: white;
    resize: none;
}

.contact-textarea:hover {
    border: 1px solid rgba(255, 50, 187, 0.4);
    box-shadow: 0 0 8px rgba(255, 50, 187, 0.4);
    border-radius: 5px;
}

.contact-textarea:focus {
    border: 1px solid rgba(255, 50, 187, 0.8);
    box-shadow: 0 0 4px rgba(255, 50, 187, 0.8), 0 0 20px rgba(255, 50, 187, 0.8);
    border-radius: 5px;
}

.contact-button {
    border: none;
    outline: none;
    background-color: rgba(255, 50, 187, 0.8);
    color: #FFFFFF;
    height: 50px;
    font-size: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.4s ease;
}

.contact-button:hover {
    box-shadow: 0 0 4px rgba(255, 50, 187, 0.8), 0 0 5px rgba(255, 50, 187, 0.8);
    transform: translateY(-3px);
}

.contact-button:active {
    transform: translateY(3px);
    box-shadow: none;
}