body {
	min-height: 100vh;
	color: #333;
}

main {
	background: #fff;
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 85%;
	margin-top: 128px;
	margin-bottom: -56px;
    border: 12px solid #3f3f3f;
    border-top: none;
    border-bottom: none;
	box-sizing: border-box;
	padding: 3rem;
	gap: 2rem;
}

#logo {
	height:100%;
	background-image: url(dantelimina_logo.svg);
    background-repeat: no-repeat;
    background-position-x: center;
}

header {
  height: 128px;
  width: 100%;
  background: #3f3f3f;
  position: fixed;
  padding-top: 0;
}

header::after {
  top: 80px;
}

header > #logo {
  margin-top: 32px;
  position: absolute;
  width: 224px;
  height: 100%;
}

footer {
	opacity: 1;
}

.i-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.i-card {
    width: 30rem;
    margin: 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    box-shadow: 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
	justify-content: space-between;
}

.i-image {
    width: 100%;
    height: auto;
    box-sizing: border-box;
    border: none;
    display: block;
    transition: none;
    border-radius: 0;
}

.i-image>img {
	width: 100%;
	max-height: none;
}

a, a:active {
    white-space: normal;
	text-decoration: none;
	color: #333;
}

a:hover {
	text-decoration: underline;
}

a.i-title, a.i-title:active {
    padding: 1.5rem 1.5rem 0;
    white-space: normal;
    font-size: 1.25rem;
    font-weight: 600;
	text-decoration: none;
	color: #333;
}

.i-subtitle {
    font-weight: 400;
    color: #64748b;
    padding: 0 1.5rem 1.5rem;
}

.i-button {
	padding: .5rem;
	width: auto;
	display: inline-flex;
	background: rgb(252, 236, 241);
	border: 1px solid rgb(252, 236, 241);
	display: inline-flex;
	cursor: pointer;
	user-select: none;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	color: rgb(207, 148, 166);
	border-radius: 8px;
}

.i-button:hover {
	background: rgb(250, 220, 229);
	border-color: rgb(250, 220, 229);
	color: rgb(171, 122, 137);
}

.i-link:hover {
	font-weight: normal;
}

.i-link::before {
	content: "☛ ";
	font-size: 1rem;
}

.i-event {
	display: flex;
	gap: 2rem;
}

.i-eventimage {
	width: auto;
}

.i-eventimage>img {
	width: 30vw;
	height: auto;
}

.i-info {
	padding: .5rem;
	background: #fefbf3;
}

@media only screen and (max-width: 640px) {
	main {
		width: auto;
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.i-event {
		flex-direction: column;
		gap: .5rem;
	}
	.i-eventimage>img {
		width: 100%;
	}
}