*,
*:before,
*:after {
     box-sizing: border-box !important;
}

* {
     margin: 0;
     padding: 0;
     font: inherit;
     font-family: "Covered By Your Grace", cursive;
     font-family: "Nunito", sans-serif;
     font-family: "Roboto", sans-serif;
     font-family: "Roboto Condensed", sans-serif;
}

img,
picture,
svg,
video {
     display: block;
     max-width: 100%;
}

input,
select,
textarea {
     background-color: transparent;
     outline: none;
}

button {
     cursor: pointer;
     background-color: transparent;
     outline: none;
     border: 0;
}

body {
     min-height: 100vh;
     font-weight: 400;
     font-size: 16px;
     line-height: 1;
}

body {
     overflow-x: hidden !;
}

.header {
     background: rgb(255, 95, 109);
     background: linear-gradient(90deg,
               rgba(255, 95, 109, 1) 35%,
               rgba(255, 195, 113, 1) 100%);
}

.header-logo,
.header-logo-under {
     font-family: "Covered By Your Grace", cursive;
}

.logo-link {
     color: #000;
     text-decoration: none;
}

.nav-link {
     font-weight: 700 !important;
}

/* Thêm hiệu ứng cho dấu gạch dưới khi hover vào nav-list */
.nav-link {
     position: relative;
     text-decoration: none;
     color: inherit;
     transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.nav-link::before {
     content: "";
     position: absolute;
     bottom: 0;
     left: 0;
     width: 0;
     height: 2px;
     background-color: #fff;
     /* Màu gạch dưới */
     transition: width 0.3s ease;
     /* Chuyển động từ từ */
}

.nav-link:hover::before {
     width: 100%;
}

/* Tùy chỉnh các kiểu CSS tại đây */

body {
     font-family: "Arial", sans-serif;
}

#results {
     display: none;
}

.container {
     max-width: 400px;
}

.container {
     max-width: 400px;
}

#phoneForm {
     max-width: 400px;
     margin: auto;
}

.main-content {
     padding: 100px 20px;
}

.note-color{
     padding: 10px;
}

.button-action{
     position: relative;
}

.note-container{
     position: absolute;
     right: 35%;
}

.content-item {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 7rem;
     width: 7rem;
     margin: 10px;
     border-radius: 50%;
     border: 1px solid #000;
     text-align: center;
}

.fontSize-textRow2{
     height: 5rem;
     width: 5rem;
}
.fontSize-textRow3{
     height: 6rem;
     width: 6rem;
}

.result-content {
     display: inline-block;
     padding: 7px 10px;
}

.header {
     position: fixed;
     top: 0;
     left: 0;
     right: 0;
     z-index: 1000;
     background-color: #333;
}

table#resultsTable {
     font-weight: 700;
}

/* Default style for larger screens */
.responsive-nav-list {
     display: flex;
}

.header-icon {
     display: none;
}

.main-content {
     margin-top: 70px;
}

.button-result {
     display: none;
}

.icon-container {
     display: flex;
     justify-content: center;
     align-items: center;
}

.icon-animation {
     animation: rotate 4s linear infinite;
}

@media screen and (max-width: 1399.98px) {
     .content-list {
          display: flex;
          flex-wrap: wrap;
     }
     .moveRight-row2{
          transform: translateX(70%);
     }
     .moveLeft-row2{
          transform: translateX(-70%);
     }
     .note-container{
          right: 35%;
     }
}
@media screen and (max-width: 1349.98px) {

     .note-container{
          right: 30%;
     }
}

@media screen and (min-width: 992px) {
     .nav-list {
          display: flex;
     }

     .nav-menu {
          position: static;
          display: flex;
          flex-direction: row;
          justify-content: space-between;
          align-items: center;
          gap: 1em;
          width: auto;
     }

     .hamburger {
          display: none;
     }

     .container {
          width: 80%;
          margin: 0 auto;
     }
}

@media screen and (max-width: 991.98px) {

     .right-content,
     .left-content {
          display: none;
     }

     .phoneIput-form {
          text-align: center;
     }

     .button-action {
          display: block;
          margin: 0 auto;
     }

     .table-result {
          padding: 10px;
     }

     .icon-container {
          display: block !important;
     }

     .main-content {
          /* background-color: #FFFACD; */
     }
     .note-container{
          right: 20%;
     
     }
     .moveRight-row3{
          transform: translateX(20%);
     }
     .moveLeft-row3{
          transform: translateX(-20%);
     }
}

@media screen and (max-width: 767.98px) {
     .right-content {
          display: none;
     }

     .left-content {
          display: none;
     }
     .moveRight-row2{
          transform: translateX(50%) !important;
     }
     .moveLeft-row2{
          transform: translateX(-50%) !important;
     }
     .note-container{
          right: 10%;
     
     }
}
@media screen and (max-width: 430.98px) {
     .fontSize-textRow2{
          height: 4rem;
          width: 4rem;
     }
     .fontSize-textRow3{
          height: 5rem;
          width: 5rem;
     }
     .note-container{
          position: absolute;
          right: 0;
          margin-right: 10px;
     
     }
}


@media screen and (max-width: 767.98px) {
     .container {
          max-width: none;
          /* Bỏ giới hạn chiều rộng khi màn hình nhỏ hơn 768px */
          padding-left: 15px;
          /* Thêm padding nếu cần thiết */
          padding-right: 15px;
          /* Thêm padding nếu cần thiết */
     }

     .content-list {
          display: flex;
          flex-wrap: wrap;
     }
}

/* Nav mobile */
@media screen and (max-width: 991.98px) {

     .header-logo,
     .header-logo-under {
          white-space: nowrap;
     }

     .logo-link {
          line-height: 1;
     }

     .nav-menu {
          position: fixed;
          left: -100%;
          top: 102px;
          flex-direction: column;
          background-color: rgba(38, 38, 38, 0.65);
          width: 100%;
          height: 100%;
          text-align: center;
          transition: 750ms;
     }

     .nav-menu.active {
          left: 0;
     }

     .nav-item {
          margin: 1em 0;
     }

     .nav-link {
          transition: 400ms ease;
          display: inline-block !important;
     }

     .hamburger {
          cursor: pointer;
          display: block !important;
     }

     .bar {
          display: block;
          background-color: #fff;
          width: 24px;
          height: 2px;
          margin: 6px auto;
          transition: all 300ms ease-in-out;
     }

     .hamburger.active .bar:nth-child(2) {
          opacity: 0;
     }

     .hamburger.active .bar:nth-child(1) {
          transform: translateY(8px) rotate(45deg);
     }

     .hamburger.active .bar:nth-child(3) {
          transform: translateY(-8px) rotate(-45deg);
     }
}

@keyframes rotate {

     /* Định nghĩa keyframes cho hiệu ứng xoay */
     from {
          transform: rotate(0deg);
     }

     to {
          transform: rotate(360deg);
     }
}