body {
    margin: 0;
    font-family: Arial, sans-serif;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #333;
    color: white;
}
.logo-title {
    display: flex;
    align-items: center;
    width: 50%;
}
.logo-title a{
    color: white;
    text-decoration: none;
}
.site-title {
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Russo One', sans-serif;
} 

.logo {
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin: 0 10px;
}

.nav-links a {
    color: white;
    text-decoration: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}




.text-container {
    margin: 50px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.215);
    width: 80%;
}

.text-container h2,h3 {
    text-align: center;
}

.main-text-container {
    margin: 50px auto;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    width: 60%;
}

.main-text-container h2,h3 {
    text-align: center;
}

#allGenerators {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #4CAF50;
    text-align: center;
    border: #333;
}

.container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.box {
    width: 250px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 2px solid #ddd;
}

.box h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #4CAF50;
}

.box ul {
    list-style-type: none;
    padding-left: 0;
}

.box ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.box a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.box a:hover {
    color: #4CAF50;
}




.generatorsLabel {
    color: rgb(76, 175, 80);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    height: 28px;
    margin-block-end: 10px;
    margin-block-start: 19.92px;
    margin-bottom: 0px;
    text-align: left;
}

.allGenerators-text {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
.page-generators-containers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.generator-type-container {
    width: 250px;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: left;
    border: 2px solid #ddd;
}

.generator-type-container h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #4CAF50;
}

.generator-type-container ul {
    list-style-type: none;
    padding-left: 0;
}

.generator-type-container ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.generator-type-container a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
}

.generator-type-container a:hover {
    color: #4CAF50;
}




.line-divider {
    border-top: 3px dashed rgb(0, 0, 0);
    margin: 30px 90px;
}

footer {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px 20px;
    margin-top: auto;
}



.selector-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.selector-controls label {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    min-height: 19px; /* Force minimum height */
}

.selector-controls input,
.selector-controls select {
    width: 100%;
    max-width: 250px;
    padding: 10px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    outline: none;
}

.selector-controls input:hover,
.selector-controls select:hover {
    border-color: #4CAF50;
    transition: all 0.3s ease-in-out;
}

.selector-controls input:focus,
.selector-controls select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.selector-controls select {
    appearance: none;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="20" height="20" fill="%234CAF50"><path d="M7 10l5 5 5-5z"></path></svg>') no-repeat right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}





/*----------- ADS SIDENAV -----------*/
.sidenav-left {
    width: 280px;
    position: fixed;
    z-index: 1;
    top: 150px;
    left: 10px;
    background: #eee;
    overflow-x: hidden;
    padding: 8px 0;
  }

  .sidenav-right {
    width: 300px;
    position: fixed;
    z-index: 1;
    top: 150px;
    right: 10px;
    background: #eee;
    overflow-x: hidden;
    padding: 8px 0;
  }

#adsense-left-placeholder, #adsense-right-placeholder {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    height: 300px; /* Example height for ads */
    text-align: center;
    line-height: 300px;
    font-size: 16px;
}

.adsense-left, .adsense-right {
    width: 100%; /* Adjust width to your preference */
    padding: 10px;
    box-sizing: border-box;
}

.sidenav-generator-right {
    width: 300px;
    position: absolute;
    z-index: 1;
    top: 82px;
    right: 10px;
    overflow-x: hidden;
    padding: 8px 0;
}

.sidenav-generator-left {
    width: 300px;
    position: absolute;
    z-index: 1;
    top: 82px;
    left: 10px;
    overflow-x: hidden;
    padding: 8px 0;
}



/*----------- ADS CENTRO -----------*/
.center-ad {
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-ad-bottom {
    display: none;
    justify-content: center;
    align-items: center;
}

.center-ad-generator {
    display: none;
    justify-content: center;
    align-items: center;
}

/* Style for the content with AdSense ads */
.adsense-inside {
    margin: 20px 0; /* Adds margin before and after the ad to create some space */
    width: 90%;
}

/* Styling for ad placeholders */
#adsense-content-placeholder-1, #adsense-content-placeholder-2 {
    /*background-color: #f5f5f5;
    border: 1px solid #ccc;*/
    height: 200px; /* Adjust the height as needed */
    text-align: center;
    justify-content: center;
    display: flex;
    font-size: 16px;
    width: 100%;
}

@media (max-width: 1280px) {
    .center-ad-generator {
        display: flex;
    }
    .sidenav-generator-right, .sidenav-generator-left {
        display: none;
    }
    .center-ad-bottom {
        display: flex;
    }
}

ins.adsbygoogle {
    display: block;  /* Ensures it's a block element */
    width: 100%;     /* Or a specific width like 300px */
    height: 100%;
  }


