body {
    background-color : #FFE8CF;
    padding: 0;
    margin: 0;
}

header {
    background-color: #F0AA5F;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 10px 1px 1px;
    border-bottom: 5px solid;
    border-color:#65451F ;
}
a {
    color: inherit;
    text-decoration: none;
}

#left-header {
    width: 150px;
    
}

nav a {
    text-decoration: none;
    color: black;
    padding : 10px 30px 10px 30px;
    
}

nav a:hover {
    background-color: #65451F;
    border-radius: 8px;
    color: #FFE8CF ;
    transition: 0.4s;
}

.dropdown {
    display: none;
}

main h1, h3 {
    color: ;
}
main {
    color: ;
    text-align: center;
}
/* buat foto coding */
#hero img {
    width: 100%;
    height: auto;
}

@media screen and (min-width: 601px) {
    div.insideimg h1, h2 {
      font-size: 80px; /* Larger screens */
    }
  }
  
  @media screen and (min-width: 801px) {
    div.insideimg h1, h2, button {
      font-size: 45px; /* Smaller screens */
      position: relative;
    }
  }
    
  @media screen and (max-width: 801px) {
    div.insideimg h1, h2 {
      font-size: 30px; /* Smaller screens */
      top: 1%;
      left: 60%;
    }
  }
  @media screen and (max-width: 602px) {
    div.insideimg h1, h2, button {
      font-size: 10px; /* Smaller screens */
      top: 0.01%;
      left: 60%;
    }
  }

.insideimg {
    position: absolute;
    top: 30%;
    left: 60%;
 
  }
.insideimg h1 {
    color:#F0AA5F ;

}
.insideimg h2 {
    color:#F0AA5F;
    background-color: transparent;
    
}

.insideimg button {
    background-color:#65451F;
    color:#F0AA5F;
    padding: 10px;
    border-radius: 30px;
    border-color:#65451F;
    margin:30px
    }

/* buat About */ 
#about {
    background-color: #F0AA5F;
    padding : 10%;
    color : black;
    background-size: cover;
    text-align: center;
  
}

#about p {
    text-align: justify;
    font-size: 24px;
    padding-left: 10%;
    padding-right: 10%;
    color: black;
}

#about h1 {
    font-size: 40px;
    text-align: center;
}

/* buat Portofolio */
#portofolio h1 {
    text-align: center;
}

header {
    background-color: #F0AA5F;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#portofolio h2 {
    padding : 50px;
}

/* buat Card */
#card1 {
    width: 400px;
    background-color: #F0AA5F;
    border-radius: 8px;
}

#card1 img {
  border-radius: 50%; 
  display: flex;
  border: 5px solid #65451F;
}
.cards {
  display: flex;
  justify-content: space-evenly;
  gap: 5px;
  flex-wrap: wrap;
  width: 100%;
}

.cards h4 {
    color:#65451F;
    justify-content: center;
    text-align: center;
    text-decoration: solid;
    font-size: 30px;
} 
.cards p {
  text-align: justify;
  margin-right: 5%;
  margin-left: 5%;
  padding-bottom: 5%;
}

.cards img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}


@media only screen and (max-width: 500px) {
  .cards {
    width: 100%;
  }
}
/* Buat Menu */
h2 {
    color: #65451F;
    background-color: #F0AA5F;
}

@media (max-width: 800px) {
    .dropdown {
        position: relative;
        display: inline-block;
        padding-right: 100px;
      }
    .dropdown span h2:hover {
        background-color: #65451F;
        color: #FFE8CF ;
        padding: 5px 5px ;
        transition: 0.4s;
        border-radius: 8px;
        text-align: center;

    }
      
      .dropdown-content {
        display: none;
        position: absolute;
        background-color:#F0AA5F;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        padding: 10px 10px;
        z-index: 1;
      }
      .dropdown-content ul li a:hover {
        background-color: #65451F;
        color: #FFE8CF;
        transition: 0.4s;
        padding: 8px 8px;
        position: relative;
        border-radius: 8px 8px;
      }
      
      .dropdown:hover .dropdown-content {
        display: block;
      }

      nav a {
        display: none;
      }
      ul li {
        list-style: none;
        position: relative;
      }

      a {
        text-decoration: none;
      }
  }

  /* buat form*/

  form {
    background-color: #65451F;
    margin: 10px 0px 0px 0px;
    padding: 20px 20px;
    display: flex;
    justify-content: center;
  }

  form input {
    border: 2px solid #F0AA5F;
    border-radius: 50px;
    padding: 1rem 2rem;
    width: 30%;
  }

  form button {
    background-color:#F0AA5F;
    border: transparent;
    border-radius: 50%;
    display: flex table-column;
    color:#65451F;
    width: 100%;
    max-width: 50px;
  }
 


 /* buat contact */

 .contact {
  display: flex;
  justify-content: space-evenly;
  max-height: 200px;
  color: #65451F;
 }

 .isicontact {
  display: flex;
  margin: 5px;
  padding: 5px 5px ;
  align-items: center;
  border: 2px solid #65451F;
  border-radius: 100px;
 }

 .contact img {
  width: 20px;
  max-width: 100%;
 }