@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
:root
{
    --e_blue: #16569a;
    --e_light: #FAFAFA;
}
.my-wrap{
  font-family: 'Poppins', sans-serif;
}
.custom-form
{
    position: relative;
    margin-bottom: 1rem;
}
.custom-form > .custom-form-label > label
{
    position: relative;
    padding: 0.2rem 1.5rem;
    text-align: center;
    font-size: 60%;
    margin-bottom: 0;
}
.custom-form > .custom-form-label > label
{
    color: #fff;
    background: var(--e_blue);
}
.custom-form > .custom-form-label > label::before
{
    top: 4px;
    left: -12px;
    border-radius: 6px 0 0 0;
    transform: rotate(35deg);
    background: linear-gradient(145deg, var(--e_blue) 56%, #ffffff00 50%);
}
.custom-form > .custom-form-label > label::before
{
    background: linear-gradient(145deg, var(--e_blue) 56%, #ffffff00 50%);
}
.custom-form > .custom-form-label > label::before,.custom-form > .custom-form-label > label::after
{
    position: absolute;
    content: '';
    display: block;
    width: 31px;
    height: 31px;
}
.custom-form > .custom-form-label > label::after
{
    top: 4px;
    right: -12px;
    border-radius: 0 6px 0 0;
    transform: rotate(-35deg);
    background: linear-gradient(215deg, #fff 56%, #ffffff00 50%);
}
.custom-form > .custom-form-label > label::after
{
    background: linear-gradient(215deg, var(--e_blue) 56%, #ffffff00 50%);
}
.custom-form-panel
{
    height: 90%;
}
.custom-form > .custom-form-control
{
    padding: .6rem 1rem;
    border-radius: 7px;
    min-width: 295px;
    text-align: center;
}
.custom-form > .custom-form-control
{
    border: solid 2px var(--e_blue);
    color: var(--e_blue);
    background: #FAFAFA;
}

*:focus
{
  outline: none;
}

.buttons button{
  width: 50% ;
  margin-top: .6rem;
}

@media only screen and (max-width: 532px) {
    .buttons button{
  width: 80% ;
  margin-top: .6rem;
}
}

body {
			background-color: #131720;
    color: #131720;
			transition: all 0.5s ease-in-out;
		}
		
		body.dark-mode {
			background-color: #F0F0F0; /* Dark mode background color */
			color: #F0F0F0; /* Dark mode text color */
			--dark-black: #111; /* Dark black color */
		}
		
		.switch {
    display: inline-block;
    position: fixed;
    top: 80px; /* Adjust as needed */
    right: 10px; /* Adjust as needed */
    width: 60px;
    height: 34px;
    margin: 0; /* Remove negative margin */
    cursor: pointer;
}

		
		.switch input {
			display: none;
		}
		
		.slider {
			position: absolute;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: #ccc;
			border-radius: 34px;
			transition: all 0.5s ease-in-out;
		}
		
		.slider:before {
			position: absolute;
			content: "";
			height: 26px;
			width: 26px;
			left: 4px;
			bottom: 4px;
			background-color: #fff;
			border-radius: 50%;
			transition: all 0.5s ease-in-out;
		}
		.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.switch-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
}


input[type="text"]:focus {
  border-bottom: 2px solid #008CBA;
  outline: none;
}

button[type="submit"] {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  position: absolute;
  right: 5px;
}

input[type="text"] {
  background-color: transparent;
  flex: 1;
}

button[type="submit"] {
  border: none;
  outline: none;
  background-color: transparent;
  cursor: pointer;
}

		body {
  font-size: 18px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: black;
  background-color: #131720;
}

        body.dark-mode .tvv-item {
            background-color: black;
        }

        body.dark-mode .tvv-name {
            color: black;
        }

.dark-mode {
  color: white;
  background-color: red;
}

#dark-mode-button {
  font-size: 20px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}
		.switch label {
  font-size: 20px;
  font-family: Arial, sans-serif;
}

input:checked + .slider {
            background-color: #2196F3;
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        .icon {
            position: absolute;
            width: 26px;
            height: 26px;
            left: 4px;
            bottom: 4px;
            background-size: cover;
            transition: 0.4s;
        }

        .icon.moon {
            background-image: url('https://i.postimg.cc/5tzDV0Rf/brightness.png'); /* Replace with URL to moon icon */
        }

        .icon.bulb {
            background-image: url('https://i.postimg.cc/mZSfkP2D/moon-1.png'); /* Replace with URL to bulb icon */
        }

.footer {
  font-weight: bold;
}

header {
          background-color: #222;
          color: #ffffff;
          padding: 1em 0;
          box-sizing: border-box;
          font-size: 2em;
          border-bottom: 2px solid #444;
          margin-bottom: 20px;
      }

      header h1 {
          margin: 0;
          font-size: 1.5em;
      }

      nav {
          margin-bottom: 20px;
          text-align: center; /* Center-align the text in the navigation */
      }

      select {
          padding: 10px;
          font-size: 16px;
          border: 1px solid #3498db;
          border-radius: 20px; /* Add border-radius to the dropdown */
          cursor: pointer;
          outline: none;
          transition: border-color 0.3s ease;
          text-align-last: center; /* Center-align text within the select element */
      }

      select:hover,
      select:focus {
          border-color: #2c3e50;
      }

      .container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 15px;
          box-sizing: border-box;
      }
      

.site-grid {
          display: grid;
          grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Adjusted grid size */
          gap: 15px;
          margin-top: 15px;
      }

      .site-card {
          background-color: #444;
          border: 1px solid #333;
          border-radius: 8px;
          overflow: hidden;
          transition: transform 0.3s ease-in-out;
          text-decoration: none;
          color: #ffffff;
          display: flex;
          flex-direction: column;
          max-width: 150px; /* Set a maximum width for the site card */
          margin: auto; /* Center the site card within its container */
      }

      .site-card:hover {
          transform: scale(1.05);
      }

      .site-card img {
          width: 100%;
          height: auto;
          object-fit: cover;
          border-bottom: 1px solid #333;
      }

      .site-info {
          padding: 10px; /* Reduce padding for the site info */
          text-align: center;
          flex-grow: 1;
      }

      .site-info h2 {
          font-size: 0.9em; /* Adjust the font size for the channel name (h2) */
          margin: 0;
      }

      .site-link {
          margin-top: 10px;
          color: #ffffff;
          text-decoration: none;
          background-color: #3498db;
          padding: 10px;
          border-radius: 5px;
          display: inline-block;
          transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
      }

      .site-link:hover {
          background-color: #2c3e50;
          color: #ffffff;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }
		