*{
	color: white;
}

header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
	padding:30px;
	border: 2px transparent ;
}

h1{
	margin: 0;
}

h2{
  display: flex;
	justify-content: center;
}

#right-nav a{
  text-decoration: none;
}

#right-nav{
	display: flex;
	justify-content: flex-end;
	gap: 20px;
}

.highlight{
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px 30px 30px 40px;
}

#intro{
	display: flex;
	flex-direction: column;
	padding: 70px 30px 30px 40px;
}

#img-wrapper{
  display: flex;
  justify-content: space-between;
}

img {
  border-radius: 80%;
  border-color: white;
  float: right;
}

.skill-list{
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

ul{
	border-color: white;
	border-radius: 50%;
}

#navbar {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1{
	display: flex;
	justify-content: flex-start;
}

#video{
	position: fixed;
	z-index: -1;
	right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

input,textarea {
  background-color: transparent;
  border-color: white;
  border-radius: 10rem;
  outline: none;
}

button{
	background-color: transparent;
	border-color: white;
	border-radius: 30%;
  padding: 10px;
  border: 10px;
  margin: 30px;
}

p{
	font-family: sans-serif;
  padding: 30px;
}

form {
  margin: auto;
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  padding: 30px;
  border: 10px;
  background: transparent;
  width: 60%;
}

#foot {
  text-align: center;
  padding: 2px;
  background: #111;
  color: white;
  margin: 10px 10px 0px 10px;

}
#foot p{
  padding: 0px ;
  margin: 10px;
}

label,input,textarea{
  padding: 10px;
}

#skills {
    padding: 40px 20px;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 15px;
    margin-top: 20px;
}

.skill {
    background: transparent;
    color: white;
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 20px;
    font-size: 15px;
    backdrop-filter: blur(10px);

}


.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: white;
    background-color: #333;
    transition: 0.2s;
    font-weight: bold;
}

#skill_project_about{
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

#about{
  padding: 30px;
}

#projects {
    padding: 2rem;
    background: transparent;
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;

}

#projects h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.project {
    background-color: transparent;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #fff;
    border-radius: 20px;
    font-size: 15px;
    backdrop-filter: blur(10px);
}

.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.project p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #fff;
    border: #fff solid 1px;
    border-radius: 6px;
    text-decoration: none;
}

#hamburger {
    display: none;
    font-size: 2rem;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

@media (max-width: 1024px) {

  header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  #img-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  img {
    max-width: 300px;
    margin: auto;
    float: none;
  }

  .skill-list {
    gap: 10px;
  }

  form {
    width: 80%;
  }
}

@media (max-width: 768px) {

  #navbar {
    flex-direction: column;
    gap: 20px;
  }

  #intro {
    padding: 40px 20px;
    text-align: center;
  }

  #img-wrapper {
    flex-direction: column;
    text-align: center;
  }

  img {
    width: 60%;
    border-radius: 50%;
  }

  .skill-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  form {
    width: 90%;
  }

  #right-nav {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.8);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    border-radius: 10px;
  }

  #hamburger {
    display: block;
  }

  #right-nav.active {
    display: flex;
  }
}

@media (max-width: 1024px) {

  header {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  #img-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  img {
    max-width: 300px;
    margin: auto;
    float: none;
  }

  .skill-list {
    gap: 10px;
  }

  form {
    width: 80%;
  }
}

@media (max-width: 768px) {

  #navbar {
    flex-direction: column;
    gap: 20px;
  }

  #intro {
    padding: 40px 20px;
    text-align: center;
  }

  #img-wrapper {
    flex-direction: column;
    text-align: center;
  }

  img {
    width: 60%;
    border-radius: 50%;
  }

  .skill-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  form {
    width: 90%;
  }

}


@media (max-width: 480px) {

  body {
    padding: 0;
  }

  header {
    padding: 15px;
  }

  h1 {
    font-size: 1.7rem;
    text-align: center;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    padding: 10px;
    font-size: 0.95rem;
  }

  #intro {
    padding: 20px 10px;
  }

  img {
    width: 80%;
    border-radius: 50%;
    display: flex;
    align-self: center;
  }

  .skill {
    font-size: 13px;
    padding: 8px 16px;
  }

  .project {
    padding: 1rem;
  }

  .project p {
    font-size: 0.9rem;
  }

  form {
    width: 95%;
    padding: 10px;
  }

  input, textarea {
    padding: 8px;
  }
}
