@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.container {
    text-align: center;
    padding: 150px 10px 20px;
    background: linear-gradient(135deg, #1d4f90, #769ed1);
    overflow-x: hidden;
}

/* 공통 */
.sub-text,
.sub-text1,
.sub-text2,
.main-text,
.main-image1 {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

/* 각각 delay만 줌 */
.sub-text1 {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 10px;
    animation-delay: 0.3s;
}
.sub-text2 {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 10px;
    animation-delay: 0.5s;
}

.main-text {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation-delay: 0.7s;
}
.main-image1 {
    max-width: 80%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation-delay: 0.9s;
}



/* 반응형 */
@media (min-width: 768px) {
    .container {
        margin-top: -100px;
    }
    .main-text {
        font-size: 60px;
    }
    .sub-text1 {
        font-size: 24px;
    }
	.sub-text2 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        margin-top: -100px;
    }
    .main-text {
        font-size: 36px;
    }
    .sub-tex1t {
        font-size: 18px;
    }
	.sub-text2 {
        font-size: 24px;
    }
    .image {
        width: 100%;
        border-radius: 0;
    }
	.main-image1 {
    max-width: 100%;
	}
}
