body {
    display: block;
    font-family: "BeVietnamPro";
    font-size: 20px;    
    margin: 0;    
    padding: 0;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
}


.background-image {
    background-image: url("https://phuongdang104.github.io/gradient.png"); /* Thay 'your_image.jpg' bằng đường dẫn tới hình ảnh của bạn */
    background-size: contain;
    /*opacity: 0.8;*/
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: background-size 0.1s ease-in-out;
    pointer-events: none;
}

#content {
    padding: 20px;
    z-index: 1;
}

.introducing-text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  pointer-events: none;
}

.container-column-introduction {
  display: inline-grid;
  grid-auto-columns: 1fr; 
  grid-auto-flow:column; 
  padding: 5%;
  column-gap: 10%;
}

#myVideo {
    object-fit: cover; 
    position: absolute;
/*  position: fixed;*/
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
/*  heigt: 100vh;*/
  z-index: -1;
}

.vietnamese-column_1 {
  font-size: 16px;
  color: #ff0000;
}  

.english-column_1 {
  font-size: 16px;
}  

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row {
    flex: 1;
    display: flex;
}

.column {
    flex: 1;
    padding: 15px;
    box-sizing: border-box;
}

.container-column-web {
  display: inline-grid;
  height: 60vh;
  grid-auto-columns: 400px; 
  grid-auto-flow:column; 
}

.column-text {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.column-text p {
    margin: 0;
}

.column-text:hover {
    overflow-y: scroll;
}

summary::-webkit-details-marker { display: none }

.navigation-bar {
    position: fixed;
    display: inline-block;
    cursor: pointer;
    width: 50%;
    top:0;
}

.navigation-bar2 {
    position: fixed;
    display: inline-block;
    cursor: pointer;
    width: 500px;
    top:2%;
}

.navigation-category {
    font-size: 20px;
    text-align: left;
    left: 2%;
    top: 0;
    margin-bottom: 2%;
    background-color: #ffffff; 
    padding: 5% 5%;
    border: 2px solid #ff0000; 
    border-radius: 50px;
    outline: none;
}

.navigation-category2 {
    font-size: 20px;
    text-align: left;
    left: 2%;
    top: 0;
    margin-bottom: 2%;
    background-color: #ffffff; 
    padding: 2% 5%;
    border: 2px solid #ff0000; 
    border-radius: 50px;
    outline: none;
}

.navigation-category:hover {
/*  width: 100%;*/
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5% 5%;
  border-radius: 30px;
}

.navigation-category2:hover {
/*  width: 100%;*/
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 2% 5%;
  border-radius: 30px;
}

.inhaltsverzeichnis {
  font-family: "BeVietnamPro";
  font-size: 15px;
  background-color: rgba(0, 0, 0, 0); 
  text-underline-offset: 0;
  text-decoration:none;
  color: black;
  text-align: left;
  cursor: pointer;
}

.inhaltsverzeichnis:hover {
    border: 5px solid #ff0000;
    background-color: #ff0000;
    border-radius: 10px;
    color: #ffffff;
}


.headline {
/*    font-family: "Nobody-Is-Writing";*/
    font-family: "BeVietnamPro";
    font-size: 95px;
    line-height: 1.2;
    margin-top: 4%;
}

.headline1 {
/*    font-family: "Nobody-Is-Writing";
    font-feature-settings: "ss01" 1, "onum" 1;*/
    font-family: "BeVietnamPro";
    font-size: 90px;
    color: #FF0000;
    line-height: 1.2;
}

.redtext {
    color: #FF0000;
}

.english-column {
  width: calc(100%); /* Set the width of the English column and adjust for column-gap */
  font-family: "Sligoil-Micro";
  font-size: 16px;
  box-sizing: border-box;
}

.vietnamese-column {
  color: #FF0000;
  width: calc(100%); /* Set the width of the English column and adjust for column-gap */
  font-family: "Finesse-Roman";
  font-size: 18px;
  box-sizing: border-box;
}

/* Webkit (Chrome, Safari, Opera) */
::-webkit-scrollbar {
    width: 10px; 
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0); 
}

::-webkit-scrollbar-thumb {
    background-color: #ff0000; 
    border-radius: 0; 
}


#hiddenText {
  display: none;
}

#showButton {
    margin-top: 1%;
    margin-left: 40%;
    margin-bottom: 1%;
    background-image: url("../assets/img/fam_web_03.jpg");
    background-size: cover; 
    width: 400px ; /* Đặt chiều rộng của nút */
    height: 550px; /* Đặt chiều cao của nút */
    background-color: rgba(0, 0, 0, 0); /* Màu nền trong suốt */
    border: none;
    padding: 5%;
    text-align: center;
    font-size: 90px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    outline: 2px solid #000000;
}

#showButton:hover {
    background-color: #FF0000;
}

#hiddenText2 {
  display: none;
}

