.icon-container {
    display: flex;
    justify-content: center; /* จัดให้อยู่กลางแนวนอน */
    align-items: center; /* จัดให้อยู่กลางแนวตั้ง */
    height: 100px; /* กำหนดความสูง */
}

.spin {
    animation: spin 1s linear infinite;
    transform-origin: center; /* หมุนจากจุดกลาง */
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8); /* ฉากบังหน้าโปร่งใส */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
    font-size: 100px; 
}

.content {
    display: none;
    text-align: center;
}

body.loading-active {
    overflow: hidden;
}

html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {
    flex: 1;
}

.footer {
    width: 100%;
    background-color: #343a40;
    position: relative;
    margin-top: auto; /* ทำให้ footer อยู่ที่ด้านล่างสุด */
}

/* ให้ฟอนต์พอดีกับ modal-body */
.modal-body {
    font-size: 14px; /* ปรับขนาดฟอนต์ให้เหมาะสม */
    line-height: 1.6; /* เพิ่มระยะห่างระหว่างบรรทัดให้เหมาะสม */
    padding: 20px; /* เพิ่ม padding ของ modal-body */
}

.form-label {
    font-size: 13px; /* ปรับขนาดฟอนต์ของ label */
}


.navbar {
    background-color: rgba(0,0,0,0.6) !important;
    backdrop-filter: blur(10px);
  }
  
  /* ปุ่ม hover สวยขึ้น */
  .btn-custom {
    background-color: #ca0065;
    border: none;
    color: white;
    transition: all 0.3s ease;
  }

  .btn-custom:hover {
    background-color: #ff0000;
    box-shadow: 0 0 10px #ff0000;
  }



  .btn.btn-round {
    border-radius: 40px; }
    .btn.btn-dribbble {
        background: #6270ea;
        border-color: #6270ea;
        color: #fff; }