@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=block');

:root {
  --link: #00a2c3;
  --hover: #006b89;
  --max-width: 850px;
	}

html{
	scroll-behavior: smooth;
	}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	}

body, input, button, select, option, textarea {
  font-family: "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #444;
	}
body { background-color: #bde4de; }

h1{ 
	padding: 0 0 1rem 0;
	font-size: 1.75rem;
	line-height: 2rem;
	font-weight: 400;
	margin: 0;
	color: #111;
	}

h2{ 
	margin: 0;
	padding: 1.5rem 0 1rem 0;
	font-size: 1.35rem;
	font-weight: 400;
	color: #111;
	}

h3{ 
	margin: 0;
	padding: 2.5rem 0 .5rem 0;
	}

p { padding: .75rem 0; }

ul{ 
	margin: .75rem 1rem;
	padding-left: 1.25rem;
	}
ul + p{ margin-top: 1rem; }	
li{
	line-height: 1.4rem;
	padding: .25rem;
	}

a, a:link, a:visited, a:focus{
	color: var( --link );
	text-decoration: none;
	cursor: pointer;
	position: relative;
	font-weight: 500;
	}
a:hover { 
  color: var( --hover ); 
	}

header{
	margin: 2rem 0;
	text-align: center;
	}
header > div{
	padding: 1rem .5rem;
	text-align: center;
	font-size: 3rem;
	color: #00626e;
	line-height: 2.5rem;
	font-family: "Lilita One", sans-serif;
  color: transparent;
  background-clip: text;
  background-image: linear-gradient(120deg, #007d90, #00b3d6, #ea00ff);
	display: inline-block;
	}	

img{
  display: block;          
  max-width: 100%;         
  height: auto;           
  object-fit: cover;      
  object-position: center;  
  border: 0;               
	}
video{
	display: block;
  width: 100%;
  height: auto;	
  border-radius: .5rem;
  max-width: 700px;
  margin: 1.5rem auto;
	}
main{
	padding: 1rem;
	background-color: #fff;
	box-shadow: 0 0 10px 5px #0070931a;
	}

.content a:hover,
footer a:hover{
	text-decoration: underline;
	text-underline-offset: .25rem;
	text-decoration-thickness: 1.5px;
	}

nav{	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .3rem 1.5rem;
	font-weight: 500;
	background-color: #fff;
	}
nav a::before, nav a.active::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--hover);
  transform: scaleX(0);
  transition: transform 0.3s ease;
	}
nav a:hover::before {
  transform: scaleX(1);
	}
nav a.active{ color: #9153c8; }
nav a.active::before{ 
	background-color: #9153c8;
	transform: scaleX(1); 
	}

hr {
	margin: 3rem 0;
	border: none;
  border-top: 3px solid #bde4de;
	}
hr + h2 { padding-top: 0; }

.content{
	margin: 2rem auto 6rem auto;
	max-width: var(--max-width);
	}

h1 + ul.inline-list{ padding: 1.5rem 0; }

ul.inline-list{
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	}
.inline-list li{
	color: #111;
	margin: 0;
	padding: 0;
	}		
.inline-list li:after, 
ul.inline-list li.active:after{
	content: "|";
	padding: 0 .5rem;
	color: #000;
	}
.inline-list li:last-child:after,
ul.inline-list li.active:last-child:after{ 
	content: none; 
	padding: 0;
	}

ul.inline-list li.active, 
ul.inline-list li.active a, 
ul.inline-list li.active a:link, 
ul.inline-list li.active a:visited, 
ul.inline-list li.active a:focus { color: #9153c8; }

ul.inline-list + h2 { padding-top: 1.5rem; }

footer{ 
	margin: 0 auto;
	max-width: var(--max-width);
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: left;
	color: #3b7032;
	padding: 1rem 1rem 4rem 1rem;
	}

footer > div { 
	display:flex; 
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem;
	}	
footer img{ width: 2rem; }				
footer a:link, footer a:visited{ color: #00759a; }
footer a:hover{ color: #002d68; }		


/* CONTENT ---------------------------- */

.img-wrapper{
	max-width: 700px;
	margin: 0 auto;
	padding: 1.25rem 0;
	}
.img-wrapper .caption{ 
	padding-top: .25rem; 
	color: #666;
	font-size: .9rem;
	}
.img-wrapper .caption p:first-child{ padding-top: 0;}
.img-wrapper .caption p{ padding-bottom: 0;}


.columns-2{
	display: grid;
	gap: 1rem;
	}

.translator { font-style: italic; }

/* HOME ---------------------------- */

#photo{
  border: 2px solid #CCC;
  padding: .5rem;
  text-align: center;
  width: 70%;
  margin: 0 auto;
	}
#photo img{ 
	border: 1px solid #ccc;
	width:100%; 
	padding-top: 1rem;
	}

/* ABOUT ---------------------------- */

#about section{ 
	display: grid;
	gap: 1.5rem; 
	line-height: 1.4rem;
	margin: 0 0 1rem 0;
	}
#about .title{ font-weight: bold; }
#about .position, #about .school {
	font-style: italic;
	font-weight: bold;
	}
#about ul, #about .date{ color: #666; }
#about ul .school{ color: #111; }


#skills-list{
	display: grid;
	gap: 1rem;
	line-height: 1.2rem;
	}
#skills-list > div{
	display: grid;
	grid-template-columns: 6rem auto;
	gap: 1rem;
	align-items: center;
	}
#skills-list img{ 
	width: 100%; 
	border-radius: 50%;
	}
#skills-list > div .title{ font-weight: normal; }


@media print, (min-width:590px) { 
	
	h1{ 
		padding-top: 1rem; 
		font-size: 2.25rem;
		line-height: 2.5rem;
		}

	h2{ font-size: 1.5rem; }

	header > div{ 
		font-size: 5rem;
		line-height: 4.5rem;
		padding: 5rem .25rem; 
		}

	nav{
		font-size: 1.2rem;
		padding: .5rem 0 0 0;
		margin: 0 auto;
		max-width: var(--max-width);
		justify-content: left;
		}

	.content{ padding-top: 1rem; }
	.columns-2{ 
		grid-template-columns: 3fr 2fr; 
		gap: 3rem; 
		}
	#photo{ 
		rotate: 4deg;
		width: 100%;
		box-shadow: .5rem .5rem 0 rgba(0, 0, 0, .075);
		}
	footer{
		gap: 2rem;
		}

	/* CONTENT ---------------------------- */
	.img-wrapper{ padding: 1.5rem 0; }
	.img-wrapper .caption{ font-size: .95rem; }

	/* ABOUT ---------------------------- */

	#skills-list{
		grid-template-columns: repeat(auto-fill, minMax(8rem, 1fr));
		margin-bottom: 1.5rem;
		align-items: start;
		}

	#about section{ 
		margin: .5rem 0 2rem 0;
		line-height: 1.5rem;
		gap: 2.5rem;
		}	
	#skills-list > div{
		grid-template-columns: 1fr;
		align-content: center;
		gap: .5rem;
		}	
	#skills-list > div .title{ 
		max-width: 7rem; 
		text-align: center;
		margin: 0 auto;
		}




}	

@media print, (min-width:750px) {
	
	.columns-2{ 
		grid-template-columns: 2fr 1fr; 
		gap: 3rem; 
		}

	#photo{ padding: .75rem; }

}


@media print{
	footer a::after { content: " (" attr(data-shorturl) ")"; }

}