@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background-color: #512940;
  height: 100vh;
  animation: headerBackground 10s linear infinite alternate; /* Animated background */
}

@keyframes headerBackground {
  0% {
    background-color: #733458;
  }
  40% {
    background-color: #510c21; /* Vibrant color */
  }
  80% {
    background-color: #512940;
  }
  100%{
    background-color: #07374a;
  }
}
img {
  border-radius: 50%;
}
.round-image {
  border-radius: 50%;
  width: 250px; /* Set your desired width */
  height: 250px;
}
h1 {
  font-size: 3rem;
  color: #fff;
  animation: textAnimation 12s ease-in-out infinite; /* Text animation */
}

@keyframes textAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.container {
  max-width: 1200px;
  width: 90%;
  margin: auto;
}

/* ////........Navbar.......//// */

.navbar {
  position: fixed;
  width: 100%;
  z-index: 500;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.menu-items {
  display: flex;
}

.menu-items li {
  list-style: none;
  padding: 1rem;
}

.menu-items a {
  text-decoration: none;
  color: #f0f0e6;
  font-size: 1.2rem;
  padding: 0.3rem;
}

.menu-items a:hover {
  border-bottom: 2px solid #f0f0e6;
}

.navbar .logo {
  order: 1;
  color: #f0f0e6;
  font-size: 2rem;
}

/* ////........Home Content........//// */

.home-content .name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f0f0e6; /* A common UI color */
  text-align: center;
  font-family: 'Montserrat', sans-serif; /* Modern font */
}

.home-content .name h1 {
  font-size: 2.5rem; /* Larger font size for impact */
  text-align: center;
  font-weight: 600;
  margin: 0;
}


.home-content .name p {
  color: #f0f0e6;
  font-size: 1.5rem;
}

.angle-down-icon {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  border: 3px solid #07374a;
  border-radius: 50%;
}

.angle-down-icon a {
  text-decoration: none;
  color: #958791;
  padding: 1rem;
}

.download-button {
  display: inline-block;
  padding: 5px 10px;
  margin-top: 20px;
  background-color: #07374a; /* Button background color */
  color: #fff; /* Button text color */
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, transform 0.2s;
}

.download-button:hover {
  background-color: #512940; /* Hover background color */
  transform: scale(1.05); /* Hover effect to slightly enlarge the button */
}


/* ////........About Me........//// */

.about-me {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('your-image.jpg') center/cover no-repeat;
  padding: 6rem 0;
  color: #fff; /* Set text color to be more visible against the background */
}

.about-me h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-me p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Add a hover effect to make the section more interactive */
.about-me:hover {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7)), url('your-hover-image.jpg') center/cover no-repeat;
  transition: background 0.3s ease-in-out;
}

/* Style the background and text for better readability on hover */
.about-me:hover h2, .about-me:hover p {
  color: #333; /* Change text color for better readability */
}

/* Add a subtle animation to the text on hover */
.about-me:hover h2, .about-me:hover p {
  transition: color 0.3s ease-in-out;
}


.about-me .about-heading {
  color: #010101;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.about-content img {
  height: 200px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.about-content p {
  font-size: 1.2rem;
  color: #010101;
  padding: 0 2.3rem;
  text-align: center;
}

.skills .skills-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #510c21;
  text-align: center;
}

.about-me .about-content {
  display: flex;
  flex-wrap: wrap;
}

.about-content .left-content {
  flex-basis: 45%;
  text-align: center;
}

.about-content .right-content {
  flex-basis: 45%;
}

/* ///.....Skill Bar....../// */

.skills-bar {
  padding: 25px 30px;
}

.skills-bar .bar {
  margin: 25px 0;
}

.skills-bar .bar .info span {
  font-size: 1rem;
  font-weight: 500;
}

.skills-bar .bar .info {
  margin-bottom: 8px;
  color: #510c21;
}

.skills-bar .bar .progress-line {
  position: relative;
  height: 10px;
  width: 550px;
  background: #f0f0f0;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.bar .progress-line span {
  position: absolute;
  background: #510c21;
  height: 100%;
  border-radius: 10px;
  transform: scaleX(0);
  transform-origin: left;
  animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
}

@keyframes animate {
  100% {
    transform: scaleX(1);
  }
}

.progress-line .html {
  width: 80%;
}
.progress-line .css {
  width: 70%;
}
.progress-line .bootstrap {
  width: 50%;
}
.progress-line .javascript {
  width: 70%;
}
.progress-line .c {
  width: 50%;
}
.progress-line .mysql {
  width: 70%;
}

.bar .progress-line span::before {
  position: absolute;
  content: "";
  height: 0;
  right: 0;
  top: -12px;
  width: 0;
  border: 7px solid transparent;
  border-bottom-width: 0px;
  border-right-width: 0px;
  border-top-style: #f0f0f0;
  border-top-color: #f0f0f0;
}

