html,
body{
	margin: 0;
	padding: 0;
}
html{
	--clr-mycard: #2dbefc;
	--clr-1: var(--clr-mycard);
	--clr-text: #ffffff;
	--clr-text-2: var(--clr-text);
	--clr-text-3: var(--clr-text);
	--clr-bg: #333333;
	--clr-bg-2: #4d4d4d;
	--clr-phone: #39cd2a;
	--clr-phone-2: #ee5a24;
	--clr-mail: #be272d;
	--clr-mail-2: #39cd2a;
	--clr-location: #ff4646;
	--clr-website: #2e318f;
	font-size: 18px;
	font-size: min(calc(4vw + 4px), 24px);
	font-family: Arial,Helvetica Neue,Helvetica,sans-serif;
	line-height: 1.4em;
}
body{
	background: var(--clr-bg);
}

*{
	font-weight: normal;
	box-sizing: border-box;
}

form{
	text-align: center;
	font-size: 0.9rem;
}
input,
textarea,
button{
	display: block;
	width: 15rem;
	max-width: 100%;
	margin: 0.5rem auto;
	background: none;
	box-shadow: none;
	border: 1px solid var(--clr-text);
	color: var(--clr-text);
	background: var(--clr-bg-2);
	border-radius: 0.25rem;
	padding: 0.25rem;
	font-size: 1em;
	resize: none;
	font-family: inherit;
}
::placeholder{
	color: var(--clr-text);
	opacity: 0.5;
}
button{
	display: inline-block;
	width: auto;
	margin: 0 auto;
	padding: 0.5rem 1rem;
	background: var(--clr-mycard);
}
:disabled{
	border-color: var(--clr-bg-2);
	background: var(--clr-bg);
	color: var(--clr-bg-2);
}
:disabled::placeholder{
	opacity: 1;
	color: var(--clr-bg-2);
}

#index .mycard{
	padding-top: 0;
	padding-bottom: 2.5rem;
}

h1{
	font-weight: bold;
	font-size: 1.5em;
}
h2{
	font-size: 1.25em;
}
h3{
	font-size: 1.15em;
}

h1,
h2,
h3,
p{
	margin: 0.25em auto;
}

p{
	text-align: justify;
}
p + p{
	margin-top: 1rem;
}
p a{
	color: var(--clr-text-3);
	text-decoration: underline;
}

img{
	max-width: 100%;
	vertical-align: middle;
    object-fit: contain;
    object-position: center center;
}

a{
	text-decoration: none;
	color: var(--clr-text);
    box-sizing: border-box;
}

