/*** Defaults ***/
/* Box sizing rules */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Prevent font size inflation */
html {
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
	margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
	list-style: none;
}

/* Set core body defaults */
body {
	min-height: 100vh;
	line-height: 1.5;
	margin: 0;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
	line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
	text-wrap: balance;
}

/* Make images easier to work with */
img,
picture {
	max-width: 100%;
	display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
	font-family: inherit;
	font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
	min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
	scroll-margin-block: 5ex;
}

/*** Defined Constants ***/
@property --main-bg-color {
	syntax: "<color>";
	inherits: false;
	initial-value: #F4E8F8;
}

/*** Defined Constants ***/
@property --main-button-color {
	syntax: "<color>";
	inherits: false;
	initial-value: #C35DC3;
}


@property --main-accent-color {
	syntax: "<color>";
	inherits: false;
	initial-value: #BB09A1;
}

@font-face {
	font-family: "Sofia Sans";
	src: url("../fonts/SofiaSans.ttf");
}

@font-face {
	font-family: "Sofia Sans Condensed";
	src: url("../fonts/SofiaSansCondensed.ttf");
}

@font-face {
	font-family: "Inter";
	src: url("../fonts/Inter.ttf");
}

/*** Styles ***/

body {
    background: var(--main-bg-color);
}

h1 {
	font-family: "Sofia Sans", Arial, sans-serif;
	font-size: 50px;
	font-weight: 400;
}

h1 a {
	color: var(--main-accent-color);
	text-decoration: none;
	line-height: 72px;
}

h1 a:hover {
	/*text-decoration: underline 5px;
	text-underline-offset: 12px;
	text-decoration-skip-ink: none;*/
	border-bottom: 5px solid var(--main-accent-color);
}

h2, p {
	font-family: "Sofia Sans Condensed", Arial, sans-serif;
}

h2 {
	font-size: 28px;
}

p {
	font-size: 24px;
}

.btn {
	background-color: var(--main-button-color);
	font-family: "Inter", Arial, sans-serif;
	font-size: 20px;
	font-weight: 300;
	border: none;
	color: white;
	text-decoration: none;
	border-radius: 42px;
	height: 69px;
	padding: 20px 45px;
	filter: drop-shadow(0 4px 2px rgba(0,0,0,0.5));
	cursor: pointer;
}

.btn i {
	font-size: 16px;
}

#blurb {
	padding-left: 92px;
	position: relative;
	top: -4rem;
}

#content {
	position: absolute;
	width: 100vw;
	padding: 40px 100px;
}

#about-section {
	position: relative;
	float: right;
	width: 50vw;
}

#about-section-header {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	padding-inline: 30px;
}

.divider {
	flex-grow: 1;
	height: 1px;
	margin-left: 5vw;
	background-color: #9f9f9f;
}

#about-section h2 {
	position: relative;
	flex-grow: 0;
	margin-block: 0;
}

#about-section p {
	position: relative;
	line-height: 42px;
	text-align: justify;
}

#about-buttons {
	width: 100%;
	position: relative;
	padding-top: 45px;
	display: flex;
	flex-direction: row;
	flex: 0 0 auto;
	justify-content: flex-end;
	gap: 20px;
}

#about-buttons .btn {
	opacity: 0;
}