@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

.bg-change-black{
  background-color: white;
}

h3::selection{
  background-color: #ffd2ae77;
  color: black;
}

p::selection{
  color: black;
  background-color: #ffd2ae77;
}

:root {
  --colorone: #ff7900;
  --coloratwo: #ffba08;
  --colorbody: #1e1e1e;
}
@font-face {
  font-family: mediumfont;
  src: url("./Fonts/creato_display/CreatoDisplay-Medium.otf");
}
@font-face {
  font-family: largefont;
  src: url("./Fonts/creato_display/CreatoDisplay-ExtraBold.otf");
}
@font-face {
  font-family: boldfont;
  src: url("./Fonts/creato_display/CreatoDisplay-Bold.otf");
}

.main-nav {
  width: 100%;
  display: flex;
  justify-content: center;
  background: rgba(211, 211, 211, 0);
  background-size: 300% 100%;
  animation: gradient 25s ease infinite;
  position: fixed;
  z-index: 1000;
  border: none;
}

.navbar {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  /* background-color: #ffd2aeda; */
  margin: 10px;
  border-radius: 5px;
  padding: 20px 10px;
  backdrop-filter: blur(70px);
  border: none;
  border: 1px solid rgba(40, 40, 40, 0.211);
}

#menu-close, #menu-btn{
  display: none;
}

.navigation{
  display: flex;
  align-items: center;
}

#theme-white{
  color: #612407;
  font-size: 24px;
  margin: 0px 10px;
}

.navIcons {
  font-size: 14px;
}

.logo-side .logo {
  width: 5rem;
}

.ul-links {
  display: flex;
  align-items: center;
}

.ul-links li {
  padding: 10px;
  list-style: none;
  margin: 0px 5px;
}