iframe{
	width: 100%;
	margin: 1.5rem auto;
}
.ratio-16-9{
	position: relative;
	margin: 1.5rem auto;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
}
.ratio-16-9 > *{
    height: 100%;
    width: 100%;
    position: absolute;
    margin: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.hero{
	--decor-1: none;
	--decor-2: none;
	position: relative;
	padding-top: 8rem;
	max-width: 25rem;
	margin: 0 auto;
	background-color: var(--clr-1);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}
/* Hero Decor */
.hero:before,
.hero:after{
	content: '';
	position: absolute;
	top: 1rem;
	bottom: auto;
	background-size: contain;
	background-repeat: no-repeat;
    width: 6rem;
    height: 6rem;
}
.hero:before{
	background-image: var(--decor-1);
	background-position: top left;
	left: 1rem;
}
.hero:after{
	background-image: var(--decor-2);
	background-position: top right;
	right: 1rem;
}
.card{
	position: relative;
	color: var(--clr-text);
	padding: 1.5rem;
	padding-top: 4rem;
	max-width: 25rem;
	margin: 0 auto;
	min-height: 100vh;
	text-align: center;
	padding-bottom: 6rem;
}
.profile{
    position: absolute;
    top: 0;
    left: 50%;
    width: 8rem;
    height: 8rem;
    object-fit: fill;
    object-position: center center;
    background-color: var(--clr-bg-2);
    background-image: url(/images/fallback-profile.svg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    border-radius: 100%;
    border: 0.2em solid var(--clr-bg);
}
.add{
	position: fixed;
	top: auto;
	right: auto;
	bottom: 1rem;
	left: auto;
	border-radius: 5rem;
	padding: 1rem 0;
    line-height: 1rem;
    font-size: 1.25rem;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: calc(100% - 2rem);
    max-width: 14rem;/* 23rem */
	background: var(--clr-1);
	border: 0;
    box-shadow:
    	0px 0px 0.5rem 0 var(--clr-bg),
    	0px 0px 0.75rem 0 var(--clr-bg),
    	0px 0px 1rem 0 var(--clr-bg),
    	0px 0px 1.25rem 0 var(--clr-bg),
    	0px 0px 1.5rem 0 var(--clr-bg)
    ;
	z-index: 10;
}
.title{
	font-size: 0.9rem;
    margin-top: 0.5rem;
}
.cta{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    padding: 1.5rem 0 2rem 0;
    font-size: 0.9rem;
}
.cta > a,
.cta > div{
	background: var(--clr-1);
    padding: 0.5em 0;
	margin: 0.5em;
    width: calc(33.33% - 1em);
    border-radius: 0.25em;
    display: inline-block;
    display: inline-flex;
    vertical-align: middle;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1em;
	font-size: 0.9rem;
}
.cta img{
    width: 2.25em;
    height: 2.25em;
    margin-bottom: 0.25rem;
}
.icons{
	color: var(--clr-text-3);
    padding: 1.5rem 0 1rem 0;
    text-transform: uppercase;
    font-size: 0.8rem;
}
.icons + .icons{
	padding-top: 0;
}
.icons h2{
	width: 100%;
	opacity: 0.5;
}
.icons h2:before{
	content: '- ';
}
.icons h2:after{
	content: ' -';
}
.icons > a,
.icons > div{
    background: none;
	color: var(--clr-text-3);
}
.icons > a img,
.icons > div img{
    width: 4rem;
    height: 4rem;
    border-radius: 0.3rem;
    margin-bottom: 0.5rem;
}

.vcard{
	padding-bottom: 1.5rem;
}
.vcard > *{
	position: relative;
	display: block;
	border-radius: 5rem;
	color: var(--clr-text-2);
	background: var(--clr-bg-2);
    padding: 0.7rem 1rem;
	text-align: left;
	overflow: hidden;
	line-height: 1rem;
}
.vcard > * + *{
	margin-top: 1rem;
}
.vcard img{
	width: 2rem;
	height: 2rem;
	padding: 0.33rem;
}
.vcard * > * + *{
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin-right: -0.75rem;
	border-radius: 5rem;
}
.vcard .vcWebsite > *:before,
.vcard .vcWebsite > *:after{
	opacity: 0.5;
}
.vcard .vcWebsite[href*="http://"] > div:nth-of-type(1):before{
	content: "http://";
}
.vcard .vcWebsite[href*="https://"] > div:nth-of-type(1):before{
	content: "https://";
}
.vcard .vcWebsite[href*="http"] > div:nth-of-type(1):after{
	content: "/";
}
.vcard .vcWebsite > * + *{
	background: var(--clr-website);
}
.vcard .vcPhone > * + *{
	background: var(--clr-phone);
}
.vcard .vcPhone.vc2 > * + *{
	background: var(--clr-phone-2);
}
.vcard .vcEmail > * + *{
	background: var(--clr-mail);
}
.vcard .vcEmail.vc2 > * + *{
	background: var(--clr-mail-2);
}
.vcard .vcLocation > * + *{
	background: var(--clr-location);
}

.mycard{
	display: block;
	padding: 5rem 0 3.5rem 0;
	font-size: 0.9rem;
}
.mycard img{
	margin-top: 1rem;
	width: 10rem;
}

.largelink{
	
}
.largelink > a{
    font-size: 1.25em;
    color: var(--clr-text-3);
    text-decoration: underline;
}

.vcardPrint{
	font-size: 0.6rem;
	line-height: 1em;
	margin: 0;
	padding: 1rem;
    color: var(--clr-text);
    background: var(--clr-bg-2);
	overflow: auto;
	user-select: all;
	text-align: left;
}
