*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 15px;
}

body {
	padding: 3rem 0;
	--color-text: #fff;
	--color-bg: #0d0d0e;
	--color-link: #000;
	--color-link-hover: #423f3f;
	color: #000;
	background: #f2f2f2;
	font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;
	font-weight: 500;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	width: 100%;
	height: 100vh;
	overflow: hidden;
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

a:focus {
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	background: transparent;
}

a:focus-visible {
	outline: 2px solid black;
	background: transparent;
}

.frame {
	padding: 1.5rem 2rem 10vh;
	text-align: center;
	position: relative;
	z-index: 100;
}

.frame__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 500;
}

.frame__links {
	margin: 0.5rem 0 2rem;
}

.frame__links a:not(:last-child) {
	margin-right: 1rem;
}

main {
	background: url("../img/bg.svg") no-repeat fixed;
	background-position-x: center;
	background-position-y: 160%;
}

.content {
	flex: 1;
	display: grid;
	place-items: center;
	position: relative;
	width: 100%;
	height: 100%;
	max-width: 100%;
	padding: 0 24px;
	margin: auto;
}

#theSVG {
	position: absolute;
	display: grid;
	place-items: center;
	grid-area: 1 / 1 / 2 / 2;
	will-change: transform;
	z-index: -1;
}

.about {
	width: 100%;
	padding-top: 10rem;
	padding-left: 3rem;
}

.capsule {
	/* From https://css.glass */
	width: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(242, 242, 242, 0.2);
	height: 42px;
	justify-content: center;
	padding: 0 16px;
	border-radius: 100px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid #C5C5CC;
}

.brief {
	/* From https://css.glass */
	padding: 16px;
	background: rgba(242, 242, 242, 0.2);
	border-radius: 16px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(242, 242, 242, 0.3);
}
.services {
	/* From https://css.glass */
	padding: 4px 16px 4px 4px;
	background: rgba(242, 242, 242, 0.2);
	border-radius: 16px;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(242, 242, 242, 0.3);
}

.cta {
	padding-top: 1rem;
	position: fixed;
	bottom: 3%;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	padding: 0 10rem;
	margin: auto;
}

.cta a {
	transform-origin: center;
	transition: ease-in-out 0.2s;
	position: relative;
	margin: 0 24px;
}
.cta a::after{
	content: '';
	background-color: black;
	height: 4px;
	width: 4px;
	display: block;
	opacity: 0;
	transition: ease-in-out 0.3s;
}
.secCTA {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.cta a:hover {	
	color: #090909;
	opacity: 0.8;
}
.cta a:hover::after {
	opacity: 1;
}
.mainCTA {
	display: flex;
	background-color: #262626;
	border-radius: 50px;
	padding: 12px 24px 12px 20px;
	color: white;
	border: 0;
	font-size: 1rem;
	cursor: pointer;
	transition: ease-in-out 0.2s;
	margin-left: auto;
	margin-right: 16px;
}
.mainCTA svg {
	margin-right: 6px;
}
.mainCTA:hover {
	background-color: #000;
	transform: translateY(-2px);
	box-shadow: 33px 39px 105px -15px rgba(0,0,0,0.75);
-webkit-box-shadow: 33px 39px 105px -15px rgba(0,0,0,0.75);
-moz-box-shadow: 33px 39px 105px -15px rgba(0,0,0,0.75);
}

.brief-wrap {
	text-align: right;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.desktop {
	display: none;
}
@media screen and (min-width: 768px) {
	.content {
		padding: 0 10rem;
	}
	.desktop {
		display: block;
	}
	.mobile {
		display: none;
	}

	.about {
		width: 100%;
		padding-top: 2rem;
		padding-left: 3rem;
		display: flex;
		justify-content: space-between;
	}
	.capsule {
		width: auto;
	}
}

@media screen and (min-width: 53em) {
	main {
		height: 100vh;
		display: flex;
		flex-direction: column;
	}

	.frame {
		padding: 1.5rem 2rem 0;
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: 'title links sponsor';
		grid-gap: 3vw;
		justify-content: space-between;
		text-align: left;
	}

	.frame__links {
		margin: 0;
	}
}
@media screen and (min-width: 2400px) {
	.content {
		padding: 0 26rem;
	}
	.about {
		padding-top: 5rem;
	}
	/* #theSVG {
		top: 5rem;
	} */
}
.bg {
	position: fixed;
	top: -50%;
	left: -50%;
	right: -50%;
	bottom: -50%;
	width: 200%;
	height: 200vh;
	background: transparent url('../img/noise-transparent.png') repeat 0 0;
	background-repeat: repeat;
	animation: bg-animation .2s infinite;
	opacity: .9;
	visibility: visible;
  }
  
  @keyframes bg-animation {
	  0% { transform: translate(0,0) }
	  10% { transform: translate(-5%,-5%) }
	  20% { transform: translate(-10%,5%) }
	  30% { transform: translate(5%,-10%) }
	  40% { transform: translate(-5%,15%) }
	  50% { transform: translate(-10%,5%) }
	  60% { transform: translate(15%,0) }
	  70% { transform: translate(0,10%) }
	  80% { transform: translate(-15%,0) }
	  90% { transform: translate(10%,5%) }
	  100% { transform: translate(5%,0) }
  }
