/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

header {
    background-color: #292d31;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header img.global-logo1 {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}

h1 {
    margin: 0;
}

nav {
    background-color: #292d31;
    text-align: center;
    padding: 10px;
}

button, nav button, nav a {
    background-color: #666;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    cursor: pointer;
}

.gallery {
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    padding: 0;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain; /* Mantiene proporciones sin distorsionar */
}

.map-button {
    position: relative;
    border: none;
    background-color: transparent;
    cursor: pointer;
    width: 10%;
    height: 10%;
}

.map-button.hombro {
    top: 20%;
    left: 30%;
}

.map-button.codo {
    top: 40%;
    left: 30%;
}

.small-skeleton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: auto;
    cursor: pointer;
    z-index: 999;
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    z-index: 1000;
}

.floating-button:hover {
    background-color: #0056b3;
}

.floating-button-second {
    bottom: 60px;
}

.bibliografia {
    margin-top: 30px;
}

.bibliografia h2 {
    margin-bottom: 10px;
}

.separador {
    margin-top: 30px;
    border-top: 1px solid #ccc;
}

.footer-page {
    background-color: #292d31;
}

.footer-icons {
    text-align: right;
    margin-top: 63px;
    padding-bottom: 30px;
    padding-left: 4px;
}

.footer-text {
    color: #9699a6;
    font-family: 'Roboto', sans-serif;
    font-weight: lighter;
}

.footer-section {
    background-image: url("../images/footer/footer-img.png");
    border: 1px solid #25292c;
    padding-top: 7.6%;
    padding-bottom: 8%;
}

.footer-heading-p {
    color: #ffffff;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.footer-col1 {
    color: #9699a6;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.underline {
    opacity: 0.1;
}

.clock {
    color: #43454d;
    margin-top: 0 !important;
    margin-left: 0 !important;
}

.recent-date {
    color: #43454d;
    margin-top: 2px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.hr-border {
    margin-top: 8px;
}

hr {
    margin-top: 8px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #33363a;
}

.news-hover:hover .clock {
    color: #ffffff;
}

.news-hover:hover .recent-date {
    color: #ffffff;
}

.news-hover:hover .footer-col1 {
    color: #93c25e;
}

.footer-date {
    opacity: 0.2;
    color: white;
}

input {
    color: #43454d;
    font-size: 8pt;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

button {
    color: white;
    border: none;
    font-size: 10pt;
}

.footer-border {
    background-color: #222629;
    padding-top: 30px;
    padding-bottom: 30px;
}

.bottom-text {
    color: #45474f;
    margin-top: 45px;
    padding-bottom: 15px;
    font-family: 'Roboto', sans-serif;
    font-weight: normal;
}

.bottom-footer {
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #9699a6;
    text-align: center;
}

.bottom-footer a {
    color: #9699a6;
}

.border {
    background-color: #fafafa;
}

.input {
    margin-top: 5%;
    padding-bottom: 5%;
}

.input-name {
    margin-top: 24px;
}

.arrow-footer {
    font-size: 38px;
    color: #ffffff !important;
}

.footer-input {
    color: #fff;
    opacity: 1;
}

.flat-button {
    opacity: 0.6;
}

.footer-floating-btn {
    background-color: #00bff3;
    border-radius: 100%;
    width: 50px;
    height: 50px;
}

.dropdown-hover:hover {
    color: #1fcefe;
}

a {
    color: #9699a6;
}

a:hover,
a:focus {
    color: #1fcefe;
    text-decoration: none;
}

.footer-heading-p {
    padding-bottom: 15px;
}

.img-footer {
    padding-top: 15px;
}

.footer-logo-p {
    padding-bottom: 26px;
    width: 70%;
}

.foot-logo-text {
    color: #45474f;
}

.read-more {
    color: #9699a6;
    margin-left: 5px;
}

.read-more:hover {
    color: #1fcefe;
}

ul {
    list-style: none;
    margin: 0;
}

/* Media queries */
@media (max-width: 600px) {
    nav button, nav a {
        font-size: 0.8em;
        padding: 8px;
    }

    .map-button {
        width: 50px;
        height: 40px;
    }

    header img.global-logo1 {
        width: 70%;
    }
}

@media (orientation: landscape) {
    header img.global-logo1 {
        width: 20%;
    }
}

/* CSS específico para iOS */
@media only screen and (min-device-width: 375px) and (max-device-width: 428px) and (-webkit-min-device-pixel-ratio: 2) {
  .gallery img {
    width: 375px; /* Ancho fijo para iPhones comunes */
    height: auto;
  }
}

