* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: relative;
    background-image: url(ciuda.png);
    background-size: cover;
    background-attachment: fixed;
    overflow: hidden;
}

.navegacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

.navegacion {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.navegacion ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.navegacion ul li a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navegacion ul li a:hover::after {
    width: 100%;
}

.logo {
    flex: 1;
    z-index: 1001;
}

.logo a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    font-family: "Abyssinica SIL", serif;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(105);
}

.navegacion nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navegacion nav ul li a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    white-space: nowrap;
}

.navegacion nav ul li a:hover {
    transform: scale(1.1);
}

.navegacion nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: white;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after {
    width: 100%;
}

.entrar {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    z-index: 1001;
}

.ingresar-btn {
    background-color: #000000;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ingresar-btn:hover {
    background-color: #0066cc;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.ingresar-btn:active {
    background-color: #002f60;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form {
    width: 90%;
    max-width: 400px;
    margin: 40px auto;
    background-color: transparent;
    padding: 20px;
    border: 2px solid #3777bc;
    box-shadow: 0 8px 20px rgba(55, 119, 188, 0.8);
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(4px);
}

.form h1 {
    font-family: 'Newsreader', serif;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(255, 255, 255, 0.8);
}

.form p {
    font-size: 12px;
    margin: 10px 0;
    font-weight: bold;
    color: #ffffff;
}

.recuadro {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
    border: 1px solid #3777bc;
    border-radius: 5px;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.recuadro:focus {
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    outline: none;
}

select {
    width: 30%;
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
    border: 1px solid #3777bc;
    font-size: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

select:focus {
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    outline: none;
}

.form select {
    display: inline-block;
}

.form p {
    display: inline-block;
    margin-right: 5px;
}

input[type="checkbox"] {
    margin-right: 5px;
}

.logo a {
    color: white;
    text-decoration: none;
    font-size: 30px;
    font-weight: bold;
    font-family: "Abyssinica SIL", serif;
}

.txt1 a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.txt1 a:hover {
    text-decoration: underline;
    color: #3777bc;
}

.txt2 {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.txt2 a:hover {
    text-decoration: underline;
    color: #3777bc;
}

.boton {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 8px 12px;
    border: 2px solid #3777bc;
    border-radius: 5px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.boton:hover {
    background-color: #3777bc;
    color: white;
    box-shadow: 0 8px 15px rgba(55, 119, 188, 1);
    transform: scale(1.1);
}

option {
    background-color: #ffffff;
    color: black;
}
