@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css');
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz@9..144&family=Roboto:wght@400&display=swap');
/* ----------------------------------------------------------- */
                      /* BASIC CSS */
/* ----------------------------------------------------------- */
* {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
  transition: all 0.2s linear;
  color: black;
  line-height: 1.6em;
}

/* ----------------------------------------------------------- */
                    /* The Main container  */
/* ----------------------------------------------------------- */

.main-container {
  height: 100vh;
  width: 100%;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background-color: #eae4d7;
  margin: 0px;
}

/* ----------------------------------------------------------- */
                    /* Styling the header : Navigation Bar */
/* ----------------------------------------------------------- */

header {
  margin: 0px;
}

a {
  text-decoration: none;
  color: #195cc8;
  font-weight: bold;
}

ul {
  list-style: none;
}

section {
  padding: 2rem 9%;
}

.logo {
  font-size: 2.5rem;
  font-weight: bolder;
  display: inline-block;
}

.logo i {
  padding-right: 2rem;
  color: black;
}

.logo {
  font-size: 35px;
  letter-spacing: 1px;
  cursor: pointer;
}

span {
  color: #195cc8;
}

.span2 {
  font-family: 'Fraunces', serif;
}

/* ----------------------------------------------------------- */
                      /* Styling the nav container */
/* ----------------------------------------------------------- */

.nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #eae4d7;
  height: 65px;
  font-size: 20px;
  padding-left: 8%;
  padding-right: 8%;
}

