/*
Theme Name: pawtopia
Theme URI: 
Author: Ruth Romero Carretero
Author URI: https://rromerocarretero.ieti.site/
Description: Da hogar a todas las patitas.
Tags: 
Version: 1.0
Requires at least: 5.0 
Tested up to: 5.4 Requires 
PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: titoxavio is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others.
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
/*
License: none (public domain)
*/

*{
	cursor: url('/whale.png'),auto;
	font-family: "Montserrat Alternates", sans-serif !important;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;

}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
li {
	margin-bottom: 5px;
	padding: 0px 20px;
}
li ul a {
	text-decoration: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* *****************************************************
******************************************************* */
html, body {
	background: #fff;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}
body{
	width: 100%;
}


main, 
.container > header, 
.container > footer, 
aside,
nav#navegation, 
body.home section{
	padding: 20px;
	margin-bottom: 15px;
 	background: rgba(6, 75, 118, 0.36);
	  /* Safari 3-4, iOS 1-3.2, Android 1.6- */
	  -webkit-border-radius: 30px; 

margin-bottom: 25px;	  /* Firefox 1-3.6 */
	  -moz-border-radius: 30px; 
	  
	  /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	  border-radius: 30px;
}

section#sectionPage{
	width: 62.7%;
}

a{
	color:#1687ae;
}

h1 a {
	color:white;
}

h1 a:visited {
	color: white;
}
a:visited{
	color: #0e546c;
}

h1 {
	font-size: 34px;
	padding: 20px;
}

h2{
	font-size: 30px;
	padding: 20px;
}
h3{
	font-size: 24px;
	padding: 20px;
}
h4{
	font-size: 20px;
	padding: 20px;
}
h5{
	font-size: 18px;
	padding: 20px;
}
h6{
	font-size: 16px;
	padding: 20px;
}

code{
	background: #ff4e98; 
	border: 1px solid rgb(0, 255, 85);
}

section {
	margin: auto;
}

section>ul>li{
	background-color: white;
}

section#sectionPage article{
	background-color: white;
	box-sizing: border-box;
}

nav#navegation {
	position: relative;
        z-index: 10;
}
nav#navegation ul{
	display: flex;
	flex-direction: row;
	justify-content: center;
}

nav#navegation ul li{
	margin-right: 10px;

}

nav#navegation ul li a{
	padding: 10px;
	text-decoration: none;
	border: 1px solid #0c4f7a;
	display: block;
	border-radius: 15px;
	background-color: #0c4f7a7d;
	color: white;
}

nav#navegation ul li a:hover {
	background: #579dc9;
}

div.container {
  display: flex;
  justify-content: center; /* Centra los elementos horizontalmente */
  align-items: flex-start; /* Alinea los elementos al principio (parte superior) */
  width: 100%; /* Asegura que el contenedor ocupe todo el ancho */
}

div.container main {
  width: 40%; /* El main ocupa el 40% del ancho */
  box-sizing: border-box;
  padding: 15px;
  margin: 0 auto; /* Centra automáticamente el main, sin necesidad de margen izquierdo específico */
}

div.container aside {
  width: 40%; /* El aside ocupa el 40% del ancho */
  box-sizing: border-box;
  margin: 0;
}


.entry-content p{
	text-align: justify;
}

.entry-content p img {
    display: block;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.entry-content img {
    float: none;
    display: block;
    margin: auto;
    border-radius: 15px;
}

/* Contenedor principal que envuelve el aside */
div.container {
  display: flex;
  justify-content: center;
}

aside#sidebar {
  width: 100%; /* Que ocupe el ancho completo en móviles */
  max-width: 300px; /* Un límite para que no sea demasiado grande */
  box-sizing: border-box;
  margin: 0 auto; /* Centrar en pantallas pequeñas */
  padding: 15px;
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  aside#sidebar {
    width: 90%; /* Reducir el ancho en pantallas pequeñas */
    margin-left: auto;
    margin-right: auto;
  }
}

/* Lista de widgets */
aside#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Elementos de la lista */
aside#sidebar ul li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

/* Último elemento sin borde */
aside#sidebar ul li:last-child {
  border-bottom: none;
}

/* Titulares de los widgets */
aside#sidebar h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

/* Formularios dentro del sidebar */
aside#sidebar form {
  display: flex;
  flex-direction: column;
}

/* Campos de búsqueda */
aside#sidebar input[type="text"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Botón de búsqueda */
aside#sidebar input[type="submit"] {
  margin-top: 5px;
  padding: 8px;
  background-color: #0073aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Botón de búsqueda hover */
aside#sidebar input[type="submit"]:hover {
  background-color: #005177;
}

/* Enlaces dentro del sidebar */
aside#sidebar a {
  text-decoration: none;
  color: #008cce;
}

aside#sidebar a:visited {
	color: #014e73;
}

