* { margin: 0; padding: 0; text-decoration: none; list-style: none; } body { color: #6a6f8c; background: #c8c8c8; background: url("../imagenes/fondo_flores.jpg"); background-repeat: no-repeat; background-size: cover; font-family: "Open Sans", sans-serif; font-size: 20px; } /*HEADER*/ .logo{ width: 4.375rem; margin-right: 10px; opacity: 0; animation-name: fade-in; animation-duration: 3s; animation-fill-mode: forwards; } /* definir la animación */ @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } } .navbar, .footer { background-color: #947474; } .nav-item a { font-size: 20px; color: white; } .nav-item a:hover { color: #3e0a0b; } .navbar-brand { display: flex; align-items: center; } .navbar-brand h2, footer h2 { color: #550d0e; font-size: 2rem; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; -o-text-overflow: clip; text-overflow: clip; white-space: pre; text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 1), 0 0 30px #913785, 0 0 30px #913785, 0 0 80px #913785, 0 0 100px #913785; -webkit-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1); -moz-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1); -o-transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1); transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1); } h2:hover { text-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 1), 0 0 40px #6fa78a, 0 0 70px #6fa78a, 0 0 80px #6fa78a, 0 0 100px #6fa78a; } li .btn { font-weight: 700; background: #4c606d; border-radius: 15px; cursor: pointer; transition: all 0.3s ease 0s; color: white; } li:hover .btn { background-color: #a8c9b1; transform: scale(1.1); color: #3e0a0b; } .dropdown-menu{ display: none; position: absolute; background: #9a8e8e; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); z-index: 100; border-radius: 5px; list-style: none; border: none; width: 240px; padding: 10px 0; } .dropdown-menu a{ color: black; text-align: center; } .dropdown-menu a:hover{ background: #83b099; transform: scale(1.2); padding-left: 20px; font-size: 16px; box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5); } /* CONTENIDO */ #central h3, #izquierda h3{ color: #4c606d;; } #buscador, h3 { text-align: center; padding: 20px; align-content: center; } #buscador input, #buscador button { border: none; padding: 8px 20px; border-radius: 25px; background: rgba(255, 255, 255, 0.521); align-items: center; } .libro button, #buscador button { background: #91bfba; border-radius: 20px; border: none; width: 7.5rem; height: 2.25rem; line-height: 5px; } #buscador button:hover, .libro button:hover { background-color: #e0b6be; } #central { background-color: #b8a5ab; width: 41%; height: 60%; max-height: 800px; border-radius: 0.625rem; margin-top: 0.3125rem; margin-bottom: 1.25rem; overflow-y: scroll; margin:15px auto; margin-right: 27%; } .interior { background-color: #d9d9d9; width: 90%; font-size: 15px; border-radius: 10px; margin: auto; margin-bottom: 1.25rem; } .interior img:hover { filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.5)); } .interior .titulo { display: flex; align-items: center; margin-top: 5px; } .interior .titulo .titular img{ width: 50%; height: 30%; vertical-align: -11px; } .interior .libro { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } .interior .libro img { width:12.5rem; margin-left: auto; border-radius: 3px; margin-right: 10px; } .interior .titulo { font-size: 18px; } .descripcion { display: flex; align-items: center; font-size: 18px; text-align: left; margin-bottom: 20px; padding: 0px 9px 0 20px; } #izquierda { width: 20%; float: left; left: 60px; background: #91bfba; border-radius: 6px; margin-top: -50.6875rem; margin-left: 5%; } #izquierda img { display: block; margin: 0 auto; border-radius: 4px; width: 40%; margin-bottom: 10px; } #izquierda img { transition: transform 0.2s ease-out; } #izquierda img:hover { transform: scale(1.1); } .barra-progreso { width: 80%; justify-content: center; background-color: whitesmoke; border-radius: 5px; margin-left: 30px; overflow: hidden; } .valor-barra { height: 100%; background-color: #884559; color: white; text-align: center; line-height: 20px; position: relative; } .barra-progreso:hover .valor-barra { background-color: #659b7c; } #izquierda button { display: block; border: none; margin: 20px auto; padding: 10px 20px; color: #550D0E; border-radius: 20px; font-size: 1em; height: 2rem; line-height: 5px; } #calendar-container img{ width: 15%; width: 23%; /* float: left; */ left: 60px; /* background: #91bfba; */ border-radius: 6px; margin-top: -50.6875rem; margin-left: 4%; /* background-color: #ddd; */ border-radius: 25px; margin-top: -23%; margin-bottom: 5%; } #derecha{ position: absolute; height: 75%; left: 80%; top: 25%; } #derecha img{ border-radius: 10px; width: 77%; } #derecha img:hover{ filter: grayscale(100%); } .enlaces { display: flex; justify-content: space-between; margin-right: 10px; } .enlaces a { display: inline-block; width: 45%; text-align: center; text-decoration: none; color: #550D0E; font-size: 16px; margin-bottom: 8px; font-weight: bold; } ::-webkit-scrollbar { width: 14px; } ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); border-radius: 10px; } ::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); } @media (max-width: 1024px) { #central { width: 55%; margin-right: 5%; } #izquierda{ width: 28%; } #derecha { display: none; } } @media only screen and (min-width: 1600px){ #calendar-container img { margin-top: -15%; } } @media only screen and (max-width: 700px) { /* agrega aquí tus estilos para dispositivos móviles */ #central { width: 89%; height: 79vh; margin-top: 76%; } .interior { width: 90%; font-size: 12px; } .interior .libro img { width: 40%; margin-left: auto; margin-right: 10px; } #izquierda { width: 55%; height: 29%; margin-top: -61em; } #izquierda img { width: 40%; } #izquierda button{ height: auto; font-size: 12px; } #izquierda h3{ font-size: 13px; } .barra-progreso { width: 60%; margin-left: 5%; font-size: 13px; margin: auto; } #calendar-container { display: none; } #derecha img{ display: none; } .descripcion, .interior .titulo span{ font-size: 16px; margin-bottom: 10px; } #buscador button{ height: 32px; width: 34%; margin-top: 3%; } #buscador input{ width: 65%; } } @media only screen and (max-width: 376px){ #izquierda { width: 55%; left: 12%; top: 28%; height: 14em; margin-top: -54rem; } #central{ margin-top: 81%; } } /*Aquí debajo va el FOOTER*/ footer { position: relative; bottom: 0; left: 0; height: fit-content; width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; background-color: var(--dark); color: white; background-color: #947474; font-size: 20px; } .footer-content-container img { height: 112px; align-self: center; } .copyright-container { width: 100%; display: flex; justify-content: center; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.3); } .copyright { font-size: 12px; opacity: 0.7; font-weight: 400; padding: 10px 0; } .footer-menus { display: flex; justify-content: space-between; align-items: flex-start; width: 40%; } .footer-container { height: fit-content; width: 100%; padding: 3rem 4rem; box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-start; } .footer-content-container { display: flex; justify-content: flex-start; align-items: flex-start; flex-direction: column; } footer .website-logo { margin-bottom: 1.2rem; font-size: calc(1vw + 20px); } .footer-info, .menu-item-footer { margin: 0.2rem 0; opacity: 0.7; color: white; text-decoration: none; transition: 0.5s; } .menu-item-footer:hover { opacity: 1; } .menu-title { font-size: var(--medium-text-font); font-weight: 400; text-transform: uppercase; margin-bottom: 1.2rem; } .social-container { display: flex; justify-content: center; align-items: center; height: 30px; width: 100%; } .social-container a { height: 100%; width: 30px; background-size: 70%; background-position: center; margin-right: 1rem; } .social-container a:hover { opacity: 0.7; } details { margin: 20px 0; padding: 10px; border: 1px solid #ccc; border-radius: 5px; } summary { font-weight: bold; cursor: pointer; } footer img { max-width: 100%; display: block; margin: 10px auto; } .subscription__form input, .subscription__form button { border: none; padding: 8px 20px; border-radius: 25px; background: rgba(255, 255, 255, 0.521); } /*MEDIA QUERY*/ @media (max-width: 800px) { .footer-container { padding: 2rem; flex-direction: column; } .footer-content-container { width: 100%; padding: 2rem 0; border-bottom: 1px solid #2a2a2a; justify-content: center; align-items: center; } .footer-content-container:nth-of-type(3) { border-bottom: none; padding-bottom: 0; } .footer-menus { width: 100%; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #2a2a2a; } }