#showButton2 {
    margin-top: 1%;
    margin-left: 15%;
    margin-bottom: 1%;
    background-image: url("../assets/img/fam_web_01.jpg"); 
    background-size: cover; 
    background-color: white;
    width: 480px; /* Đặt chiều rộng của nút */
    height: 400px; /* Đặt chiều cao của nút */
    background-color: rgba(0, 0, 0, 0); /* Màu nền trong suốt */
    border: none;
    padding: 5%;
    text-align: center;
    font-size: 90px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    outline: 2px solid #000000;
}

#showButton2:hover {
    background-color: #FF0000;
}

#hiddenText3 {
  display: none;
}

#showButton3 {
    margin-top: 1%;
    margin-left: 40%;
    margin-bottom: 1%;
    background-image: url("../assets/img/fam_web_04.jpg");
    background-size: cover; 
    width: 500px ; /* Đặt chiều rộng của nút */
    height: 400px; /* Đặt chiều cao của nút */
    background-color: rgba(0, 0, 0, 0); /* Màu nền trong suốt */
    border: none;
    padding: 5%;
    text-align: center;
    font-size: 90px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    outline: 2px solid #000000;
}

#showButton3:hover {
    background-color: #FF0000;
}

#hiddenText4 {
  display: none;
}

#showButton4 {
    margin-top: 3%;
    margin-left: 50%;
    margin-bottom: 1%;
    background-image: url("../assets/img/fam_web_02.jpg"); /* Đặt đường dẫn tới hình ảnh của bạn */
    background-size: cover; 
    width: 400px ; /* Đặt chiều rộng của nút */
    height: 600px; /* Đặt chiều cao của nút */
    background-color: rgba(0, 0, 0, 0); /* Màu nền trong suốt */
    border: none;
    padding: 5%;
    text-align: center;
    font-size: 90px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    outline: 2px solid #000000;
}

#showButton4:hover {
    background-color: #FF0000;
}

#hiddenTextsmall {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall2 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall2 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall2:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall3 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall3 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall3:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall4 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall4 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall4:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall5 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall5 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall5:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall6 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall6 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall6:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall7 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall7 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall7:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall8 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall8 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall8:hover {
  background-color: #FF0000; /
}

#hiddenTextsmall9 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall9 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall9:hover {
  background-color: #FF0000; 
}

#hiddenTextsmall10 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall10 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall10:hover {
  background-color: #FF0000; 
}

#hiddenTextsmall11 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall11 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall11:hover {
  background-color: #FF0000; 
}

#hiddenTextsmall12 {
  display: none;
  background-color: #ffffff; 
  box-shadow: 5px 5px 40px 10px #ff0000;
  padding: 5px;
  border-radius: 10px;
}

#showButtonsmall12 {
  font-family: "BeVietnamPro";
  margin-top: 2%;
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  color: white;
  border: none;
  padding: 0px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   width: 100%;
  border-radius: 50px;
  outline: black;
}

#showButtonsmall12:hover {
  background-color: #FF0000; /
}

.gallery {
    display: flex;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; 
    scroll-behavior: smooth;
    margin: 0% 0% 0.5% 0%;
 
}

.gallery img {
    scroll-snap-align: start; 
    max-width:35%;
    margin: 0% 0% 0% 0%;
}

.container-type {
    display: flex;
    width: auto;
    height: 80vh; /* Đảm bảo chiều cao của container bằng chiều cao của viewport */
    margin-top: 0%;
    padding: 2%;
/*  background-color: lightgray;*/
}



#myVideo2 {
    left:0;
    object-fit: cover; 
    position: absolute;
    width: 100%;
    height: 85vh;
    z-index: -1;
}

.glyphs {
    width: 50%; /* Chiếm 70% width của container */
    display: grid;
    grid-template-columns: repeat(10, 1fr); 
    grid-auto-rows: 1fr; 
    gap: 3px; 
    overflow-y: auto; 
    padding-left: 8px; 
}

.glyph {
    font-samily: "Nobody-Is-Writing";
/*    border: 5px solid #ff0000;*/
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 1%;
    border-radius: 10px;
}

.glyph:hover {
    background-color: #ff0000;
    border-radius: 10px;
    color: white;
}
.preview {
    width: 50%; /* Chiếm 30% width của container */
/*    border: 5px solid #ff0000;*/
    display: flex;
    justify-content: left;
    align-items: center;
    border-radius: 10px;
}

.preview-text {
    font-size: 500px;
/*    color: #ff0000;*/
    font-family: "Nobody-Is-Writing"; 
    font-feature-settings: "ss01" 1, "onum" 1;
}

.set-button {
  font-family: "BeVietnamPro";
  margin-bottom: 2%;
  background-color: rgba(0, 0, 0, 0); 
  border: none;
  padding: 3%;
  text-align: center;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   
  border-radius: 50px;
  outline: black;
}

.set-button:hover {
    background-color: #ff0000;
    color: white;
}

.controls {
/*    display: flex;
    justify-content: center;
    align-items: center ;*/
    margin-bottom: 10px;
    gap: 3%;
}