.menu li:hover {
  cursor: pointer;
  transform: scale(1.2);
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

/* ----------------------------------------------------------- */
                      /*Container for menu button  */
/* ----------------------------------------------------------- */

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

/* ----------------------------------------------------------- */
                    /*  Creating the menu button */
/* ----------------------------------------------------------- */

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #195cc8;
  position: absolute;
  height: 6px;
  width: 32px;
  border-radius: 3px;
  color: black;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

/* ----------------------------------------------------------- */
/*  Adding Functionality to the Hamburger Menu with CSS  */
/* ----------------------------------------------------------- */

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(45deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  
  transform: rotate(-45deg);
}

/* ----------------------------------------------------------- */
                    /* Styling the HEADER section */
/* ----------------------------------------------------------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  height: calc(100% - 65px);
  align-items: center;
  background-color: #eae4d7;
}

/* ----------------------------------------------------------- */
                    /* Styling the HEADER image */
/* ----------------------------------------------------------- */

.hero .image {
  flex: 1 1 30rem;
}

.hero .image img {
  width: 100%;
  height: 100%;
  padding: 1rem;
  animation: float 3s linear infinite;
}

/* ----------------------------------------------------------- */
                    /* animating the main image   */
/* ----------------------------------------------------------- */

@keyframes float {
  0%,
  100% {
    transform: translateY(0rem);
  }
  50% {
    transform: translateY(3rem);
  }
}

/* ----------------------------------------------------------- */
                  /* HEADERABOUT SECTION  */
/* ----------------------------------------------------------- */

button {
  background-color: transparent;
  color: #195cc8;
  text-decoration: none;
  border: 2px solid black;
  font-weight: bold;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 30px;
  transition: 0.4s;
}

.btn1,
.btn2 {
  margin: 1rem;
}
/* Gap between the hire me and resume button  */
.btn1 {
  background-color: #195cc8;
  color: white;
  border: none;
  padding: 15px 32px;
}

button:hover {
  cursor: pointer;
}

/* ---------------------------------------------------------- */
                      /* HEADER SECTION */
/* ---------------------------------------------------------- */

.herocontent {
  margin: auto;
}

.hero .herocontent {
  flex: 1 1 40rem;
}

h1 {
  color: black;
  margin: 20px 0px 20px;
  font-size: 80px;
  font-family: 'Fraunces', serif;
  letter-spacing: 2px;
}

.surname {
  font-family: 'Fraunces', serif;
}

h2 {
  color: black;
  font-size: 50px;
  margin-bottom: 15px;
}

h4 {
  letter-spacing: 2px;
  font-size: 20px;
}

h3 {
  font-size: 30px;
  color: black;
  letter-spacing: 2px;
}

.tag2 {
  margin-top: 5px;
  margin-bottom: 30px;
}

.hero p {
  font-size: 25px;
}

/* ----------------------------------------------------- */
                    /* ABOUT SECTION */
/* ----------------------------------------------------- */

.about {
  width: 100%;
  height: 105vh;
  padding: 150px 0px;
  background-color: #e8e9e3;
}

.about img {
  height: auto;
  width: 450px;
  border-radius: 500px;
  box-shadow: rgba(26, 24, 24, 0.25) 0px 5px 10px 2px;
}

.about-text {
  width: 550px;
}

/* ------------------------------------------------------ */
                      /* ABOUT CONTAINER */
/* ------------------------------------------------------ */

.main {
  width: 1130px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.about-text h2 {
  font-size: 50px;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-weight: bold;
  color: #195cc8;
  font-family: 'Fraunces', serif;
}

.about-text h5 {
  letter-spacing: 2px;
  font-size: 22px;
  margin-bottom: 25px;
  text-transform: capitalize;
  font-weight: bold;
  color: black;
  font-family: 'Frances', serif;
}

.about-text p {
  letter-spacing: 1px;
  line-height: 28px;
  font-size: 18px;
  margin-bottom: 45px;
}

/* ------------------------------------------------------- */
                      /* SKILLS */
/* ------------------------------------------------------- */

.skills {
  height: 100vh;
}

.skills .skills-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

section .title {
  position: relative;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 85px;
  padding-bottom: 20px;
  letter-spacing: 1px;
  font-family: 'Fraunces', serif;
  color: #195cc8;
}

.skills .title::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: black;
  transform: translateX(-50%);
}

.skills .skills-content .column {
  width: calc(50%);
}

.skills .skills-content .left .text {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 10px;
}

.skills .skills-content .left p {
  text-align: justify;
  font-size: 18px;
}

.skills .skills-content .left a {
  display: inline-block;
  background: rgb(57, 95, 165);
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid rgb(57, 95, 165);
  transition: all 0.3s ease;
}

.skills .skills-content .left a:hover {
  color: rgb(57, 95, 165);
  background: none;
}

.skills .skills-content .right .bars {
  margin-bottom: 15px;
}
/* Margin after html devops below boxes */

.skills .skills-content .right .info {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}
/* Margin for text and bars */

.skills .skills-content .right span {
  font-weight: 500;
  font-size: 18px;
}

.skills .skills-content .right .line {
  position: relative;
  border: 1px solid #504f4f;
  /* border of the bars below the text */
  padding: 5px;
  border-radius: 10px;
  height: 10px;
  background: #504f4f;
}

.skills .skills-content .right .progressBar {
  border: 1px solid #504f4f;
  padding: 5px;
  /* gap b/t the bars whose color blue and black */
  border-radius: 10px;
}

.skills .skills-content .right .line::before {
  content: '';
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  
  transition: width 0.6s ease;
  height: 10px;
  border-radius: 5px;
  vertical-align: middle;
  align-self: center;
  background-image: -moz-linear-gradient(0deg, #3a6dc1 0%, #195cc8 100%);
  background-image: -webkit-linear-gradient(0deg, #3a6dc1 0%, #195cc8 100%);
  color: #195cc8;
}

.skills-content .right .mern::before {
  width: 90%;
}

.skills-content .right .devops::before {
  width: 85%;
}

.skills-content .right .APIs::before {
  width: 80%;
}

.skills-content .right .networking::before {
  width: 78%;
}

.skills-content .right .javascript::before {
  width: 30%;
}

.skills-content .right .react::before {
  width: 20%;
}
/* these all above are my skills percentage which I knows */

.max-width {
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}

.headbar {
  background: none;
  color: black;
}

/* -------------------------------------------------------------- */
                          /* experience */
                    /* experience container */
/* -------------------------------------------------------------- */

.CV-page {
  max-width: 800px;
  height: 100vh;
  margin: 0 auto;
  padding: 0 2em;
  color: #222222;
  font-size: 1em;
  font-family: 'Lato', sans-serif;
}

.CV-secondaryHeading {
  position: relative;
  margin: 1em 0 0;
  margin-bottom: 40px;
  padding-bottom: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 50px;
  color: #195cc8;
  font-family: 'Fraunces', serif;
}

.CV-secondaryHeading::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background-color: #111;
  transform: translateX(-50%);
  margin-top: 10px;
}

.CV-grid {
  display: table;
}

.CV-grid-column {
  display: table-cell;
}

.CV-timeline {
  position: relative;
  margin: 0 0 0 0.5em;
  padding-left: 1.5em;
  border-left: solid 1px #a1b2b1;
}

.CV-timeline:first-of-type {
  margin-top: 1em;
}

.CV-timeline:last-of-type {
  border-left-color: transparent;
}

.CV-timeline:before {
  content: '';
  position: absolute;
  top: 0;
  left: -0.5em;
  display: block;
  width: 1em;
  height: 1em;
  border: solid 1px #222222;
  background-color: #ffffff;
  border-radius: 50%;
}

.CV-timeline-heading {
  margin: 0;
  padding-bottom: 0.5em;
  line-height: 1em;
  font-weight: normal;
  -webkit-transform: translateY(-0.1em);
  -ms-transform: translateY(-0.1em);
  transform: translateY(-0.1em);
}

.CV-timeline-heading-title {
  line-height: 1;
  font-style: italic;
  text-transform: uppercase;
  
}

.CV-timeline-heading-location {
  font-size: 0.8em;
  background: none;
  
  color: #111;
}

.CV-timeline-heading-duration {
  display: block;
  font-size: 0.7em;
  background: none;
  -webkit-text-fill-color: #6f6f6f;
  -webkit-background-clip: text;
}

.CV-timeline-details {
  display: block;
  margin: 0;
  padding-bottom: 2em;
  padding: 0 0 1em 1em;
  list-style-type: disc;
  font-size: 15px;
}

.CV-timeline-details-item,
.CV-job-timeline-item {
  margin-bottom: 0.3em;
}

/* ---------------------------------------------------------- */
                      /* SERVICE */
/* ---------------------------------------------------------- */

.service {
  background-color: rgb(232, 233, 227);
  width: 100%;
  padding: 100px 0px;
  height: 100vh;
}

.title h2 {
  font-size: 50px;
  margin: 30px auto;
  text-align: center;
  font-weight: 500;
  color: #195cc8;
  font-family: 'Fraunces', serif;
}

.title h2 ::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: rgb(161, 178, 177);
  transform: translateX(-50%);
  margin-top: 10px;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.card {
  height: 365px;
  width: 335px;
  padding: 20px 35px;
  background-color: rgb(232, 233, 227);
  border-radius: 20px;
  margin: 15px;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: rgb(26 24 24 / 25%) 0px 5px 10px 2px;
}

.card i {
  font-size: 50px;
  display: block;
  text-align: center;
  margin: 25px 0px;
  color: #f9004d;
}

h5 {
  color: #195cc8;
  font-size: 23px;
  margin-bottom: 15px;
}

.pra p {
  font-size: 18px;
  line-height: 27px;
  margin-bottom: 25px;
}

.card .button {
  background-color: transparent;
  color: #195cc8;
  text-decoration: none;
  border: 2px solid black;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 30px;
  transition: 0.4s;
}

.card .button:hover {
  background-color: transparent;
  border: 2px solid #249f9f;
  cursor: pointer;
}

/* ----------------------------------------------------------- */
                    /* CONTACT ME  */
/* ----------------------------------------------------------- */

.contact {
  height: 100vh;
}

.contactUs {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4%;
  margin-bottom: 5%;
}

.contact-box {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #fff;
  box-shadow: 0px 0px 19px 5px rgb(124, 122, 122);
}

.contactLeft {
  background-color: rgba(230, 230, 230, 0.6);
  height: 100%;
  
}

.contactRight {
  padding: 25px 40px;
  
}

.contact-content {
  font-size: 17px;
  margin: 1rem;
}

.contacth2 {
  position: relative;
  padding: 0 0 10px;
  margin-bottom: 10px;
  font-weight: 500;
  color: black;
}

.contact-img {
  margin: 1rem;
  border-radius: 100%;
  width: 200px;
  height: 200px;
}

.contactField {
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0);
  outline: none;
  background-color: rgba(230, 230, 230, 0.6);
  padding: 1rem 1rem;
  font-size: 1.5rem;
  margin-bottom: 22px;
  transition: 0.3s;
}

.contactField:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.contactTextarea {
  min-height: 150px;
}

.contactBtn {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 2px solid black;
  font-size: 1.5rem;
  outline: none;
  cursor: pointer;
  transition: 0.3s;
  color: black;
}

.contact-info {
  font-size: 20px;
  text-align: center;
  padding: 1rem;
  text-align: justify;
  margin-left: 20%;
}

.contact-info p {
  color: black;
  margin: 1rem;
}

.contactField:focus {
  border: 2px solid rgb(33, 31, 47);
  background-color: white;
}

.contactTitle {
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  color: #195cc8;
  font-family: 'Fraunces', serif;
}

/* ----------------------------------------------------------- */
                      /* FOOTER */
/* ----------------------------------------------------------- */

#social_icon_footer {
  background-color: #dedede;
  text-align: center;
}

