@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* :root{
    --primary-color:#22254b;
    --secundary-color:#373b69;
} */

body {
    background-color: #343a40;
    height: calc(100vh - 130px);
}

header {
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #343a40;
    color: white;
    z-index: 999;
}

header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

header .logo {
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.search-input {
    padding: 10px 20px;
    border-radius: 5px 0 0 5px;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 400;
    width: 60%;
    transition: all 0.3s ease;
}

/* input[type="text"][required] {
        border: 2px solid #ff0000;
        padding: 10px;
        border-radius: 5px;
        outline: none;
    }

    input[type="text"][required]:focus {
        border-color: #00ff00;
    } */

.error-message {
    display: none;
    position: absolute;
    top: 50px;
    right: 20px;
    padding: 10px;
    background-color: rgba(255, 193, 7, 0.5);
    color: white;
    border-radius: 5px;
    font-size: 12px;
}

.search-input:focus {
    background-color: #f9f9f9;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.search-submit {
    padding: 10px 20px;
    background-color: #337ab7;
    color: #fff;
    border-radius: 0 5px 5px 0;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background-color: #286090;
    transform: translateY(-3px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.btn-primario {
    background-color: #337ab7;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    outline: none;
}

.btn-primario:hover {
    background-color: #286090;
    color: #fff;
    outline: none;
}

.bg-custom-blue {
    background-color: #286090;
    color: #fff;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.center-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.center-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.center-menu ul li {
    margin: 0 10px;
    position: relative;
}

.center-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
    display: block;
}

.center-menu ul li a:hover {
    background-color: #ddd;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
}

.center-menu ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: #337ab7;
    transition: all 0.3s ease;
}

.center-menu ul li a:hover::before {
    width: 100%;
}

.main-conten {
    width: 100%;
    padding: 20px;
    margin-top: 40px;
}

.contenedor-1,
.contenedor-2,
.contenedor-3,
.contenedor-4,
.contenedor-5 {
    width: 100%;
    height: calc(100% / 3);
    margin-top: 50px;
    background-color: #ffffff;
}

.banner_publicidad {
    width: 20%;
    height: 60vh;
    border: 30px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 5px 15px 25px rgb(0, 0, 0, 0.3);
}

.img-publi {
    width: 100%;
    height: 100%;
    display: flex;
    animation: slide 10s linear infinite;
    -webkit-animation: slide 10s linear infinite;
}

.img-publi img {
    width: 100%;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-100%);
    }
    45% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-200%);
    }
    70% {
        transform: translateX(-200%);
    }
    75% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(-300%);
    }
}

footer {
    width: 100%;
    height: 50px;
    position: fixed;
    bottom: 0;
    background-color: #343a40;
    color: #fff;
    padding: 10px 0;
}

footer .copyright {
    text-align: center;
}

footer .copyright p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.anuncio {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 250px;
    margin: auto;
    overflow: hidden;
}

.anuncio video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    min-width: 100%;
    min-height: 100%;
}
