:root {
    --primary-color: #ffdfc8;
    --secondary-color: #ff761b;
  }
  
  *{
    box-sizing: border-box;
  }

  #search {
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 12px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    border-radius: 6px;
    margin: 16px 0px;
    background-color: rgba(255, 255, 255, 0.95);
  }

  
  ul {
    padding: 16px 0px;
    padding-inline-start: 0px;
  }
  body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--primary-color);
    margin: 1rem;
    font-weight: 600;
  }
  
  .button {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1rem;
    width: 10rem;
    height: 3rem;
    border-color: var(--primary-color);
    cursor: pointer;
  }
  
  .button:hover
  {
    scale: 1.1;
    opacity: 0.8;
    box-shadow: 5px 10px #0000002f;
    color: black;

  }

  .button:focus {
    border: none;
  }
  
  .main-title {
    text-align: center;
    margin-left: 2rem;
  }
  
  li {
    list-style: none;
    margin-bottom: 1.25rem;
  }
  
  .container {
    text-align: center;
    align-items: center;
    margin-top: 5rem;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 24px;
    border-radius: 8px;
    max-width: 900px;
  }
  
  .navbar {
    background-color: var(--secondary-color);
    color: white;
  }
  
  .nav-img {
    width: 2.5rem;
  }
  
  .pokemon-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  h1 {
    font-size: 1.5rem;
    font-weight: 500;
    color: black;
  }

  .modal-content {

    transform: translateY(60%);
    box-shadow: 5px 10px 10px #4a4a4a;
    width: 500px;
    margin: 0px;
    margin-left: auto;
    margin-right: auto;

  }

  .modal-div {
    padding-left: 16px;
    display: flex;
    align-content: center;
    text-align: left;
    flex-direction: column;
    justify-content: center;
    position: relative;
    float: right;
    background-color: #ffdfc882;
    width: 100%;
    border-radius: 8px;
    margin-left: 16px;
  }

  .modal-body {
    display: flex;
  }


  .modal-body img {
    height: 150px;
    width: auto;
  }
  .modal-header, .modal-body, .modal-footer {
    padding: 1.25rem;
  }

  .btn-secondary {
    background-color: var(--secondary-color);
    border: none;
  }

  .close {
    font-weight: 300;
    color: black;
  }

  h3 {

    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
    white-space: no-wrap;
    width: fit-content;
    color: black;
  }

  p {
    white-space: normal;
    width: fit-content;
    margin: 8px 0px 8px 0px;
    text-align: left; 
    font-size: 14px;
    font-weight: 400;
    color: rgb(0, 0, 0, .7);   
  }
  
  /* media queries */
  @media all and (max-width : 500px) {
    .button {
      width: 10rem;
      font-size: 0.7rem;
    }
  
  }
  