
.font-white{
    color: white;
}
.navbar-nav .nav-link {
    color: white; /* 글씨 색을 흰색으로 설정 */
}

.navbar-nav .dropdown-menu {
    /* background-color: transparent; 드롭다운 메뉴 배경 없애기 */
    background-color: black;
    border: 1px solid gray; /* 회색 테두리 추가 */
}

.dropdown-item {
    color: white; /* 드롭다운 항목 글씨 흰색으로 설정 */
}

.dropdown-item:hover {
    background-color: gray; /* 항목 선택 시 배경 색 변경 */
}

.portfolio-item img {
    width: 100%;
    height: 300px; /* 원하는 높이로 설정 */
    object-fit: cover; /* 비율을 유지하며 크기에 맞춤 */
}
img {
    border-radius: 10px;
    border: 1px solid gray;
}

.hover-effect {
    color: #000; /* 기본 글자색 */
    cursor: pointer; /* 커서를 손가락 모양으로 변경 */
}

.hover-effect:hover {
    color: #007bff; /* 글자색을 연한 파란색으로 변경 */
}
@keyframes seesaw_low {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-1deg); }
    50% { transform: rotate(1deg); }
    75% { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}
@keyframes seesaw {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

/* 기본 스타일 */
.custom-contact-section {
    padding: 12px;
}

.custom-container {
    margin-left: 10rem;
    margin-right: 10rem;
}

.custom-heading {
    font-size: 1.2rem;
    color: white;
}

.custom-text {
    font-size: 0.8rem;
    color: white;
}
.my-wh{
    color: white;
}
header.masthead {
    height: 100vh;
    display:flex;
    align-items:center;
}

header.container{
    display:table-cell;
    vertical-align:middle;
}
header.masthead {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-position 1s ease-in-out;
}
header .text-area{
    padding-bottom: 2rem;
}
.m3{
    background-image: url(/assets/img/railway-station-1363771_1920.webp) !important;
}
.m2{
    background-image: url(/assets/img/tunnel-4427609_1920.webp) !important;
}
.m1{
    background-image: url(/assets/img/back_com2.webp) !important;
}
/* 데스크탑 크기에서의 기본 마진 설정 */
@media (max-width: 1024px) {
    .custom-container {
        margin-left: 3rem;
        margin-right: 3rem;
    }

    .custom-heading {
        font-size: 1.3rem; /* 태블릿에서의 헤더 크기 조정 */
    }

    .custom-text {
        font-size: 0.9rem; /* 태블릿에서의 본문 크기 조정 */
    }
}

@media (max-width: 768px) {
    .custom-container {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .custom-heading {
        font-size: 1.1rem; /* 모바일에서의 헤더 크기 조정 */
    }

    .custom-text {
        font-size: 0.8rem; /* 모바일에서의 본문 크기 조정 */
    }

    .custom-contact-section {
        padding: 8px; /* 모바일에서의 섹션 패딩 감소 */
    }
    .my-w {
        width: auto;
        
    }
    
}

@media (max-width: 576px) {
    .custom-heading {
        font-size: 1rem; /* 더 작은 모바일 기기에서의 헤더 크기 조정 */
    }

    .custom-text {
        font-size: 0.7rem; /* 더 작은 모바일 기기에서의 본문 크기 조정 */
    }

    .custom-container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    
    .my-w{
        margin-left: 0 !important;
    }
}