@charset "UTF-8";
@import url(https://fonts.googleapis.com/css?family=Lato);
@import url(https://fonts.googleapis.com/css?family=Oswald);
@import url(https://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css);

/* 미디어 쿼리 */
@media screen and (min-width: 768px) {
    .carousel {
        height: 500px;
    }

    .carousel-inner > .item {
        height: 500px;
    }

    .carousel-inner > .item > img,
    .carousel-inner > .item > a > img {
        height: 500px; /* 세로 높이를 늘림 */
    }
}

/* 상단바 */
.start-header {
	background-color: rgb(245, 238, 232) !important;
}

.container-fluid {
	padding: 80px 50px ; 
	width: 1200px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.fa-comment-dots {
	color: #8C8C8C; font-size: 13px;
}

.commentCount {
	color: #8C8C8C; font-size: 13px;
}

/* weather
=========================================== */
.weather-container {
	background-color: rgb(245, 238, 232);
	height: 50vh;
	width: 100%;
	margin-top: -40px;
	
}

.weather-container video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* auto-popup
=========================================== */
/* 팝업창 영역 */
.popup-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0,, 0.4);
	backdrop-filter: blur(5px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.popup-wrapper.active {
	opacity: 1;
	visibility: visible;
}

/* 팝업창 자체 */
.popup-content {
	display: flex;
	flex-direction: column;
	position: relative;
	background: white;
	padding: 40px;
	border-radius: 16px;
	width: 90%;
	min-width: 360px;
	min-height: 430px;
	max-width: 420px;
	max-height: 700px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	text-align: center;
	transform: scale(0.95);
	transition: transform 0.3s ease-in-out;
}

.popup-wrapper.active .popup-content {
    transform: scale(1);
}

/* 팝업 제목 */
.popup-content h3 {
	font-size: 22px;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 12px;
	color: #333;
}

/* 팝업 설명 */
.popup-content .popup-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 24px;
}

/* 계정 정보 영역 */
.account-info {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.account-info div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}

.account-info div:first-child {
    margin-bottom: 12px;
}

/* "아이디", "비밀번호" 텍스트 */
.account-info span {
    color: #555;
    font-weight: 500;
}

/* 실제 아이디, 비밀번호 */
.account-info p {
    margin: 0;
    font-weight: 600;
    color: #2c5282;
    background-color: #eef2f7;
    padding: 4px 10px;
    border-radius: 6px;
}


/* 닫기 버튼 */
.popup-close-btn {
	position: absolute; /* 콘텐츠 박스 기준으로 위치 고정 */
	top: 15px;
	right: 15px;

	/* 기본 버튼 스타일 초기화 */
	background: transparent;
	border: none;
	
	/* 스타일링 */
	font-size: 28px;
	color: #999;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color 0.2s ease;
}

.popup-close-btn:hover {
	color: #333; /* 마우스를 올리면 진하게 변경 */
}

/* 하루 동안 보지 않기 */
.popup-options {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 5px;
	padding-top: 1.5rem;
}

.popup-options .popup-hide-for-day {
	margin-bottom: 0;
}

/* 가이드 시작하기 버튼 + 게시글 정렬 버튼 div */
.row-inner {
	margin: 20px 20px;
	gap: 8px;
}

/* 가이드 버튼
=========================================== */
/* 가이드 시작하기 버튼 */
.guide-start-button-with-icon {
    background-color: #ad9f94;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 8px; /* 아이콘과 텍스트 사이 간격 */
    margin-bottom: 15px;
}

/* 가이드 시작하기 버튼 hover 시 */
.guide-start-button-with-icon:hover {
    background-color: #9a8b7e;
    transform: translateY(-2px);
}

/* 가이드 팝오버 스타일 */
.driver-popover.driverjs-theme {
    background-color: #ffffff;
    color: #4c4c4c;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Noto Sans KR', sans-serif, 'Apple SD Gothic Neo';
    line-height: 1.5;
    font-size: 13px;
	line-height: 1.6;
    width: auto;
    max-width: 350px;
}

/* pagination 
=========================================== */
.pagination {
	margin: 20px 0;
}

span.page-link {
	background-color: #6B66FF; color: #ffffff;
}

/* card 
=========================================== */
	
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 최소 250px, 최대 1fr로 자동 조정 */
    gap: 20px;
}

.snip1518 {
  font-family: 'Lato', Arial, sans-serif;
  position: relative;
  overflow: hidden;
  margin: 10px;
  max-width: 250px;
  height: 400px;
  width: 100%;
  background-color: #ffffff;
  color: #2B2B2B;
  text-align: center;
  font-size: 16px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;  
  justify-content: space-between;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 이미지 영역 높이 고정 */
.snip1518 .image {
  width: 100%;
  height: 70%; /* card 높이 지정 */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.snip1518 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.snip1518 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: top;
  position: relative;
}

.snip1518 figcaption {
  padding: 10%;
  padding-bottom: calc(25%);
  background-color: #ffffff;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.snip1518 .post-bName {
  font-family: 'MinSans-Regular';
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;
  margin: 3px 0;
  color: #888;
}

.snip1518 .post-bTitle {
  font-family: 'MinSans-Regular';		
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 400;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
/*   letter-spacing: 1px; */
}

.snip1518 footer {
  border-top: 1px solid rgba(0, 0, 0, 0.065);
  padding: 0 20px;
  font-size: 13px;
  line-height: 50px;
  text-align: left;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.snip1518 footer .icons {
  position: absolute;
  right: 20px;
  top: 0;
}

.snip1518 footer .icons > div {
  display: inline-block;
  margin-left: 8px;
}

.snip1518 footer .icons i {
  display: inline-block;
  margin-right: 3px;
  font-size: 1em;
}

.snip1518 a {
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  z-index: 1;
}


.snip1518:hover {
	color: #747474;
	transition: all 0.3s ease;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.snip1518:hover .image{
	opacity: 0.6;
}


.fa-comment::before {
	content: "\f075"; /* fa-comment 아이콘의 유니코드 값 */
 	font-family: "Font Awesome 5 Free";
  	font-weight: 100; 
  	font-size: 11px; 
  	color: inherit; /* 기존 색상을 그대로 사용 */
  	vertical-align: middle;
}

/* form과 버튼을 포함한 상위 컨테이너 */
.form-and-buttons-container {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    width: 100%; 
}

/* 버튼을 왼쪽에 배치 */
.buttons-container {
    display: flex;
    gap: 10px; 
}

/* 버튼 스타일 */
.styled-button {
	font-size: 14px;
	padding: 8px;
}

/* form */
.form-container {
    display: flex;
    justify-content: flex-end; 
    width: 50%; 
}

/* 작은 화면에서 레이아웃 조정 */
@media (max-width: 768px) {
    .form-and-buttons-container {
        flex-direction: column;
        width: 100%;
        align-items: stretch; /* 양쪽 끝까지 차지하도록 설정 */
    }
    
    .buttons-container {
        margin-bottom: 10px;
        width: 70%;
        justify-content: flex-start;
    }

    .form-container {
        width: 60%;
    }

    .styled-select, .styled-input {
        width: 100%;
    }
}