aside#sidebar a:hover {
  text-decoration: underline;
}


article {
	padding: 20px;
	background-color: #a5becd;
	margin-bottom: 15px;
	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 30px; 

	/* Firefox 1-3.6 */
	-moz-border-radius: 30px; 
	
	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 30px; 
}

article:last-child{
	margin-bottom: 0;
}

article img.wp-post-image {
	width: 100%;
	height: auto;
	margin-bottom: 25px;
}

aside h2,
aside ul,
aside ol{
	margin-bottom: 15px;
}

aside h2{
	font-weight: bold;
}

body.home section h3 {
	font-weight: bold;
	margin-bottom: 10px;
}

body.home section ul{
	display: flex;
	flex-direction: row;
	gap: 20px;
}

body.home section ul li{
	width: 33.33%;
	border-radius: 20px;
}

body.home section ul li:hover{
	transform: scale(1.05);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

body.home section ul li a{
	background: none;
	padding: 0;
	margin: 0;
}

.post-navigation .nav-links {
	display: flex;
}
.post-navigation .nav-links > div{
	width: 50%;
}


.post-navigation .nav-links .nav-next{
	text-align: right;
}

input#submit {
	background:black;
	color: white;
	padding: 10px;
	border: 0;
	/* Safari 3-4, iOS 1-3.2, Android 1.6- */
	-webkit-border-radius: 12px; 

	/* Firefox 1-3.6 */
	-moz-border-radius: 12px; 
	
	/* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
	border-radius: 12px; 
	cursor: pointer;

}

input#submit:hover{
	text-decoration: underline;
}

#respond {
	margin: 20px;
}
#respond p{
	display: flex;
	margin-bottom: 10px;
}

#respond p label {
	text-align: right;
	padding: 0 10px;
	width: 25%;
	margin: 7px 0px 7px 0px;
}

#respond p input,
#respond p textarea[type=text]{
	width: 500px;
	padding: 10px;
}

input#author, textarea#comment, input#email, input#url {
	color: #000;
  	background-color: #eff8ffd4;
 	border-radius: 40px;
  	border: solid 2px bisque;
  	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.32);
  	margin: 7px 0px 7px 0px;
}

textarea#comment {
	padding: 15px;
	width: 50%;
}

input#wp-comment-cookies-consent{
	width: 25px !important;
}

p.comment-form-cookies-consent{
	display: flex;
  	justify-content: center;
}

.form-submit {
	display: flex;
  	justify-content: center;
}

.comment-reply-link {
	background-color: black;
  	padding: 10px;
  	border-radius: 10px;
  	color: white;
  	text-decoration: none;
}

.comment-reply-link:hover {
	text-decoration: underline;
}
.reply {
	margin-top: 23px;
  	margin-bottom: 50px;
}

.comment-meta.commentmetadata{
	margin-top: 20px;
	margin-bottom: 20px;
}

.commentlist li {
	background-color: white;
  	padding: 10px;
  	min-height: 174px;
  	border-radius: 10px;
  	box-shadow: 2px 2px 2px #000000c7;
  	margin-bottom: 20px;
}

/* HEADER */
#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: #222;
    color: white;
    padding: 20px 40px; /* Aumenta el padding para darle más altura */
    box-sizing: border-box;
    min-height: 80px; /* Establece una altura mínima */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 2000px;
    min-width: 1200px;
    margin: 0 auto;
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo-title a>img {
	height: 100px;
    width: 100px;
    border-radius: 50%;
}

.login-button .button {
    background: #f04;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 20px;
}

.full-screen-image {
  height: 59vh;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('assets/img/ballena.png');
  overflow: hidden;
  margin-bottom: 40px;
}

footer#footer {
    background-color: #222;
    color: #ecf0f1;
    padding: 40px 0;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

footer#footer a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 16px;
    margin: 0 15px;
    transition: color 0.3s ease;
}

footer#footer a:hover {
    color: #3498db;
}

footer#footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer#footer ul li {
    display: inline-block;
}

footer#footer p {
    font-size: 14px;
    margin-top: 20px;
}

main.main-without-sidebar {
	width: 87% !important;
}

.post-navigation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.post-nav-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    width: 45%;
    transition: transform 0.3s ease-in-out;
}

.post-nav-item:hover {
    transform: translateY(-3px);
}

.prev-post {
    flex-direction: row-reverse;
    text-align: right;
}

.next-post {
    flex-direction: row;
    text-align: left;
}

.post-nav-thumbnail img {
    width: 100px;
    height: 70px;
    border-radius: 5px;
    object-fit: cover;
}

.post-nav-text {
    padding: 0 15px;
}

.meta-nav {
    font-size: 12px;
    font-weight: bold;
    color: #888;
    text-transform: uppercase;
}

.post-title {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
}

.post-date {
    font-size: 14px;
    color: #777;
}
