body {
    margin: 0; /* Remove default margin */
    font-family: "Montserrat", serif;
    font-style: normal;
    background-color: #141414;
}

.mennu_main {
    top: 0%;
    position: sticky !important;
    z-index: 10000;
    background-color: #141414;
    box-shadow: 0px 10px 15px #141414;
}
.wrapper {
    width: 100%;
    margin-top: 2%;
}

ol{
    display: flex;
    gap: 10px;
    margin: 0; /* Removes margin */
    padding: 0; /* Removes padding */
}

ol li{
    list-style-type: none;
  }
ol a{
    list-style: none!important;
    color: #555555;
  }
ol a:link {
    text-decoration: none;
}
ol span{
    color: #555555;
  } 

#projectname-category a{
    color: #ffffff;
}
#projectname{
    margin-top: 2%;
    font-size: 48px;
    line-height: 60px;
    color: #ffffff;
}

.projectinfo, .category_project{
    width: 60%;
    margin: auto;
}

#projectdata, #highlineinfo{
    color: #ffffff;
}
#projectdata{
    margin-top: 10px;    
    display: flex;
    gap: 5%;
}
#projectdata table{
    width: 40%;
}
#infodata{
    color: #a1a1a1;
    text-align: start;
}
#highlineinfo{
    text-align: end;
    padding: 10px;
}

#projectguide{
    color: #969696;
    margin-top: 2%;
    line-height: 1.5;
    text-align: justify;
}
#imgcoverproject{
    margin-top: 2%;
    width: 100%;
}
#imgcoverproject img{
    width: 100%;
    height: 854px;
}

.projectcontent{
    margin: auto;
    width: 60%;
    margin-top: 4%;
}
.contenttext{
    display: flex;
    gap: 5%;
    color: #fff;
}

.contenttext > :first-child {
    width: 25%;
}

.contenttext > :nth-child(2) {
    width: 70%;
}

#titledata{
    font-size: 2.5em;
}

#numberdata{
    font-size: 24px;
    line-height: 32px;
    border-top-width: 2px;
    border-top-style: solid;
    border-top-color: var(--chakra-colors-gray-4);
    width: fit-content;
    color: #5c5c5c;
}

#content{
    margin-top: 5%;
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

.contentimg {
    display: flex;
    gap: 1%;
    margin-top: 2%;
    align-items: stretch; /* Stretch items to match the container height */
}

.contentimg img {
    width: 100%;
    object-fit: cover;
    height: 100%; /* Fill the height of the container */
}

.contentimg img:nth-child(n+2) {
    width: 50%;
    height: 100%; /* Match the height of the container */
}

.contentimg img:nth-child(n+3) {
    width: calc(100% / 3);
    height: 100%; /* Match the height of the container */
}


.nextproject{
    display: flex;
    justify-content: center;
}

.button {
    border-radius: 10px;
    background-color: transparent;
    border: 2px solid #3b825298;
    color: #FFFFFF;
    text-align: center;
    font-size: 1.5em;
    padding: 10px;
    transition: all 0.5s;
    cursor: pointer;
    margin: 5px;
  }
  .button:hover{
    color: #ffffff98;
    background-color: #3b825298;
  }
  .button span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  
  .button span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
  }
  
  .button:hover span {
    padding-right: 25px;
  }
  
  .button:hover span:after {
    opacity: 1;
    right: 0;
  }
  .wrapperdesigns{
    margin: auto;
    width: 60%;
  }
  .designsfunction{
    margin: auto;
    padding-top: 2%;
    text-align: center;
  }
  .designheader{
    font-size: 2em;
    color: #FFFFFF;
  }
  .designcontent{
    font-size: 1em;
    color: rgb(153, 153, 153);
  }
