body{
    background-color: rgb(225, 240, 240);
    font-size: 140%;
    font-weight: 100;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;  
}
h1{
    text-align: center;
}
.main-div{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto; 
}
.div-2{
    text-align: center;
    border: 2px solid rgb(245, 242, 242);
    border-radius: 15px;
    border-width: 1px;
    height: 700px;
    width: 600px;
    padding: 30px;
    background-color: rgb(255, 255, 255);
    box-shadow:rgb(246, 247, 247) 0px 10px 20px;
    box-shadow:0 2px 9px 0 rgba(162, 153, 153, 0.6)
}
.div-3{
    padding: 0px;
    gap: 200px; 
    margin-top: 20px;   
}
.s1{
    height: 20px;
    text-align: left;
    border: 1px solid rgb(243, 241, 241);
    border-radius: 16px;
    padding: 20px; 
    gap: 23px;
    background-color: snow;
    font-style: italic;
    margin-bottom: 20px;
    margin-left: 0px;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
    margin-right: 0px;
    padding-right: 0%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.s1:hover{
    box-shadow:0 2px 9px 0 rgba(162, 153, 153, 0.6)
}
.nav-menu{
    display: flex;         
    list-style: none;       
    padding: 3px;
    padding-bottom: 0px;             
    margin: 0;               
    gap: 40px; 
    font-size: 20px;
    margin-bottom: 1px;
    font-style: italic;
    font-weight: bold;
    margin-left: 10px;
}
.sub1{
    width: 20%;
    text-align: center;
    height: 30px;
    border: 1px solid rgb(115, 110, 110);
    margin-left: 45px;
    border-radius: 10px;
    margin-top: 12px;
    margin-bottom: 10px;
    background-color: rgba(238, 238, 237, 0.685);
}
.gp-display {
    width: 40px;
    height: 15px;  
    text-align: center;
    padding: 5px 10px;
    background: #7cf280 !important;
    color: white;
    border-radius: 15px;
    font-weight: bold;
    font-style: normal;
    margin-left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
} 
.lastdiv{
    border: 0px solid #1a252f !important;
    border-radius: 20px !important;
    height: 200px;
    margin-top: 1% !important;
    padding-top: 0% !important;
    width: 40%;
    background-color: #f7f5f5;
    align-self: center;
    text-align: center;
    box-shadow: 0 5px 7px rgba(0, 0, 0, 0.1);
}
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: white;
    padding: 40px 0 0 0;
    margin-top: 50px;
    font-family: Arial, sans-serif;
    width: 100%;
    border-radius: 29px;
    margin-top: 20px; 
    margin-left: 0px;
    margin-right: 0px;
    padding-bottom: 0;  
    flex-shrink: 0;
}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-section {
    flex: 1 1 250px;
}
.footer-section h3 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
    display: inline-block;
}
.footer-section p {
    line-height: 1.6;
    color: #ecf0f1;
    margin: 10px 0;
    margin-left: 15px;
}
.highlight {
    color: #4CAF50;
    font-weight: bold;
    font-size: 1.2rem;
}
.copyright {
    font-size: 0.9rem;
    color: #bdc3c7;
}
.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}
.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-icon {
    font-size: 1.3rem;
    min-width: 30px;
}
.social-link:hover {
    transform: translateX(10px);
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.social-link.facebook:hover {
    background: #1877f2;
}
.social-link.instagram:hover {
    background: #e4405f;
    background: linear-gradient(45deg, #f09433, #d62976, #962fbf);
}
.social-link.whatsapp:hover {
    background: #25d366;
}
.social-link.github:hover {
    background: #333;
}
.social-link i {
    font-size: 1.3rem;
}                             
.social-link.facebook i {
    color: #1877f2;  
}
.social-link.instagram i {
    color: #e4405f; 
}
.social-link.whatsapp i {
    color: #25d366; 
}
.social-link.github i {
    color: #333; 
}
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s;
    display: inline-block;
}
.footer-links a:hover {
    color: #4CAF50;
    transform: translateX(5px);
}
.footer-bottom {
    background: #1a252f;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #34495e;
    margin-bottom: 0px;
}
.footer-bottom p {
    margin: 0;
    color: #bdc3c7;
    font-size: 0.95rem;
}
.footer-bottom strong {
    color: #4CAF50;
}
.sub1[type=number]::-webkit-inner-spin-button, 
.sub1[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
.sub1[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}    
.half-meter {
    padding-top: 2px;
    width: 70px;
    top: 40px !important;
    bottom: 90px !important;
    margin-left: 40px !important;

}
.resul{
    margin-top: 0px !important;
    padding-top: 0px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 20px;
    padding-top: 10px;
    margin-top: 5px !important;
    align-items: center !important;
    text-align: center !important;
}
.result-div{
    padding-top: 0% !important;
    align-items: center ;
    margin-top: 0% !important;
    border-radius: 20px;
    border: 0px solid black;
    width: 480px;
    height: 150px;
    background-color: #beedc9;
    margin-bottom: 20px;
    box-shadow:0 5px 10px rgba(223, 217, 217, 0.5);
    gap: 2px;  
}
.half-circle {
    background: #546079;
    border-radius: 250px 250px 0 0;
    width: 130px;
    height: 80px;
    margin: 0 auto;
    position: relative;
    border: 8px solid #4a5568;
    border-bottom: none;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.5);
    overflow: hidden;
    margin-right: 300px !important;
    margin-top: 10px;
}
.detail-sec{
    margin-top: 0px;
    width: 210px !important;
    height: 100px;
    gap: 10px;
    margin-bottom: 30px !important;
    padding-bottom: 0px !important;
    left: 180px !important;
    position:  relative !important;
    padding-left: 50px;
    bottom: 80px !important;
}
#det{
    margin: 0px !important;
}
.detail-item{
    gap: 10px !important;
    font-weight: bold;
    color: #0c7a10;
    margin-right: 10px !important;
    padding-right: 5px !important;
}
.half-face {
    width: 100%;
    height: 100%;
    position: relative;
    background: radial-gradient(circle at 50% 100%, #5c708d, #415268);
}
.half-needle {
    position: absolute;
    width: 2px;
    height: 65px;
    background: linear-gradient(to top, #f1c40f, #e67e22);
    left: 50%;
    bottom: 0;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(-90deg);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.7);
    z-index: 10;
    transition: transform 0.3s ease;
}
.half-needle::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #f1c40f;
    border-radius: 50%;
    box-shadow: 0 0 15px #f1c40f;
}
.half-center {
    position: absolute;
    width: 18px;
    height: 18px;
    background: #ecf0f1;
    border-radius: 50%;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    border: 3px solid #bdc3c7;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.half-reading {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    color: #ecf0f1;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 0 0 15px #3498db;
    z-index: 15;
    background: rgba(0,0,0,0.6);
    padding: 3px 14px;
    border-radius: 30px;
    border: 1px solid #3498db;
}
.half-labels {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: 10px;
}
.half-labels span {
    position: absolute;
    transform: translateX(-50%);
    color: #bdc3c7;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 0 5px black;
}
.half-labels span::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 12px;
    background: #7f8c8d;
}
