
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


html {
	font-size: 62.5%;
}

@font-face {
  font-family: 'Raleway';
  src: url('./static/fonts/raleway-regular.woff2') format('woff2'),
       url('./static/fonts/raleway-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
	--light-clr: #FAFAFA;
	--general-font-size: 2rem;
	--grid-columns: 4;
	--section-spacing: 5.6rem 2.4rem;
}

body {
	font-family: 'Raleway', Arial, sans-serif;
	font-size: var(--general-font-size);
	background: url('./static/img/milton_rincon_cirujano_plastico.webp') center/cover;
	height: 100vh;
}

img {
	max-width: 100%;
	display: block;
}


a {
	text-decoration: none;
	display: block;
}

.container {
	max-width: 730px;
	margin: 0 auto;
}

.hero {
	margin-top: 5rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.photo {
	width: 11rem;
	height: 11rem;
	padding-top:1rem;
	background: #6e6462;
	border-radius: 50%;
	border: 3px solid var(--light-clr);
	overflow: hidden;
}

.name {
	padding: 1rem;
	background: hsl(0 0% 10% / 0.8);
	backdrop-filter: blur(1rem);
	border-radius: .3rem;
	color: var(--light-clr);
	text-align: center;
}

.avatar-title {
	font-size: 2.8rem;
	margin-top: 3rem;
}

.hero-title {
	font-size: 2.2rem;
	margin-top: 1.3rem;
}

.row {
	padding: var(--section-spacing);
}

.box {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	font-size: 2.4rem;
	border: 2px solid var(--light-clr);
	border-radius: 1rem;
	margin-top: 1rem;
	overflow: hidden;
	background: hsl(0 0% 10% / 0.7);
	backdrop-filter: blur(1rem);
	cursor: pointer;
	transition: background 0.5s;
}


.box:hover {
	background: hsl(0 0% 100% / 0.3);
	backdrop-filter: blur(1rem);
}

.box i {
	display: flex;
	background: hsl(0 0% 100% / 0.3);
	backdrop-filter: blur(1rem);
	padding: 1.6rem;
	font-size: 3.4rem;
}

.company {
	display: flex;
	align-items: center;
	justify-content: center;
	grid-column: span 2;
	padding: 1.6rem;
	margin-top: 0.3rem;
	color: var(--light-clr);
}


.footer {
	display: grid;
	grid-template-columns: 1fr;
}

.sub-footer {
	display: flex;
	justify-content: center;
	align-items: center;
}

.footer-list {
	list-style: none;
	font-size: 3.4rem;
	padding: 3rem 1rem;
	display: flex;
	gap: 1.5rem;
}

.footer-item a {
	color: black;
	display: flex;
	background: hsl(0 0% 100% / 0.6);
	backdrop-filter: blur(1rem);
	justify-content: center;
	align-items: center;
	height: 4rem;
	width: 4rem;
	border-radius: .7rem;
	transition: box-shadow .5s;
	padding: 0.5rem;
}

.icon {
	height: 100%;
	width: 100%;
}

.x-icon {
	padding: 0.5rem;
}

.icon-main {
	height: 4rem;
	width: 4rem;
}

.box-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	background: hsl(0 0% 100% / 0.3);
	backdrop-filter: blur(1rem);
}

.footer-item a:hover {
	border: 2px solid hsl(0 0% 100% / 0.9);
	box-shadow: 2px 2px 2px #FFF;

}


@media only screen and (max-width: 768px) {
	.avatar-title {
		font-size: 2.3rem;
	}

	.hero-title {
		font-size: 1.7rem;
	}
}

@media only screen and (max-width: 640px) {
	.avatar-title {
		font-size: 2rem;
	}

	.hero-title {
		font-size: 1.5rem;
	}

	.company {
		font-size: 2rem;
	}

	.icon-main {
		height: 3.5rem;
		width: 3.5rem;
	}
}

@media only screen and (max-width: 540px) {
	.company {
		font-size: 1.8rem;
	}
	.footer-list {
		font-size: 3rem;
	}
	.avatar-title {
		font-size: 1.7rem;
		margin-right: 1.5rem;
		margin-left: 1.5rem;
	}
	.row {
		padding-top: 2rem;
	}
	.footer-item a {
		height: 5rem;
		width: 5rem;
	}
}