.container-column-web-2 {
    display: flex;
    justify-content: center;
    align-items: start;
/*  height: 35vh;
    margin-top: 2%;
    margin-bottom: 2%;*/
    gap: 3%;
    font-size: 18px;

}

.column-text-2 {
    width: 50%;
    margin-top: 1%;
    padding: 0;
}

.chu-do {
    color: #ff0000;
}

.specimen-button {
  font-family: "BeVietnamPro";
  margin-top: 10px;
  margin-bottom: 0%;
  background-color: rgba(0, 0, 0, 0); 
  color: #000000;
  border: none;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   
  border-radius: 10px;
}

.specimen-button:hover {
  background-color: red;
  color: white;
}

.author {
  font-family: "BeVietnamPro";
  font-size: 15px;
  text-decoration: none;
  color: black;
}

.author-viet {
  font-family: "BeVietnamPro";
  font-size: 15px;
  text-decoration: none;
  color: #ff0000;
}

.linkbai {
  font-family: "BeVietnamPro";
  font-size: 15px;
  text-decoration: none;
  color: black;
}

.linkbai:hover {
  color: white;
  background-color: #ff0000;
  border-radius: 5px;
}

.linkbai-viet {
  font-family: "BeVietnamPro";
  font-size: 15px;
  text-decoration: none;
  color: #ff0000;
}

.linkbai-viet:hover {
  color: white;
  background-color: #ff0000;
  border-radius: 5px;
}


.truyenkieu {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Nobody-Is-Writing";
    font-feature-settings: "ss01" 1, "onum" 1, "init" 1;
/*    font-feature-settings: "init" 1;*/
    font-size: 60px;
    line-height: 1.2;
    padding: 5%;
}

.Phuong {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: "Nobody-Is-Writing";
    font-size: 400px;
    padding: 0%;
}

.Error {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: right;
    font-family: "Nobody-Is-Writing";
    font-size: 80px;
    padding: 0%;
    line-height: 1;
}

.bucthu {
    font-family: "Nobody-Is-Writing";
    font-feature-settings: "ss01" 1, "onum" 1;
    font-size: 20px;
    column-count: 4; /* Chia đoạn văn thành 4 cột */
    column-gap: 20px; /* Khoảng cách giữa các cột */
    padding: 2% 0% 2% 0%;
}



.editor {
    width: 80%;
    margin: 0 auto;
    padding: 5%;
}

.toolbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    gap: 3%;
}

.toolbar label {
/*    margin-right: 1%;*/
}

input[type="range"] {
    -webkit-appearance: none; /* Loại bỏ giao diện mặc định của thanh trượt trên Chrome/Safari */
    width: 10%; /* Chiều rộng của slider */
    height: 2px; /* Chiều cao của slider */
    border-radius: 2px; /* Bo tròn các cạnh */
    background: #ff0000; /* Màu nền của slider */
    outline: none; /* Loại bỏ đường viền */
    opacity: 1; /* Độ mờ của slider khi không được focus */
    transition: opacity 0.2s; /* Hiệu ứng chuyển đổi opacity */
    min-width: 50px;
}

/* Thiết lập trạng thái hover của slider */
input[type="range"]:hover {
    opacity: 1; /* Hiển thị hoàn toàn khi hover */
}

/* Thiết lập màu của thanh gạt (thumb) */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; /* Loại bỏ giao diện mặc định của thumb trên Chrome/Safari */
    width: 10px; /* Chiều rộng của thumb */
    height: 30px; /* Chiều cao của thumb */
    border-radius: 10%; /* Bo tròn thành hình tròn */
    background: #ff0000; /* Màu nền của thumb */
    cursor: pointer; /* Con trỏ chuột là pointer */
}

/* Thiết lập màu của thumb khi hover */
input[type="range"]::-webkit-slider-thumb:hover {
    background: lightgray; /* Màu nền của thumb khi hover */
}

#fontA {
  font-family: "BeVietnamPro";
/*  margin-left: 10%;*/
  background-color: rgba(0, 0, 0, 0); 
  border: none;
  padding: 1%;
  text-align: center;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   
  border-radius: 50px;
  outline: black;
}

#fontA:hover {
    background-color: #ff0000;
    color: white;
}

#fontB {
  font-family: "BeVietnamPro";
/*  margin-bottom: 2%;*/
  background-color: rgba(0, 0, 0, 0); 
  border: none;
  padding: 1%;
  text-align: center;
  display: inline-block;
  font-size: 20px;
  cursor: pointer;
  border: 2px solid #ff0000; /* Điều chỉnh viền của box */   
  border-radius: 50px;
  outline: black;
}

#fontB:hover {
    background-color: #ff0000;
    color: white;
}

#text {
/*  border: 1px solid #ccc;*/
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    min-height: 200px;
    font-size: 100px;
    font-family: "Nobody-Is-Writing";
    font-feature-settings: "ss01" 1, "onum" 1;

}


.content {
    font-size: 16px;
    line-height: 1.5;
    font-family: "Nobody-Is-Writing";
    font-feature-settings: "ss01" 1, "onum" 1;
}

#sampleText {
    margin-top: 0;
}