/* @import "fonts/roboto/roboto.css"; */
@import "fonts/open-sans/open-sans.css";


:root {
	--color-text: #39414d;
	--color-border: #c5c5c5;
	--content-max-mix: 800px;
	
	outline: none;
}

body {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: normal;
	margin: 0;
	color: var(--color-text);
	box-sizing: border-box;
}

header {
	padding: 20px 0;
	&>div {
		display: flex;
		align-items: center;
		flex-wrap: nowrap;
		justify-content: space-between;
		@media screen and (max-width: 782px) {
			flex-direction: column;
			gap: 20px;
		}
	}
	img.logo {
		
	}
}

main {
	#page-title {
		border-bottom: 2px solid var(--color-text);
		padding-bottom: 10px;
	}
	@media screen and (max-width: 782px) {
		padding: 0 20px;
	}
}

.content-width {
	max-width: var(--content-max-mix);
	margin: 0 auto;
}

a {
	color: var(--color-text);
	text-decoration: none;
}

.btn {
	border-radius: 10px;
	border: 1px solid var(--color-text);
	padding: 0 8px;
	transition: all 0.2s ease;
	@media screen and (max-width: 782px) {
		padding: 10px 18px;
		border-radius: 8px;
	}
}

.user-data {
	display: flex;
	flex-direction: column;
	&>div:first-child {
		display: flex;
		align-items: center;
		img.user-avatar {
			width: 50px;
			height: 50px;
			border-radius: 50%;
			border: 1px solid var(--color-border);
		}
		&>div {
			margin-left: 10px;
			max-width: 200px;
			&>:nth-child(1) {
				font-size: 0.8rem;
			}
			&>:nth-child(2) {
				line-height: 1rem;
			}
		}
	}
	&>div:last-child {
		text-align: center;
		padding-top: 10px;
		display: flex;
		gap: 30px;
		justify-content: center;
		.btn-logout {
			background-color: #f74c4c;
			color: #fff;
			&:hover {
				background-color: #f9b3b3;
				color: var(--color-text);
			}
		}
		.btm-home {
			background-color: #4371f3;
			color: #fff;
			&:hover {
				background-color: #a7beff;
				color: var(--color-text);
			}
		}
	}
	@media screen and (max-width: 782px) {
		&>div:first-child {
			justify-content: center;
			&>img {
				display: none;
			}
			&>div {
				display: flex;
				margin-left: 0;
				align-items: center;
				max-width: unset;
				margin: 0 20px;
				div {
					font-size: 1rem !important;
					&:last-child {
						margin-left: 4px;
					}
				}
			}
		}
	}
}

.btn-login {
	background-color: #61f592;
	&:hover {
		background-color: #2f9651;
		color: #fff;
	}
}

#main-menu {
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 30px;
	flex-wrap: wrap;
	justify-content: center;
	&>li {
		border: 1px solid var(--color-border);
		width: 300px;
		border-radius: 10px;
		min-width: 200px;
		transition: all 0.3s ease;
		&:hover {
			/* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
			box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
		}
		&>a {
			margin: 5px;
			display: flex;
			align-items: center;
			gap: 10px;
			img {
				height: 100px;
				object-fit: contain;
				width: 130px;
				aspect-ratio: 1 / 1;
			}
			span {
				text-align: left;
				font-weight: bold;
				text-wrap: pretty;
				width: -webkit-fill-available;
			}
		}
	}
}

button {
	&.aceptar {
		background-color: #2fe7d6;
		border: 1px solid #0e998c;
		&:hover {
			background-color: #0e998c;
			color: #2fe7d6;
			cursor: pointer;
		}
	}
}

input {
	padding: 6px 10px;
	border: 1px solid #000;
	font-size: 1em;
	border-radius: 0;
}

label {
	display: inline-block;
	font-size: 1rem;
}


section#carambolo-posts {
	margin-bottom: 50px;
	article {
		padding: 20px;
		border: 1px solid #ccc;
		background-color: #dcdcde;
		border-radius: 10px;
		&:hover {
			background-color:#f6f6f7
		}
		&:not(:last-child) {
			margin-bottom: 20px;
		}
		h2 {
			margin-top: 0;
			margin-bottom: 10px;
		}
		&>.post-content {
			display: flex;
			gap: 20px;
			&>.post-content {
				flex-grow: 1;
			}
			img.attachment-post-thumbnail {
				aspect-ratio: 1/1;
				max-width: 200px;
				height: auto;
				object-fit: contain;
				object-position: 50% 0;
			}
			img, .ytp-cued-thumbnail-overlay {
				max-height: 500px;
				aspect-ratio: 1 / 1;
				object-fit: contain;
			}
			p {
				margin: 0 0 10PX;
			}
		}
		@media screen and (max-width: 550px) {
			.post-content {
				flex-direction: column;
				align-items: center;
				img {
					max-width: 100%;
				}
			}
		}
	}
}






/*
Download monitor
*/
/*
.dlm-downloads {
	--responsive--aligndefault-width: 800px;
	list-style: none;
	padding: 0;
	.download-btnet {
		.content {
			display: flex;
			gap: 20px;
			img {
				aspect-ratio: 1 / 1;
				object-fit: contain;
				object-position: center top;
				flex-shrink: 20;
			}
			.descripcion {
				flex-shrink: 1;
			}
		}
	}
}
*/

@media only screen and (max-width: 822px) {
	.entry-content {
		margin-left: 10px !important;
		margin-right: 10px !important;
	}
}

.dlm-downloads li:not(:last-child) {
	margin-bottom: 20px;
}

.download-btnet {
	padding: 10px;
	border: 1px solid #ccc;
	background-color: #eee;
	border-radius: 5px;
	transition: all 0.2s ease;
}

.download-btnet:hover {
	background-color: #dcdcde;
}

.download-btnet h3 {
	font-family: var(--wp--preset--font-family--system-font);
	font-size: var(--wp--preset--font-size--large);
}

.download-btnet h3 {
	margin: 10px 0;
	font-size: 26px;
}

.download-btnet .download-button-container {
	margin-top: 20px;
}

.download-btnet .download-button-container a:focus, .download-btnet .download-button-container a:active {
	background-color: #075b76 !important;
	background-image: -webkit-linear-gradient(#037ba3,#09c,#005c7a) !important;
}

.download-btnet .download-button {
	display: inline-block;
	padding: 4px 10px;
	font-size: 18px;
}

.download-btnet .download-description {
	margin-left: 10px;
}
