@media only screen and (max-width: 999px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  :root {
    --primary-color: #0b7285;
    --secondary-color: #d9480f;
    --background: #e6e6fa80;
  }

  h1 {
    font-family: "Inter", sans-serif;
    font-size: 55px;
  }
  p {
    color: #343a40;
  }

  body {
    font-family: "Inter", sans-serif;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    background-color: var(--primary-color);
  }

  .logo {
    background: var(--primary-color);
  }

  .logo a {
    color: white;
    text-decoration: none;
    font-size: 40px;
  }

  .menu {
    position: fixed;
    z-index: 999;
    right: 0;
    top: 0;
    background-color: var(--secondary-color);
    padding: 16px;
    text-align: right;
    height: 100vh;
    width: 50vw;
  }

  .hide {
    display: none;
  }

  .menu ul {
    list-style-type: none;
  }

  .menu a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
  }

  .menu-icon {
    width: 30px;
    stroke: #fff;
    float: right;
    margin-right: 10px;
    cursor: pointer;
  }

  .menu-icon-close {
    width: 30px;
    stroke: #fff;
    cursor: pointer;
    margin: 10px 0 20px 0;
  }

  .hero {
    display: block;
  }

  .hero img {
    width: 300px;
    margin: 30px;
    border-radius: 200px;
    border: 20px solid var(--background);
    position: relative;
  }

  .hero-right {
    text-align: left;
    margin: 25px;
    line-height: 1.5;
    position: relative;
  }

  .hero-right h1 {
    color: var(--primary-color);
    font-size: 45px;
    letter-spacing: -1px;
  }

  .hero-right h2 {
    color: var(--primary-color);
  }

  .hero-right p {
    margin: 15px 0;
  }

  button {
    padding: 10px 20px;
    margin-top: 10px;
    margin-bottom: 30px;
    background: var(--secondary-color);
    border: none;
  }

  button a {
    color: white;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
  }

  .skills {
    align-items: center;
    background-color: white;
    padding: 20px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }

  .skills img {
    width: 100px;
    row-gap: 10px;
  }

  .social {
    background: var(--background);
    display: flex;
    justify-content: center;
  }

  .social img {
    margin: 20px;
  }

  .footer {
    background: var(--primary-color);
    padding: 10px;
  }

  .footer p {
    color: white;
  }
}

/*--------------------------------------------------------------------------------------*/
@media (min-width: 1000px) {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    font-family: "Inter", sans-serif;
    background: var(--background);
  }

  :root {
    --primary-color: #0b7285;
    --secondary-color: #d9480f;
    --background: #e6e6fa80;
  }

  h1 {
    font-size: 45px;
    color: var(--primary-color);
  }

  h2 {
    font-size: 30px;
    color: var(--secondary-color);
  }

  p {
    font-size: 18px;
    color: #343a40;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-color);
    padding: 8px 16px;
  }

  .logo a {
    color: white;
    text-decoration: none;
    font-size: 55px;
  }

  .menu li {
    display: inline-block;
  }

  .menu li a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
  }

  .menu li a:hover {
    color: black;
  }

  .menu-icon {
    display: none;
  }

  .menu-icon-close {
    display: none;
  }

  .hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 40px 0;
  }

  .hero-left img {
    width: 400px;
    border-radius: 200px;
    border: 10px solid var(--background);
  }

  .hero-right {
    text-align: left;
    margin-left: 50px;
    line-height: 1.5;
    width: 50%;
  }

  button {
    background-color: var(--secondary-color);
    padding: 10px 20px;
    margin-top: 15px;
    border: none;
  }

  button a {
    color: white;
    text-decoration: none;
  }

  button a:hover {
    color: #343a40;
  }

  .skills {
    display: flex;
    justify-content: center;
    background-color: white;
  }

  .skills img {
    width: 100px;
    margin: 25px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.05);
  }

  .social {
    display: flex;
    justify-content: center;
    background-color: white;
  }

  .social img {
    margin: 0 30p;
    width: 50px;
    margin: 25px;
  }

  .social img:hover {
    transform: scale(1.2);
  }

  .footer {
    background-color: var(--primary-color);
    padding: 10px 0;
  }

  .footer p {
    color: white;
  }
}
