@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Noto+Sans+KR:wght@100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Overpass:ital,wght@0,100..900;1,100..900&family=Parkinsans:wght@300..800&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&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

*{ 
      font-family: 'DM Sans', sans-serif;
      
}

header{
    display: flex;
    margin: 0px 20px;
    border-radius: 10px;
}
h1{
    margin: 0px 20px;
}
#list-item{
    margin: 15px 0px;
    position: absolute;
    right: 20%;
    list-style: none;
    display: flex;
    
}
#list-item a{
    margin: 0px 30px;
    text-decoration: none;
    font-size: 15px;
    color: #515CA9;
    transition: 1s all;
    
}

#list-item a:hover{
    cursor: pointer;
    text-decoration: underline;
    color: black;
}

.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 10%;
}

.home-left h1 {
  font-size: 50px;
}

.home-right img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn{

    background: transparent;
    outline: none;
    border: none;
    background-color: rgba(0, 0, 255, 0.367);
    border-radius: 8px;
    padding: 10px 10px;
    cursor: pointer;
    font-weight: 600;
}

.projects {
    padding: 80px 10%;
    background: #f7f9fc;
    cursor: pointer;
}

.projects h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: 700;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.project-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
}

.project-card p {
    color: #555;
    line-height: 1.5;
}

/* Hover effect */
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    border-color: rgba(0,0,255,0.2);
}
.contact {
    padding: 80px 10%;
    background: white;
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 20px 25px;
    background: #f4f6ff;
    border-radius: 15px;
    width: 130px;
    cursor: pointer;
    text-decoration: none;
    color: #333;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.contact-item:hover {
    transform: translateY(-6px);
    background: #e8ecff;
    border-color: rgba(75, 107, 251, 0.3);
}

.contact-item i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #4b6bfb;
}

.cv-section {
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f0f4f8;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.cv-section .text {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  color: #0a192f;
}

.cv-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cv-section label {
  text-align: left;
  font-weight: 500;
}

.cv-section input {
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.cv-section button {
  padding: 0.8rem;
  background: #0a192f;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}

.cv-section button:hover {
  background: #112240;
}

#msg {
  margin-top: 1rem;
  color: green;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 600px) {
  .cv-section {
    margin: 1rem;
    padding: 1.5rem;
  }
}