#social_icon_footer .social {
  color: #195cc8;
  font-size: 30px;
  padding: 1rem;
}

#social_icon_footer .social:hover {
  transform: scale(1.2);
}

.footertext {
  font-size: 15px;
  color: #444;
  font-weight: bold;
}



/* ----------------------------------------------------------- */
                      /* MEDIA QUERY */
/* ----------------------------------------------------------- */


@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  header {
    padding: 2rem;
  }
  section {
    padding: 2rem;
  }
}



@media screen and (max-width: 880px) {
  .contact-box {
    grid-template-columns: 1fr;
  }
  .contactLeft {
    height: 100%;
  }
  .about img {
    display: none;
  }
  html {
    font-size: 50%;
    overflow-x: hidden;
    overflow-y: scroll;
  }
  .main {
    width: 100%;
  }
  .box {
    display: block;
  }
  .card {
    margin: 15px auto;
  }
  .service {
    height: fit-content;
  }
  .contact {
    height: fit-content;
  }
}



@media (max-width: 768px) {
  .menu-button-container {
    display: flex;
  }
  a {
    color: black;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 2;
  }
  .menu li:hover {
    transform: scale(1);
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #9f9a9a;
    height: 2.5em;
    padding: 0.5em;
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: black;
    background-color: #e8e8e8;
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
  .logo i {
    color: white;
  }
  .about img {
    display: none;
  }
  .main {
    width: 100%;
  }
}



@media (max-width: 490px) {
  html {
    font-size: 50%;
    overflow-x: hidden;
    overflow-y: scroll;
    text-align: center;
  }
  h1 {
    font-size: 60px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 17px;
  }
  .service {
    height: fit-content;
  }
  .box {
    display: block;
  }
  .card {
    margin: 15px auto;
  }
  .CV-page {
    height: fit-content;
  }
  .contact {
    height: fit-content;
    margin: 1rem;
    padding: 0;
  }
  section .title {
    font-size: 60px;
  }
  .max-width {
    padding: 0;
    max-width: fit-content;
  }
  .CV-page {
    padding: 0 1em;
  }
  .skills .skills-content .column {
    width: calc(100%);
  }

  .CV-page ul>li{
    text-align: left;
  }
  
}