.bar .progress-line span::after {
  position: absolute;
  right: 0;
  top: -28px;
  color: #510c21;
  font-size: 12px;
  font-weight: 700;
  background: #f0f0f0;
  padding: 1px 8px;
  border-radius: 3px;
}

.progress-line .html::after {
  content: "80%";
}
.progress-line .css::after {
  content: "70%";
}
.progress-line .bootstrap::after {
  content: "50%";
}
.progress-line .javascript::after {
  content: "70%";
}
.progress-line .c::after {
  content: "50%";
}
.progress-line .mysql::after {
  content: "70%";
}

.navbar.solid {
  background-color: #510c21;
  transition: background-color 1s ease 0s;
  box-shadow: 0 0 4px rgb(7 55 74 / 20%);
  z-index: 500;
}

.navbar.solid .navbar-brand {
  display: inline-block;
  color: #f0f0e6;
  transition: color 1s ease 0s;
}

.navbar-brand {
  display: none;
  color: #f0f0e6;
  font-weight: 400;
}

.work-arrow {
  margin: 2rem 0;
}

.work-arrow a {
  font-size: 1rem;
  text-decoration: none;
  color: #510c21;
}

.work-arrow-2 {
  margin: 2rem 0;
}

.work-arrow-2 a {
  font-size: 1rem;
  text-decoration: none;
  color: #510c21;
  display: none;
}

/* ////.....Portfolio......///// */

.portfolio {
  background: linear-gradient(to right,rgba(186, 62, 95, 0.8),rgba(98, 20, 44, 0.8)),url(/daac885…/c157c/assets/svg/common-bg.svg);    
  padding: 6rem 0;
}

.proj-heading h1 {
  text-align: center;
  color: #f0f0e6;
  font-size: 2.3rem;
  font-weight: 700;
  margin: 3rem 0;
}

.proj-1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url('grid-pattern.png'); /* URL to your grid pattern image */
  background-color: rgba(255, 255, 255, 0.5); /* Transparent black background */
  padding: 20px; /* Add some padding to create spacing */
  border-radius: 10px; /* Add border-radius for curved edges */
}



