@import url('https://fonts.googleapis.com/css2?family=Balsamiq+Sans:wght@400;700&family=Montserrat:wght@100;400;700;900&family=Pacifico&family=Sacramento&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    padding: 0%;
    margin: 0%;
    outline: 0ch;
    font-family: "Montserrat";

}

/* SCROLL BAR */
::-webkit-scrollbar {
    width: 14px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #df7fe1;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #635ad9;
}

h1,
h2,
h3 {
    font-family: Balsamiq Sans;
}

/* <!-- ----------------------Navbar------------------------- --> */

#home {
    background: url(./images/purple-fluid-background-frame/rm222-mind-22.jpg) no-repeat;
    height: 100vh;
    background-position: top;
    background-size: cover;
}

nav {
    position: sticky;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background-color: rgba(51, 51, 51, 0.404);
}

nav>h1 {
    flex: 1;
    padding-left: 5%;
    font-size: x-large;
}

nav h1 span {
    color: #301934;
    font-weight: bolder;
    letter-spacing: 2px;

}

nav>.list {
    flex: 2;
    display: flex;
    align-items: center;
    gap: 2em;
    list-style: none;
    padding-left: 35%;
}

.list-item>a {
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    transition: all 300ms ease-in-out;
}

.list-item>a:hover {
    color: #301934;
    cursor: pointer;
}

/* <!-- ----------------------HOME------------------------- --> */

.home {
    text-align: center;
}

.home>h1 {
    margin: 6% 0 3% 0;
    color: #301934;
    font-family: Pacifico;
    font-weight: 100;
    font-size: 5rem;
    letter-spacing: 2px;
}

.home>p {
    font-size: larger;
    font-weight: 600;
    font-family: Balsamiq Sans;
}

.projects-btn {
    margin-top: 3%;
    background-color: transparent;
    border: 2px solid #301934;
    border-radius: 25px;
    padding: 10px 30px;
    transition: all 300ms ease-in-out;
}

.projects-btn:hover {
    padding: 15px 40px;
    cursor: pointer;
    border-radius: 30px;
    border: 3px solid #301934;
}

.projects-btn>a {
    text-decoration: none;
    font-family: Montserrat;
    color: #301934;
    font-weight: 700;
    font-size: x-large;
}

/* <!-- ----------------------ABOUTME------------------------- --> */

#aboutMe {
    background-color: #835bc1;
    padding: 10% 15%;
}

.myimg {
    display: block;
    margin: 0 auto;
    width: 17%;

}

.aboutMe {
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 0 10%;
    text-align: center;
}

.aboutMe>h2 {
    color: #fff;
    font-size: 2rem;
}

.aboutMe>p {
    font-family: Balsamiq Sans;
    font-size: large;
    line-height: 1.6;
}


/* <!-- ----------------------PROJECTS------------------------- --> */
#projects {
    margin: 5%;
}

#projects>h1 {
    text-align: center;
    font-size: 3rem;
    color: #fff;
    background-color: #835bc1;
    border-radius: 5px;
    padding: 1.2rem 0;
}

.my-projects {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.project {
    margin-top: 5%;
    padding: 5% 0;
    width: 40%;
    background: linear-gradient(90deg, #b8b6d3, #e3bdea);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: 5px;
    box-shadow: 5px 5px 8px 1px rgba(51, 51, 51, 0.4);
    transition: all 300ms ease-in-out;
}

.project:hover {
    box-shadow: 10px 10px 80px 8px rgba(255, 255, 255, 0.39) inset;
}

.project>img {
    width: 90%;
}

.project>h2 {
    margin: 0%;
    padding: 1rem;
}

.project>p {
    margin: 0%;
    padding: 0 0 1rem 0;
}

.project>div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
    padding-top: 4%;
}

.github-btn {
    width: 50px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-family: Balsamiq Sans;
    background-color: #333;
    border-radius: 20px;
    padding: 7px 12px;
}

.live-link-btn {
    width: 50px;
    text-align: center;
    text-decoration: none;
    background-color: #fff;
    color: #333;
    font-family: Balsamiq Sans;
    border-radius: 20px;
    padding: 7px 12px;
}


.github-btn:hover {
    box-shadow: 1px 1px 10px #333;
}

.live-link-btn:hover {
    box-shadow: 1px 1px 10px #333;
}

/* <!-- ----------------------SKILLS------------------------- --> */

#skills {
    border-radius: 5px;
    box-shadow: 5px 5px 8px 1px rgba(51, 51, 51, 0.4);
    margin: 5%;
    background: linear-gradient(90deg, #b8b6d3, #e3bdea);
    color: #fff;
    padding-bottom: 5%;
}

#skills>h1 {
    text-align: center;
    font-size: 3rem;
    color: #fff;
    background-color: #835bc1;
    border-radius: 5px;
    padding: 1.2rem 0;
}

#skills>div {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#skills div img {
    width: 20%;
}

#skills>h2 {
    padding-top: 2em;
    text-align: center;
    color: #333;
}

/* <!-- ----------------------CONTACT------------------------- --> */

#contact {
    background-color: #835bc1;
    color: #fff;
    padding: 5%;
}

#contact>h1 {
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background-color: #835bc1;
    padding: 1.2rem 0;
}

.message {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 10rem;
}

.message>form {
    display: flex;
    flex-direction: column;
    width: 50%;
    gap: 10px;
}

.message form input,
textarea {
    margin-bottom: 3%;
    font-family: Montserrat;
    /* background: linear-gradient(90deg, #b8b6d3, #e3bdea); */
    background-color: #fff;
    box-shadow: 5px 5px 8px 1px rgba(51, 51, 51, 0.527);
    border: none;
    border-radius: 8px;
    padding: 15px;
}

form label {
    color: #fff;
    font-weight: 600;
}

.message .submit {
    width: 20%;
    padding: 15px;
    margin-top: 4%;
    color: #626e66;
}

.myDetails {
    flex: 1;
    margin: 0%;
}

.myDetails>h3 {
    margin: 0%;
    color: #333;
}

.myDetails>p {
    font-weight: 700;
}

/* <!-- ----------------------FOOTER------------------------- --> */
#footer {
    padding: 5%;
    background: linear-gradient(90deg, #b8b6d3, #e3bdea);
}

.bottom-container {
    text-align: center;
}

.footer-link {
    padding: 3%;
    color: #835bc1;
}

.bottom-container>p {
    font-weight: 700;
    margin-top: 3%;
    color: #333;
}