body, html {
    margin: 0;
    padding: 0;
}

header {
    background: linear-gradient(#40b3ff, #5a65ff);
    position: fixed;
    top: 0;
    width: 100%;
}

footer {
    padding-top: 3vh;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

  
.bottomtit {
    width: 300px;
    height: auto;
}

.comment_box {
    width: 100%;
    border:1px solid #a8a8a8;
    background-color: #f9f4f0;
}

.content{
    padding-left:22vw;
    padding-right: 22vw;
    padding-top: 0.7vh;
}

.contente{
    padding-left:22vw;
    padding-right: 22vw;
    padding-top: 0.7vh;
}
.package_img { 
    padding-right: 50px;
}
.faq_box {
    width: 100%;
    border: 1px solid black;
    background-color: #fff1f1;
}

.faqtitle {
    padding-top: 1vw;
    padding-left: 1vw;
}

.freq {
    font-size: 1vw;
    font-weight: bold;
}

.question_field {
    padding-top: 1vh;
    color: blue;
    text-decoration: underline;
}

.question_field:hover {
    cursor: pointer;
}

.sending_padding {
    padding-top: 1vw;
    padding-left: 1vw;
}

.sending_person {
    height: 2vh;
    font-size: 0.8vw;
}

.sending_person::placeholder {
    font-size: 0.8vw;
    font-weight: bold;
}

.good {
    justify-content: center;
    align-items: center;
}

.good_image {
    width: 100%;
    border: 1px solid black;
}

.good_name {
    font-size: 0.65vw;
    text-align: center;
}

.good_type {
    font-size: 1.5vw;
    font-weight: bold;
    color: #69a5ce;
}

.good_price {
    font-size: 0.65vw;
    text-align: center;
    color: red;
}

.goods {
    width: 100%;
    padding-top: 2vh;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.35vw;
}

.littlefooter {
    display: flex;
    padding-top: 3vw;
    container-type: inline-size;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
}

.popup.active {
    display: flex;
}

.popup-content {
    position: relative;
    background: white;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.popup img {
    width: 40vw; /* Adjust image size */
    height: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

.images {
    padding-top: 15.3vh;
}

.inquiry_box {
    background-color: #f9ffc1;
    border: 1px solid black;
    width: 25%;
    height: 100vh;
    display: flex !important;
    flex-direction: column !important; /* Forces children to be in a vertical stack */
    align-items: center; /* Optional: Centers items horizontally */
}

.paddingtop {
    padding-top: 1.5vh;
}

.inquiry_padding_top{
    padding-top: 3vh;
    width: 80%;
    height: 50%;
}

.inquiry_select {
    font-size: 0.9vw;
    width: 10vw;
    height: 1.5vw;
}

.inquiry_text {
    width: 100%;
    height: 80%;
}

.phone_image {
    width: 14vw;
}

.sangdam {
    padding-left: 30px;
    font-size: 20px;
    color: #007bff;
}

.submit_button {
    width: 200px;
}

.submit_button:hover {
    cursor: pointer;
}



.total_pay {
    padding-left: 30px; 
}

.inquiry_num {
    width: 10vw;
    height: 1.5vw;
    font-size: 0.9vw;
}

.inquiry_num::placeholder {
    font-size: 0.9vw;
}

.good_amount {
    font-size: 0.85vw;
}

.amount_input {
    width: 2vw;
    margin-left: 1vw;
    margin-right: 1vw;
}

.inquiry_button {
    width: 5vw;
    height: 2vw;
    font-size: 0.9vw;
}

.main_image {
    width: 100%;
}

.small_blue {
    width: 100%;
    display: flex;
    justify-content: space-between; /* spaces between images */
    gap: 10px; /* adjust this gap as you like */
}

.main_small_image {
    flex: 1; /* let them grow evenly */
    width: calc((100% - 20px) / 3);
    height: auto; /* keep aspect ratio */
    cursor: pointer;
}

.main_small_image:hover {
    cursor: pointer;
}

.navi {
    padding-bottom: 0.7vw;
}

.navilist {
    color: #fff  !important;
    font-size: 0.9vw;
    font-weight: bold;
    padding-left: 1.2vw;
    text-decoration: none;
}

.navilist:hover {
    color: #fcff3d
}


.middle {
    place-items: center;
}

.left_right {
    width: 100%;
    display: flex;
    padding-top: 3vh;
}

.license {
    padding-left: 10vw;
    width: 80%;
}

.logo {
    width: 15vw;
    height: auto;
}

.order_detail {
    width: 100%;
    
    display: flex;
    flex-direction: column;
}


.order_row1 {
    background-color: #ff8686;
    color: #f84444;
    display: flex;
    align-items: center; /* Vertically align the elements */
}

.order_row {
    display: flex;
    align-items: center; /* Vertically align the elements */
}

.order_box {
    width: 57%;
    padding-left: 2vw;
}

.product-container {
    width: 100%;
    padding: 20px;
    border: 2px solid blue;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-container-2 {
    width: 100%;
    padding-bottom: 20px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-container-package {
    width: 100%;
    padding: 20px;
    border: 2px solid blue;
    border-radius: 10px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-image {
    width: 200px;
    height: auto;
    border-radius: 10px;
}
.product-info {
    flex-grow: 1;
    margin-left: 20px;
}
.product-name {
    font-size: 0.87vw;
    font-weight: bold;
    margin-bottom: 10px;
}

.plz {
    margin-left: 3px;
    font-size: 0.9vw;
}

.product-price {
    color: #ff5722;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.quantity-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    margin-right: 50px;
}
.quantity-input {
    width: 40px;
    text-align: center;
}
.buy-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 0.85vw;
    cursor: pointer;
    display: block;
}
.buy-button:hover {
    background-color: #0056b3;
}

.full {
    width: 100%;
}
#instruction {
    width: 100%;
}
.security {
    width: 30%;
    height: auto;
    padding-left: 5vw;
    padding-right: 5vw;
}

.scroll {
    display: flex;
}

.smsbox {
    width: 100%;
    border: 1px solid black;
    background-color: #f9ffc1;
}

.sms_text {
    width: 80%;
    height: 30vh;
    font-size: 20px;
}

.sms_text::placeholder {
    font-size: 20px;
}

.padding {
    padding-left: 5vw;
}

.sms_header {
    padding-left: 1.5vh;
}

.sending {
    font-size: 0.9vw;
    width: 5vw;
    height: 2vw;
}



.alignright {
    display: flex;
    justify-content: right;
    padding-right: 5vw;
    padding-top: 1vw;
    padding-bottom: 2vw;
}

.textbox {
    width: 30%;
    aspect-ratio: 2 / 1;
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: pre;

}

.textboxcomment {
    width: 30%;
    aspect-ratio: 2 / 1;
    border: 1px solid black;
    display: flex;
    overflow: hidden;
}

.textbox ul,
.textboxcomment ul {
  font-size: 0.65vw;
  margin-bottom: 5px;
}
.textboxcomment li {
    margin-bottom: 5px;
}


.white_line {
    border: none;
    height: 1px;
    background: white;
    width: 100%;
    margin: 20px 0;
}
.step-2 {
    width: 100%;
}
.pink_line {
    border: none;
    height: 1px;
    background: #ff8686;
    width: 80%;
    margin: 20px 0;
}

.jumun {
    font-size: 2vw;
    color: rgb(0, 132, 255);
}

.gejua {
    font-size: 1vw;
}

.bedal {
    font-size: 1.5vw;
}
a:visited {
    color: #0000EE; /* same as above, keeps color consistent */
  }


@media screen and (max-width:767px) {
    a:visited {
        color: #0000EE; /* same as above, keeps color consistent */
      }
    header {
        background: linear-gradient(#40b3ff, #5a65ff);
        position: fixed;
        top: 0;
        width: 100%;
    }
    
    footer {
        padding-top: 3vh;
    }
    body, html {
        margin: 0;
        padding: 0;
    }
    .step-2 {
        width: 100vw;
    }
    ul {
        list-style: none; /* Removes the bullet points */
        padding: 0; /* Removes extra padding from ul */
        margin: 0; /* Optional: Removes default margin */
      }
      
    .bottomtit {
        width: 30px;
        height: auto;
    }
    
    
    .content{
        width: 100vw;
        padding-left:2vw;
        padding-right:2vw;
        padding-top: 0.7vh;
        overflow-x: hidden;
    }
    
    .faq_box {
        width: 100%;
        border: 1px solid black;
        background-color: #fff1f1;
    }
    
    .faqtitle {
        padding-top: 1vw;
        padding-left: 1vw;
    }

    .freq {
        font-size: 2vh;
        font-weight: bold;
    }
    .question_field {
        padding-top: 1vh;
        padding-right: 1vh;
        color: blue;
        text-decoration: underline;
    }
    
    .question_field:hover {
        cursor: pointer;
    }
    
    .sending_padding {
        padding-top: 1vh;
        padding-left: 3vh;
    }
    .sending_person {
        height: 1.5vh;
        font-size: 2.3vh;
    }
    .sending_person::placeholder {
        font-size: 2.3vh;
    }
    .good_amount {
        font-size: 10px;
    }

    .good {
        width: 40vw;
        justify-content: center;
        align-items: center;
    }
    
    .good_image {
        width: 100%;
        border: 1px solid black;
    }
    
    .good_name {
        font-size: 12px;
    }
    
    .good_type {
        font-size: 20px;
        font-weight: bold;
        color: #69a5ce;
    }
    
    .good_price {
        font-size: 12px;
        text-align: center;
        color: red;
    }
    
    .goods {
        grid-template-columns: repeat(2, 1fr);
        padding-top: 2vh;
        display: grid;
        gap: 1.35vw;
    }
    
    .littlefooter {
        display: flex;
        padding-top: 3vw;
        width:100%;
        container-type: inline-size;
    }
    
    .popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none; /* Hidden by default */
        justify-content: center;
        align-items: center;
    }
    
    .popup.active {
        display: flex;
    }
    
    .popup-content {
        position: relative;
        background: white;
        padding: 10px;
        border-radius: 10px;
        text-align: center;
    }
    
    .popup img {
        width: 40vw; /* Adjust image size */
        height: auto;
    }
    
    .close-btn {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 20px;
        cursor: pointer;
    }
    
    .images {
        padding-top: 15.3vh;
    }
    
    .inquiry_box {
        background-color: #f9ffc1;
        border: 1px solid black;
        width: 20%;
        height: 100vh;
        display: flex !important;
        flex-direction: column !important; /* Forces children to be in a vertical stack */
        align-items: center; /* Optional: Centers items horizontally */
    }
    
    .paddingtop {
        padding-top: 1.5vh;
    }
    
    .inquiry_padding_top{
        padding-top: 3vh;
        width: 80%;
        height: 50%;
    }
    
    .inquiry_select {
        width: 80px;
        height: 20px;
        font-size: 10px;
    }
    
    .inquiry_text {
        width: 80%;
        height: 70%;
    }
    
    .plz {
        margin-left: 3px;
    }
    .inquiry_num {
        width: 70px;
        height: 25px;
    }

    .inquiry_num::placeholder {
        font-size: 10px;
    }

    
    .inquiry_button {
        width: 80px;
        height: 20px;
        font-size: 1.5vh;
    }
    
    .phone_image {
        width: 100%;
    }


    .main_image {
        width: 100%;
    }
    .small_blue {
        display: flex;
        justify-content: space-between; /* spaces between images */
        gap: 3px; /* adjust this gap as you like */
        width: 100%;
    }
    
    .main_small_image {
        width: calc((100vw - 6px) / 3);
        height: auto; /* keep aspect ratio */
        cursor: pointer;
    }

    .main_small_image:hover {
        cursor: pointer;
    }
    
    .navi {
        padding-bottom: 0.7vw;
    }
    
    .navilist {
        color: #fff  !important;
        font-size: 3vw;
        font-weight: bold;
        padding-left: 1.2vw;
        text-decoration: none;
    }
    
    .navilist:hover {
        color: #fcff3d
    }
    
    .middle {
        place-items: center;
    }
    
    .left_right {
        display: flex;
        padding-top: 3vh;
    }
    .license {
        padding-left: 10vw;
        width: 80%;
    }
    
    .logo {
        width: 200px;
        height: auto;
    }
    
    .order_detail {
        width: 100%;
        
        display: flex;
        flex-direction: column;
    }
    
    
    .order_row1 {
        background-color: #ff8686;
        color: #f84444;
        display: flex;
        align-items: center; /* Vertically align the elements */
    }
    
    .order_row {
        display: flex;
        align-items: center; /* Vertically align the elements */
    }
    
    .order_box {
        width: 70%;
        padding-left: 1vw;
    }
    
    .product-container {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 2px solid blue;
        border-radius: 10px;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-container-2 {
        width: 100%;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .product-container-package {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        border: 2px solid blue;
        border-radius: 10px;
        background-color: white;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .package_img { 
        width: 100%;
    }
    .product-image {
        width: 100%;
        height: auto;
        border-radius: 10px;
    }
    .product-info {
        flex-grow: 1;
        margin-left: 20px;
    }
    .product-name {
        font-size: 10px;
        font-weight: bold;
        margin-bottom: 0px;
    }
    .product-price {
        color: #ff5722;
        font-size: 20px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    .contente{
        width: 100vw;
        padding-left: 0vw;
        padding-right: 0vw;
        overflow-x: hidden;
    }
    .quantity-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        margin-bottom: 0px;
        margin-right: 5px;
    }
    .quantity-input {
        width: 10px;
        text-align: center;
    }

    .mobiletext {
        font-size: 2.4vw;
    }
    .amount_input {
        width: 20px;
    }
    .buy-button {
        padding-top:10px;
        background-color: #007bff;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        font-size: 10px;
        cursor: pointer;
        display: block;
    }
    .buy-button:hover {
        background-color: #0056b3;
    }
    
    .full {
        width: 70%;
    }
    #instruction {
        width: 160%;
    }
    .security {
        width: 30%;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .scroll {
        display: flex;
    }
    
    .smsbox {
        width: 100%;
        border: 1px solid black;
        background-color: #f9ffc1;
    }
    
    .sms_text {
        width: 80%;
        height: 30vh;
    }
    
    .padding {
        padding-left: 5vw;
    }
    
    .sms_header {
        padding-left: 1.5vh;
    }
    
    .sending {
        width: 30vw;
        height: 5vh;
        font-size: 1.5vh;
    }
    
    .alignright {
        display: flex;
        justify-content: right;
        padding-right: 5vw;
        padding-top: 1vw;
        padding-bottom: 2vw;
    }
    
    .textbox {
        width: 30%;
        height: 100px;
        font-size: 7px;
        border: 1px solid black;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .textboxcomment {
        width: 30%;
        height: 100px;
        font-size: 7px;
        border: 1px solid black;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .textbox ul,
    .textboxcomment ul {
    font-size: 0.8vh;
    }
    .white_line {
        border: none;
        height: 1px;
        background: white;
        width: 100vw;
        margin: 20px 0;
    }
    
    .pink_line {
        border: none;
        height: 1px;
        background: #ff8686;
        width: 80%;
        margin: 20px 0;
    }
    
    .jumun {
        font-size: 30px;
        color: rgb(0, 132, 255);
    }
    
    .gejua {
        font-size: 15px;
    }
    
    .bedal {
        font-size: 20px;
    }
}

.move-up {
    opacity: 1;
    animation: fadeOut 1s ease-in-out forwards;
}

.moving {
    animation: movemove 1s ease-in-out forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
}

.downandup{
    animation: downAndUp 1s ease-in-out forwards;
}
  
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100%);
    }
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(100%); /* Start from below */
    }
    to {
      opacity: 1;
      transform: translateY(0); /* Move up smoothly to its final position */
    }
  }
  
  @keyframes movemove {
    from {
      transform: translateY(0);
    }
    to {
      transform: translateY(-100%); /* Move all items smoothly up */
    }
  }

  @keyframes downAndUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
  }