.proj-1 img {
  height: 330px;
  width: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 10px -10px rgb(37 41 52 / 31%);
  margin-right: 1.7rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

@keyframes slideIn {
  to {
    transform: translateX(0); /* Slide in to the original position */
  }
}


.proj-1 img:hover {
  transform: scale(1.1); /* Enlarge the image on hover */
  box-shadow: 0 30px 20px -20px rgb(37 41 52 / 41%); /* Adjusted box-shadow on hover */
}


.proj-1 .proj1-details {
  width: 32rem;
}

.proj-1 .proj1-details i {
  font-size: 1.5rem;
  color: #510c21;
}

.proj-1 .proj1-details h2 {
  font-size: 2rem;
  color: #510c21;
}

.proj-1 .proj1-details p {
  font-size: 1.3rem;
  color: #510c21;
  font-weight: 600;
}

.proj-1 .proj1-details button {
  background: #f0f0e6;
  padding: 0.5rem;
  margin-top: 0.5rem;
  width: 150px;
  border: none;
  border-bottom: 2px solid #510c21;
}

.proj-1 .proj1-details button a {
  text-decoration: none;
  color: #510c21;
  font-size: 1.1rem;
  transition: 0.2s ease-in-out;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.proj-1 .proj1-details button .fas {
  font-size: 0.7rem;
  padding: 0.3rem;
  transition: 0.2s ease-in-out;
}

.proj-1 .proj1-details button:hover {
  background: #510c21;
}

.proj-1 .proj1-details button:hover a,
.proj-1 .proj1-details button:hover .fas {
  color: #f0f0e6;
}


/* ////.....proj2.....//// */

.proj-2 {
  display: flex;
  margin-top: 10;
  justify-content: center;
  align-items: center;
  background-image: url('grid-pattern.png'); /* URL to your grid pattern image */
  background-color: rgba(255, 255, 255, 0.5); /* Transparent black background */
  padding: 20px; /* Add some padding to create spacing */
  border-radius: 10px; /* Add border-radius for curved edges */
}

.proj-2 img {
  height: 330px;
  width: 380px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 10px -10px rgb(37 41 52 / 31%);
  margin-right: 1.7rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.proj-2 img:hover {
  transform: scale(1.1); /* Enlarge the image on hover */
  box-shadow: 0 30px 20px -20px rgb(37 41 52 / 41%); /* Adjusted box-shadow on hover */
}

.proj-2 .proj2-details {
  width: 32rem;
}

.proj-2 .proj2-details i {
  font-size: 1.5rem;
  color: #510c21;
}

.proj-2 .proj2-details h2 {
  font-size: 2rem;
  color: #510c21;
}

.proj-2 .proj2-details p {
  font-size: 1.3rem;
  color: #510c21;
  font-weight: 600;
}

.proj-2 .proj2-details button {
  background: #f0f0e6;
  padding: 0.5rem;
  margin-top: 0.5rem;
  width: 150px;
  border: none;
  border-bottom: 2px solid #510c21;
}

.proj-2 .proj2-details button a {
  text-decoration: none;
  color: #510c21;
  font-size: 1.1rem;
  transition: 0.2s ease-in-out;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.proj-2 .proj2-details button .fas {
  font-size: 0.7rem;
  padding: 0.3rem;
  transition: 0.2s ease-in-out;
}

.proj-2 .proj2-details button:hover {
  background: #510c21;
}

.proj-2 .proj2-details button:hover a,
.proj-2 .proj2-details button:hover .fas {
  color: #f0f0e6;
}

.more-work {
  text-align: center;
  margin: 3rem 0 1rem 0;
}

.more-work p {
  font-size: 1.6rem;
  color: #510c21;
  font-weight: 500;
}

.more-work a {
  text-decoration: none;
  color: #f0f0e6;
  font-size: 1.3rem;
}

.more-work a:hover {
  border-bottom: 2px solid #f0f0e6;
}

/* Style the column as a box */
.column {
  background-color: #f0f0f0; /* Set the background color for the box */
  border: 1px solid #ddd; /* Add a border around the box */
  border-radius: 5px; /* Add rounded corners to the box */
  padding: 20px; /* Add padding within the box */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow to the box */
  text-align: left; /* Align text within the box to the left */
}

/* Style the title within the box */
.column h1 {
  font-size: 1.5rem; /* Set the font size for the title */
  margin-bottom: 10px; /* Add space below the title */
}

/* Style the paragraphs within the box */
.column p {
  font-size: 1rem; /* Set the font size for the paragraphs */
  margin-bottom: 10px; /* Add space below the paragraphs */
}

/* Style the lists within the box */
.column ul {
  list-style-type: disc; /* Use bullets for the lists */
  margin-left: 20px; /* Add an indent for the lists */
}

/* Style list items within the lists */
.column ul li {
  margin-bottom: 5px; /* Add space between list items */
}

/* Create a grid layout for the three columns */
.columns {
  display: flex;
  justify-content: space-between;
}

/* Style each column as a box */
.column {
  flex: 0 0 calc(33.33% - 20px); /* Each column takes up one-third of the available space with spacing */
  background-color: #e5dddd;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: left;
  margin-right: 20px; /* Add spacing between columns (adjust as needed) */
}

.column:hover {
  background-color: #ccc;
  box-shadow: 0 4px 8px rgb(77, 14, 14); /* Slightly increase the box-shadow */
  transform: translate(0, -5px); /* Move the column up by 5px */
}
/* Remove right margin from the last column to prevent extra spacing */
.column:last-child {
  margin-right: 0;
}

/* Style the title within each column */
.column h1 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #510c21;
}

/* Style the paragraphs within each column */
.column p {
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Style the lists within each column */
.column ul {
  list-style-type: disc;
  margin-left: 20px;
}

/* Style list items within the lists */
.column ul li {
  margin-bottom: 5px;
}

.list-title{
  color: #07374a;
} 

/* ////......Contact......///// */

.contact {
  background: #512940;
  position: relative;
  height: 92vh;
}

.contact-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: 400;
  color: #510c21;
  padding-bottom: 0.5rem;
}

.contact-content .mail {
  color: #f0f0e6;
  padding-bottom: 0.2rem;
  font-size: 1rem;
}

.contact-content .links {
  color: #958791;
  padding: 0.5rem;
  padding-bottom: 1.8rem;
  font-size: 1rem;
}

.contact-content a {
  text-decoration: none;
  color: #f0f0e6;
  padding: 0.5rem;
  transition: 0.3s ease-in-out;
}

.contact-content a:hover {
  color: #f0f0e6;
}

/* ////......Media query......//// */

@media (max-width: 500px) {
  html {
    font-size: 60%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  .proj-1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-1 img {
    height: 230px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .proj-2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-2 img {
    height: 250px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #f0f0e6;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (min-width: 501px) and (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
  }

  .skills-bar .bar .progress-line {
    width: 100%;
  }

  .work-arrow {
    display: none;
  }

  .right-content h1 {
    margin-top: 3.2rem;
  }

  .proj-1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-1 img {
    height: 240px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .proj-2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .proj-2 img {
    height: 240px;
    width: 290px;
    margin-bottom: 0.5rem;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #958791;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  html {
    font-size: 70%;
  }

  .about-content .left-content {
    flex-basis: 100%;
    text-align: center;
  }

  .about-content .right-content {
    flex-basis: 100%;
  }

  .skills {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .work-arrow {
    display: none;
  }

  .left-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .right-content h1 {
    margin-top: 3.2rem;
    text-align: center;
  }

  .work-arrow-2 a {
    font-size: 1.3rem;
    text-decoration: none;
    color: #510c21;
    display: block;
    text-align: center;
  }

  .contact-content {
    width: 100%;
  }
}



@media (orientation: landscape) and (max-height: 500px) {
  .header {
    height: 90vmax;
  }
}