.functions {
    padding-top: 5%;
    text-align: center;
    color: #FFFFFF;
    display: inline-flex;
    column-gap: 10px;
}
.userinput{
    text-align: justify;
    input, select{
        padding: 10px;
        border-radius: 3px;

    };
    select{
        width: 100%
    }
}
.buttonfunction{
    margin-top: 19px;
    text-align: justify;
    button{
        padding: 10px;
    }
}
.mess_function{
    width:60%;
    z-index: 100;
    position: relative;
    margin: 0 auto;
    margin-top: 2%;
    text-align: center;
    background-color: #ffd50066;
    border-radius: 10px;
    padding: 10px;
    animation: fadeOut 7s forwards
}
@keyframes fadeOut {
    0% {
        opacity: 1; /* Fully visible at the start */
    }
    100% {
        opacity: 0; /* Fully transparent at the end */
        display: none; /* Hide the element */
    }
}
.menssage{
    color: #ffffff;
    margin-top: 2%;
    p{
        background-color: #3b8252;
        padding: 5px;
        border-top-right-radius: 10px;
        border-bottom-left-radius:10px ;
    }
    button{
        padding: 5px;
        }
}
.datadesigns{
    display: none;
    color: #ffffff;
    margin-top: 2%;
    table{
        width: 100%;
        text-align: justify;
        border: #555555;
    }
    table, td {
    border: 1px solid rgb(245, 245, 245);
    border-collapse: collapse;
    }
    td, th{
        text-align: center;
    }
    th{
        color: #3b8252;
        background-color: #d3bea8;
    }
    td{
        padding: 10px;
    }
    button{
        padding:5px ;margin: 5px;};
}
@media only screen and (max-width: 932px){

    .mennu_main{
        width: 90%;
    }
    .projectinfo{
        width: 90%;
    }
    .category_project, .projectcontent{
        width: 90%;
    }
    #projectname{
        font-size: 2em;
    }
    #titledata{
        font-size: 2em;
    }
    #imgcoverproject img{
        object-fit: cover;
        height: auto !important;
    }

    #projectdata {
        display: grid;
        width: 100%;
    }
    #projectdata table{
        width: 100%;
    }
    .responsive-table {
        width: 100%;
    }
    
    .responsive-table th, .responsive-table td {
        text-align: left;
    }
    .contenttext{
        display: grid;
    }
    #contenthighline{
        display: grid;
        width: 100%;
    }
    .contentimg{
        margin-top: 8%;
    }
    #content{
        margin-top: 0%;
    }
    .mess_function{
        width: 90%;
        margin-top: 5%;
    }
    .wrapperdesigns{
    margin: auto;
    width: 99%;
    }
    .functions {
    padding-top: 2%;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    display: inline;
    }
    .userinput{

        margin-top: 10px;
        input{
            width: 95%;
        }
    }
table, thead, tbody, td, tr { 
		display: block; 
        
	}
	th{
        display: none;
    }
	thead tr { 
		position: absolute;
		top: 0px;
		left: 0px;
        text-align: end;
	}
	
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
	}
	
	td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
        color: #3b8252;
        font-style: bold;
        
	}  
    .datadesigns {
    td, th {
        text-align: end;
    }
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "STT: "; }
	td:nth-of-type(2):before { content: "Loại Thiết Kế:"; }
	td:nth-of-type(3):before { content: "Kích Thước Rộng:"; }
	td:nth-of-type(4):before { content: "Kích Thước Ngang:"; }
	td:nth-of-type(5):before { content: "Thiết Kế:"; }
}
}
@media only screen and (max-width: 1240px) and (min-width: 769px){
    .mennu_main{
        width: 90% !important;
    }
    .projectinfo{
        width: 90%;
    }
    .category_project, .projectcontent{
        width: 90%;
    }
    #projectname{
        font-size: 2em;
    }
    #titledata{
        font-size: 2em;
    }
    #imgcoverproject img{
        object-fit: cover;
        height: auto !important;
    }

    #projectdata {
        display: grid;
        width: 100%;
    }
    #projectdata table{
        width: 100%;
    }
    .responsive-table {
        width: 100%;
    }
    
    .responsive-table th, .responsive-table td {
        text-align: left;
    }
    .contenttext{
        display: grid;
    }
    #contenthighline{
        display: grid;
        width: 100%;
    }
    .contentimg{
        margin-top: 8%;
    }
    #content{
        margin-top: 0%;
    }
        .mess_function{
        width: 90%;
        margin-top: 5%;
    }
    .wrapperdesigns{
    margin: auto;
    width: 99%;
    }
    .functions {
    padding-top: 2%;
    text-align: center;
    color: #FFFFFF;
    width: 100%;
    display: inline;
    }
    .userinput{
        margin-top: 10px;
        input{
            width: -webkit-fill-available;
        }
    }
table, thead, tbody, td, tr { 
		display: block; 
	}
	th{
        display: none;
    }
	thead tr { 
		position: absolute;
		top: 0px;
		left: 0px;
	}
	
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		position: absolute;
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
        color: #3b8252;
        font-style: bold;
	}  
	.datadesigns {
        td, th {
            text-align: end;
        }
    }