/* Variables
  **********************************/
@import url("variables.css");
/* ******************************* */

.btn,
.button {
	border: 0;
	border-radius: 60px;
	padding: 0.6em 1.6em;
	text-decoration: none;
	font-size: calc(var(--text-general) - 0.2rem);
	font-weight: var(--bold);
	display: inline-block;
	transition: all 0.2s;
	cursor: pointer;
	color: white;
	background: var(--rojo);
	font-family: var(--inter);
}

.btn:hover,
.button:hover{
	background: white;
	color: var(--rojo);
}

.btn-reduced {
	font-size: calc(var(--text-general) - 0.4rem);
	padding: 0.3em 1em;
}

.btn-line {
	background: transparent;
	border: 1px solid var(--rojo);
	color: var(--rojo);
}

.btn-line:hover {
	background: var(--rojo);
	color: white;
}

.link-icon {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 1rem;
	font-family: var(--inter);
	font-weight: var(--bold);
	font-size: var(--text-general-small);
	border-radius: 30px;
	padding-left: 1.2rem;
	position: relative;
}

.link-icon:hover {
	background: white;
	color: var(--rojo);
}

.link-icon::after {
	content: "";
	display: block;
	width: 31px;
	aspect-ratio: 1/1;
	background-size: 16px;
	background-position: center;
	background-repeat: no-repeat;
	background-color: var(--rojo);
	border-radius: 50px;
}

.only-icon {
	justify-content: flex-start;
	padding-left: 0;
	padding-right: 1.2rem;
	width: max-content;
	gap: 0;
}

.only-icon:hover {
	gap: 0.4rem;
}

.only-icon::before {
	content: "";
	width: 39px;
	aspect-ratio: 1/1;
	display: block;
	border-radius: 40px;
}

.only-icon::after {
	display: none;
}

.only-icon span {
	font-size: inherit;
	width: max-content;
	aspect-ratio: inherit;
	position: relative;
	opacity: 0;
}

.only-icon:hover span {
	opacity: 1;
}

.btn-icon-top {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	gap: 1rem;
	text-align: center;
	line-height: 1.2em;
	padding: 1.8rem 1rem;
	border-radius: 2vw;
}

.btn-icon-top span {
  width: auto;
  height: clamp(40px, 3vw, 50px);
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  display: block;
}

@media all and (max-width: 480px) {
	.btn {
		font-size: var(--text-general);
	}

	.link-icon {
		font-size: var(--text-general);
	}

	.only-icon {
		gap: 0.4rem;
	}

	.only-icon span {
		opacity: 1;
	}

	.btn-icon-top {
		border-radius: 4vw;
	}
}
