
/* 네비바 해당 페이지 색상 변경 */
nav ul li:nth-child(2) a {
    color: green; /* 네비게이션 바에서 두 번째 링크의 텍스트 색상을 녹색으로 변경 */
}





/* 전체 버튼 컨테이너 가운데 정렬 */
.big-categories-button-container {
    display: flex;
    justify-content: center;

    padding-top: 150px;
    padding-bottom: 20px;
}


/* 버튼들을 담는 래퍼 */
.big-categories-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

/* 버튼 스타일 */
.big-categories-button {
    display: inline-block;

    color: #616161; /* 텍스트 색상을 설정합니다. */
    text-decoration: none; /* 링크의 밑줄을 제거합니다. */
    background-color: #def2ff; /* 배경색을 설정합니다. */
    border-radius: 1rem; /* 버튼의 테두리를 둥글게 만듭니다. */
    border: 2px solid #bdbdbd; /* 회색 테두리를 추가합니다. */
    padding: 1rem 1.5rem; /* 버튼의 내부 여백을 설정합니다. */


    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

/* 호버 시 효과 */
.big-categories-button:hover {
    background-color: #91a7bb;
    transform: translateY(-2px);
}

/* 클릭 시 눌리는 느낌 */
.big-categories-button:active {
    transform: scale(0.97);
}



/* on 버튼 스타일 */
.big-categories-button_on {
    display: inline-block;

    color: #616161; /* 텍스트 색상을 설정합니다. */
    text-decoration: none; /* 링크의 밑줄을 제거합니다. */
    background-color: #deffef; /* 배경색을 설정합니다. */
    border-radius: 1rem; /* 버튼의 테두리를 둥글게 만듭니다. */
    border: 2px solid #bdbdbd; /* 회색 테두리를 추가합니다. */
    padding: 1rem 1.5rem; /* 버튼의 내부 여백을 설정합니다. */


    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

/* 호버 시 효과 */
.big-categories-button_on:hover {
    background-color: #99bb91;
    transform: translateY(-2px);
}

/* 클릭 시 눌리는 느낌 */
.big-categories-button_on:active {
    transform: scale(0.97);
}







/* 전체 버튼 컨테이너 가운데 정렬 */
.small-categories-button-container {
    display: flex;
    justify-content: center;

    padding-top: 20px;
    border-top: 1px solid #ebebeb;
}


/* 버튼들을 담는 래퍼 */
.small-categories-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}



/* small 버튼 스타일 */
.small-categories-button {
    display: inline-block;

    color: #4a4a4a; /* 더 어두운 회색 텍스트 */
    text-decoration: none;
    background-color: #f1f1f1; /* 옅은 회색 배경 */
    border-radius: 0.5rem; /* 라운딩 줄임 */
    border: 2px solid #cccccc;
    padding: 1rem 1.5rem;

    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

/* 호버 시 효과 */
.small-categories-button:hover {
    background-color: #d9d9d9;
    transform: translateY(-2px);
}

/* 클릭 시 눌리는 느낌 */
.small-categories-button:active {
    transform: scale(0.97);
}


/* small on 버튼 스타일 */
.small-categories-button_on {
    display: inline-block;

    color: #4a4a4a;
    text-decoration: none;
    background-color: #d8ecda; /* 연한 초록 회색 */
    border-radius: 0.5rem;
    border: 2px solid #bbc4bb;
    padding: 1rem 1.5rem;

    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

/* 호버 시 */
.small-categories-button_on:hover {
    background-color: #b6dab6;
    transform: translateY(-2px);
}

/* 클릭 시 */
.small-categories-button_on:active {
    transform: scale(0.97);
}










/* 서비스 컨테이너  */
.small-categories-info-container {
    width: 100%;
    min-height: 1000px;

    text-align: center;

    border-top: 2px solid #979797; /* 굵기, 스타일, 색상 */
    margin: 0 auto;

    margin-top: 100px;
    margin-bottom: 200px;
}


.small-categories-info-container h1 {
    font-size: 2rem;
    text-align: left;

    text-align: center;
        
}


.small-categories-info-container p {
    font-size: 20px;

}


.small-category {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

}





/* 서비스_카드 스타일 */
.service-cards {
    position: relative; /* 부모 요소에 대해 상대적으로 배치 */
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 40px;
    gap: 30px;

    justify-content: center;
    text-align: center;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;

    width: 20rem;
    aspect-ratio: 1 / 1.2; /* 가로:세로 비율 */
    margin-bottom: 20px; /* 각 카드 하단에 여백 추가 */
}

/* 카드 이미지 설정 */
.service-card img {
    width: 100%; /* 이미지 가로 설정 */
    height: 50%; /* 이미지 세로 설정 */
    object-fit: cover; /* 이미지를 잘라서 맞춤 */
}

/* 카드 정보 설정 */
.service-card-info {
    padding: 10px;
}

/* 카드 h3태그 */
.service-card-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;

    text-align: left;
    color: #3f3f3f;
}

/* 카드 p태그 */
.service-card-info p {
    font-size: 1.15rem;

    text-align: left;
    color: #8d8d8d;
}



/* 블로그-설명 */
.blog-explain {
    margin: 0;
    padding: 20px 0;

    border-top: 2px solid #c5c5c5; /* 굵기, 스타일, 색상 */
    background-color: #EEEEEE;
}



/* 블로그_카드 스타일 */
.blog-cards {
    position: relative; /* 부모 요소에 대해 상대적으로 배치 */
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 15px;
    gap: 70px;
    justify-content: flex-start; /* 카드를 왼쪽 정렬 */

    background-color: #EEEEEE;

    justify-content: center;
    text-align: center;

    
}

.blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;

    width: 15rem;
    aspect-ratio: 1 / 1.3; /* 가로:세로 비율 */
    margin-bottom: 20px; /* 각 카드 하단에 여백 추가 */
}

/* 카드 이미지 설정 */
.blog-card img {
    width: 100%; /* 이미지 가로 설정 */
    height: 50%; /* 이미지 세로 설정 */
    object-fit: cover; /* 이미지를 잘라서 맞춤 */
}

/* a태그 (링크태그) 스타일 */
.blog-card a {
    text-decoration: none;
}

/* 카드 정보 설정 */
.blog-card-info {
    padding: 10px;
}

/* 카드 h3태그 */
.blog-card-info h3 {
    font-size: 1.2rem;
   margin-bottom: 10px;

    color: #3f3f3f;
}

/* 카드 p태그 */
.blog-card-info p {
    font-size: 1rem;

    color: #333;
}


/* 카드 호버링 연출 */
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}





/* 페이지네이션 */
.pagination {
    background-color: #EEEEEE;

    text-align: center;
    padding-top: 0px;
    padding-bottom: 100px;

    border-bottom: 2px solid #c5c5c5; /* 굵기, 스타일, 색상 */
  
}

.pagination button {
  margin: 0 4px;
  padding: 8px 14px;
  background-color: #eee;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button.active {
  background-color: #0077cc;
  color: white;
  font-weight: bold;
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}









@media screen and (max-width: 1000px){
    .service-card {
        width: 35%;
    }

    .blog-card {
        width: 35%;
    }
}

@media screen and (max-width: 800px){

    .service-card {
        aspect-ratio: 1 / 1.7; /* 가로:세로 비율 */
    }

    .thumbs__wrapper{
        margin: 60px 0 0 60px;
    }

    .thumbs__item {
        width: 50%;
    }
}

@media screen and (max-width: 400px){
    .thumbs__wrapper{
        margin: 60px 0 0 0;
        padding-right: 0px;
    }

    .thumbs__item {
        width: 100%;
    }
}





