@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* :root is for using globally selcetors */
/* we create variables name and it must begin with (--) and it is case sensitive ! */
:root {
  --variable-name: value;
}
.selector {
  property: var(--variable-name);
}

/* Variables */
/* To declare some CSS rests to remove some default features such as margin and paddding for elements. */
:root {
  --font-family: "Roboto", "sans-serf";
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #ffffff;
  --primary-color: #4756df;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17169;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --trasnition: 0.3s;
}
/* End Variables */

html {
  scroll-behavior: smooth;
}

/* Css Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  color: var(--font-family);
}

body {
  font-family: var(--font-family);
}

/* logo  */
#aayush {
  width: 100px;
  height: 40px;
  padding: 1px;
}

/* To style the navbar and align the content in it, I will be using Css Flexbox */

.navigation {
  display: flex;
  align-items: center;
  align-content: center;
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3.5rem;
  background-color: var(--bg-color);
}

nav h1 {
  color: var(--primary-color);
}

nav a {
  color: var(--primary-color);
  transition: var(--trasnition);
}

nav a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

nav ul {
  display: flex;
  gap: 1.9rem;
}

nav ul li {
  font-weight: var(--bold-font);
}

/* The HAMBURGER menu bar also needs to be hidden. It has class of .burger-menu, so
 we can set a display of none with it and also make the button look better. */

.burger-menu {
  color: var(--primary-color);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: none;
}

/* Hero Section Style  */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: auto;
}

.hero-img {
  height: 27rem;
  width: 27rem;
}

.bio {
  padding: 0.625rem;
  padding-top: 7%;
  padding-bottom: 5%;
  border-radius: 6px;
  text-align: center;
}

.bio h2 {
  font-size: 35px;
  padding-bottom: 1%;
  margin-bottom: var(--bottom-margin);
}

.bio p {
  font-size: 20px;
  line-height: var(--line-height);
  padding: 0.3rem 0;
  color: rgb(86, 83, 83);
}

/* More About */
.more-about {
  background-color: var(--bg-color);
  padding: 1rem 6rem;
}

.more-about h2 {
  margin-bottom: var(--bottom-margin);
  text-align: center;
}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem;
}

/* Skills Section  */
.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: -18rem;
  background-color: #fff;
  box-shadow: 10px 1px 63px -13px rgba(30, 30, 60, 0.43);
  border-radius: 15px;
}

.wave {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
.skill-header {
  padding: 6%;
  font-size: 250%;
  margin-top: -7rem;
  margin-bottom: -1rem;
  color: #4756df;
}

.skills-wrapper img {
  padding: 1.2rem;
}
.icon {
  width: 11.875 rem;
  height: 11.25rem;
}

.wave-1 {
  height: 100%;
  margin-top: -95px;
}

/* icon-card class attribute is used to put the icons in a card.  */

.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  padding: 20px;
  margin: 10px;
}

/* Project Section  */
/* The class name is for styling & Id is for link on the navbr */

.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.project-pic {
  width: 65%;
  height: 60%;
  padding-top: 1rem;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 250%;
  color: #4756df;
}

.project-container {
  text-align: center;
  width: 21.875rem;
  padding: 1rem;
}

.project-container p {
  padding: 0.4rem;
}

.project-title {
  padding: 17px 2px;
  margin-bottom: var(--bottom-margin);
  color:#4756df;
}

.projects h5 {
  font-size: 22px;
  text-align: center;
  padding-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 10;
  color: #797c96;
}
.project-details {
  margin-bottom: var(--bottom-margin);
  text-align: center;
  height: 8rem;
}

.project-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 20px;
  margin: 10px;
}

/* Contact section */
.contact {
  margin-top: 2rem;
}

.contact p {
  text-align: center;
  font-size: 20px;
  line-height: var(--line-height);
  padding: 0.3rem 0;
  color: rgb(86, 83, 83);
  margin-bottom: 40px;
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--bottom-margin-2);
  color: #4756df;
}

.contact-form-container {
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.938rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
}

.contact-form-container {
  line-height: 2.7rem;
  font-weight: var(--bold-font);
  color: var(--primary-color);
}

.contact-form-container textarea {
  min-height: 6.5rem;
  font-size: 14px;
}

.contact-form-container .input-field {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  border: 2px outset var(--primary-color);
  font-size: 0.875rem;
  outline: none;
}

.input-field::placeholder {
  padding: 0.5rem;
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: var(--bold-font);
  transition: var(--trasnition);
}

.submit-btn:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

/* Social Accounts */
.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 1%;
  bottom: 50%;
}

.socison {
  width: 2rem;
  height: 2rem;
}

/* footer  */

footer {
  background-color: var(--bg-color);
  padding: 2rem 2rem;
  text-align: center;
  color: rgb(86, 83, 83);
}

/* scroll-up */

.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

.more-about-1 {
  height: 800px;
  background-color: #4756df;
  color: #fff;
  background-size: cover;
  margin-top: -78px;
}

.shiny-column h2 {
  font-size: 250%;
  text-align: center;
  padding: 10rem 1.5rem;
  padding-bottom: 2.5rem;
}

.shiny-column p {
  font-size: 22px;
  text-align: center;
  padding-bottom: 14rem;
  line-height: 1.8;
}
