:root{
    --bs-body-bg: rgb(114, 109, 109);
    --bs-link-color: #6e3a3a;
    --bs-link-hover-color: #46433b;
    
  }



body {
    padding: 20px;
    background-image: linear-gradient(to bottom, #87CEEB, #E0F6FF);
    background-attachment: fixed;
    background-size: cover;
    color: black;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/1000001766.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}

.card {
    transition: transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.list-group-item {
    border-left: none;
    border-right: none;
}

p {
    font-size: 16px;
    text-align: center;
    padding: 10px;
}



div {
    border-radius: 10px;
  
}
.row {
    justify-content: center;
}

span {
    
    text-align: center;
    font-size: 14px;
}


li {
    list-style:none;
}


ul {
    justify-content: center;
    
}

footer {
    text-align: center;
    padding-top: 30px;
}
.page-item.active .page-link {
    background-color: rgba(187, 175, 5, 0.068) !important;
    border: 1px solid black;
    border-radius: 5px;
}
.page-link {
    color: rgb(78, 74, 74) !important;
}
.navbar-collapse .navbar-nav{
    justify-content: center;
    
}
a:link, a:visited, a:active {
    text-decoration:none;
}

div.dt-buttons {
    float: right;
    padding: 10px;
}
img {
    justify-content: center;
}

.navbar-brand{
    font-size: 12px;
}

.gauge-container {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    /* align-items: center; */
    position: relative;
}

.card-body {
    display: flex;
    flex-direction: column;
    
    justify-content: center;
    padding: 1.5rem;
    flex: 1;
}

.card-body ul {
    margin-top: 1rem;
    font-size: 10px;
    width: 100%;
    text-align: center;
    padding: 0;
}

.card-body ul li {
    margin: 0.5rem 0;
    font-size: 0.8rem;
}

.card-header {
    text-align: center;
}

.navbar {
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0 10px;
}

.navbar-nav .nav-link {
    transition: color 0.3s ease;
    padding: 8px 15px;
}

.navbar-nav .nav-link:hover {
    color: #ff5e00 !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff5e00;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-brand {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.2);
}

.navbar-brand i {
    margin-right: 8px;
    color: #ff5e00;
}

.dropdown-menu .nav-link i {
    width: 20px;
    text-align: center;
}

/* Estilos para la sección del título */
.text-section {
    /* background: rgba(255, 255, 255, 0.1); */
    backdrop-filter: blur(10px);
    border-radius: 15px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
}

.weather-title {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.weather-title i {
    color: #ff5e00;
    margin-right: 10px;
    animation: spin 20s linear infinite;
}

.weather-subtitle {
    color: #34495e;
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
}

.weather-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
}

.weather-features span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.weather-features span:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

.weather-features i {
    margin-right: 8px;
    color: #ff5e00;
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    position: relative;
    width: 120px;
    height: 120px;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.1);
}

.lead a:hover {
    color: #0056b3 !important;
    border-bottom-color: #0056b3 !important;
}

/* Estilos para la Rosa de los Vientos */
.wind-rose {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px auto;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    border: 1px solid #000000;
    box-shadow: 0 0 20px rgba(128, 128, 128, 0.5);
}

.wind-direction {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.wind-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    height: 6px;
    background: rgba(255, 8, 0, 0.568);
    transform: translate(-50%, -50%);
}

.wind-arrow:before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    border-left: 20px solid rgb(255, 8, 0, 0.568);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translateY(-50%);
}

.cardinal-points {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cardinal-point {
    position: absolute;
    font-size: 12px;
    font-weight: bold;
    color: #000000;
    white-space: nowrap;
}

/* Puntos cardinales principales */
.cardinal-point.n { top: 2px; left: 50%; transform: translateX(-50%); }
.cardinal-point.s { bottom: 2px; left: 50%; transform: translateX(-50%); }
.cardinal-point.e { right: 2px; top: 50%; transform: translateY(-50%); }
.cardinal-point.o { left: 2px; top: 50%; transform: translateY(-50%); }

/* Puntos cardinales intermedios */
.cardinal-point.ne { top: 20%; right: 20%; }
.cardinal-point.se { bottom: 20%; right: 20%; }
.cardinal-point.so { bottom: 20%; left: 20%; }
.cardinal-point.no { top: 20%; left: 20%; }

.wind-speed-text {
    text-align: center;
    margin-top: 15px;
    font-size: 1em;
    color: #ebedf0;
    font-weight: bold;
}

.wind-info {
    text-align: center;
    margin-top: 10px;
    color: #19191a;
}

/* Líneas de referencia en la rosa */
.wind-rose::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

/* Líneas de dirección */
.direction-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.direction-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    transform-origin: center;
}

/* Líneas de dirección */
.direction-line:nth-child(1) { transform: rotate(45deg); }
.direction-line:nth-child(2) { transform: rotate(90deg); }
.direction-line:nth-child(3) { transform: rotate(135deg); }
.direction-line:nth-child(4) { transform: rotate(180deg); }

@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}