/* General Styles */
body {
  margin: 5px 10px;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #fff;
}
/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px; /* default padding for larger screens */
  width: 100%;
  box-sizing: border-box;
  background-color: #cdf9f6;/* optional background */
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}
.header-section {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* allows wrapping if needed on super small screens */
	padding: 10px;
	width: 100%;
	box-sizing: border-box;
}
.welcome-section {
	justify-content: flex-end;
}
.logo {
  max-height: 40px;
  margin-right: 10px;
}
.company-name {
	font-size: 22px;
  font-weight: bold;
}
/* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 80%;
}
/* Search Bar */
.search-bar {
  width: 100%;
  padding: 5px 30px 5px 10px; /* Space for the icon */
  border: 1px solid #ccc;
  border-radius: 5px;
}
/* Forward Greater-Than Symbol */
.search-icon {
  position: absolute;
  right: 10px;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
}
/* Search Icon Hover Effect */
.search-icon:hover {
  color: #0056b3;
}
.tamil-link {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}
.tamil-link:hover {
  text-decoration: underline;
}
/* Navigation Menu */
.nav {
  display: flex;
  justify-content: center;
  margin: 10px 0;
  position: relative;
}.welcome-message {  font-size: 16px;  color: #333;}
.menu {
  color: #A349A4;
  list-style: none;
  display: flex;
  gap: 15px;
  padding: 0;
  margin: 0;
}
.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
/* Hamburger Menu */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
/* Separator */
.separator {
  border: none;
  height: 1px;
  background-color: #ccc;
  margin: 10px 0;
}
/* Container Section */
.container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 10px;
}
.content-box {
  flex: 1;
  text-align: center;
}.logout-link {  font-size: 16px;  color: #c00;  text-decoration: none;}
.image-div {
  position: relative;
  background-color: #d3d3d3;
  border-radius: 10px;
  overflow: hidden;
}
.image-div img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
}
.text-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 2px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  font-size: 14px;
}
/* Video */
.video-container {
  display: flex;
  gap: 20px;
  
}

/* Left section: Video Player */
.video-display {
  padding: 5px;
}

.video-display video {
  width: 90%;
  height: auto;
  border-radius: 10px;
}

/* Right section: Video list & pagination */
.video-title {
  flex: 0 0 40%;
  margin: 40px 0 0;
}

.video-list {
  width: 100%;
  border-collapse: collapse;
  
}

.video-list th,
.video-list td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

.pagination {
  margin-top: 10px;
}

.pagination a {
  margin-right: 5px;
  padding: 5px 10px;
  background-color: #eee;
  text-decoration: none;
  border-radius: 4px;
}

.pagination a:hover {
  background-color: #ddd;
}
.video-list tr:hover {
  background-color: #f9f9f9;
}

.video-title a {
  color: #007BFF;
}
/*Login Form Container*/
       .form-container {
            width: 450px;
            margin: 20px auto;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .register-container {
            width: 400px;
            margin: 20px auto;
            background-color: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        form {
            display: flex;
            flex-direction: column;
        }

        label {
            font-size: 18px;
            color: #333;
            margin-bottom: 5px;
        }

        input[type="text"],
        input[type="email"],
        input[type="password"] {
            width: 100%;
            padding: 10px;
            margin-bottom: 20px;
            border: 1px solid #ccc;
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
        }

        input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }

        input[type="submit"]:active {
            background-color: #004494;
        }
button {
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    cursor: pointer;
}
button:hover {
    background-color: #218838;
}
/* Footer Styles */
.footer {
  background-color: #f0f4f8;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}
.footer a {
  color: #007bff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 5px;
  }
  .header-section {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  .logo {
    max-height: 35px; /* Reduced logo size */
  }
  .company-name {
    font-size: 16px; /* Slightly smaller font size */
  }
  /* Search Container */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 80%;
}
/* Search Bar */
.search-bar {
  width: 100%;
  padding: 5px 30px 5px 10px; /* Space for the icon */
  border: 1px solid #ccc;
  border-radius: 5px;
}
/* Forward Greater-Than Symbol */
.search-icon {
  position: absolute;
  right: 10px;
  color: #007bff;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
}
/* Search Icon Hover Effect */
.search-icon:hover {
  color: #0056b3;
}
  .hamburger-menu {
    display: block;
    z-index: 20;
  }
  .menu {
    display: none;
    flex-direction: column;
    background-color: #f0f4f8;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 15;
    padding: 10px 0;
  }
  .menu.active {
    display: flex;
  }
  .menu li {
    text-align: center;
    padding: 10px 0;
  }
  .container {
    flex-direction: column;
  }
  .content-box {
    margin-bottom: 10px;
  }
  .image-div img {
    height: 200px; /* Reduced image height */
  }
  .text-overlay {
    font-size: 10px;
  }
  .header-easyspeak {    
  flex-direction: column;    
  margin: 10px;  
  }  
  .container-easyspeak {    
  flex-direction: column;  
  }  
  .left,  .right {    
  width: 100%;    
  margin-right: 0;    
  margin-bottom: 15px;  
  }  
  video {    
  width: 100%;    
  height: auto;  
  } 

  .logout-link {
	  display: block;    
	  text-align: right;    
	  width: 100%;  
	}

.video-container {
    flex-direction: column;
	align-content: center;
  }

  .video-display,
  .video-title {
    flex: 1 1 100%;
	margin: 0 0 0;
  }

  .video-list th,
  .video-list td {
    font-size: 14px;
  }
  .form-container, .register-container {
    width: 90%;
    margin: 10px auto;
    padding: 15px;
  }
  
input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="submit"],
  button {
    font-size: 14px;
    padding: 10px;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 5px;
    height: auto;
  }
  .logo {
    max-height: 30px; /* Smaller logo for mobile */
  }
  .company-name {
    font-size: 14px; /* Smaller font size */
  }
   .search-container {
    display: none; /* Hide Search Bar for Small Screens */
  }
  .hamburger-menu {
    font-size: 22px; /* Slightly smaller hamburger icon */
  }  .form-container, .register-container {    width: 90%;    margin: 10px auto;    padding: 15px;  }
  h2 {    font-size: 18px;  }  p {    font-size: 13px;  }
  .image-div img {
    height: 150px; /* Further reduce image height */
  }
  .text-overlay {
    font-size: 10px; /* Smaller text overlay */
  } input[type="text"],  input[type="email"],  input[type="password"],  input[type="submit"],  button {    font-size: 16px;    padding: 10px;  } 
	.form-container, .register-container {
    width: 90%;
    margin: 10px auto;
    padding: 15px;
  }
  
input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="submit"],
  button {
    font-size: 14px;
    padding: 10px;
  }
}

