﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* ===================== TABLE2 STYLES ===================== */
#table2 {
    width: 100%;
    margin: 20px auto;
    box-sizing: border-box;
    table-layout: fixed;  
    border-collapse: collapse;
    font-size: 18px;
}

#table2 th, #table2 td {
    padding: 20px;
    text-align: center;
    border: 1px solid #eee;
    vertical-align: middle;
}

#table2 th {
    background-color: #2c3e50;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 22px;
}

#table2 td {
    background-color: #f8f8f8;
    color: #333;
}

#table2 tr:hover {
    background-color: #f1c40f;
    color: white;
}

.progress-data {
    text-align: center;
}

.query-button {
    text-align: left;
    margin-top: 10px;
}

input[type="text"], .textarea1, textarea {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-sizing: border-box;
}

.textarea1 {
    min-height: 300px;
    resize: both;
    width: 100%;
    height: 400px;
    max-width: 100%;
    max-height: 500px;
    font-size: 18px;
    line-height: 1.2;
    overflow: auto;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #table2 {
        font-size: 18px; 
    }
    input[type="text"], .textarea1, textarea {
        font-size: 18px;
        padding: 10px;
    }
    td {
        padding: 10px 5px;
    }
}

@media (max-width: 1200px) {
    #table2 th, #table2 td {
        padding: 15px;
        font-size: 18px;
    }
    .table-header {
        font-size: 22px;
    }
    .query-button {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    #table2 th, #table2 td {
        padding: 12px;
        font-size: 18px;
    }
    .table-header {
        font-size: 20px;
    }
    .query-button {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #table2 th, #table2 td {
        padding: 10px;
        font-size: 18px;
    }
    .table-header {
        font-size: 18px;
    }
    .query-button {
        font-size: 18px;
        text-align: left;
    }
}

@media (max-width: 480px) {
    #table2 th, #table2 td {
        padding: 8px;
        font-size: 18px;
    }
    .table-header {
        font-size: 18px;
    }
    .query-button {
        font-size: 18px;
    }
}

@media (max-width: 320px) {
    #table2 th, #table2 td {
        padding: 5px;
        font-size: 18px;
    }
    .table-header {
        font-size: 18px;
    }
    .query-button {
        font-size: 18px;
    }
}

/* ===================== LOGO AND HEADER STYLES ===================== */
.logo-top {
    background-color: #FFD700;
}

.header_section {
    background-color: #000;
    padding: 10px 0;
    color: white;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.menu_text {
    display: flex;      
    justify-content: space-between; 
    align-items: center;   
    padding-top: 20px;        
}

.menu_text ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;  
}

.menu_text li {
    display: inline-block;
}

.menu_text li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    padding: 10px 20px;
    display: block;
}

.menu_text li a:hover {
    background-color: #3498db;
    color: white;
}

/* ===================== OVERLAY MENU STYLES ===================== */
.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.overlay-content a {
    text-decoration: none;
    font-size: 20px;
    color: white;
    padding: 8px 15px;
    transition: 0.3s;
    display: block;
    text-align: center;
}

.overlay-content a:hover {
    background-color: #3498db;
}

.closebtn {
    font-size: 36px;
    position: absolute;
    top: 0;
    right: 25px;
    color: white;
    text-decoration: none;
}

.closebtn:hover {
    background-color: transparent;
}

@media (max-width: 1280px) {
    .menu_text ul {
        display: none;  
    }
    .menu-toggle {
        display: block;  
        font-size: 33px;
        color: white;
        cursor: pointer;
        position: relative;
        top: 5px; 
    }
    .overlay {
        display: block;
        width: 0;
    }
}

@media (min-width: 1281px) {
    .menu_text ul {
        display: flex; 
        justify-content: space-between; 
        top: 5px; 
    }
}

.menu-toggle img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* ===================== FLOATING IMAGE STYLES ===================== */
#floating-image {
    position: fixed;
    bottom: 120px;
    right: 0;
    z-index: 999;
}

#floating-image img {
    max-width: 100%;
    height: auto;
    animation: shake 4s infinite ease-in-out;
    transform-origin: bottom center;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* ===================== CONTAINER STYLES ===================== */
.container {
    max-width: 1200px;     
    margin: 0 auto;       
    padding: 0 15px;      
    line-height: 1.2;      
}

@media screen and (max-width: 240px) {
    .container {
        max-width: 100%;     
        padding: 0 5px;      
    }
    .img1, .video1 {
        width: 80%;         
        height: auto;          
    }
}

@media screen and (max-width: 480px) {
    .container {
        max-width: 100%;      
        padding: 0 10px;     
    }
    .img1, .video1 {
        width: 70%;           
        height: auto;         
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 100%;       
        padding: 0 15px;       
    }
    .img1, .video1 {
        width: 60%;            
        height: auto;       
    }
}

@media screen and (max-width: 1024px) {
    .container {
        max-width: 100%;    
        padding: 0 15px;     
    }
    .img1, .video1 {
        width: 60%;           
        height: auto;         
    }
}

.img1, .video1 {
    width: 60%;           
    height: auto;          
    object-fit: contain;   
    max-width: 100%;        
    display: block;         
    margin: 0 auto;         
}

/* ===================== BUTTON STYLES ===================== */
input[type="submit"], button {
    padding: 10px 20px;
    font-size: 1.4rem;
    background-color: #007bff; 
    color: #ffffff; 
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px; 
}

input[type="submit"]:hover, button:hover {
    transform: scale(1.05); 
}
