:root {
  --olive-green: #627254;
  --camouflage-green: #76885B;
  --light-gray: #DDDDDD;
  --very-light-gray: #EEEEEE;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: white;
  clear: both;
  font-family: "Segoe UI", sans-serif;
}

@media (max-width: 1024px) {
  #loadMore {
    display: block;
    margin: 15px auto;
    color: rgb(26,26,26);
    font-weight: 400;
    font-size: 18px;
    background: var(--very-light-gray);
    padding: 10px 28px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
  }
  
  .wrapper-article {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .wrapper-article > a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
  }
  
  .wrapper-article > a > .item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    overflow: hidden;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(245,245,245);
  }
  
  .item-content > img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }
  
  .item-content > .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
  
  .option-type-article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  
  .option-type-article > a {
    border-radius: 15px;
    background: var(--light-gray);
    color: rgb(50,50,50);
    padding: 8px 25px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    scroll-snap-align: start;
  }
  
  .option-type-article > .a-active {
    border-radius: 15px;
    background: var(--olive-green);
    color: #fff;
    padding: 8px 25px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .container-content-article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;    width: 90%;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin: auto;
  }
  
  .container-content-article > a {
    text-decoration: none;
    color: inherit;
    margin: 0;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: auto;
  }
  
  .container-content-article > a > .item-content {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    overflow: hidden;
  }
  
  .container-content-article > a > .item-content > img {
    width: 150px;
    aspect-ratio: 1.1 / 1;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }
  
  .article-divider {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    border: none;
    margin: 16px 0;
    display: block;
  }
  
  .container-content-article > a > .item-content > .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
  
  .text-content h1 {
    color: #1a1a1a;
    font-weight: 500;
    font-size: clamp(18px, 2vw, 20px);
    margin: 0 0 4px 0;
  }
  
  .text-content h2 {
    color: #0c0c0c;
    font-weight: 400;
    font-size: clamp(14px, 1.5vw, 15px);
    margin: 0 0 4px 0;
  }
  
  .text-content p {
    color: #646464;
    font-weight: 400;
    font-size: clamp(10px, 1vw, 12px);
    margin: 0;
  }
  
  .container-search {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    width: 90%;
    justify-content: center;
    align-items: center;
    padding: 90px 15px 0 15px;
    margin: auto;
  }
  
  .container-search > div {
    display: flex;
    width: 100%;
  }
  
  .container-search > div > input {
    flex: 1;
    padding: 8px 8px 8px 15px;
    border: none;
    background-color: var(--very-light-gray);
    border-radius: 25px 0 0 25px;
    outline: none;
  }
  
  .container-search > div > #buttonReset {
    width: 45px;
    aspect-ratio: 1;
    border-radius: 0;
    background-color: var(--camouflage-green);
    color: #ffffff;
    border: none;
    cursor: pointer;
  }
  
  .container-search > div > #buttonSearch {
    width: 45px;
    aspect-ratio: 1;
    border-radius: 0 25px 25px 0;
    background-color: var(--olive-green);
    color: #ffffff;
    border: none;
    cursor: pointer;
  }
  
}



@media (min-width: 1024px) {
  #loadMore {
    display: block;
    margin: 15px auto;
    color: rgb(26,26,26);
    font-weight: 400;
    font-size: 18px;
    background: var(--very-light-gray);
    padding: 10px 28px;
    border-radius: 25px;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
  }
  
  .wrapper-article {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  
  .wrapper-article > a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
  }
  
  .wrapper-article > a > .item-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    overflow: hidden;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(245,245,245);
  }
  
  .item-content > img {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
  }
  
  .item-content > .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
  }
  
  .option-type-article {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  
  .option-type-article > a {
    border-radius: 15px;
    background: var(--light-gray);
    color: rgb(50,50,50);
    padding: 8px 25px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .option-type-article > .a-active {
    border-radius: 15px;
    background: var(--olive-green);
    color: #fff;
    padding: 8px 25px;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
  }
  
  .container-content-article {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    width: 35%;
    justify-content: center;
    align-items: center;
    padding: 15px;
    margin: auto;
  }
  
  .container-content-article > a {
    text-decoration: none;
    color: inherit;
    margin: 0;
    padding: 0;
    cursor: pointer;
    width: 100%;
    height: auto;
  }
  
  .container-content-article > a >.item-content {
    display: block;
    overflow: hidden;
  }
  
  .container-content-article > a > .item-content > img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
  }
  
  .text-content > h1 {
    color: rgb(26,26,26);
    font-weight: 500;
    font-size: 20px;
  }
  
  .text-content > h2 {
    color: rgb(12,12,12);
    font-weight: 400;
    font-size: 15px;
  }
  
  .text-content > p {
    color: rgb(100,100,100);
    font-weight: 400;
    font-size: 10px;
  }
  
  .container-search {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    width: 35%;
    justify-content: center;
    align-items: center;
    padding: 90px 15px 0 15px;
    margin: auto;
  }
  
  .container-search > div {
    display: flex;
    width: 100%;
  }
  
  .container-search > div > input {
    flex: 1;
    padding: 8px 8px 8px 15px;
    border: none;
    background-color: var(--very-light-gray);
    border-radius: 25px 0 0 25px;
    outline: none;
  }
  
  .container-search > div > #buttonReset {
    width: 45px;
    aspect-ratio: 1;
    border-radius: 0;
    background-color: var(--camouflage-green);
    color: #ffffff;
    border: none;
    cursor: pointer;
  }
  
  .container-search > div > #buttonSearch {
    width: 45px;
    aspect-ratio: 1;
    border-radius: 0 25px 25px 0;
    background-color: var(--olive-green);
    color: #ffffff;
    border: none;
    cursor: pointer;
  }

    }