.ul-links li a {
  text-decoration: none;
  color: rgb(97, 36, 7);
  font-family: mediumfont;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.main-section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* background: linear-gradient(-90deg, #fff, #fff, #612407, #fff); */
  background-size: 500% 100%;
  animation: gradient 25s ease infinite;
}

.information-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-text .info-heading {
  font-family: largefont;
  color: #612407;
  font-size: 4rem;
  word-wrap: normal;
  text-align: center;
}

.nameEffect {
  background: linear-gradient(90deg, #612407, #ffd2aeda, #b64a18);
  background-size: 300% 100%;
  background-clip: text;
  color: transparent;
  transition: ease-in-out;
  animation: gradient-animation 10s infinite linear;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.info-buttons button {
  background-color: #612407;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-family: boldfont;
  transition: 0.3s ease-in-out;
  margin: 10px 5px;
  font-size: 15px;
  cursor: pointer;
  color: #ffd2ae;
}

.info-buttons i {
  font-size: 16px;
}

.info-buttons button:hover {
  background-color: #1f51ff;
  color: white;
  border: none;
}

.aboutMeSection {
  width: 100%;
  height: auto;
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.main-container {
  display: flex;
  justify-content: center;
  padding: 20px;
  padding: 0rem 1rem;
}

.left-side-boxes {
  width: 40%;
  margin-right: 2em;
}

.right-side-boxes {
  width: 40%;
}

.left-side-boxes .intro {
  background-color: #ffeee077;
  background-size: cover;
  padding: 25px;
  color: rgb(97, 36, 7);
  border-radius: 7px;
  border: none;
}

.left-side-boxes .skills {
  /* margin-top: 40px; */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 15px;
  color: rgb(97, 36, 7);
  border-radius: 7px;
  border: none;
  background-size: cover;
  background-color: #ffeee077;
}

.skills div{
  display: flex;
  flex-wrap: wrap;
}

.skills p {
  margin: 7px 10px;
  font-family: mediumfont;
  font-size: 17px;
  background-color: rgba(255, 178, 111, 0.486);
  color: rgb(97, 36, 7);
  padding: 7px 12px;
  border-radius: 20px;
}

.skills h3{
  color: rgb(97, 36, 7);
}

.intro p {
  word-wrap: normal;
  font-family: mediumfont;
  font-size: 18px;
  letter-spacing: 0.4px;
  color: rgb(97, 36, 7);
}

.intro h3 {
  margin-bottom: 20px;
  font-size: 27px;
  font-family: boldfont;
  color: rgb(97, 36, 7);
  font-weight: bolder;
}

.right-side-boxes .education {
  background-size: cover;
  background-color: #ffeee077;
  padding: 25px;
  color: rgb(97, 36, 7);
  border-radius: 7px;
  border: none;
}

.left-side-boxes .education {
  background-size: cover;
  background-color: #ffeee077;
  padding: 25px;
  color: rgb(97, 36, 7);
  border-radius: 7px;
  border: none;
}

.right-side-boxes .experience a{
  color: white;
  text-decoration: none;
}

.education .mx-bottom {
  margin-bottom: 30px;
}

.education .p-all{
  padding: 10px;
}

.education .firstBox{
  background-color: #ffd2ae77;
  border-radius: 7px;
  padding: 10px;
}

.education .firstBox p {
  font-family: mediumfont;
  margin: 5px 0px;
  letter-spacing: 0.5px;
  color: rgb(97, 36, 7);
}

.education .firstBox span {
  font-weight: bold;
}

.education h3 {
  margin-bottom: 20px;
  font-size: 27px;
  font-family: boldfont;
  color: rgb(97, 36, 7);
}

.skills h3 {
  margin-bottom: 20px;
  font-size: 27px;
  font-family: boldfont;
}

.technologies{
  margin-top: 40px;
}

.technologies-container{
  display: flex;
  flex-wrap: wrap;
}

.tech-box{
  margin: 10px;
  position: relative;
  display: inline-block;
}

.tech-box svg.icons{
  font-size: 2rem;
}

.tech-text {
  display: none;
  position: absolute;
  top: -55%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffd2ae;
  color: rgb(97, 36, 7);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 14px;
  font-family: mediumfont;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 0.3s ease forwards;
}

.tech-box:hover .tech-text {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

/* @keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-10px);
  }
}

.icons {
  font-size: 35px;
}

.block{
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  transition: 0.3s all ease;
  border: 1px solid rgba(211, 211, 211, 0.243);
}

@keyframes appear {
  from{
    opacity: 0;
    transform: translateX(-20px);
  }

  to{
    opacity: 1;
    transform: translateX(0px);
  }
} */

.experienceHr{
  margin: 10px 0px;
  background-color: rgba(211, 211, 211, 0.153);
  
}

.mx-res{
  margin: 50px 10px;
}

.openForWork{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem;
  margin-top: 4rem;
  background-color: #612407;
}

.mainHeading h3{
  font-family: boldfont;
  font-size: 35px;
  color: #ffd2ae;
}

.mainHeading p{
  font-family: mediumfont;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.351);
}

.whyBox{
  border: 1px solid lightgray;
  margin: 20px;
  padding: 10px;
  border: 1px solid rgba(211, 211, 211, 0.122);
  border-radius: 7px;
  width: 80%;
  background-color: #ffd2ae;
  /* background-image: url('./Images/website-box-bg-01-01-01-01.png'); */
  background-size: cover;
}

.whyBox h3{
  font-family: boldfont;
  color: black;
  margin-bottom: 10px;
  font-size: 25px;
}

.whyBox p{
  font-family: mediumfont;
  color: black;
  margin-top: 10px;
  word-wrap: normal;
  font-size: 17px;
  /* background-color: #ffffff83; */
  border-radius: 7px;
  /* padding: 10px; */
}

.whyChooseSection{
  display: flex;
  margin-top: 2rem;
}

.whyHr{
  border-color: #612407;
}

.projects{
  width: 100%;
  height: auto;
  padding: 2rem 2rem;
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mainProjectContainer{
  display: flex;
  flex-direction: column;
}

.projectHeading h2{
  font-family: boldFont;
  color: #612407;
  font-size: 35px;
  text-align: center;
}


.projectsBoxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
}


.projectBox{
  margin: 15px;
  padding: 10px;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.093);
  background-color: #a1471e0e;
  border-radius: 7px;
  width: 27em;
}

.projectBox h3{
  color: #612407;
}

.projectBox h3{
  font-family: boldFont;
  margin: 5px 0px;
}

.projectBox p{
  word-wrap: normal;
  margin-top: 10px;
  font-family: mediumfont;
  margin-bottom: 10px;
  color: black;
}

.projectBox .imageProject {
  margin-bottom: 10px;
}

.projectBox .imageProject .project-img{
  width: 25rem;
  border-radius: 7px;
}

.projectBox .imageProject .project-img:hover{
  cursor: url("./Images/cursor.png");
  scale: 1.03;
  transition: 0.4 ease;
}

.projectName{
  margin-bottom: 10px;
}

.email{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  background: linear-gradient(-90deg, #0095ffc1, #000, #1f50ff5b, #0095ffc1);
  background-size: 300% 100%;
  animation: gradient 10s ease infinite;
}

.contactInfo{
  text-align: center;
}

.contactInfo p{
  font-family: mediumfont;
  font-size: 19px;
  word-wrap: normal;
}

.contactInfo h2{
  font-family: "Caveat", cursive;
  margin-top: 15px;
  color: white;
  font-size: 2.5rem;
}

.projectBox a{
  text-decoration: none;
}

.footerSection{
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
}

.footerSection .icons i{
  color: #612407;
  font-size: 30px;
  margin: 0px 10px;
}

.icons i:hover{
  animation: iIcons 5s infinite linear;
  background: linear-gradient(90deg, #ff7900, #ffba08, #dc2f02);
  background-size: 300% 100%;
  background-clip: text;
  color: transparent;
  transition: 0.3s all ease;
}

@keyframes iIcons {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.contact{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin: 3rem 0rem;
  background-color: #612407;
}

.heading {
  margin-bottom: 1rem;
  text-align: center;
}

.heading h2{
  color: white;
  font-family: boldfont;
  word-wrap: normal;
}

.heading h2,span{
  font-weight: bold;
}

.formBox{
  margin-top: 15px;
  padding: 10px;
}

.formBox form{
  display: flex;
  flex-direction: column;
}

.formBox form input{
  width: 35rem;
  padding: 15px 10px;
  margin: 5px 0px;
  background-color: rgba(211, 211, 211, 0.078);
  color: white;
  border: 1px solid rgba(211, 211, 211, 0.122);
  border-radius: 7px;
  font-family: mediumfont;
}

.formBox form textarea{
  width: 35rem;
  height: 30vh;
  padding: 15px 10px;
  margin: 5px 0px;
  background-color: rgba(211, 211, 211, 0);
  color: lightgray;
  border: 1px solid rgba(211, 211, 211, 0.122);
  border-radius: 7px;
  font-family: mediumfont;
  resize: none;
}

.formBox form input, textarea:focus{
  outline: none;
}

.heading span{
  background: linear-gradient(90deg, #ffc796, #e39352);
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  transition: ease-in-out;
}

.formBox form .button{
  padding: 15px 10px;
  font-family: mediumfont;
  border-radius: 7px; 
  margin-top: 10px;
  background-color: #ffd2ae;
  color: #612407;
  cursor: pointer;
  border: 2px solid rgba(211, 211, 211, 0.122);
  font-size: 16px;
}

.formBox form .button:hover{
  background-color: rgb(97, 36, 7);
  border: 2px solid white;
  color: white;
}