body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-image: linear-gradient(black, rgba(26, 25, 25, 0.833));
}
a{
  color: white;
}

.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100vw;
  height: auto;
  font-size: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  background-color: black;
}

.nav-link {
  color: white;
  padding: 8px 8px;
  margin: 10px;
  border: 2px solid black;
  border-bottom-left-radius: 7px;
  border-top-right-radius: 7px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  border: 2px solid azure;
  color: #f1950a;
}

.section {
  min-height: 100vh;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 20px; 
}

#about {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main_container {
  text-align: center;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

h1 {
  font-size: 2rem;
}

#text {
  font-size: 1.5rem;
}

.type-container {
  display: inline-block;
  min-width: 200px;
  text-align: center;
}

.type {
  color: #f1950a;
  text-decoration: underline;
}

.icon_cont .circle {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle:hover {
  background-color: #f1950a;
}

.icon_cont {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px;
  padding: 100px;
}

.skills_cont{
  width: 90%;
  margin: 20px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px ,2fr));
  gap: 8%;
  padding: 40px;
}

.skills_cont .circle{
  height: 150px;
  width: 150px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ecbd76d4, #e38654, #794203);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
  box-shadow: 0 8px 30px rgba(228, 137, 19, 0.763);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skills_cont .circle:hover {
  box-shadow: 0 12px 40px rgba(241, 149, 10, 0.8);
  background: linear-gradient(135deg, #794203, #e38654, #ecbd76d4);
  animation: none;
}

.skills_cont .circle:hover ~ .shadow {
  animation: none;
}

.skill_inner_cont{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.skills_cont .a{
  animation: floata 4s ease-in-out infinite;
}

.skills_cont .b{
  animation: floatb 4s ease-in-out infinite;
}

.skills_cont img{
  height: 100px;
  width: 100px; 
}

.skills_cont .shadow{
  height: 15px;
  width:25px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.263);
}

.skills_cont .sa{
   animation: shada 4s ease-in-out infinite ;
}

.skills_cont .sb{
   animation: shadb 4s ease-in-out infinite ;
}

.proj_cont {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 50px;
  padding: 0 20px;
}

.card {
  height: auto;
  border: 2px solid rgb(241, 149, 10);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 18px rgb(230, 214, 186);
}

.card a {
  color: rgb(241, 149, 10);
  text-decoration: none;
  font-weight: bold;
}

.card a:hover {
  text-decoration: underline;
}

.form_cont {
  width:50%;
  margin: 5px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(241, 149, 10, 0.457);
}
.touch{
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-size: 1.5em;
  color: #dc9b509a;
}
.form_cont form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.form_cont label {
  color: white;
  font-weight: bold;
}

.form_cont .in {
  width: 60%;
  padding: 10px;
  border: 2px solid #f1950a;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;

}

.form_cont .in:focus {
  outline: none;
  border-color: #e38654;
  box-shadow: 0 0 10px rgba(241, 149, 10, 0.5);
  transform: scale(1.5);
}

.form_cont textarea.in {
  /* resize: vertical; */
  min-height: 80px;
}

.sub_btn {
  padding: 10px 20px;
  background-color: #f1950a;
  color: black;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s ease-out;
}

.sub_btn:hover {
  background-color: #994f27;
}

.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  padding: 0 20px;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f1950a;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    height: auto;
  }

  .nav-link {
    margin: 5px 0;
  }

  .proj_cont {
    grid-template-columns: 1fr;
  }

  .form_cont {
    max-width: 90%;
    padding: 15px;
  }

  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

}

@keyframes floata{
  0%, 100%{
    transform: translateY(0);
  }
  50%{
    transform: translateY(-20px);
  }
}

@keyframes floatb{
  0%, 100%{
    transform: translateY(-20px);
  }
  50%{
    transform: translateY(0px);
  }
}

@keyframes shada{
  0%,100%{
    transform: scale(1);
  }
  50%{
    transform: scale(0.5);
  }
  
}

@keyframes shadb{
  0%,100%{
    transform: scale(0.5);
  }
  50%{
    transform: scale(1);
  }
}